/* =============================================================
   KERKUUS — styles.css
   Light editorial cream base + high-contrast dark blocks.
   Palette: ink #111111 · yellow #F2C94C · cream #FAFAF7
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --ink:        #111111;
  --ink-2:      #1b1b1b;
  --yellow:     #F2C94C;
  --yellow-deep:#e0b53a;
  --cream:      #FAFAF7;
  --cream-2:    #f1ede2;
  --cream-3:    #e7e1d2;
  --line:       rgba(17, 17, 17, 0.12);
  --line-dark:  rgba(250, 250, 247, 0.16);
  --muted:      rgba(17, 17, 17, 0.58);
  --muted-dark: rgba(250, 250, 247, 0.62);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;
  --nav-h: 76px;

  /* themed (default = light) */
  --bg: var(--cream);
  --fg: var(--ink);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.02; letter-spacing: -0.02em; font-weight: 900; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* yellow R used in wordmarks */
.r { color: var(--yellow); }

/* =============================================================
   3. Shared layout
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.kicker span { position: relative; }
.kicker::before {
  content: ""; width: 34px; height: 2px; background: var(--yellow);
  display: inline-block;
}
.section-dark .kicker { color: var(--muted-dark); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 1rem 1.6rem;
  font-family: var(--sans);
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 100px;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  will-change: transform;
}
.btn-sm { padding: .62rem 1.1rem; font-size: .84rem; }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 1px 0 rgba(17,17,17,.06);
}
.btn-primary:hover { background: var(--ink); color: var(--cream); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.section-dark .btn-ghost { color: var(--cream); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-dark {
  background: var(--ink); color: var(--cream);
}
.btn-dark:hover { background: #000; color: var(--yellow); }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--cream);
  display: grid; place-items: center;
  /* SAFETY: auto-hide at 4.5s even if JS fails */
  animation: splashSafety .4s 4.5s forwards;
}
.splash.is-out {
  animation: splashOut .9s var(--ease-out) forwards;
}
.splash-inner { overflow: hidden; padding: .4em 0; }
.splash-logo {
  display: block;
  width: clamp(220px, 46vw, 520px); height: auto;
  transform: translateY(120%);
  animation: splashWordUp 1s .15s var(--ease-out) forwards;
}
.splash-curtain {
  position: absolute; inset: 0; background: var(--yellow);
  transform: scaleY(0); transform-origin: bottom;
  z-index: -1;
}
@keyframes splashWordUp { to { transform: translateY(0); } }
@keyframes splashOut {
  to { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
}
@keyframes splashSafety {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* =============================================================
   6. Cursor (hidden until first move)
   ============================================================= */
.cursor { position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0;
  border-radius: 50%; transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--ink); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid var(--ink);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out), margin .3s var(--ease-out);
}
.cursor.is-hover .cursor-ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(242, 201, 76, .22); border-color: var(--yellow);
}
.cursor.is-hover .cursor-dot { opacity: 0; }
.cursor.on-dark .cursor-dot { background: var(--yellow); }
.cursor.on-dark .cursor-ring { border-color: var(--cream); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h);
  transition: transform .45s var(--ease-out), background .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled {
  background: rgba(250, 250, 247, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner {
  height: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand-word, .brand-word-lg {
  font-family: var(--serif); font-weight: 900;
  letter-spacing: -.03em; color: var(--ink); font-size: 1.5rem;
}
.brand-logo { display: block; height: 24px; width: auto; }
.footer-logo { display: block; height: 36px; width: auto; }
.nav-links { display: none; gap: 2rem; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--ink);
  position: relative; padding: .3rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .35s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; gap: .15rem; align-items: center; }
.lang button {
  font-size: .76rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); padding: .3rem .4rem; border-radius: 6px;
  transition: color .25s var(--ease-out);
}
.lang button.is-active { color: var(--ink); }
.lang button:hover { color: var(--ink); }
.section-dark .lang button { color: var(--muted-dark); }
.section-dark .lang button.is-active, .section-dark .lang button:hover { color: var(--cream); }
.nav .btn-sm { display: none; }

.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 32px; height: 32px; align-items: center; justify-content: center;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s var(--ease-out);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 700;
  background: var(--cream);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-out);
  pointer-events: none;
}
.drawer.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.drawer-links { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.drawer-links a { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--ink); }
.drawer-links .btn { font-family: var(--sans); font-size: 1rem; margin-top: 1rem; }

/* =============================================================
   8. Section helpers (dark / cream2)
   ============================================================= */
