/* --- VARIABLES & RESET --- */
:root {
  /* Palette: Warm Paper */
  --bg-color: #f5f2eb; /* Яичная скорлупа */
  --text-main: #2a2a2a; /* Графит */
  --text-muted: #5c5c5b; /* Темно-серый */
  --accent: #d64933; /* Приглушенный терракотовый */
  --border-color: #d1cdc5; /* Цвет разделителей */
  --white: #ffffff;

  /* Typography */
  --font-main: "Manrope", sans-serif;
  --font-detail: "JetBrains Mono", monospace;

  /* Spacing */
  --container-width: 1320px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Custom Button Style (Strict DNA) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-detail);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  border: 1px solid var(--text-main);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 0; /* STRICT DNA */
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover {
  background: var(--text-main);
  color: var(--bg-color);
  border-color: var(--text-main);
}

.btn:hover i {
  transform: translate(3px, -3px);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(245, 242, 235, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-detail);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.header__logo-icon {
  color: var(--accent);
}

.header__nav {
  display: none; /* Mobile first hidden */
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
    margin-left: auto; /* Push to right, keeping Asymmetric feel */
    margin-right: 60px;
  }
}

.header__list {
  display: flex;
  gap: 40px;
}

.header__link {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

/* Micro-interaction: Underline slide */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.header__link:hover {
  color: var(--accent);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger-line {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* Mobile Menu State */
.header__nav.active {
  display: flex;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-color);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-top: 1px solid var(--border-color);
}

.header__nav.active .header__list {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.header__nav.active .header__link {
  font-size: 1.5rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--text-main);
  color: var(--bg-color);
  padding: 80px 0 40px;
  border-top: 1px solid var(--accent); /* Thin accent line */
  margin-top: auto; /* Push to bottom if content is short */
}

.footer__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Asymmetric Grid DNA */
    gap: 40px;
  }
}

.footer__logo {
  font-family: var(--font-detail);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.footer__mission {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 25px;
  max-width: 300px;
}

.footer__badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-detail);
  font-size: 0.75rem;
  color: var(--accent);
}

.footer__label {
  display: block;
  font-family: var(--font-detail);
  font-size: 0.85rem;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 25px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

/* Footer Hover: Shift Right */
.footer__links a:hover {
  padding-left: 8px;
  color: var(--accent);
  opacity: 1;
}

.footer__address p {
  margin-bottom: 20px;
  font-style: normal;
  opacity: 0.9;
}

.contact-link {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-detail);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.contact-link:hover {
  border-color: var(--accent);
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-family: var(--font-detail);
  font-size: 0.8rem;
  opacity: 0.4;
}

@media (min-width: 768px) {
  .footer__bottom {
    text-align: left;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden; /* Щоб анімація не створювала скрол */
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

/* Asymmetric Grid DNA: Desktop */
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1.2fr 0.8fr; /* Асиметрія: текст ширший */
    align-items: center;
  }
}

/* Tags */
.hero__tags {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.tag {
  font-family: var(--font-detail);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--text-main);
  color: var(--text-main);
}

.tag--dark {
  background: var(--text-main);
  color: var(--bg-color);
}

/* Huge Typography */
.hero__title {
  font-size: clamp(3rem, 10vw, 7.5rem); /* Гігантський заголовок */
  line-height: 0.9;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* Outline Text Effect */
.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-main); /* Обводка */
  display: block;
  margin-left: 40px; /* Зсув другого рядка (Асиметрія) */
}

.hero__description {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 50px;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}

/* Button Variant: Solid */
.btn--solid {
  background: var(--text-main);
  color: var(--bg-color);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.hero__note {
  font-family: var(--font-detail);
  font-size: 0.8rem;
  color: var(--accent);
}

/* Image Block */
.hero__image {
  position: relative;
  width: 100%;
  height: 500px;
  border: 1px solid var(--text-main); /* Strict borders */
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Monochrome DNA accent */
  transition: filter 0.5s ease;
}

.hero__image:hover img {
  filter: grayscale(0%);
}

.hero__image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--bg-color);
  padding: 15px 20px;
  border-top: 1px solid var(--text-main);
  border-right: 1px solid var(--text-main);
  font-family: var(--font-detail);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Vertical Line Decoration */
