/* ============================================================
   AB AUDITORES — Landing "Abertura de Empresa"
   Aesthetic: Editorial financial broadsheet · old-money luxury
   Newsreader (display) + Archivo (text) · navy / cream / gold / oxblood
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400..600&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..600&family=Archivo:wght@300;400;500;600;700&display=swap');

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

/* ───────────────────────── RESET ───────────────────────── */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  html, body { overflow-x: hidden; max-width: 100%; }
  body { min-height: 100dvh; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  img, video, svg, iframe { max-width: 100%; display: block; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: none; cursor: pointer; }
  p, h1, h2, h3, h4 { overflow-wrap: break-word; }
  a { color: inherit; text-decoration: none; }
  ul[role="list"], ol[role="list"] { list-style: none; }
  summary { cursor: pointer; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
}

/* ───────────────────────── TOKENS ───────────────────────── */
@layer tokens {
  :root {
    /* Fonts */
    --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
    --font-hero: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Archivo', system-ui, -apple-system, sans-serif;

    /* Brand palette */
    --ink: #16242F;          /* primary text on cream */
    --ink-soft: #44505a;
    --navy: #1C2F42;
    --navy-800: #16263A;
    --navy-900: #0F1B29;
    --navy-1000: #0A141F;
    --cream: #F4EEE3;        /* page background */
    --cream-2: #EBE3D4;
    --paper: #FCF9F2;        /* elevated light surface */
    --gold: #BF9750;
    --gold-2: #D2AC68;
    --gold-soft: #E3CD9E;
    --gold-ink: #8A6A2E;
    --oxblood: #A24433;      /* pain / cost accent */
    --oxblood-soft: #C76A52;
    --whats: #25D366;
    --whats-dark: #128C42;

    /* Hairlines */
    --line-dark: rgba(244, 238, 227, 0.16);   /* on navy */
    --line-light: rgba(22, 36, 47, 0.14);     /* on cream */
    --line-gold: rgba(191, 151, 80, 0.45);

    /* Fluid type scale */
    --t-xs: clamp(0.72rem, 0.69rem + 0.15vw, 0.8rem);
    --t-sm: clamp(0.84rem, 0.8rem + 0.2vw, 0.95rem);
    --t-base: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
    --t-lg: clamp(1.18rem, 1.05rem + 0.6vw, 1.45rem);
    --t-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
    --t-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.1rem);
    --t-3xl: clamp(2.6rem, 1.8rem + 4vw, 4.4rem);
    --t-hero: clamp(2.7rem, 1.3rem + 6vw, 6rem);
    --t-numeral: clamp(3rem, 1.5rem + 7vw, 8rem);

    /* Spacing */
    --sp-section: clamp(4.5rem, 3rem + 7vw, 9rem);
    --gutter: clamp(1.15rem, 0.5rem + 4vw, 4rem);
    --maxw: 1280px;

    --radius: 4px;
    --radius-lg: 8px;

    --shadow-md: 0 18px 50px -22px rgba(15, 27, 41, 0.45);
    --shadow-lg: 0 40px 90px -30px rgba(10, 20, 31, 0.55);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    /* Grain (SVG noise) */
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* ───────────────────────── BASE ───────────────────────── */
@layer base {
  body {
    font-family: var(--font-sans);
    font-size: var(--t-base);
    color: var(--ink);
    background: var(--cream);
    font-weight: 400;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 480;
    line-height: 1.02;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  p { text-wrap: pretty; }

  em { font-style: italic; }

  .container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  section { padding-block: var(--sp-section); position: relative; }

  /* Section header (editorial: numeral + kicker + title) */
  .sec-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.2rem, 3vw, 3rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  }
  .sec-num {
    font-family: var(--font-display);
    font-size: var(--t-numeral);
    font-weight: 300;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--line-light);
    letter-spacing: -0.04em;
  }
  .sec-num--gold { -webkit-text-stroke-color: var(--gold); }
  .sec-head--dark .sec-num { -webkit-text-stroke-color: rgba(227, 205, 158, 0.55); }
  .sec-title {
    font-size: var(--t-2xl);
    max-width: 22ch;
  }

  .kicker {
    font-family: var(--font-sans);
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-ink);
    margin-bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
  }
  .kicker--gold { color: var(--gold-ink); }
  .kicker--danger { color: var(--oxblood); }
  .sec-head--dark .kicker { color: var(--gold-2); }
}

