/* --- Variables & Reset --- */
:root {
  /* Palette: Warm Paper */
  --bg-page: #faf9f6; /* Off-white / Cream */
  --bg-section: #f2efe9; /* Slightly darker beige */
  --bg-surface: #ffffff; /* Pure white cards */

  --text-primary: #2c2825; /* Warm Black / Espresso */
  --text-secondary: #6b665f; /* Warm Grey */

  --accent: #c75b42; /* Terracotta / Burnt Orange */
  --accent-hover: #a84934;

  --border: #e5e0d8;

  /* Typography */
  --font-head: "Playfair Display", serif;
  --font-body: "Mulish", sans-serif;

  /* Spacing & Shapes */
  --container: 1280px;
  --radius-btn: 50px; /* Pill shape for buttons */
  --radius-card: 16px; /* Soft corners for elements */
  --padding-x: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- UI Kit --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
  letter-spacing: 0.02em;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  border: none;
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  /* Micro-animation: Lift */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 91, 66, 0.25);
}

/* --- Header --- */
/* --- Header Fixed & Solid --- */
.header {
  position: fixed; /* Фіксуємо */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  /* Фон кольору сторінки (Cream) з легким розмиттям */
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

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

/* Коригуємо Hero, щоб хедер не перекривав текст */
.hero {
  padding-top: 160px; /* Збільшений відступ зверху */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  /* Filter to match text color */
  filter: sepia(100%) hue-rotate(320deg) saturate(0%) brightness(0.2);
}

.header__logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header__nav {
  display: flex;
  align-items: center;
}

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

.header__link {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

/* Micro-animation: Soft dot appears below */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.header__link:hover::after {
  transform: translateX(-50%) scale(1);
}

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

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-section);
  padding: 80px var(--padding-x) 30px;
  margin-top: 80px;
  border-top-left-radius: 40px; /* Soft structure */
  border-top-right-radius: 40px;
}