.hero__line {
  position: absolute;
  top: -100px;
  left: 50%;
  width: 1px;
  height: 200%;
  background: var(--border-color);
  z-index: -1;
  display: none;
}

@media (min-width: 1024px) {
  .hero__line {
    display: block;
  }
}

/* --- ANIMATION CLASSES (Initial State) --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text {
  opacity: 0;
  transform: translateY(40px) skewY(2deg);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img {
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active State */
.is-visible {
  opacity: 1;
  transform: none;
}

/* --- SHARED SECTION STYLES --- */
.section-border {
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
}

.section-label {
  display: block;
  font-family: var(--font-detail);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--accent);
  font-style: italic; /* Serif Elegance nuance inside Grotesk */
  font-family: "Playfair Display", serif; /* Optional: if you want mix, otherwise stick to Manrope italic */
}

/* Якщо 'Playfair Display' не підключений в head, використовуємо просто italic Manrope */
.text-accent {
  font-family: var(--font-main);
  font-style: italic;
  font-weight: 300;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 400px;
}

/* --- METHODOLOGY GRID --- */
.methodology__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .methodology__grid {
    grid-template-columns: 0.8fr 1.2fr; /* Asymmetric Split */
    gap: 80px;
    align-items: start;
  }
}

/* Sticky Header Logic */
.methodology__header {
  position: relative;
}

@media (min-width: 992px) {
  .methodology__header {
    position: sticky;
    top: 120px; /* Відступ від хедера */
  }
}

.methodology__stat {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.stat-big {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.stat-text {
  font-family: var(--font-detail);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  display: block;
}

/* --- METHOD CARDS --- */
.methodology__content {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .methodology__content {
    grid-template-columns: 1fr 1fr;
  }
}

.method-card {
  padding: 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  transition: background 0.4s ease;
  cursor: default;
}

/* Micro-interaction: Hover fills background */
.method-card:hover {
  background: #ffffff;
}

.method-card__icon {
  margin-bottom: 25px;
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.method-card:hover .method-card__icon {
  transform: scale(1.2) rotate(-5deg);
}

.method-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.method-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- UTILS --- */
.mb-60 {
  margin-bottom: 60px;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- BLOG GRID --- */
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--text-main); /* Strict line */
  border-bottom: 1px solid var(--text-main);
}

@media (min-width: 992px) {
  .blog__grid {
    grid-template-columns: 1.2fr 1fr; /* Asymmetric: 55% / 45% */
  }
}

/* --- FEATURED POST (Left) --- */
.featured-post {
  padding: 60px 40px 60px 0;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .featured-post {
    border-right: 1px solid var(--text-main);
    padding-right: 60px;
  }
}

.featured-post__meta {
  font-family: var(--font-detail);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
}

.featured-post__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 25px;
}

.featured-post__excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 90%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-detail);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- ARTICLES LIST (Right) --- */
.articles-list {
  display: flex;
  flex-direction: column;
}

.article-item {
  position: relative;
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: background 0.3s ease;
}

.article-item:last-child {
  border-bottom: none;
}

/* Hover Effect: Background Fill */
.article-item:hover {
  background: #ffffff;
}