/* ───────────────────────── COMPONENTS ───────────────────────── */
@layer components {

  .skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--navy); color: var(--cream); padding: 0.7rem 1.2rem;
    border-radius: 0 0 var(--radius) 0;
  }
  .skip-link:focus { left: 0; }

  .reading-progress {
    position: fixed; inset: 0 auto auto 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    z-index: 200;
  }
  @supports (animation-timeline: scroll()) {
    .reading-progress {
      width: 100%; transform: scaleX(0); transform-origin: left;
      animation: progress-grow linear; animation-timeline: scroll(root block);
    }
    @keyframes progress-grow { to { transform: scaleX(1); } }
  }

  /* ── BUTTONS ── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-sans); font-weight: 600; font-size: var(--t-sm);
    letter-spacing: 0.01em; line-height: 1; text-align: center;
    padding: 0.95rem 1.7rem; border-radius: var(--radius);
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    min-height: 46px; position: relative; overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.3s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
  }
  .btn:active { transform: scale(0.98); }

  .btn--whats { background: var(--whats); color: #06301a; box-shadow: 0 12px 30px -12px rgba(18, 140, 66, 0.7); }
  .btn--whats:hover { background: #1ec45c; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(18, 140, 66, 0.8); }

  .btn--gold { background: var(--gold); color: #2b2008; box-shadow: 0 12px 30px -14px rgba(138, 106, 46, 0.8); }
  .btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }

  .btn--dark { background: var(--navy); color: var(--cream); }
  .btn--dark:hover { background: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }

  .btn--ghost-light { background: transparent; color: var(--cream); border-color: var(--line-dark); }
  .btn--ghost-light:hover { border-color: var(--gold-2); color: var(--gold-soft); transform: translateY(-2px); }

  .btn--sm { padding: 0.6rem 1.1rem; min-height: 40px; font-size: var(--t-xs); }
  .btn--lg { padding: 1.05rem 2rem; min-height: 54px; font-size: var(--t-base); }
  .btn--xl { padding: 1.2rem 2.3rem; min-height: 60px; font-size: var(--t-base); }
  .btn--full { width: 100%; }

  /* ── NAVBAR ── */
  .navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
  }
  .navbar__inner {
    width: 100%; max-width: var(--maxw); margin-inline: auto;
    padding: clamp(0.8rem, 2vw, 1.3rem) var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  }
  .navbar__logo img { height: 42px; width: auto; }
  .navbar__links { display: none; gap: clamp(1.2rem, 2.5vw, 2.3rem); }
  .navbar__links a {
    font-size: var(--t-sm); font-weight: 500; color: var(--cream); opacity: 0.82;
    position: relative; padding-block: 0.4rem; transition: opacity 0.2s;
  }
  .navbar__links a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--gold-2); transition: width 0.3s var(--ease);
  }
  .navbar__links a:hover { opacity: 1; }
  .navbar__links a:hover::after { width: 100%; }
  .navbar.scrolled {
    background: rgba(15, 27, 41, 0.85);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom-color: var(--line-dark);
  }

  .navbar__toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
  .navbar__toggle span { width: 26px; height: 2px; background: var(--cream); transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
  .navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    max-height: 0; overflow: hidden; background: var(--navy-900);
    transition: max-height 0.45s var(--ease); border-top: 1px solid transparent;
  }
  .mobile-menu.open { max-height: 480px; border-top-color: var(--line-dark); }
  .mobile-menu ul { padding: 0.5rem var(--gutter) 1.6rem; display: flex; flex-direction: column; }
  .mobile-menu a { display: block; padding: 0.95rem 0; color: var(--cream); font-size: var(--t-base); border-bottom: 1px solid var(--line-dark); }
  .mobile-menu__actions { padding-top: 1.1rem; border: none; }
  .mobile-menu__actions a { border: none; }

  /* ── HERO ── */
  .hero {
    background:
      radial-gradient(ellipse 90% 60% at 50% 8%, rgba(28,47,66,0.6) 0%, transparent 60%),
      linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-1000) 100%);
    color: var(--cream); padding-top: clamp(6.5rem, 12vh, 8.5rem); padding-bottom: clamp(2.5rem, 8vw, 4rem);
    overflow: hidden; isolation: isolate; position: relative;
  }
  .hero__grain {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: var(--grain); background-size: 200px; opacity: 0.05; mix-blend-mode: overlay;
  }
  /* Mobile-only hero photo (between kicker and title) */
  .hero__photo-mobile {
    width: 100%; height: auto; aspect-ratio: 16 / 12; object-fit: cover; object-position: center 22%;
    border-radius: var(--radius-lg); border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-lg); margin: clamp(1.2rem, 4vw, 1.8rem) 0 clamp(1.6rem, 5vw, 2.2rem);
  }
  .hero__inner { position: relative; z-index: 1; }
  .hero__kicker {
    font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--gold-2); display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
  }
  .hero__kicker .rule { display: inline-block; width: clamp(28px, 6vw, 64px); height: 1px; background: var(--gold); }

  .hero__title {
    font-family: var(--font-hero); font-optical-sizing: auto;
    font-size: var(--t-hero); font-weight: 480; line-height: 0.98;
    letter-spacing: -0.018em; max-width: 14ch;
  }
  .hero__title span { display: block; }
  .hero__title em { font-style: normal; font-weight: 500; }
  .hero__title-accent {
    color: var(--gold-2); font-style: normal; font-weight: 500;
  }

  .hero__col {
    max-width: 56ch; margin-top: clamp(1.4rem, 3vw, 2.2rem);
    display: flex; flex-direction: column; gap: 1.5rem;
  }
  .hero__sub { font-size: var(--t-lg); color: rgba(244, 238, 227, 0.82); font-weight: 300; line-height: 1.55; }
  .hero__sub strong { color: var(--cream); font-weight: 600; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

  .hero__meta {
    position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center;
    gap: clamp(0.8rem, 2vw, 1.6rem); margin-top: clamp(2rem, 4.5vw, 3.2rem);
    padding-block: 1.3rem 2rem; border-top: 1px solid var(--line-dark);
    font-size: var(--t-sm); color: rgba(244, 238, 227, 0.6); font-weight: 400;
  }
  .hero__meta b { font-family: var(--font-display); font-weight: 500; color: var(--gold-2); font-size: 1.15em; }
  .hero__meta-sep { width: 1px; height: 16px; background: var(--line-dark); }

  /* ── TICKER / STATS ── */
  .ticker { background: var(--navy-1000); color: var(--cream); padding-block: 0; border-bottom: 1px solid var(--line-dark); }
  .ticker__grid { display: grid; grid-template-columns: 1fr 1fr; }
  .stat {
    padding: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.4rem);
    border-bottom: 1px solid var(--line-dark);
    display: flex; flex-direction: column; gap: 0.6rem;
  }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .stat__num {
    font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.2rem);
    line-height: 0.9; color: var(--gold-2); letter-spacing: -0.02em;
  }
  .stat__num--serif { letter-spacing: 0.02em; }
  .stat__sym { font-size: 0.5em; color: var(--gold); }
  .stat__label { font-size: var(--t-sm); color: rgba(244, 238, 227, 0.6); line-height: 1.4; }

  /* ── 01 PAIN (dark) ── */
  .pain { background: var(--navy); color: var(--cream); }
  .pain .sec-title { color: var(--cream); max-width: 26ch; }
  .pain__list { display: flex; flex-direction: column; }
  .pain-row {
    display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.6rem, 3.5vw, 2.6rem) 0; border-top: 1px solid var(--line-dark);
    align-items: start;
  }
  .pain-row:last-child { border-bottom: 1px solid var(--line-dark); }
  .pain-row__idx {
    font-family: var(--font-display); font-style: italic; font-weight: 300;
    font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--oxblood-soft); line-height: 1;
  }
  .pain-row__main h3 { font-size: var(--t-xl); margin-bottom: 0.6rem; color: var(--cream); }
  .pain-row__main p { color: rgba(244, 238, 227, 0.68); max-width: 60ch; font-weight: 300; }
  .pain-row__cost {
    grid-column: 2; margin-top: 1rem; font-size: var(--t-xs); font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--oxblood-soft);
  }
  .pain-row__cost b { color: #E89A85; font-weight: 700; }

  /* ── 02 SOLUTION (light) ── */
  .solution { background: var(--cream); }
  .solution__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: 1fr; }
  .solution__lead { font-size: var(--t-lg); color: var(--ink-soft); margin-block: 1.5rem 2rem; max-width: 48ch; font-weight: 300; }
  .solution__lead strong { color: var(--ink); font-weight: 600; }
  .check-list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.2rem; }
  .check-list li { display: flex; align-items: flex-start; gap: 0.85rem; font-size: var(--t-base); color: var(--ink); }
  .check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }

  .solution__quote {
    background: var(--navy); color: var(--cream); padding: clamp(2rem, 4vw, 3.2rem);
    border-radius: var(--radius-lg); position: relative; isolation: isolate;
    box-shadow: var(--shadow-lg); align-self: start;
  }
  .solution__mark {
    font-family: var(--font-display); font-style: italic; font-size: 7rem; line-height: 0.5;
    color: var(--gold); display: block; height: 2.2rem;
  }
  .solution__quote blockquote {
    font-family: var(--font-display); font-size: var(--t-xl); font-style: italic; font-weight: 380;
    line-height: 1.2; margin-block: 1rem 1.4rem; color: var(--gold-soft);
  }
  .solution__quote-sub { color: rgba(244, 238, 227, 0.72); font-weight: 300; }
  .solution__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
  .solution__tags li {
    font-size: var(--t-xs); letter-spacing: 0.05em; text-transform: uppercase;
    border: 1px solid var(--line-dark); border-radius: 100px; padding: 0.45rem 0.9rem; color: var(--gold-2);
  }

  /* ── 03 STEPS (dark) ── */
  .steps { background: var(--navy-900); color: var(--cream); }
  .steps .sec-title { color: var(--cream); }
  .steps__track { display: grid; grid-template-columns: 1fr; gap: 0; }
  .step {
    padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--line-dark);
    display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: baseline;
  }
  .step:last-child { border-bottom: 1px solid var(--line-dark); }
  .step__num {
    font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem);
    color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 0.8; letter-spacing: -0.03em;
  }
  .step h3 { font-size: var(--t-xl); color: var(--gold-soft); margin-bottom: 0.4rem; }
  .step p { color: rgba(244, 238, 227, 0.68); font-weight: 300; max-width: 52ch; }
  .steps__cta { margin-top: clamp(2rem, 4vw, 3rem); }

  /* ── 04 INCLUDED (light) ── */
  .included { background: var(--cream); }
  .included__intro { font-size: var(--t-lg); color: var(--ink-soft); max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); font-weight: 300; }
  .included__index { display: flex; flex-direction: column; }
  .srv {
    display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.6rem);
    padding: clamp(1.5rem, 3vw, 2.3rem) 0; border-top: 1px solid var(--line-light);
    align-items: baseline; transition: padding-left 0.35s var(--ease);
  }
  .srv:last-child { border-bottom: 1px solid var(--line-light); }
  .srv__no {
    font-family: var(--font-display); font-weight: 300; font-size: var(--t-lg);
    color: var(--gold); letter-spacing: 0.05em;
  }
  .srv h3 { font-size: var(--t-xl); transition: color 0.25s; }
  .srv p { color: var(--ink-soft); margin-top: 0.4rem; max-width: 60ch; }
  @media (hover: hover) {
    .srv:hover { padding-left: clamp(0.5rem, 2vw, 1.6rem); }
    .srv:hover h3 { color: var(--gold-ink); }
  }

  /* ── 05 TEAM (dark) ── */
  .team { background: var(--navy); color: var(--cream); }
  .team .sec-title { color: var(--cream); }
  .team__intro { font-size: var(--t-lg); color: rgba(244, 238, 227, 0.72); max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); font-weight: 300; }
  .team__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
  .partner {
    display: grid; grid-template-columns: 1fr; gap: 0;
    border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
  }
  .partner__photo { position: relative; overflow: hidden; background: var(--navy-900); }
  .partner__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15,27,41,0.55) 100%);
  }
  .partner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(0.15) contrast(1.02); transition: transform 0.6s var(--ease); }
  @media (hover: hover) { .partner:hover .partner__photo img { transform: scale(1.03); } }
  .partner__body { padding: clamp(1.5rem, 3vw, 2.4rem); }
  .partner__eyebrow {
    font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 0.6rem;
  }
  .partner__body h3 { font-size: var(--t-xl); color: var(--cream); margin-bottom: 1.3rem; }
  .partner__creds { display: flex; flex-direction: column; gap: 0.7rem; }
  .partner__creds li {
    position: relative; padding-left: 1.3rem; font-size: var(--t-sm);
    color: rgba(244, 238, 227, 0.74); font-weight: 300; line-height: 1.45;
  }
  .partner__creds li::before {
    content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px;
    background: var(--gold); border-radius: 50%;
  }

  /* ── REVIEWS (light) ── */
  .reviews { background: var(--cream); }
  .reviews__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
    background: var(--paper); border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 3vw, 1.7rem) clamp(1.4rem, 4vw, 2.3rem);
    margin-bottom: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md);
    background-image: linear-gradient(180deg, rgba(191,151,80,0.05), transparent 60%);
  }
  .reviews__brand { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .reviews__brand > div { display: flex; flex-direction: column; line-height: 1; }
  .reviews__rating { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink); }
  .reviews__stars { color: #E8A317; font-size: 1.15rem; letter-spacing: 2px; }
  .reviews__src { font-size: var(--t-sm); color: var(--ink-soft); }

  .reviews__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2.4vw, 1.5rem); }
  .review {
    background: var(--paper); border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 0.95rem;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .review__head { display: flex; align-items: center; gap: 0.85rem; }
  .review__avatar {
    width: 44px; height: 44px; flex: none; border-radius: 50%;
    display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.2rem;
    background: var(--c, var(--navy)); font-family: var(--font-sans);
  }
  .review__id { display: flex; flex-direction: column; line-height: 1.25; }
  .review__name { font-weight: 600; color: var(--ink); }
  .review__count { font-size: var(--t-xs); color: var(--ink-soft); }
  .review__meta { display: flex; align-items: center; gap: 0.75rem; }
  .review__stars { color: #E8A317; font-size: 1rem; letter-spacing: 1.5px; }
  .review__time { font-size: var(--t-xs); color: var(--ink-soft); }
  .review__body { display: flex; flex-direction: column; gap: 0.7rem; }
  .review__body p { color: var(--ink-soft); font-size: var(--t-base); line-height: 1.62; max-width: none; }
  .review__role { font-weight: 600; color: var(--ink) !important; font-size: var(--t-sm) !important; }
  .review__sign {
    font-family: var(--font-display); font-style: italic; color: var(--ink) !important;
    font-size: var(--t-sm) !important; line-height: 1.5;
    border-top: 1px solid var(--line-gold); padding-top: 0.85rem; margin-top: 0.2rem;
  }

  /* ── 06 FAQ (light) ── */
  .faq { background: var(--cream); }
  .faq__list { max-width: 860px; }
  .faq-item { border-top: 1px solid var(--line-light); }
  .faq-item:last-child { border-bottom: 1px solid var(--line-light); }
  .faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: clamp(1.2rem, 2.5vw, 1.7rem) 0;
    font-family: var(--font-display); font-size: var(--t-lg); font-weight: 460; color: var(--ink);
    transition: color 0.2s;
  }
  .faq-item summary:hover { color: var(--gold-ink); }
  .faq-item__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
  .faq-item__plus::before, .faq-item__plus::after {
    content: ''; position: absolute; background: var(--gold); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .faq-item__plus::before { inset: 8px 0; height: 2px; }
  .faq-item__plus::after { inset: 0 8px; width: 2px; }
  .faq-item[open] .faq-item__plus::after { transform: rotate(90deg); opacity: 0; }
  .faq-item__body {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease);
  }
  .faq-item[open] .faq-item__body { grid-template-rows: 1fr; }
  .faq-item__body > p {
    overflow: hidden; color: var(--ink-soft); max-width: 70ch; line-height: 1.65;
    padding-bottom: 0; transition: padding-bottom 0.35s var(--ease);
  }
  .faq-item[open] .faq-item__body > p { padding-bottom: clamp(1.2rem, 2.5vw, 1.7rem); }

  /* ── CTA FINAL (dark) ── */
  .cta-final {
    background: radial-gradient(120% 120% at 20% 0%, #20364c 0%, var(--navy) 40%, var(--navy-1000) 100%);
    color: var(--cream); text-align: center; overflow: hidden; isolation: isolate;
  }
  .cta-final__watermark {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-display); font-weight: 300; font-style: italic;
    font-size: clamp(16rem, 48vw, 44rem); line-height: 0.7; color: rgba(227,205,158,0.04);
    z-index: 0; pointer-events: none; user-select: none;
  }
  .cta-final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
  .cta-final .kicker { color: var(--gold-2); justify-content: center; }
  .cta-final h2 { font-size: var(--t-3xl); color: var(--cream); max-width: 16ch; margin-bottom: 1.3rem; }
  .cta-final__sub { font-size: var(--t-lg); color: rgba(244,238,227,0.78); max-width: 52ch; margin-bottom: 2.4rem; font-weight: 300; }
  .cta-final__note { margin-top: 1.4rem; font-size: var(--t-sm); color: rgba(244,238,227,0.55); letter-spacing: 0.04em; }

  /* ── CONTACT (light) ── */
  .contact { background: var(--cream); }
  .contact__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: stretch; }
  .contact__title { font-size: var(--t-2xl); margin-block: 0.7rem 2rem; }
  .contact__list { display: flex; flex-direction: column; }
  .contact__list li {
    display: grid; grid-template-columns: 1fr; gap: 0.2rem;
    padding: 1.1rem 0; border-top: 1px solid var(--line-light);
  }
  .contact__list li:last-child { border-bottom: 1px solid var(--line-light); }
  .contact__k { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
  .contact__v { font-size: var(--t-base); color: var(--ink); }
  .contact__v a { border-bottom: 1px solid var(--line-gold); transition: color 0.2s; }
  .contact__v a:hover { color: var(--gold-ink); }
  .contact__card {
    min-height: 320px; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line-gold);
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(191,151,80,0.12) 0%, transparent 60%),
      linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 60%, var(--navy-1000) 100%);
    color: var(--cream); display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; gap: 0.7rem;
    padding: clamp(2rem, 5vw, 3.2rem);
  }
  .contact__pin { color: var(--gold-2); margin-bottom: 0.3rem; }
  .contact__card-kicker {
    font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold-2);
  }
  .contact__card-addr { font-size: var(--t-base); color: var(--cream); line-height: 1.6; max-width: 36ch; }
  .contact__card-hours { font-size: var(--t-sm); color: rgba(244, 238, 227, 0.65); margin-bottom: 0.5rem; }

  /* ── FOOTER ── */
  .footer { background: var(--navy-1000); color: rgba(244,238,227,0.72); padding-top: clamp(3rem, 6vw, 5rem); }
  .footer__top { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; padding-bottom: clamp(2rem, 4vw, 3rem); }
  .footer__brand img { height: 50px; width: auto; margin-bottom: 1.2rem; }
  .footer__brand p { font-weight: 300; max-width: 42ch; font-size: var(--t-sm); }
  .footer__reg { margin-top: 1rem; font-size: var(--t-xs); letter-spacing: 0.05em; color: rgba(244,238,227,0.5); }
  .footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer__col h4 { font-family: var(--font-sans); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem; }
  .footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
  .footer__col a { font-size: var(--t-sm); font-weight: 300; transition: color 0.2s; }
  .footer__col a:hover { color: var(--gold-soft); }
  .footer__addr { font-size: var(--t-sm); line-height: 1.6; font-weight: 300; }
  .footer__bottom {
    border-top: 1px solid var(--line-dark); padding-block: 1.6rem;
    font-size: var(--t-xs); color: rgba(244,238,227,0.45);
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
    align-items: center; justify-content: space-between;
  }
  .footer__credit a {
    color: var(--gold-2); font-weight: 600; letter-spacing: 0.02em;
    border-bottom: 1px solid var(--line-gold); transition: color 0.2s, border-color 0.2s;
  }
  .footer__credit a:hover { color: var(--cream); border-color: var(--gold-2); }
  .footer__static { color: inherit; }

  /* ── FLOATING / STICKY ── */
  .whatsapp-float {
    position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; background: var(--whats);
    display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(18,140,66,0.6);
    transition: transform 0.3s var(--ease-spring);
  }
  .whatsapp-float::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--whats);
    z-index: -1; animation: pulse-ring 2.4s var(--ease) infinite;
  }
  .whatsapp-float:hover { transform: scale(1.08); }
  @keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.6; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

  .sticky-cta {
    position: fixed; inset: auto 0 0 0; z-index: 85;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.8rem clamp(1rem, 4vw, 1.4rem); background: var(--navy-900);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform 0.4s var(--ease);
  }
  .sticky-cta.visible { transform: translateY(0); }
  .sticky-cta p { font-family: var(--font-display); font-size: var(--t-base); color: var(--cream); font-weight: 460; }

  .scroll-top {
    position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: calc(clamp(1rem, 3vw, 1.8rem) + 72px); z-index: 88;
    width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--cream);
    display: grid; place-items: center; opacity: 0; pointer-events: none;
    transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; border: 1px solid var(--line-dark);
  }
  .scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
}