.section-dark {
  background: var(--ink); color: var(--cream);
  --fg: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-cream2 { background: var(--cream-2); }

/* =============================================================
   9. Grain + reveal primitives
   ============================================================= */
.grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* base reveal for [data-reveal] */
[data-reveal] {
  opacity: 0; transform: translateY(38px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* .reveal class reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* DEFENSIVE: split text must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* split lines — padding-bottom + negative margin so descenders (p, g, j…)
   aren't clipped by overflow:hidden while keeping the vertical rhythm */
[data-split] .split-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
[data-split] .split-line-in { display: block; transform: translateY(102%); transition: transform .9s var(--ease-out); }
[data-split].is-visible .split-line-in { transform: translateY(0); }
[data-split].is-visible .split-line:nth-child(2) .split-line-in { transition-delay: .08s; }
[data-split].is-visible .split-line:nth-child(3) .split-line-in { transition-delay: .16s; }
[data-split].is-visible .split-line:nth-child(4) .split-line-in { transition-delay: .24s; }

/* mask image reveal */
.mask-img { position: relative; overflow: hidden; border-radius: 6px; }
.mask-img img { width: 100%; transition: transform 1.4s var(--ease-out); }
.mask-img::after {
  content: ""; position: absolute; inset: 0; background: var(--yellow);
  transform: scaleX(1); transform-origin: right;
  transition: transform 1s var(--ease-out);
}
[data-reveal].is-revealed .mask-img::after { transform: scaleX(0); }

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  /* bottom padding reserves room for the marquee so CTAs never sit under it */
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 8.5rem;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(242,201,76,.16), transparent 55%),
    var(--cream);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-block {
  position: absolute; top: 16%; right: -6%;
  width: min(46vw, 560px); aspect-ratio: 1 / 1.15;
  background: var(--yellow); border-radius: 8px;
  transform: rotate(-8deg);
  will-change: transform;
}
.hero-ring {
  position: absolute; bottom: 14%; left: -8%;
  width: min(34vw, 420px); aspect-ratio: 1;
  border: 2px solid var(--ink); border-radius: 50%; opacity: .14;
  will-change: transform;
}
.hero-dot {
  position: absolute; top: 24%; left: 12%;
  width: 16px; height: 16px; background: var(--ink); border-radius: 50%;
  will-change: transform;
}
.hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero .eyebrow { display: inline-block; margin-bottom: 1.6rem; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 11.2vw, 9.4rem);
  line-height: .92; letter-spacing: -.035em;
  margin-bottom: 2rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-title .line-in { display: block; transform: translateY(108%); }
.hero-title.is-in .line-in { transform: translateY(0); transition: transform 1s var(--ease-out); }
.hero-title.is-in .line:nth-child(2) .line-in { transition-delay: .1s; }
.hero-title.is-in .line:nth-child(3) .line-in { transition-delay: .2s; }
.accent-line { color: var(--yellow-deep); font-style: italic; font-weight: 500; }

.hero-sub {
  max-width: 40ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted); margin-bottom: 2.4rem; line-height: 1.5;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 4.5rem; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue-line { width: 1px; height: 46px; background: var(--ink); opacity: .3; overflow: hidden; position: relative; }
.scroll-cue-line::after {
  content: ""; position: absolute; inset: 0; background: var(--ink);
  animation: cueRun 1.8s var(--ease-soft) infinite;
}
@keyframes cueRun { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: .9rem 0; overflow: hidden; white-space: nowrap;
  background: var(--cream);
}
.marquee-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marqueeScroll 34s linear infinite;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -.01em; padding-right: .4rem; text-transform: uppercase;
}

/* =============================================================
   11. PROBLEMA (dark)
   ============================================================= */
.problema { padding: clamp(5rem, 12vw, 11rem) var(--gutter); }
.problema-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.problema-fig { position: relative; }
.problema-fig .mask-img { border-radius: 8px; }
.fig-cap {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: var(--muted-dark); margin-top: 1rem;
}
.problema-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1; margin-bottom: 2rem;
}
.problema-list { display: grid; gap: .9rem; margin-bottom: 2rem; }
.problema-list li {
  font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500;
  padding-left: 1.6rem; position: relative; color: var(--cream);
}
.problema-list li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; background: var(--yellow); border-radius: 50%;
}
.problema-foot {
  font-size: 1.05rem; color: var(--muted-dark); max-width: 46ch;
  border-left: 2px solid var(--yellow); padding-left: 1.2rem;
}