.article-item__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-item__date {
  font-family: var(--font-detail);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.article-item:hover .article-item__title {
  color: var(--accent);
}

.icon-circle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.article-item:hover .icon-circle {
  background: var(--text-main);
  color: var(--bg-color);
  border-color: var(--text-main);
  transform: rotate(-45deg); /* Micro-interaction: Icon tilt */
}

/* Full clickable area hack */
.full-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* --- MENTORS SECTION --- */
.mentors__header {
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .mentors__title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Horizontal Scroll / Grid Layout */
.mentors__scroll-wrapper {
  margin-bottom: 60px;
  /* Mobile: Allow horizontal scroll */
  overflow-x: auto;
  padding-bottom: 20px;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mentors__scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.mentors__track {
  display: flex;
  gap: 30px;
  width: max-content; /* Ensure items don't wrap on mobile */
}

@media (min-width: 1024px) {
  .mentors__scroll-wrapper {
    overflow: visible;
    padding-bottom: 0;
  }

  .mentors__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 20px;
  }
}

/* --- MENTOR CARD (Strict DNA) --- */
.mentor-card {
  width: 280px; /* Fixed width for mobile scroll */
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 1024px) {
  .mentor-card {
    width: auto; /* Fluid on desktop */
  }
}

.mentor-card:hover {
  border-color: var(--text-main);
  transform: translateY(-10px);
}

.mentor-card__img-box {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.mentor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.mentor-card:hover .mentor-card__img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.mentor-card__overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--text-main);
  color: var(--bg-color);
  padding: 4px 8px;
  font-family: var(--font-detail);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mentor-card:hover .mentor-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.mentor-card__info {
  padding: 20px;
}

.mentor-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.mentor-card__role {
  font-family: var(--font-detail);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.mentor-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Centered */
.mentors__cta {
  display: flex;
  justify-content: center;
}

.btn--wide {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .btn--wide {
    width: auto;
    min-width: 300px;
  }
}

/* --- CONTACT SECTION --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .contact__grid {
    grid-template-columns: 0.8fr 1.2fr; /* Asymmetric */
  }
}

.contact__details {
  margin-top: 60px;
  border-top: 1px solid var(--text-main);
  padding-top: 30px;
}

.contact__item {
  margin-bottom: 25px;
}

.contact__label {
  display: block;
  font-family: var(--font-detail);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 5px;
  text-transform: uppercase;
}

/* --- FORM STYLES (Strict) --- */
.contact-form {
  background: var(--bg-color);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  background: transparent;
  border: 1px solid var(--text-muted);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-main);
  border-radius: 0;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--text-main);
  background: #ffffff;
}

.form-input.error {
  border-color: #ff3333;
  background: rgba(255, 51, 51, 0.05);
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: #ff3333;
  margin-top: 5px;
  min-height: 18px;
}

.captcha-group {
  background: #e8e6e1;
  padding: 15px;
  border: 1px solid var(--border-color);
}

.custom-captcha {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-box {
  position: relative;
  width: 24px;
  height: 24px;
}

.captcha-box input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.captcha-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 2px;
}

.captcha-box input:checked ~ .captcha-checkmark {
  border-color: #0c9c30;
}

.captcha-box input:checked ~ .captcha-checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #0c9c30;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-label {
  font-size: 0.9rem;
  color: #555;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  min-width: 20px;
  height: 20px;
  border: 1px solid var(--text-main);
  position: relative;
  margin-top: 3px;
}

.custom-checkbox input:checked ~ .checkbox-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid var(--text-main);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.consent-text a {
  text-decoration: underline;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.center-text {
  text-align: center;
  margin-top: 15px;
}

.success-message {
  text-align: center;
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--text-main);
}

.success-icon {
  width: 60px;
  height: 60px;
  color: #0c9c30;
  margin-bottom: 20px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: var(--text-main);
  color: var(--bg-color);
  padding: 20px;
  z-index: 2000;
  transition: bottom 0.5s ease;
  border-top: 1px solid var(--accent);
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 0.9rem;
}

.cookie-content a {
  color: var(--accent);
  text-decoration: underline;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-color: var(--bg-color);
  color: var(--bg-color);
}

.btn--small:hover {
  background: var(--bg-color);
  color: var(--text-main);
}

/* --- PAGES STYLING (Privacy etc) --- */
.pages {
  padding: 120px 0 80px;
}

.pages h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.pages h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.pages p {
  margin-bottom: 20px;
  max-width: 800px;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.pages li {
  margin-bottom: 10px;
}