.footer__content {
  max-width: var(--container);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__logo-text {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer__eu-note {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  background: rgba(199, 91, 66, 0.08);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
}

.footer__title {
  font-family: var(--font-head);
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer__list li {
  margin-bottom: 14px;
}

.footer__list a {
  color: var(--text-secondary);
  font-size: 15px;
}

.footer__list a:hover {
  color: var(--accent);
  padding-left: 4px; /* Soft shift */
}

.contact-item {
  margin-bottom: 18px;
}

.contact-item .label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item .value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  display: block;
}

.footer__bottom {
  padding-top: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* --- Adaptive --- */
.mobile-only {
  display: none;
}

@media (max-width: 1024px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-page);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease;
    padding: 40px;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
  }

  .header__link {
    font-size: 24px;
    font-family: var(--font-head);
  }

  .desktop-only {
    display: none;
  }

  .header__burger {
    display: block;
    z-index: 101; /* Above nav */
  }

  .mobile-only {
    display: flex;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Hero Section --- */

/* Background soft gradient element */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    circle,
    rgba(199, 91, 66, 0.15) 0%,
    rgba(250, 249, 246, 0) 70%
  );
  z-index: -1;
  filter: blur(80px);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero__content {
  max-width: 540px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.accent-text {
  color: var(--accent);
  font-style: italic;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

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

.hero__btn {
  padding: 16px 36px; /* Slightly larger CTA */
  font-size: 16px;
}

.hero__note {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Hero Visual (Right side) */
.hero__visual {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  /* Subtle border radius for the canvas container explicitly */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, #f2efe9, #faf9f6);
  box-shadow: inset 0 0 40px rgba(199, 91, 66, 0.05);
  /* Slow morphing shape animation via CSS for container base */
  animation: morphBase 12s ease-in-out infinite;
}

@keyframes morphBase {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  33% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  66% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* Adaptive Hero */
@media (max-width: 1024px) {
  .hero {
    padding-top: 140px;
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__visual {
    height: 400px;
    order: -1; /* Visual first on mobile */
  }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: 36px;
  }
}

/* --- Common Section Styles --- */
.section {
  padding: 100px 0;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-title.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.section-subtitle.text-center {
  text-align: center;
}

.text-italic {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--accent);
}

/* --- About Section --- */
.about {
  background-color: var(--bg-surface); /* White background break */
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__img-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  /* Soft decorative shadow */
  box-shadow: 20px 20px 0px var(--bg-section);
}

.about__img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02); /* Slight zoom for quality */
  transition: transform 0.5s ease;
}

.about__img-wrapper:hover .about__img {
  transform: scale(1.05);
}

.about__badge {
  position: absolute;
  bottom: 30px;
  right: -20px; /* Breaking out of the box */
  background: var(--bg-page);
  padding: 24px;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.about__badge-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.about__badge-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about__text-block p {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--text-secondary);
}

.about__text-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about__list {
  margin-top: 30px;
}

.about__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.icon-accent {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

/* --- Practices Section --- */
.practices {
  background-color: var(--bg-page);
}

.practices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.practice-card {
  background-color: #ffffff; /* Pure white card on cream bg */
  padding: 40px 32px;
  border-radius: var(--radius-card);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 40, 37, 0.06);
  border-color: rgba(199, 91, 66, 0.2);
}

.practice-card__icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.practice-card:hover .practice-card__icon-box {
  background-color: var(--accent);
  color: #fff;
  transform: rotate(15deg); /* Playful rotation */
}

.practice-card__title {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.practice-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1; /* Push link to bottom */
}

.practice-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.practice-card__link:hover {
  gap: 12px; /* Arrow slide effect */
}

.practice-card__link i {
  width: 16px;
  height: 16px;
}

.practices__cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* --- Animations (Scroll Reveal) --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}

/* --- Adaptive --- */
@media (max-width: 1024px) {
  .about__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .about__badge {
    right: 0;
  }

  .practices__grid {
    grid-template-columns: 1fr; /* Single column on tablet/mobile */
    gap: 20px;
  }
}

/* --- Reviews Section --- */
.reviews {
  background-color: var(--bg-surface);
  overflow: hidden; /* Hide potential horizontal scrollbar */
}

.reviews__scroller {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 20px 0;
}

.review-card {
  background-color: var(--bg-page); /* Cream card on white section */
  padding: 40px;
  border-radius: var(--radius-card);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

/* Organic rotation for "scattered paper" effect */
.review-card:nth-child(1) {
  transform: rotate(-2deg);
}
.review-card:nth-child(2) {
  transform: rotate(1deg);
  z-index: 2;
}
.review-card:nth-child(3) {
  transform: rotate(-1deg);
}

.review-card:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 5;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono); /* Use mono for initials */
  font-weight: 600;
  color: var(--text-primary);
}

.review-card__name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.2;
}

.review-card__role {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-card__text {
  font-family: var(
    --font-head
  ); /* Serif font for quote feels like handwriting */
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-card__text strong {
  font-weight: 600;
  color: var(--accent); /* Highlight keywords */
}

.highlight {
  background: linear-gradient(
    120deg,
    rgba(199, 91, 66, 0.1) 0%,
    rgba(199, 91, 66, 0.1) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 85%;
}

.review-card__rating {
  display: flex;
  gap: 4px;
}

.star-filled {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  color: var(--accent);
}

.star-half {
  width: 16px;
  height: 16px;
  fill: transparent;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .reviews__scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    min-width: 300px;
    scroll-snap-align: center;
    transform: rotate(
      0
    ) !important; /* Reset rotation on mobile for clean scroll */
  }
}

.contact {
  background: linear-gradient(to bottom, var(--bg-page) 0%, #ebe5dc 100%);
  padding-bottom: 120px;
}

.contact__card {
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(44, 40, 37, 0.08);
  position: relative;
  overflow: hidden;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--bg-page);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 91, 66, 0.1);
}

.form-input::placeholder {
  color: #ccc;
}

.form-input.error {
  border-color: #ff4d4f;
  background-color: #fff1f0;
}

.error-msg {
  display: none;
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 6px;
  padding-left: 4px;
}

.form-input.error + .error-msg,
.form-check.error .error-msg,
.form-captcha.error .error-msg {
  display: block;
}

.form-check,
.form-captcha {
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 22px;
  width: 22px;
  background-color: var(--bg-page);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--accent);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.check-icon {
  width: 14px;
  height: 14px;
  color: white;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark .check-icon {
  display: block;
}

.check-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.captcha-box {
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 12px 16px;
  width: fit-content;
  min-width: 220px;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.captcha-mark {
  border-radius: 2px;
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  background: #fff;
  margin-right: 14px;
}

.custom-checkbox input:checked ~ .captcha-mark {
  background-color: #4a90e2;
  border-color: #4a90e2;
}

.captcha-mark::after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.custom-checkbox input:checked ~ .captcha-mark::after {
  display: block;
}

.captcha-text {
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  font-weight: 500;
  margin-right: auto;
}

.captcha-logo {
  width: 32px;
  height: 32px;
  opacity: 0.7;
  margin-left: 10px;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #4caf50;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.success-icon i {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--outline:hover {
  background: rgba(199, 91, 66, 0.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adaptive Form */
@media (max-width: 600px) {
  .contact__card {
    padding: 30px 20px;
  }
}

/* --- Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  max-width: 360px;
  transform: translateY(150%); /* Hidden by default */
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

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

.btn--small {
  padding: 10px 20px;
  font-size: 13px;
  width: 100%;
}

.page-section {
  padding: 160px 0 80px; /* More top padding for fixed header */
  min-height: 80vh;
}

.pages {
  background-color: #ffffff;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 900px;
  margin: 0 auto;
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--text-primary);
  margin-bottom: 40px;
  border-bottom: 2px solid var(--bg-section);
  padding-bottom: 20px;
}

.pages h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--text-primary);
  margin: 40px 0 20px;
}

.pages p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

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

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

@media (max-width: 768px) {
  .cookie-popup {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }

  .pages {
    padding: 30px 20px;
  }

  .pages h1 {
    font-size: 32px;
  }
}