/* ───────────────────────── UTILITIES / MOTION ───────────────────────── */
@layer utilities {

  /* Hero load reveal (above the fold) */
  .reveal {
    opacity: 0; transform: translateY(26px);
    animation: reveal-up 0.9s var(--ease) forwards;
    animation-delay: calc(var(--d, 0) * 0.085s + 0.1s);
  }
  @keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

  /* Scroll-triggered reveals (JS adds .visible) */
  [data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  [data-animate].visible { opacity: 1; transform: none; }

  [data-animate-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  [data-animate-stagger].visible > * { opacity: 1; transform: none; }
  [data-animate-stagger].visible > *:nth-child(1) { transition-delay: 0.05s; }
  [data-animate-stagger].visible > *:nth-child(2) { transition-delay: 0.13s; }
  [data-animate-stagger].visible > *:nth-child(3) { transition-delay: 0.21s; }
  [data-animate-stagger].visible > *:nth-child(4) { transition-delay: 0.29s; }
  [data-animate-stagger].visible > *:nth-child(5) { transition-delay: 0.37s; }
  [data-animate-stagger].visible > *:nth-child(6) { transition-delay: 0.45s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal, [data-animate], [data-animate-stagger] > * { opacity: 1 !important; transform: none !important; }
  }
}

/* ───────────────────────── RESPONSIVE ───────────────────────── */

/* Tablet 600px+ */
@media (min-width: 37.5em) {
  .ticker__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-right: 1px solid var(--line-dark); }
  .stat:last-child { border-right: none; }
  .pain-row { grid-template-columns: auto 1fr auto; align-items: center; }
  .pain-row__cost { grid-column: auto; margin-top: 0; text-align: right; white-space: nowrap; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop 900px+ */
@media (min-width: 56.25em) {
  .navbar__links { display: flex; }
  .navbar__toggle { display: none; }
  .mobile-menu { display: none; }

  .hero {
    background:
      linear-gradient(98deg, rgba(11,20,31,0.97) 0%, rgba(12,22,33,0.95) 26%, rgba(14,25,38,0.82) 40%, rgba(15,27,41,0.5) 53%, rgba(15,27,41,0.15) 66%, transparent 80%),
      linear-gradient(0deg, var(--navy-1000) 0%, rgba(10,20,31,0.55) 12%, rgba(10,20,31,0.12) 26%, transparent 42%),
      url('../assets/hero-bg.png') 82% center / cover no-repeat,
      var(--navy-900);
    padding-top: clamp(7rem, 13vh, 9.5rem); padding-bottom: 0;
  }
  .hero__photo-mobile { display: none; }
  .hero__title { max-width: 13ch; }
  .hero__col { max-width: 42ch; }
  .hero__sub { max-width: 40ch; }

  .solution__grid { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .steps__track { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
  .step:nth-child(2) { border-top: 1px solid var(--line-dark); }
  .footer__top { grid-template-columns: 1.4fr 2fr; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .review--wide { grid-column: 1 / -1; }

  .partner { grid-template-columns: 0.85fr 1fr; }
  .partner__photo { min-height: 100%; }
}
