@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%; overflow-x: hidden;}
  body { min-height: 100vh; display: flex; flex-direction: column; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  button { cursor: pointer; border: none; background: none; font: inherit; }
  input, textarea, select { font: inherit; }
  address { font-style: normal; }
  table { border-collapse: collapse; width: 100%; }
}

@layer tokens {
  :root {
    --clr-bg: #f7f5f0;
    --clr-bg-tinted: #ede9e1;
    --clr-bg-dark: #1a1714;
    --clr-bg-dark-2: #242019;
    --clr-surface: #ffffff;
    --clr-surface-warm: #fdf9f4;
    --clr-surface-accent: #f0ebe0;

    --clr-primary: #c8622a;
    --clr-primary-dark: #a84e1f;
    --clr-primary-light: #e07a42;
    --clr-secondary: #3d6b5e;
    --clr-secondary-light: #4e8a7a;
    --clr-accent: #d4a84b;
    --clr-accent-light: #e8c06a;

    --clr-text: #1e1b17;
    --clr-text-muted: #6b6358;
    --clr-text-light: #9a9088;
    --clr-text-on-dark: #f0ebe0;
    --clr-text-on-dark-muted: #b8b0a4;

    --clr-border: #ddd5c8;
    --clr-border-light: #ece6dc;

    --shadow-xs: 0 1px 3px rgba(30,27,23,0.06), 0 1px 2px rgba(30,27,23,0.04);
    --shadow-sm: 0 2px 8px rgba(30,27,23,0.08), 0 1px 3px rgba(30,27,23,0.05);
    --shadow-md: 0 4px 16px rgba(30,27,23,0.10), 0 2px 6px rgba(30,27,23,0.06);
    --shadow-lg: 0 8px 32px rgba(30,27,23,0.12), 0 4px 12px rgba(30,27,23,0.07);
    --shadow-xl: 0 16px 48px rgba(30,27,23,0.14), 0 8px 20px rgba(30,27,23,0.08);
    --shadow-primary: 0 4px 20px rgba(200,98,42,0.30);
    --shadow-card-stack: 4px 4px 0 rgba(30,27,23,0.08);

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    --font-body: 'Sora', sans-serif;
    --font-heading: 'Sora', sans-serif;

    --text-xs: clamp(0.7rem, 1.5vw, 0.75rem);
    --text-sm: clamp(0.8rem, 1.8vw, 0.875rem);
    --text-base: clamp(0.9rem, 2vw, 1rem);
    --text-md: clamp(1rem, 2.2vw, 1.125rem);
    --text-lg: clamp(1.1rem, 2.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 3vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 4vw, 2rem);
    --text-3xl: clamp(1.8rem, 5vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 6vw, 3.5rem);
    --text-hero: clamp(2.8rem, 8vw, 5.5rem);

    --nav-height: 72px;
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  main { flex: 1; padding-top: var(--nav-height); }

  .container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--space-6);
  }

  .container--narrow {
    max-width: 800px;
  }

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

  @media (min-width: 768px) {
    .section-pad { padding-block: var(--space-24); }
  }

  .section-tinted { background-color: var(--clr-bg-tinted); }
  .section-dark { background-color: var(--clr-bg-dark); }
}