/* =============================================================
   12. GIRO (transition dark -> light)
   ============================================================= */
.giro {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 12vw, 11rem) var(--gutter);
  /* the dark band always ends ABOVE the text (2.5rem before the top padding runs out),
     so the headline can never be ink-on-ink; only the figure crosses the boundary */
  background: linear-gradient(180deg,
    var(--ink) 0,
    var(--ink) calc(clamp(5rem, 12vw, 11rem) - 2.5rem),
    var(--cream) calc(clamp(5rem, 12vw, 11rem) - 2.5rem));
}
.giro-fig {
  margin-top: calc(-1 * clamp(2.5rem, 8vw, 7rem));
  /* cream frame so the dark photo never melts into the dark band behind it */
  border: 6px solid var(--cream);
  border-radius: 14px;
}
.giro-inner {
  max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2;
  display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.giro-fig { border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(17,17,17,.5); }
.giro-fig img { width: 100%; }
.giro-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  line-height: 1.02; margin-bottom: 1.6rem; color: var(--ink);
}
.giro-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 46ch; }

/* =============================================================
   13. GROWTH OS (horizontal scroll)
   ============================================================= */
.os { background: var(--cream); padding: clamp(5rem, 11vw, 10rem) 0 0; overflow: hidden; }
.os-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); margin-bottom: clamp(3rem, 6vw, 5rem); }
.os-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.02; max-width: 18ch; margin-bottom: 1.6rem;
}
.os-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 50ch; }

.os-pin { position: relative; padding-bottom: clamp(4rem, 8vw, 7rem); }
.os-track {
  display: flex; gap: clamp(1.2rem, 2.5vw, 2rem);
  padding: 0 var(--gutter); width: max-content;
}
.os-card {
  flex: 0 0 auto; width: min(80vw, 380px);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 2.4rem 2rem 2.2rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: border-color .4s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .4s var(--ease-out);
}
.os-card:hover {
  border-color: var(--ink); transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(17,17,17,.35);
}
.os-num {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(4rem, 9vw, 7rem); line-height: .8; color: var(--cream-3);
  position: absolute; top: -.1em; right: .2em; z-index: 0;
  transition: color .4s var(--ease-out);
  pointer-events: none;
}
.os-card:hover .os-num { color: var(--yellow); }
.os-name {
  font-family: var(--serif); font-size: 1.6rem; line-height: 1.05;
  margin: auto 0 .9rem; position: relative; z-index: 1; max-width: 14ch;
}
.os-card p { color: var(--muted); position: relative; z-index: 1; font-size: 1rem; }
.os-card-end { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.os-card-end .os-num { color: rgba(250,250,247,.1); }
.os-card-end:hover .os-num { color: var(--yellow); }
.os-card-end .os-name { color: var(--cream); }
.os-card-end p { color: var(--muted-dark); margin-bottom: 1.4rem; }
.os-card-end .btn { align-self: flex-start; }

.os-progress { max-width: var(--maxw); margin: 2.5rem auto 0; padding: 0 var(--gutter); }
.os-progress span { display: block; height: 2px; width: 0; background: var(--yellow); }

/* =============================================================
   14. PROCESO
   ============================================================= */
.proceso { padding: clamp(5rem, 12vw, 11rem) var(--gutter); }
.proceso-head { max-width: var(--maxw); margin: 0 auto clamp(3rem, 6vw, 5rem); }
.proceso-title { font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.02; }
.proceso-steps {
  max-width: var(--maxw); margin: 0 auto; position: relative;
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
.proceso-line {
  position: absolute; left: 0; top: 22px; height: 2px; width: 100%;
  background: var(--line); display: none;
}
.proceso-line span { display: block; height: 100%; width: 0; background: var(--ink); }
.step { position: relative; padding-top: 1rem; }
.step-num {
  font-family: var(--serif); font-weight: 900; font-size: 1.4rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--cream); margin-bottom: 1.2rem;
}
.step h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: 1rem; max-width: 32ch; }

/* =============================================================
   15. RESULTADOS (dark)
   ============================================================= */
