@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; line-height: 1.6; }
  img { max-width: 100%; display: block; height: auto; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; }
  input, textarea, select { font: inherit; }
  address { font-style: normal; }
}

@layer tokens {
  :root {
    --cream: #F5F0E8;
    --cream-dark: #EDE7D8;
    --parchment: #F9F5EE;
    --mustard: #C8962A;
    --mustard-light: #E2B04A;
    --mustard-dark: #A07820;
    --terracotta: #B85C38;
    --terracotta-light: #D07050;
    --olive: #5C6B3A;
    --olive-light: #7A8D4E;
    --dusty-rose: #C4826A;
    --sky-blue: #4A7BA0;
    --sky-blue-light: #6898BC;
    --ink: #2C2416;
    --ink-soft: #4A3E2C;
    --ink-muted: #7A6E58;
    --white-warm: #FDFAF5;

    --shadow-sm: 0 1px 3px rgba(44,36,22,0.08), 0 1px 2px rgba(44,36,22,0.06);
    --shadow-md: 0 4px 12px rgba(44,36,22,0.10), 0 2px 6px rgba(44,36,22,0.07), 0 1px 2px rgba(44,36,22,0.05);
    --shadow-lg: 0 10px 30px rgba(44,36,22,0.13), 0 4px 12px rgba(44,36,22,0.09), 0 1px 4px rgba(44,36,22,0.06);
    --shadow-xl: 0 20px 50px rgba(44,36,22,0.16), 0 8px 20px rgba(44,36,22,0.10), 0 2px 6px rgba(44,36,22,0.07);
    --shadow-mustard: 0 4px 16px rgba(200,150,42,0.25), 0 2px 6px rgba(200,150,42,0.15);
    --shadow-hover: 0 16px 40px rgba(44,36,22,0.18), 0 6px 16px rgba(44,36,22,0.11), 0 2px 5px rgba(44,36,22,0.07);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 9rem;

    --section-pad: clamp(4rem, 8vw, 7rem);

    --font-head: 'Gabarito', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --nav-h: 72px;

    --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
    --transition-mid: 280ms cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 450ms cubic-bezier(0.4,0,0.2,1);
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    background-color: var(--parchment);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .section {
    padding-block: var(--section-pad);
  }

  .section--tinted {
    background-color: var(--cream);
  }

  .section--dark {
    background-color: var(--ink);
    color: var(--cream);
  }

  .section--atmosphere {
    position: relative;
    padding-block: clamp(5rem, 12vw, 10rem);
    overflow: hidden;
  }
}

@layer components {

  /* ===== NAVIGATION ===== */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(249,245,238,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200,150,42,0.15);
    box-shadow: 0 2px 20px rgba(44,36,22,0.07);
    transition: transform var(--transition-mid), background var(--transition-mid);
    will-change: transform;
  }

  .nav--hidden {
    transform: translateY(-100%);
  }

  .nav__inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    height: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .nav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: opacity var(--transition-fast);
  }
  .nav__logo:hover { opacity: 0.8; }

  .nav__links {
    display: none;
    align-items: center;
    gap: var(--space-md);
    margin-left: auto;
  }

  .nav__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
    position: relative;
    padding-block: 4px;
    transition: color var(--transition-fast);
  }
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--mustard);
    border-radius: 2px;
    transition: right var(--transition-mid);
  }
  .nav__link:hover { color: var(--mustard-dark); }
  .nav__link:hover::after { right: 0; }

  .nav__cta {
    display: none;
    margin-left: var(--space-sm);
  }

  .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
  }
  .nav__hamburger:hover { background: rgba(200,150,42,0.1); }
  .nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition-mid), opacity var(--transition-fast), width var(--transition-mid);
  }
  .nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__hamburger.is-active span:nth-child(2) { opacity: 0; width: 0; }
  .nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (min-width: 900px) {
    .nav__links { display: flex; }
    .nav__cta { display: inline-flex; }
    .nav__hamburger { display: none; }
  }

  /* ===== MOBILE MENU ===== */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: linear-gradient(135deg, var(--ink) 0%, #3A2E1A 60%, #1E1A0E 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
  }
  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), transform var(--transition-fast);
  }
  .mobile-menu__close:hover {
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .mobile-menu__link {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--cream);
    position: relative;
    padding-block: 4px;
    transition: color var(--transition-fast), transform var(--transition-fast);
  }
  .mobile-menu__link:hover {
    color: var(--mustard-light);
    transform: translateX(8px);
  }

  .mobile-menu__cta {
    margin-top: var(--space-lg);
    font-size: 1.1rem;
  }

  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    min-height: 44px;
    cursor: pointer;
    white-space: nowrap;
  }
  .btn:active { transform: scale(0.97); }

  .btn--primary {
    background: var(--mustard);
    color: var(--white-warm);
    box-shadow: var(--shadow-mustard);
  }
  .btn--primary:hover {
    background: var(--mustard-dark);
    box-shadow: 0 6px 22px rgba(200,150,42,0.35), 0 3px 8px rgba(200,150,42,0.2);
    transform: translateY(-2px);
  }

  .btn--outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid rgba(245,240,232,0.6);
  }
  .btn--outline:hover {
    background: rgba(245,240,232,0.12);
    border-color: var(--cream);
    transform: translateY(-2px);
  }

  .btn--large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }

  /* ===== HERO ===== */
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
  }

  .hero__bg-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(44,36,22,0.78) 0%,
      rgba(44,36,22,0.55) 50%,
      rgba(74,123,160,0.35) 100%
    );
  }

  .hero__content {
    position: relative;
    z-index: 2;
    padding-block: var(--space-3xl) var(--space-2xl);
    max-width: 760px;
  }

  .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200,150,42,0.25);
    border: 1px solid rgba(200,150,42,0.5);
    color: var(--mustard-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
    backdrop-filter: blur(8px);
  }

  .hero__title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white-warm);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
  }

  .hero__title-accent {
    color: var(--mustard-light);
  }

  .hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(245,240,232,0.85);
    max-width: 580px;
    margin-bottom: var(--space-lg);
    line-height: 1.75;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tag {
    background: rgba(245,240,232,0.12);
    border: 1px solid rgba(245,240,232,0.25);
    color: rgba(245,240,232,0.8);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(4px);
  }

  .hero__scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(245,240,232,0.55);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    animation: scrollBounce 2.2s ease-in-out infinite;
  }
  @keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }

  /* ===== ABOUT GRID ===== */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
  }

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

  .about-grid__img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
  }

  .about-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  .about-grid__img-wrap:hover .about-grid__img {
    transform: scale(1.04);
  }

  .about-grid__visual {
    position: relative;
  }

  .about-grid__card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 220px;
    padding: var(--space-md);
    background: var(--white-warm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
  }

  @media (max-width: 799px) {
    .about-grid__card {
      position: static;
      width: 100%;
      margin-top: var(--space-sm);
    }
  }

  .about-grid__pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  @media (max-width: 600px) {
    .about-grid__pillars {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: var(--space-sm);
    background: var(--cream);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-align: center;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
  }
  .pillar:hover {
    background: var(--mustard);
    color: var(--white-warm);
    transform: translateY(-3px);
    box-shadow: var(--shadow-mustard);
  }
  .pillar:hover .pillar__icon { color: var(--white-warm); }

  .pillar__icon {
    font-size: 1.2rem;
    color: var(--mustard);
    transition: color var(--transition-fast);
  }

  /* ===== SECTION HEADER ===== */
  .section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 680px;
    margin-inline: auto;
  }

  .section__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mustard);
    margin-bottom: 0.6rem;
    display: block;
  }

  .section__eyebrow--light {
    color: var(--mustard-light);
  }

  .section__title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
  }

  .section__title--light {
    color: var(--cream);
  }

  .section__intro {
    font-size: 1.05rem;
    color: var(--ink-muted);
    line-height: 1.75;
  }

  .section__intro--light {
    color: rgba(245,240,232,0.75);
  }

  /* ===== CARDS ===== */
  .card {
    background: var(--white-warm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }

  .card--featured {
    background: linear-gradient(135deg, var(--mustard) 0%, var(--mustard-dark) 100%);
    color: var(--white-warm);
    box-shadow: var(--shadow-mustard);
  }
  .card--featured:hover {
    box-shadow: 0 18px 44px rgba(200,150,42,0.35), 0 8px 20px rgba(200,150,42,0.2);
  }

  .card--compact {
    padding: var(--space-sm);
  }

  .card__icon {
    font-size: 1.6rem;
    color: var(--mustard-light);
    margin-bottom: 0.5rem;
    display: block;
  }
  .card--featured .card__icon { color: rgba(255,255,255,0.9); }

  .card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 0.3rem;
  }

  .card__text {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.9;
  }

  /* ===== LEARN CARDS ===== */
  .learn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  @media (min-width: 900px) {
    .learn-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .learn-grid .learn-card:nth-child(4) {
      grid-column: 1 / 2;
    }
    .learn-grid .learn-card:nth-child(5) {
      grid-column: 2 / 4;
    }
  }

  .learn-card {
    padding: var(--space-lg);
  }

  .learn-card__icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: var(--mustard);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  }

  .learn-card:hover .learn-card__icon-wrap {
    background: linear-gradient(135deg, var(--mustard), var(--mustard-dark));
    color: var(--white-warm);
    transform: scale(1.08) rotate(-3deg);
  }

  .learn-card--featured .learn-card__icon-wrap {
    background: rgba(255,255,255,0.2);
    color: var(--white-warm);
  }

  .learn-card__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }

  .card--featured .learn-card__title { color: var(--white-warm); }

  .learn-card__text {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.7;
  }
  .card--featured .learn-card__text { color: rgba(245,240,232,0.85); }

  /* ===== SERVICES GRID ===== */
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  @media (min-width: 900px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .service-card {
    padding: var(--space-lg);
    border: 1px solid rgba(200,150,42,0.12);
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--mustard), var(--mustard-light));
    transition: right var(--transition-slow);
    border-radius: 2px 2px 0 0;
  }
  .service-card:hover::before { right: 0; }

  .service-card--highlight {
    background: linear-gradient(145deg, var(--olive) 0%, #3E4E28 100%);
    color: var(--cream);
    border-color: transparent;
  }
  .service-card--highlight::before {
    background: linear-gradient(90deg, var(--mustard-light), var(--cream));
  }

  .service-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
  }

  .service-card__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    color: var(--mustard);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  }
  .service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--mustard);
    color: var(--white-warm);
  }
  .service-card--highlight .service-card__icon {
    background: rgba(255,255,255,0.15);
    color: var(--mustard-light);
  }
  .service-card--highlight:hover .service-card__icon {
    background: var(--mustard-light);
    color: var(--ink);
  }

  .service-card__num {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(200,150,42,0.15);
    line-height: 1;
    transition: color var(--transition-fast);
  }
  .service-card:hover .service-card__num { color: rgba(200,150,42,0.25); }
  .service-card--highlight .service-card__num { color: rgba(255,255,255,0.1); }

  .service-card__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }
  .service-card--highlight .service-card__title { color: var(--cream); }

  .service-card__text {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
  }
  .service-card--highlight .service-card__text { color: rgba(245,240,232,0.8); }

  .service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .service-card__list li {
    font-size: 0.82rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .service-card__list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mustard);
    flex-shrink: 0;
  }
  .service-card--highlight .service-card__list li { color: rgba(245,240,232,0.75); }
  .service-card--highlight .service-card__list li::before { background: var(--mustard-light); }

  /* ===== PROCESS ===== */
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
  }

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

  @media (min-width: 1000px) {
    .process-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .process-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.12);
    border-radius: var(--radius-lg);
    transition: background var(--transition-mid), border-color var(--transition-mid), transform var(--transition-mid);
  }
  .process-step:hover {
    background: rgba(200,150,42,0.12);
    border-color: rgba(200,150,42,0.35);
    transform: translateY(-4px);
  }

  .process-step__num {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--mustard);
    line-height: 1;
    opacity: 0.7;
  }

  .process-step__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cream);
  }

  .process-step__text {
    font-size: 0.88rem;
    color: rgba(245,240,232,0.72);
    line-height: 1.7;
  }

  .process-image-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 21/7;
    box-shadow: var(--shadow-xl);
  }

  .process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ===== ATMOSPHERE SECTION ===== */
  .atmosphere__bg-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .atmosphere__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
  }

  .atmosphere__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,36,22,0.82) 0%, rgba(74,123,160,0.6) 100%);
  }

  .atmosphere__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
  }

  .atmosphere__text {
    text-align: center;
    max-width: 680px;
  }

  .atmosphere__title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white-warm);
    line-height: 1.25;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
  }

  .atmosphere__body {
    font-size: 1.05rem;
    color: rgba(245,240,232,0.82);
    line-height: 1.8;
  }

  /* ===== AUDIENCE CARDS ===== */
  .audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  @media (min-width: 700px) {
    .audience-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .audience-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .audience-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  .audience-card:hover .audience-card__img {
    transform: scale(1.05);
  }

  .audience-card__body {
    padding: var(--space-md);
    flex: 1;
  }

  .audience-card__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }
  .card--featured .audience-card__title { color: var(--white-warm); }

  .audience-card__text {
    font-size: 0.88rem;
    color: var(--ink-muted);
    line-height: 1.7;
  }
  .card--featured .audience-card__text { color: rgba(245,240,232,0.85); }

  /* ===== CONTACT ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  @media (min-width: 900px) {
    .contact-grid {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
  }

  .contact-info__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .contact-detail__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
    color: var(--mustard);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  }
  .contact-detail:hover .contact-detail__icon {
    background: var(--mustard);
    color: var(--white-warm);
    transform: scale(1.08);
  }

  .contact-detail > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .contact-detail strong {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
  .contact-detail a, .contact-detail span {
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: color var(--transition-fast);
  }
  .contact-detail a:hover { color: var(--mustard-dark); }

  .contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }

  /* ===== CHAT FORM ===== */
  .chat-form {
    background: var(--white-warm);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(200,150,42,0.12);
  }

  .chat-form__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--ink) 0%, #3A2E1A 100%);
    color: var(--cream);
  }

  .chat-form__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white-warm);
    flex-shrink: 0;
  }

  .chat-form__header strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
  }
  .chat-form__header span {
    font-size: 0.78rem;
    opacity: 0.65;
  }

  .chat-form__body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .chat-bubble {
    max-width: 88%;
  }

  .chat-bubble--question {
    align-self: flex-start;
    background: var(--cream);
    padding: 0.7rem 1rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    font-size: 0.9rem;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
  }
  .chat-bubble--question p { margin: 0; }

  .chat-bubble--answer {
    align-self: flex-end;
    max-width: 95%;
    width: 100%;
  }
  .chat-bubble--answer input,
  .chat-bubble--answer textarea {
    width: 100%;
    background: var(--parchment);
    border: 2px solid rgba(200,150,42,0.2);
    border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--ink);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    resize: vertical;
  }
  .chat-bubble--answer input:focus,
  .chat-bubble--answer textarea:focus {
    border-color: var(--mustard);
    box-shadow: 0 0 0 3px rgba(200,150,42,0.12);
  }
  .chat-bubble--answer input::placeholder,
  .chat-bubble--answer textarea::placeholder {
    color: var(--ink-muted);
    opacity: 0.65;
  }

  .chat-bubble--privacy {
    align-self: flex-end;
    max-width: 100%;
    width: 100%;
  }

  .privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--ink-muted);
    cursor: pointer;
    line-height: 1.5;
  }
  .privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--mustard);
    cursor: pointer;
  }
  .privacy-label a {
    color: var(--mustard-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
  }
  .privacy-label a:hover { color: var(--terracotta); }

  .required-star { color: var(--terracotta); }

  .chat-form__send {
    align-self: flex-end;
    margin-top: var(--space-xs);
  }

  /* ===== BODY TEXT ===== */
  .body-text {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
  }

  /* ===== FOOTER ===== */
  .footer {
    background: var(--ink);
    color: var(--cream);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

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

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

  .footer__logo {
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1) opacity(0.9);
  }

  .footer__tagline {
    font-size: 0.88rem;
    color: rgba(245,240,232,0.65);
    line-height: 1.65;
    margin-bottom: var(--space-md);
  }

  .footer__address {
    font-size: 0.85rem;
    color: rgba(245,240,232,0.6);
    line-height: 1.8;
  }
  .footer__address a {
    color: rgba(245,240,232,0.6);
    transition: color var(--transition-fast);
  }
  .footer__address a:hover { color: var(--mustard-light); }

  .footer__nav-title {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mustard-light);
    margin-bottom: var(--space-md);
  }

  .footer__nav-link {
    display: block;
    font-size: 0.88rem;
    color: rgba(245,240,232,0.65);
    padding-block: 0.3rem;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
  }
  .footer__nav-link:hover {
    color: var(--cream);
    padding-left: 6px;
  }

  .footer__program-text {
    font-size: 0.82rem;
    color: rgba(245,240,232,0.5);
    line-height: 1.7;
  }

  .footer__bottom {
    border-top: 1px solid rgba(245,240,232,0.1);
    padding-top: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xs);
  }

  .footer__copy, .footer__domain {
    font-size: 0.8rem;
    color: rgba(245,240,232,0.4);
  }

  /* ===== LEGAL PAGES ===== */
  .legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: calc(var(--nav-h) + var(--space-xl));
    padding-bottom: var(--space-2xl);
    min-height: 100vh;
  }

  @media (min-width: 900px) {
    .legal-layout {
      grid-template-columns: 260px 1fr;
      align-items: start;
    }
  }

  .legal-toc {
    background: var(--white-warm);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(200,150,42,0.12);
  }

  @media (min-width: 900px) {
    .legal-toc {
      position: sticky;
      top: calc(var(--nav-h) + 1.5rem);
    }
  }

  .legal-toc__title {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mustard);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(200,150,42,0.2);
  }

  .legal-toc__list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .legal-toc__link {
    font-size: 0.82rem;
    color: var(--ink-muted);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
    display: block;
    line-height: 1.4;
  }
  .legal-toc__link:hover, .legal-toc__link.is-active {
    background: rgba(200,150,42,0.1);
    color: var(--mustard-dark);
  }

  .legal-toc__toggle {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition-fast);
  }
  .legal-toc__toggle:hover { background: var(--cream-dark); }

  @media (max-width: 899px) {
    .legal-toc__toggle { display: flex; }
    .legal-toc__list { display: none; }
    .legal-toc__list.is-open { display: flex; }
  }

  .legal-content {
    background: var(--white-warm);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(200,150,42,0.08);
  }

  .legal-content h1 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
  }

  .legal-content .legal-meta {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(200,150,42,0.15);
  }

  .legal-section {
    margin-bottom: var(--space-xl);
    scroll-margin-top: calc(var(--nav-h) + 2rem);
  }

  .legal-section h2 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(200,150,42,0.2);
  }

  .legal-section h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink-soft);
    margin-top: var(--space-md);
    margin-bottom: 0.5rem;
  }

  .legal-section p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
  }

  .legal-section ul, .legal-section ol {
    padding-left: 1.4rem;
    margin-bottom: var(--space-sm);
  }

  .legal-section ul { list-style: disc; }
  .legal-section ol { list-style: decimal; }

  .legal-section li {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 0.3rem;
  }

  /* ===== THANKS PAGE ===== */
  .thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
  }

  .thanks-content {
    text-align: center;
    max-width: 520px;
    padding: var(--space-2xl) var(--space-lg);
  }

  .thanks-checkmark {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--space-lg);
  }

  .thanks-checkmark .circle {
    fill: none;
    stroke: var(--mustard);
    stroke-width: 3;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    stroke-linecap: round;
    animation: drawCircle 0.7s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
  }

  .thanks-checkmark .check {
    fill: none;
    stroke: var(--mustard);
    stroke-width: 3;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawCheck 0.5s cubic-bezier(0.4,0,0.2,1) 0.9s forwards;
  }

  @keyframes drawCircle {
    to { stroke-dashoffset: 0; }
  }
  @keyframes drawCheck {
    to { stroke-dashoffset: 0; }
  }

  .thanks-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 0.5s ease 1.5s forwards;
  }

  .thanks-text {
    font-size: 1rem;
    color: var(--ink-muted);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.5s ease 1.7s forwards;
  }

  .thanks-btn {
    opacity: 0;
    animation: fadeInUp 0.5s ease 1.9s forwards;
  }

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

  /* ===== COOKIE CONSENT ===== */
  .cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background: var(--white-warm);
    box-shadow: 0 -4px 30px rgba(44,36,22,0.15), 0 -1px 8px rgba(44,36,22,0.08);
    border-top: 2px solid var(--mustard);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
  }

  .cookie-consent.is-visible {
    transform: translateY(0);
  }

  @media (min-width: 700px) {
    .cookie-consent {
      flex-direction: row;
    }
  }

  .cookie-consent__left {
    padding: var(--space-md) var(--space-lg);
    flex: 1;
    border-bottom: 1px solid rgba(200,150,42,0.15);
  }

  @media (min-width: 700px) {
    .cookie-consent__left {
      border-bottom: none;
      border-right: 1px solid rgba(200,150,42,0.15);
    }
  }

  .cookie-consent__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .cookie-consent__title i { color: var(--mustard); }

  .cookie-consent__text {
    font-size: 0.82rem;
    color: var(--ink-muted);
    line-height: 1.6;
  }
  .cookie-consent__text a {
    color: var(--mustard-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  .cookie-consent__text a:hover { color: var(--terracotta); }

  .cookie-consent__right {
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 260px;
  }

  .cookie-toggles {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    font-size: 0.82rem;
    color: var(--ink-soft);
  }

  .cookie-toggle__switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
  }
  .cookie-toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
  }
  .cookie-toggle__slider {
    position: absolute;
    inset: 0;
    background: rgba(44,36,22,0.15);
    border-radius: 22px;
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .cookie-toggle__slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: var(--white-warm);
    border-radius: 50%;
    transition: transform var(--transition-fast);
    box-shadow: var(--shadow-sm);
  }
  .cookie-toggle__switch input:checked + .cookie-toggle__slider {
    background: var(--mustard);
  }
  .cookie-toggle__switch input:checked + .cookie-toggle__slider::before {
    transform: translateX(16px);
  }
  .cookie-toggle__switch input:disabled + .cookie-toggle__slider {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .cookie-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-consent__actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
  }

  .btn--cookie-accept {
    background: var(--mustard);
    color: var(--white-warm);
    box-shadow: var(--shadow-mustard);
  }
  .btn--cookie-accept:hover {
    background: var(--mustard-dark);
    transform: translateY(-1px);
  }

  .btn--cookie-necessary {
    background: transparent;
    color: var(--ink-muted);
    border: 1px solid rgba(44,36,22,0.2);
    border-radius: var(--radius-pill);
  }
  .btn--cookie-necessary:hover {
    background: var(--cream);
    color: var(--ink-soft);
  }
}

@layer utilities {
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }

  .text-center { text-align: center; }
  .mt-auto { margin-top: auto; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}