@layer components {

  /* ===== NAVIGATION ===== */
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    background-color: rgba(247,245,240,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border-light);
    transition: box-shadow var(--transition-base);
  }

  .site-header.scrolled {
    box-shadow: var(--shadow-md);
  }

  .nav-container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
  }

  .logo-text {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .logo-text em {
    font-style: normal;
    color: var(--clr-primary);
  }

  .nav-links {
    display: none;
    gap: var(--space-1);
    align-items: center;
  }

  .nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition-base);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--space-3);
    right: var(--space-3);
    height: 3px;
    background-color: var(--clr-primary);
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transition: transform var(--transition-base);
  }

  .nav-link:hover { color: var(--clr-text); }
  .nav-link.active { color: var(--clr-primary); }
  .nav-link.active::after { transform: scaleX(1); }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-base);
  }

  .nav-toggle:hover { background-color: var(--clr-bg-tinted); }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--clr-text);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (min-width: 900px) {
    .nav-toggle { display: none; }
    .nav-links { display: flex; }
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background-color: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-6);
    gap: var(--space-2);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

  .nav-links.mobile-open .nav-link {
    padding: var(--space-4) var(--space-4);
    font-size: var(--text-md);
    border-radius: var(--radius-md);
  }

  .nav-links.mobile-open .nav-link:hover,
  .nav-links.mobile-open .nav-link.active {
    background-color: var(--clr-bg-tinted);
  }

  .nav-links.mobile-open .nav-link::after { display: none; }

  /* ===== HERO ===== */
  .hero {
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-block: var(--space-20);
    gap: var(--space-12);
  }

  @media (min-width: 900px) {
    .hero {
      grid-template-columns: 1fr 1fr;
      padding-block: var(--space-16);
      min-height: 90vh;
    }
  }

  .hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.08;
  }

  .shape-1 {
    width: 600px; height: 600px;
    background: var(--clr-primary);
    top: -200px; right: -100px;
    animation: float-shape 12s ease-in-out infinite;
  }

  .shape-2 {
    width: 400px; height: 400px;
    background: var(--clr-secondary);
    bottom: -100px; left: -100px;
    animation: float-shape 16s ease-in-out infinite reverse;
  }

  .shape-3 {
    width: 200px; height: 200px;
    background: var(--clr-accent);
    top: 40%; left: 40%;
    animation: float-shape 10s ease-in-out infinite 2s;
  }

  @keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.02); }
    66% { transform: translate(-10px, 10px) scale(0.98); }
  }

  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--clr-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-xs);
  }

  .hero-headline {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--clr-text);
    margin-bottom: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: 0.05em;
  }

  .headline-line {
    display: block;
    animation: weight-breathe 6s ease-in-out infinite;
  }

  .headline-line--light {
    font-weight: 300;
    color: var(--clr-text-muted);
    animation: weight-breathe-light 6s ease-in-out infinite 1s;
  }

  @keyframes weight-breathe {
    0%, 100% { font-weight: 800; letter-spacing: -0.03em; }
    50% { font-weight: 700; letter-spacing: -0.025em; }
  }

  @keyframes weight-breathe-light {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
  }

  .headline-kinetic {
    display: block;
    color: var(--clr-primary);
    min-height: 1.1em;
    animation: color-cycle 8s ease-in-out infinite;
  }

  @keyframes color-cycle {
    0%, 100% { color: var(--clr-primary); }
    33% { color: var(--clr-secondary); }
    66% { color: var(--clr-accent); }
  }

  .typed-cursor {
    color: var(--clr-primary);
    animation: blink-cursor 0.7s step-end infinite;
  }

  @keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .hero-sub {
    font-size: var(--text-lg);
    color: var(--clr-text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: var(--space-8);
    font-weight: 400;
  }

  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .hero-note {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--clr-text-light);
  }

  .hero-note i { color: var(--clr-secondary); }

  .hero-image-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 520px;
    width: 100%;
  }

  .hero-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,98,42,0.1) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
  }

  .hero-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
  }

  .hero-img-badge {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    right: var(--space-6);
    background-color: rgba(247,245,240,0.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
    z-index: 2;
    box-shadow: var(--shadow-md);
  }

  .hero-img-badge i { color: var(--clr-primary); font-size: 1.1em; }

  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
    border: 2px solid transparent;
  }

  .btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-primary);
  }

  .btn-primary:hover {
    background-color: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    box-shadow: 0 6px 24px rgba(200,98,42,0.40);
    transform: translateY(-1px);
  }

  .btn-ghost {
    background-color: transparent;
    color: var(--clr-text-muted);
    border-color: var(--clr-border);
  }

  .btn-ghost:hover {
    background-color: var(--clr-surface);
    color: var(--clr-text);
    border-color: var(--clr-text-muted);
    transform: translateY(-1px);
  }

  .btn-outline-light {
    background-color: transparent;
    color: var(--clr-text-on-dark);
    border-color: rgba(240,235,224,0.4);
  }

  .btn-outline-light:hover {
    background-color: rgba(240,235,224,0.1);
    border-color: var(--clr-text-on-dark);
    transform: translateY(-1px);
  }

  .btn-outline-dark {
    background-color: transparent;
    color: var(--clr-text);
    border-color: var(--clr-border);
  }

  .btn-outline-dark:hover {
    background-color: var(--clr-bg-tinted);
    border-color: var(--clr-text-muted);
    transform: translateY(-1px);
  }

  .btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-md);
    min-height: 52px;
  }

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

  /* ===== SECTION HEADERS ===== */
  .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
  }

  .section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-primary);
    margin-bottom: var(--space-3);
    position: relative;
    padding-bottom: var(--space-2);
  }

  .section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--clr-primary);
    border-radius: var(--radius-full);
  }

  .section-label--light { color: var(--clr-accent); }
  .section-label--light::after { background-color: var(--clr-accent); }

  .section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--clr-text);
    margin-bottom: var(--space-4);
  }

  .section-title--light { color: var(--clr-text-on-dark); }

  .section-desc {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    max-width: 560px;
    margin-inline: auto;
    line-height: 1.7;
  }

  .text-accent { color: var(--clr-primary); }
  .text-accent-light { color: var(--clr-accent); }

  /* ===== CARD STACK ===== */
  .card-stack {
    position: relative;
  }

  .card-stack-layer {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    pointer-events: none;
  }

  .card-stack-layer:nth-child(1) {
    background-color: var(--clr-bg-tinted);
    transform: translate(6px, 6px);
    z-index: 0;
  }

  .card-stack-layer:nth-child(2) {
    background-color: var(--clr-border-light);
    transform: translate(3px, 3px);
    z-index: 1;
  }

  .card-inner {
    position: relative;
    z-index: 2;
    background-color: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
  }

  .card-stack:hover .card-inner {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-lg);
  }

  /* ===== WHY US SECTION ===== */
  .cards-stack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

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

  .why-card { margin-bottom: var(--space-2); }

  .why-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
  }

  .why-card h3 {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--clr-text);
    letter-spacing: -0.01em;
  }

  .why-card p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.65;
  }

  /* ===== PROGRAMS SECTION ===== */
  .programs-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
  }

  .program-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
  }

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

    .program-item--reverse {
      direction: rtl;
    }

    .program-item--reverse > * {
      direction: ltr;
    }
  }

  .program-number {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--clr-border);
    line-height: 1;
    letter-spacing: -0.04em;
    user-select: none;
    transition: color var(--transition-slow);
  }

  .program-item:hover .program-number {
    color: var(--clr-primary-light);
  }

  .program-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
  }

  .program-content p {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-primary);
    transition: gap var(--transition-base), color var(--transition-base);
  }

  .link-arrow:hover {
    gap: var(--space-3);
    color: var(--clr-primary-dark);
  }

  .link-arrow--lg {
    font-size: var(--text-md);
  }

  .program-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border-light);
  }

  .program-img-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }

  .program-item:hover .program-img-wrap img {
    transform: scale(1.03);
  }

  /* ===== COMPARISON SLIDER ===== */
  .comparison-wrapper {
    max-width: 800px;
    margin-inline: auto;
  }

  .comparison-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    user-select: none;
    border: 1px solid var(--clr-border-light);
  }

  .comparison-before,
  .comparison-after {
    position: absolute;
    inset: 0;
  }

  .comparison-before img,
  .comparison-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  .comparison-after {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0ms;
  }

  .comparison-label {
    position: absolute;
    bottom: var(--space-4);
    left: var(--space-4);
    background-color: rgba(30,27,23,0.7);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
  }

  .comparison-label--after {
    left: auto;
    right: var(--space-4);
    background-color: rgba(200,98,42,0.85);
  }

  .comparison-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
  }

  .comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 5;
    transition: left 0ms;
  }

  .handle-line {
    flex: 1;
    width: 2px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
  }

  .handle-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: var(--shadow-lg);
    color: var(--clr-text);
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  /* ===== AUDIENCE SECTION ===== */
  .audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
  }

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

  .audience-text p {
    font-size: var(--text-md);
    color: var(--clr-text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: var(--space-6);
  }

  .audience-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
  }

  .audience-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--clr-text-on-dark-muted);
    line-height: 1.5;
  }

  .audience-list li i {
    color: var(--clr-accent);
    margin-top: 2px;
    flex-shrink: 0;
  }

  .audience-image {
    position: relative;
  }

  .audience-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  .audience-img-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    opacity: 0.15;
    z-index: -1;
  }

  /* ===== VALUES TEASER ===== */
  .values-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-10);
  }

  .value-pill {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background-color: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
  }

  .value-pill i {
    color: var(--clr-primary);
    font-size: 1rem;
  }

  .value-pill:hover {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
  }

  .value-pill:hover i { color: #fff; }

  .values-cta { text-align: center; }

  /* ===== CTA SECTION ===== */
  .cta-card {
    background: linear-gradient(135deg, var(--clr-bg-dark) 0%, var(--clr-bg-dark-2) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-12) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    align-items: center;
    text-align: center;
    border: 1px solid rgba(240,235,224,0.08);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
  }

  .cta-card::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: var(--radius-full);
    background: var(--clr-primary);
    opacity: 0.06;
    pointer-events: none;
  }

  @media (min-width: 768px) {
    .cta-card {
      flex-direction: row;
      text-align: left;
      padding: var(--space-12) var(--space-16);
    }
  }

  .cta-headline {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--clr-text-on-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
  }

  .cta-text p {
    font-size: var(--text-md);
    color: var(--clr-text-on-dark-muted);
    line-height: 1.6;
  }

  .cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex-shrink: 0;
  }

  @media (min-width: 480px) {
    .cta-actions { flex-direction: row; }
  }

  /* ===== KINETIC TITLE ===== */
  .kinetic-title {
    animation: letter-spacing-breathe 5s ease-in-out infinite;
  }

  @keyframes letter-spacing-breathe {
    0%, 100% { letter-spacing: -0.02em; }
    50% { letter-spacing: -0.01em; }
  }

  /* ===== PAGE HERO ===== */
  .page-hero {
    padding-block: var(--space-16) var(--space-12);
    background-color: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border-light);
    position: relative;
    overflow: hidden;
  }

  .page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, var(--clr-primary) 0%, transparent 70%);
    opacity: 0.04;
    pointer-events: none;
  }

  .page-hero-content { max-width: 720px; }

  .page-hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--clr-text);
    margin-bottom: var(--space-5);
  }

  .page-hero-desc {
    font-size: var(--text-lg);
    color: var(--clr-text-muted);
    max-width: 600px;
    line-height: 1.7;
  }

  /* ===== VALUES PAGE ===== */
  .values-intro { margin-bottom: var(--space-12); }

  .lead-text {
    font-size: var(--text-lg);
    color: var(--clr-text-muted);
    line-height: 1.75;
    font-weight: 400;
  }

  .values-detailed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

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

  .value-detailed-card {
    background-color: var(--clr-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .value-detailed-card--accent {
    background-color: var(--clr-surface-warm);
    border-color: var(--clr-border);
  }

  .value-detailed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary);
  }

  .vd-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--clr-secondary), var(--clr-secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(61,107,94,0.3);
  }

  .vd-content h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
  }

  .vd-content p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
  }

  .vd-content p:last-child { margin-bottom: 0; }

  .values-team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
  }

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

  .vt-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .vt-text h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .vt-text p {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  /* ===== HOW WE HELP PAGE ===== */
  .how-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: start;
  }

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

  .how-intro-grid h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .how-note-card {
    background-color: rgba(61,107,94,0.08);
    border: 1px solid rgba(61,107,94,0.2);
    border-left: 4px solid var(--clr-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
  }

  .how-note-card i {
    color: var(--clr-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .how-note-card strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-2);
  }

  .how-note-card p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin: 0;
  }

  .module-card-full {
    background-color: var(--clr-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
  }

  .module-card-full:hover { box-shadow: var(--shadow-lg); }

  .module-card-full--alt {
    background-color: var(--clr-surface-warm);
  }

  .module-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--clr-border-light);
  }

  .module-num {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-primary);
    margin-bottom: var(--space-2);
  }

  .module-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    letter-spacing: -0.02em;
  }

  .module-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: start;
  }

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

  .module-text p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  .module-text h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .module-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .module-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .module-list li i {
    color: var(--clr-secondary);
    flex-shrink: 0;
    margin-top: 2px;
  }

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

  .module-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin-inline: auto;
  }

  .process-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
  }

  .process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-border));
    margin-left: 27px;
    border-radius: var(--radius-full);
  }

  .step-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
  }

  .step-content { padding-bottom: var(--space-6); }

  .step-content h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-2);
  }

  .step-content p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.65;
  }

  /* ===== BENEFITS PAGE ===== */
  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .benefit-card-large { margin-bottom: var(--space-2); }

  .benefit-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-primary);
  }

  .card-inner h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
  }

  .card-inner p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  .benefit-sub-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-left: 0;
  }

  .benefit-sub-list li {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    padding-left: var(--space-5);
    position: relative;
    line-height: 1.5;
  }

  .benefit-sub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-size: 0.8em;
  }

  .benefits-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

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

  .bd-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-6);
    background-color: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border-light);
    transition: all var(--transition-base);
  }

  .bd-item:hover {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .bd-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--clr-surface-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .bd-text h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-2);
  }

  .bd-text p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin: 0;
  }

  .bi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
  }

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

  .bi-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .bi-text h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .bi-text p {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  /* ===== CONTACT PAGE ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: start;
  }

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

  .contact-form-wrap h2,
  .contact-info-wrap h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-8);
    letter-spacing: -0.02em;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
  }

  .req { color: var(--clr-primary); }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    background-color: var(--clr-surface);
    color: var(--clr-text);
    font-size: var(--text-sm);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
  }

  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6358' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: var(--space-10);
  }

  .form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(200,98,42,0.12);
  }

  .form-group--checkbox { flex-direction: row; align-items: flex-start; }

  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: unset;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--clr-primary);
  }

  .checkbox-label a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  .ci-card {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-5);
    background-color: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border-light);
    transition: all var(--transition-base);
  }

  .ci-card:hover {
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
  }

  .ci-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .ci-text span {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-text-light);
    margin-bottom: var(--space-1);
  }

  .ci-text a,
  .ci-text address,
  .ci-text p {
    font-size: var(--text-sm);
    color: var(--clr-text);
    line-height: 1.5;
    margin: 0;
  }

  .ci-text a:hover { color: var(--clr-primary); }

  .contact-note {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    background-color: var(--clr-surface-accent);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    border: 1px solid var(--clr-border);
  }

  .contact-note i {
    color: var(--clr-secondary);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .contact-note p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin: 0;
  }

  .map-section { padding-bottom: 0; }

  .map-wrapper {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--clr-border-light);
  }

  /* ===== THANKS PAGE ===== */
  .thanks-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height) - 300px);
    padding-block: var(--space-20);
  }

  .thanks-section { width: 100%; }

  .thanks-card {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
    background-color: var(--clr-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-16) var(--space-8);
    border: 1px solid var(--clr-border-light);
    box-shadow: var(--shadow-xl);
  }

  .thanks-icon {
    font-size: 4rem;
    color: var(--clr-secondary);
    margin-bottom: var(--space-6);
    animation: check-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  @keyframes check-pop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .thanks-card h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
  }

  .thanks-sub {
    font-size: var(--text-md);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  .thanks-note {
    font-size: var(--text-sm);
    color: var(--clr-text-light);
    margin-bottom: var(--space-8);
    line-height: 1.6;
  }

  .thanks-note a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
  }

  /* ===== LEGAL PAGES ===== */
  .legal-hero {
    background-color: var(--clr-bg-tinted);
    padding-block: var(--space-12);
    border-bottom: 1px solid var(--clr-border);
  }

  .legal-hero h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--clr-text);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
  }

  .legal-updated {
    font-size: var(--text-sm);
    color: var(--clr-text-light);
  }

  .legal-body h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--clr-border-light);
  }

  .legal-body h3 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--clr-text);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
  }

  .legal-body p {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-4);
  }

  .legal-body ul {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
  }

  .legal-body ul li {
    font-size: var(--text-sm);
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-2);
  }

  .legal-body a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .legal-body strong { color: var(--clr-text); }
  .legal-body code {
    background-color: var(--clr-bg-tinted);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-size: 0.9em;
    font-family: monospace;
  }

  .cookie-table {
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .cookie-table th {
    background-color: var(--clr-bg-tinted);
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 700;
    color: var(--clr-text);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .cookie-table td {
    padding: var(--space-3) var(--space-4);
    color: var(--clr-text-muted);
    border-top: 1px solid var(--clr-border-light);
  }

  /* ===== FOOTER ===== */
  .site-footer {
    background-color: var(--clr-bg-dark);
    margin-top: auto;
  }

  .footer-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: var(--space-16) var(--space-6) var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .footer-brand-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--clr-text-on-dark);
    letter-spacing: -0.01em;
  }

  .footer-tagline {
    font-size: var(--text-sm);
    color: var(--clr-text-on-dark-muted);
    max-width: 300px;
    line-height: 1.5;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    justify-content: center;
  }

  .footer-nav a {
    font-size: var(--text-sm);
    color: var(--clr-text-on-dark-muted);
    transition: color var(--transition-base);
    padding: var(--space-1) 0;
  }

  .footer-nav a:hover { color: var(--clr-text-on-dark); }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .footer-contact a,
  .footer-contact span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--clr-text-on-dark-muted);
    transition: color var(--transition-base);
  }

  .footer-contact a:hover { color: var(--clr-accent); }

  .footer-contact i {
    color: var(--clr-primary);
    width: 16px;
    text-align: center;
  }

  .footer-legal {
    width: 100%;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(240,235,224,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .footer-legal span {
    font-size: var(--text-xs);
    color: var(--clr-text-on-dark-muted);
  }

  .footer-legal-links {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal-links a {
    font-size: var(--text-xs);
    color: var(--clr-text-on-dark-muted);
    transition: color var(--transition-base);
  }

  .footer-legal-links a:hover { color: var(--clr-accent); }

  /* ===== COOKIE CONSENT ===== */
  .cookie-banner {
    position: fixed;
    bottom: var(--space-5);
    left: var(--space-5);
    right: var(--space-5);
    max-width: 700px;
    margin-inline: auto;
    background-color: var(--clr-bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    border: 1px solid rgba(240,235,224,0.1);
    animation: slide-up 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  @keyframes slide-up {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .cookie-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  @media (min-width: 600px) {
    .cookie-content { flex-direction: row; align-items: center; }
  }

  .cookie-text strong {
    display: block;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--clr-text-on-dark);
    margin-bottom: var(--space-2);
  }

  .cookie-text p {
    font-size: var(--text-xs);
    color: var(--clr-text-on-dark-muted);
    line-height: 1.5;
    margin: 0;
  }

  .cookie-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex-shrink: 0;
  }

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

  .btn-cookie {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition-base);
    min-height: 36px;
    white-space: nowrap;
  }

  .btn-cookie-accept {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
  }

  .btn-cookie-accept:hover {
    background-color: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
  }

  .btn-cookie-customize {
    background-color: transparent;
    color: var(--clr-text-on-dark-muted);
    border-color: rgba(240,235,224,0.2);
  }

  .btn-cookie-customize:hover {
    background-color: rgba(240,235,224,0.08);
    color: var(--clr-text-on-dark);
  }

  .btn-cookie-reject {
    background-color: transparent;
    color: var(--clr-text-on-dark-muted);
    border-color: rgba(240,235,224,0.2);
  }

  .btn-cookie-reject:hover {
    background-color: rgba(240,235,224,0.08);
    color: var(--clr-text-on-dark);
  }

  .cookie-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(30,27,23,0.7);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
  }

  .cookie-modal-inner {
    background-color: var(--clr-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--clr-border);
  }

  .cookie-modal-inner h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: var(--space-6);
  }

  .cookie-category {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--clr-border-light);
  }

  .cookie-category:last-of-type { border-bottom: none; }

  .cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
    flex-direction: column;
  }

  .cookie-toggle > span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--clr-text);
  }

  .cookie-toggle small {
    font-size: var(--text-xs);
    color: var(--clr-text-muted);
    line-height: 1.5;
    display: block;
    margin-top: var(--space-1);
  }

  .cookie-toggle input[type="checkbox"] {
    accent-color: var(--clr-primary);
    width: 16px;
    height: 16px;
    margin-top: 2px;
  }

  .cookie-modal-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    flex-wrap: wrap;
  }

  .cookie-modal-actions .btn-cookie-accept,
  .cookie-modal-actions .btn-cookie-reject {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-on-dark);
    border-color: var(--clr-bg-dark);
  }

  .cookie-modal-actions .btn-cookie-accept {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
  }

  .cookie-modal-actions .btn-cookie-reject {
    background-color: transparent;
    color: var(--clr-text-muted);
    border-color: var(--clr-border);
  }

  .cookie-modal-actions .btn-cookie-reject:hover {
    background-color: var(--clr-bg-tinted);
    color: var(--clr-text);
  }

  /* ===== intl-tel-input overrides ===== */
  .iti { width: 100%; }
  .iti__flag-container { z-index: 10; }
  .iti input { width: 100% !important; }

}

@layer utilities {
  .sr-only {
    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; }
}