.resultados { padding: clamp(5rem, 12vw, 11rem) var(--gutter); overflow: hidden; }
.resultados-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.phone {
  position: relative; justify-self: center; max-width: 360px; width: 100%;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.7);
  transition: transform .3s var(--ease-out);
  transform-style: preserve-3d; will-change: transform;
}
.phone::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(250,250,247,.08); pointer-events: none;
}
.phone img { width: 100%; }
.resultados-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 1.4rem; }
.resultados-text > p { color: var(--muted-dark); font-size: 1.1rem; margin-bottom: 1.6rem; max-width: 46ch; }
.res-points { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.res-points li {
  font-size: 1.05rem; color: var(--cream); padding-left: 1.8rem; position: relative;
}
.res-points li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px;
  border: 2px solid var(--yellow); border-radius: 50%;
}
.res-points strong { color: var(--yellow); font-weight: 600; }
.res-note { font-size: .85rem !important; color: var(--muted-dark); font-style: italic; }

/* =============================================================
   16. FUNDADOR
   ============================================================= */
.fundador { padding: clamp(5rem, 12vw, 11rem) var(--gutter); background: var(--cream); }
.fundador-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.fundador-fig { position: relative; }
.fundador-fig .mask-img { border-radius: 8px; }
.fundador-rotulo {
  position: absolute; bottom: -8%; right: -4%;
  width: 42%; max-width: 230px; border-radius: 6px;
  box-shadow: 0 30px 50px -30px rgba(17,17,17,.5);
  border: 5px solid var(--cream);
}
.fundador-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 1.6rem; }
.fundador-text > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.1rem; max-width: 48ch; }
.fundador-sign { font-family: var(--serif); font-style: italic; color: var(--ink) !important; font-size: 1.15rem; margin-top: .5rem; }

/* =============================================================
   17. PARA QUIÉN
   ============================================================= */
.para { padding: clamp(5rem, 12vw, 11rem) var(--gutter); }
.para-head { max-width: var(--maxw); margin: 0 auto clamp(3rem, 6vw, 4.5rem); }
.para-title { font-family: var(--serif); font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.02; max-width: 16ch; }
.para-cols { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.para-col { padding: 2.4rem 2rem; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.para-col h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 1.6rem; }
.para-col ul { display: grid; gap: 1rem; }
.para-col li { position: relative; padding-left: 2.2rem; font-size: 1.05rem; line-height: 1.45; }
.para-col li::before {
  position: absolute; left: 0; top: -.05em; font-size: 1.3rem; font-weight: 700;
}
.para-yes { border-color: rgba(17,17,17,.18); }
.para-yes li::before { content: "✓"; color: var(--yellow-deep); }
.para-no { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.para-no h3 { color: var(--cream); }
.para-no li { color: var(--muted-dark); }
.para-no li::before { content: "✕"; color: var(--cream); opacity: .55; }

/* =============================================================
   18. CTA FINAL (yellow)
   ============================================================= */
.cta {
  background: var(--yellow);
  padding: clamp(5rem, 13vw, 12rem) var(--gutter);
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.4), transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta .kicker { color: rgba(17,17,17,.6); justify-content: center; }
.cta-title {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .98; color: var(--ink); margin-bottom: 1.6rem;
}
.cta-title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.cta-title .line-in { display: block; transform: translateY(106%); }
.cta-title.is-in .line-in { transform: translateY(0); transition: transform .95s var(--ease-out); }
.cta-title.is-in .line:nth-child(2) .line-in { transition-delay: .1s; }
.cta-sub { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(17,17,17,.72); max-width: 50ch; margin: 0 auto 2.4rem; }
.cta-list { display: grid; gap: .8rem; max-width: 540px; margin: 0 auto 2.6rem; text-align: left; }
.cta-list li { position: relative; padding-left: 2rem; color: var(--ink); font-size: 1.05rem; }
.cta-list li::before {
  content: "→"; position: absolute; left: 0; top: 0; font-weight: 700;
}
.cta-mail { margin-top: 1.4rem; }
.cta-mail a { font-weight: 600; color: var(--ink); border-bottom: 2px solid rgba(17,17,17,.3); padding-bottom: 2px; transition: border-color .3s; }
.cta-mail a:hover { border-color: var(--ink); }

/* =============================================================
   19. PROYECTOS A MEDIDA (discreet)
   ============================================================= */
.medida { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) var(--gutter); border-bottom: 1px solid var(--line); }
.medida-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem; }
.medida-lead { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); color: var(--ink); }
.medida-body { color: var(--muted); font-size: 1.02rem; max-width: 60ch; }
.medida-link { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--yellow); white-space: nowrap; transition: color .25s; }
.medida-link:hover { color: var(--yellow-deep); }

/* =============================================================
   20. FOOTER
   ============================================================= */
.footer { padding: clamp(4rem, 9vw, 7rem) var(--gutter) 2rem; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 2.8rem; grid-template-columns: 1fr;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark);
}
.brand-word-lg { font-size: 2.4rem; color: var(--cream); }
.footer-tag { color: var(--muted-dark); margin-top: 1rem; max-width: 30ch; }
.footer-loc { color: var(--muted-dark); margin-top: .4rem; font-size: .9rem; }
.footer-nav { display: grid; gap: .9rem; align-content: start; }
.footer-nav a { color: var(--muted-dark); transition: color .25s; width: fit-content; }
.footer-nav a:hover { color: var(--yellow); }
.footer-contact { display: grid; gap: 1.2rem; align-content: start; }
.footer-mail { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); width: fit-content; border-bottom: 2px solid var(--yellow); }
.footer-bottom {
  max-width: var(--maxw); margin: 1.8rem auto 0;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  color: var(--muted-dark); font-size: .85rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-legal a { transition: color .25s; }
.footer-legal a:hover { color: var(--cream); }

/* =============================================================
   21. Responsive
   ============================================================= */
/* Swipe hint: hidden by default, shown on mobile above the carousel */
.os-swipe-hint { display: none; }

/* Mobile: OS components become a swipeable carousel (the GSAP pin only runs ≥720px) */
@media (max-width: 719px) {
  .os-pin {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .os-pin::-webkit-scrollbar { display: none; }
  .os-card { scroll-snap-align: center; width: 76vw; }
  .os-progress { display: none; }
  /* figure fully on cream on small screens — no dark-band overlap */
  .giro-fig { margin-top: 0; }

  .os-swipe-hint {
    display: flex; align-items: center; gap: .6rem;
    padding: 0 var(--gutter); margin: -1.4rem 0 1.2rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
    transition: opacity .45s var(--ease-out);
  }
  .os-swipe-hint::after {
    content: "→"; color: var(--ink); font-size: 1rem;
    animation: hintNudge 1.5s ease-in-out infinite;
  }
  .os-swipe-hint::before {
    content: ""; width: 30px; height: 2px; background: var(--yellow);
  }
  .os-swipe-hint.is-hidden { opacity: 0; }
}
@keyframes hintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

/* Desktop: breathing room above the pinned cards so they sit vertically centered while pinned */
@media (min-width: 720px) {
  .os-pin { padding-top: clamp(5rem, 19vh, 11.5rem); }
}

@media (min-width: 720px) {
  .problema-grid { grid-template-columns: 1fr 1.1fr; }
  .problema-grid .problema-fig { order: -1; }
  .giro-inner { grid-template-columns: 1fr 1fr; }
  .resultados-grid { grid-template-columns: .85fr 1fr; }
  .fundador-grid { grid-template-columns: 1fr 1fr; }
  .para-cols { grid-template-columns: 1fr 1fr; }
  .proceso-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .proceso-line { display: block; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
  .medida-inner { flex-wrap: nowrap; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn-sm { display: inline-flex; }
  .nav-burger { display: none; }
  .os-card { width: 400px; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: clamp(5rem, 9.6vw, 9.8rem); }
}

/* Short laptop viewports: scale the hero down so title + sub + CTA fit above the marquee */
@media (max-height: 880px) and (min-width: 960px) {
  .hero-title { font-size: clamp(3rem, 7.4vw, 7.4rem); margin-bottom: 1.6rem; }
  .hero-sub { margin-bottom: 1.9rem; }
}

/* =============================================================
   21b. Legal pages
   ============================================================= */
.legal-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(250, 250, 247, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-back { font-size: .9rem; font-weight: 600; }
.legal-back:hover { color: var(--yellow-deep); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: calc(var(--nav-h) + 3.5rem) var(--gutter) 4rem; }
.legal-wrap h1 { font-family: var(--serif); font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .5rem; }
.legal-updated { font-size: .85rem; font-style: italic; color: var(--muted); margin-bottom: 2.4rem; }
.legal-wrap h2 { font-family: var(--serif); font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.legal-wrap p, .legal-wrap li { color: var(--muted); margin-bottom: .85rem; font-size: 1rem; }
.legal-wrap ul { list-style: disc; padding-left: 1.3rem; }
.legal-wrap a { color: var(--ink); border-bottom: 2px solid var(--yellow); }
.legal-wrap strong { color: var(--ink); }
.legal-foot {
  border-top: 1px solid var(--line);
  padding: 1.6rem var(--gutter);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: .85rem; color: var(--muted);
}
.legal-foot nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.legal-foot a:hover { color: var(--ink); }

/* =============================================================
   22. Reduced-motion — only truly intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line::after { animation: none; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
