/* =========================================================================
   WeAreBBV Landing — Design system + animations
   Vanilla CSS. No frameworks, no build step.

   Want to change the brand accent? One line: --accent, below.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --ink:        #08080A;
  --ink-2:      #0E0E13;
  --surface:    #15151C;
  --surface-2:  #1D1D26;
  --paper:      #F7F4EE;
  --paper-2:    #EDE8DE;

  /* Text */
  --on-dark:        #F7F4EE;
  --on-dark-muted:  rgba(247, 244, 238, .60);
  --on-dark-faint:  rgba(247, 244, 238, .38);
  --on-light:       #14141A;
  --on-light-muted: rgba(20, 20, 26, .62);
  --on-light-faint: rgba(20, 20, 26, .40);

  /* Brand — change these two to re-skin the whole page */
  --accent:      #D8FF3E;
  --accent-deep: #A8CC22;
  --accent-ink:  #08080A;

  /* Signal colour, used sparingly: scarcity + urgency only */
  --warm:        #FF6B45;

  /* Lines */
  --line-dark:  rgba(247, 244, 238, .12);
  --line-light: rgba(20, 20, 26, .12);

  /* Type scale — fluid, no breakpoints needed */
  --fs-display: clamp(2.75rem, 7.2vw, 6.5rem);
  --fs-h1:      clamp(2.4rem, 5.6vw, 4.75rem);
  --fs-h2:      clamp(2rem, 4.2vw, 3.5rem);
  --fs-h3:      clamp(1.35rem, 2.1vw, 1.85rem);
  --fs-lead:    clamp(1.05rem, 1.55vw, 1.3rem);
  --fs-body:    clamp(1rem, 1.15vw, 1.0625rem);
  --fs-small:   .875rem;
  --fs-micro:   .75rem;

  /* Rhythm */
  --gap:      clamp(1rem, 2vw, 1.5rem);
  --pad-x:    clamp(1.25rem, 5vw, 4rem);
  --section:  clamp(5rem, 11vh, 9rem);
  --radius:   18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --maxw: 1240px;

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur:       .7s;
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Nav is sticky — stop anchor links from landing under it */
  scroll-padding-top: 92px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* El atributo hidden tiene que ganar siempre, aunque el componente
   traiga su propio display. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* -------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

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

.section--light { background: var(--paper); color: var(--on-light); }
.section--surface { background: var(--ink-2); }
.section--tight { padding-block: clamp(3rem, 6vh, 4.5rem); }

.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;
}

/* Skip link for keyboard users */
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.25rem; border-radius: var(--radius-pill);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

/* -------------------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.display { font-size: var(--fs-display); }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); letter-spacing: -.022em; line-height: 1.18; }

/* The serif italic is the brand's emphasis voice. Used for the second half
   of a headline — the part carrying the promise. */
.em {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
.em--accent { color: var(--accent); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-dark-muted);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--light .lead { color: var(--on-light-muted); }

.label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.5rem;
}
.section--light .label { color: var(--on-light-faint); }
.label::before {
  content: ''; width: 28px; height: 1px;
  background: currentColor; opacity: .5;
}

.section-head { max-width: 40ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.5rem; }

/* -------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .65rem;
  padding: 1.05rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.012em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}

/* Sheen that sweeps across on hover — subtle, not casino */
.btn::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn:hover { box-shadow: 0 14px 40px -12px rgba(216, 255, 62, .55); }
.btn:active { transform: scale(.97); }

.btn--lg { padding: 1.3rem 2.5rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border: 1px solid var(--line-dark);
}
.btn--ghost:hover {
  box-shadow: none;
  border-color: var(--on-dark);
  background: rgba(247, 244, 238, .05);
}
.section--light .btn--ghost { --btn-fg: var(--on-light); border-color: var(--line-light); }
.section--light .btn--ghost:hover { border-color: var(--on-light); background: rgba(20,20,26,.04); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--dark:hover { box-shadow: 0 14px 40px -14px rgba(8, 8, 10, .6); }

/* Los iconos SVG en línea no traen width/height propios. Dentro de un
   flex, un SVG sin medidas se estira hasta ocupar todo el hueco — en
   escritorio no se notaba porque .btn recorta con overflow:hidden, pero
   en móvil, al dejar que el texto envuelva, la flecha se comía el botón.
   Cualquier icono nuevo dentro de un botón queda cubierto por esto. */
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Text link with an underline that draws in */
.tlink {
  position: relative;
  font-weight: 550;
  padding-bottom: 2px;
}
.tlink::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* -------------------------------------------------------------------------
   6. NAV
   ------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s var(--ease), background .4s var(--ease),
              backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 8, 10, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
/* Hides on scroll-down, returns on scroll-up. Gives the page back its
   full height while reading, but the CTA is never more than a flick away. */
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap);
  padding-block: 1.05rem;
  transition: padding .4s var(--ease);
}
.nav.is-stuck .nav__inner { padding-block: .7rem; }

/* Logo y controles se mantienen por encima del menú móvil desplegado */
.nav__logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; position: relative; z-index: 2; }
.nav__logo img { height: 30px; width: auto; }
/* El texto ES el logo: sin imagen al lado, así que carga todo el peso
   de marca y se le da un punto más de tamaño y de tracking. */
.nav__logo-txt {
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 1.25rem;
  color: var(--on-dark);
}

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--on-dark); }

.nav__right { display: flex; align-items: center; gap: .85rem; position: relative; z-index: 2; }

.lang {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro);
  font-weight: 650;
  letter-spacing: .06em;
  color: var(--on-dark-muted);
  transition: all .3s var(--ease);
}
.lang:hover { color: var(--accent); border-color: var(--accent); }
.lang svg { width: 13px; height: 13px; opacity: .7; }

.nav__cta { padding: .72rem 1.35rem; font-size: var(--fs-small); }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span {
  position: absolute; left: 11px; width: 20px; height: 1.5px;
  background: var(--on-dark); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 7rem; padding-bottom: 4rem;
  overflow: hidden;
}

/* Slow-drifting colour field. Pure CSS, GPU-cheap. */
.hero__glow {
  position: absolute; pointer-events: none;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  will-change: transform;
}
.hero__glow--1 {
  top: -22%; right: -14%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
  animation: drift1 22s var(--ease-in-out) infinite alternate;
}
.hero__glow--2 {
  bottom: -30%; left: -18%;
  background: radial-gradient(circle, #4A7DFF 0%, transparent 62%);
  opacity: .13;
  animation: drift2 27s var(--ease-in-out) infinite alternate;
}
@keyframes drift1 {
  to { transform: translate3d(-9%, 12%, 0) scale(1.14); }
}
@keyframes drift2 {
  to { transform: translate3d(11%, -10%, 0) scale(1.1); }
}

/* Faint grid so the dark areas have texture instead of flat black */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 85% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 40%, #000 20%, transparent 78%);
  opacity: .5;
  pointer-events: none;
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem .5rem .75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  background: rgba(247, 244, 238, .03);
  backdrop-filter: blur(8px);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(216, 255, 62, .7);
  animation: pulse 2.4s var(--ease-out) infinite;
  flex-shrink: 0;
}
.dot--warm { background: var(--warm); box-shadow: 0 0 0 0 rgba(255,107,69,.7); }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(216, 255, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}

.hero__title { font-size: var(--fs-h1); margin: 1.75rem 0 1.5rem; }
.hero__title .em { display: block; }
.hero__sub { max-width: 46ch; }

.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .9rem; margin-top: 2.25rem;
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 2.25rem;
}
.hero__trust li {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-small);
  color: var(--on-dark-faint);
}
.hero__trust svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* --- Phone mockup ------------------------------------------------------- */
.phone {
  position: relative;
  width: min(300px, 78%);
  margin-inline: auto;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2C2C36, #101016 60%);
  box-shadow:
    0 60px 110px -30px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(247, 244, 238, .09),
    inset 0 1px 1px rgba(255, 255, 255, .12);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: var(--ink-2);
}
.phone__notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: var(--radius-pill);
  background: #08080A; z-index: 3;
}
/* The feed scrolls forever — the "handled" feeling, shown not told */
.phone__feed {
  display: flex; flex-direction: column; gap: 8px;
  padding: 38px 8px 8px;
  animation: feed 26s linear infinite;
}
@keyframes feed {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.phone:hover .phone__feed { animation-play-state: paused; }

.feed-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-dark);
  flex-shrink: 0;
}
.feed-card__img { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.feed-card__meta {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 9px;
}
.feed-card__meta i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--on-dark-faint); flex-shrink: 0;
}
.feed-card__meta b {
  height: 5px; border-radius: 3px;
  background: rgba(247,244,238,.18);
  flex: 1;
}
.feed-card__tag {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  padding: 3px 7px; border-radius: 5px;
  font-size: 8px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(6px);
  color: var(--accent);
}

.phone__cap {
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  padding: .5rem 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(216, 255, 62, .5);
}

.scroll-hint {
  position: absolute; bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: var(--fs-micro); letter-spacing: .2em; text-transform: uppercase;
  color: var(--on-dark-faint);
  z-index: 2;
}
.scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--on-dark-faint), transparent);
  animation: scrolldown 2s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrolldown {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(34px); opacity: 0; }
}

/* -------------------------------------------------------------------------
   8. TICKER
   ------------------------------------------------------------------------- */
.ticker {
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: .95rem;
  overflow: hidden;
  border-block: 1px solid rgba(8, 8, 10, .12);
  position: relative;
  z-index: 3;
}
.ticker__track {
  display: flex; width: max-content;
  animation: marquee 44s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.ticker__item {
  display: flex; align-items: center; gap: 2.5rem;
  padding-inline: 1.25rem;
  font-size: .8125rem; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .45;
}

/* -------------------------------------------------------------------------
   9. TIME-COST TABLE
   ------------------------------------------------------------------------- */
.cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.costlist { border-top: 1px solid var(--line-dark); }
.costlist__head {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
  padding: 1.25rem 0 .5rem;
}
.costrow {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.costrow__task { flex: 1; color: var(--on-dark-muted); }
.costrow__bar {
  flex: 0 0 clamp(50px, 12vw, 110px);
  height: 4px; border-radius: 2px;
  background: var(--line-dark);
  overflow: hidden;
  align-self: center;
}
.costrow__bar i {
  display: block; height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-in .costrow__bar i { transform: scaleX(var(--w, 1)); }
.costrow__h {
  flex: 0 0 4.5rem; text-align: right;
  font-weight: 650; font-variant-numeric: tabular-nums;
}

.costtotal {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.75rem;
}
.costtotal__label {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
}
.costtotal__num {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 750; line-height: .9;
  letter-spacing: -.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.costtotal__unit {
  font-size: var(--fs-h3); font-weight: 500;
  color: var(--on-dark-muted); margin-left: .4rem;
}

.kicker {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: pretty;
}

/* -------------------------------------------------------------------------
   10. TIME CALCULATOR  (the page's core argument, made interactive)
   ------------------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.calc__panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -40px rgba(8, 8, 10, .5);
}

.calc__slider-label {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
  display: block; margin-bottom: 1rem;
}
.calc__rate {
  display: flex; align-items: baseline; gap: .15rem;
  margin-bottom: 1.5rem;
}
.calc__rate b {
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 750; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc__rate span { color: var(--on-dark-faint); font-size: var(--fs-lead); }

/* Range input, restyled in both engines */
.calc__range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--accent) 0%, var(--accent) var(--fill, 30%),
    rgba(247,244,238,.15) var(--fill, 30%), rgba(247,244,238,.15) 100%
  );
  cursor: grab; outline-offset: 8px;
}
.calc__range:active { cursor: grabbing; }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 20px -4px rgba(216,255,62,.6);
  transition: transform .25s var(--ease);
}
.calc__range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc__range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 20px -4px rgba(216,255,62,.6);
  transition: transform .25s var(--ease);
}
.calc__range::-moz-range-track { background: transparent; }

.calc__note {
  display: block; margin-top: .85rem;
  font-size: var(--fs-micro);
  color: var(--on-dark-faint);
  letter-spacing: .04em;
}

.calc__out { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.calc__line { margin-bottom: 1.1rem; color: var(--on-dark-muted); }
.calc__line strong { color: var(--on-dark); font-weight: 650; }

/* Comparación de tres líneas: se lee como una factura, de un vistazo.
   Lo que cuestan tus horas / lo que costamos / lo que te queda. */
.calc__compare { margin-top: 1.5rem; border-top: 1px solid var(--line-dark); }

.calc__cmp {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.calc__cmp span {
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  line-height: 1.35;
}
.calc__cmp b {
  flex-shrink: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 750; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc__cmp--yours b { color: var(--warm); }
.calc__cmp--ours  b { color: var(--on-dark); }

.calc__save {
  margin-top: 1.5rem; padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(216, 255, 62, .09);
  border: 1px solid rgba(216, 255, 62, .3);
}
.calc__save-lbl {
  display: block;
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: .55rem;
}
.calc__save b {
  display: block;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 750; letter-spacing: -.05em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.calc__save-hours {
  display: block; margin-top: .65rem;
  font-size: var(--fs-small); font-weight: 550;
  color: var(--on-dark-muted);
}
.calc__even {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.calc__even[hidden] { display: none; }

/* -------------------------------------------------------------------------
   11. BEFORE / AFTER SLIDER
   ------------------------------------------------------------------------- */
.ba {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: var(--surface);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8);
  --pos: 50%;
}
.ba img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
/* The "before" layer is clipped by the handle position */
.ba__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  z-index: 2;
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px;
  background: var(--paper);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 24px rgba(0, 0, 0, .55);
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.ba:hover .ba__knob { transform: translate(-50%, -50%) scale(1.08); }
.ba__knob svg { width: 22px; height: 22px; }

.ba__tag {
  position: absolute; bottom: 1.1rem; z-index: 5;
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .02em;
  background: rgba(8, 8, 10, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
  pointer-events: none;
  max-width: 42%;
}
.ba__tag--before { left: 1.1rem; }
.ba__tag--after  { right: 1.1rem; background: rgba(216,255,62,.92); color: var(--accent-ink); border-color: transparent; }

.ba__drag {
  position: absolute; top: 1.1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: var(--radius-pill);
  background: rgba(8,8,10,.6); backdrop-filter: blur(10px);
  font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-muted);
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.ba__drag svg { width: 13px; height: 13px; flex-shrink: 0; }
.ba.is-touched .ba__drag { opacity: 0; }

/* -------------------------------------------------------------------------
   12. HONESTY (do / don't)
   ------------------------------------------------------------------------- */
.honest {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.honest__col {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, .5);
}
.honest__col--no { background: transparent; }
.honest__col h3 {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-body); font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}
.honest__col li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .6rem 0;
  color: var(--on-light-muted);
  border-bottom: 1px solid var(--line-light);
}
.honest__col li:last-child { border-bottom: 0; }
.honest__col li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: .28rem; }
.honest__col--yes svg { color: var(--accent-deep); }
.honest__col--no  svg { color: var(--warm); }
.honest__col--no li { text-decoration: line-through; text-decoration-color: rgba(20,20,26,.25); }

.seal {
  display: flex; align-items: center; gap: .85rem;
  margin-top: 2rem; padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark);
  font-weight: 550;
  text-wrap: pretty;
}
.seal svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* -------------------------------------------------------------------------
   13. HOW IT WORKS — sticky timeline
   ------------------------------------------------------------------------- */
.steps { position: relative; padding-left: clamp(0px, 4vw, 3rem); }
/* Vertical rail that fills as you scroll through the steps */
.steps__rail {
  position: absolute; left: clamp(0px, 4vw, 3rem); top: .5rem; bottom: 3rem;
  width: 2px; background: var(--line-dark);
  border-radius: 2px; overflow: hidden;
}
.steps__rail i {
  display: block; width: 100%;
  height: var(--progress, 0%);
  background: linear-gradient(var(--accent), var(--accent-deep));
  transition: height .18s linear;
}

.step {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line-dark);
}
.step:last-child { border-bottom: 0; }

.step__n {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: .85;
  color: var(--on-dark-faint);
  transition: color .5s var(--ease);
  font-variant-numeric: lining-nums;
}
.step.is-in .step__n { color: var(--accent); }

.step__body h3 { margin-bottom: .85rem; }
.step__body p { color: var(--on-dark-muted); max-width: 52ch; text-wrap: pretty; }

.step__time {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--on-dark-muted);
}
.step__time svg { width: 13px; height: 13px; color: var(--accent); }
/* The two steps that cost the client nothing get the accent treatment —
   the whole pitch in a glance. */
.step__time--zero { color: var(--accent); border-color: rgba(216,255,62,.35); background: rgba(216,255,62,.07); }

/* -------------------------------------------------------------------------
   14. DELIVERABLES GRID
   ------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--gap);
}
.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: var(--surface);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease),
              background .5s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 255, 62, .35);
  background: var(--surface-2);
}
/* Light follows the cursor across the card (position set in JS) */
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(216, 255, 62, .09), transparent 65%);
  opacity: 0; transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

.card__check {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(216, 255, 62, .12);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.card__check svg { width: 14px; height: 14px; }
.card h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.02em; margin-bottom: .5rem; }
.card p { color: var(--on-dark-muted); font-size: var(--fs-small); line-height: 1.55; }

/* -------------------------------------------------------------------------
   15. PRICE ANCHOR
   ------------------------------------------------------------------------- */
.anchor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.anchor__list { border-top: 1px solid var(--line-light); }
.anchor__row {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-light);
}
.anchor__row div { flex: 1; }
.anchor__row b { display: block; font-weight: 650; letter-spacing: -.015em; }
.anchor__row small { color: var(--on-light-faint); font-size: var(--fs-small); }
.anchor__row span {
  font-weight: 650; font-variant-numeric: tabular-nums;
  font-size: var(--fs-h3); letter-spacing: -.03em;
}

.anchor__total {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem;
}
.anchor__total span { font-size: var(--fs-micro); font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-faint); }
.anchor__total b {
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 750; letter-spacing: -.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--warm);
}

.anchor__ours {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
}
.anchor__ours::before {
  content: '';
  position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(216,255,62,.16) 60deg, transparent 140deg);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.anchor__ours > * { position: relative; z-index: 1; }

.anchor__or {
  display: inline-block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: var(--fs-h3);
  color: var(--on-dark-faint);
  margin-bottom: 1rem;
}
.anchor__price {
  display: flex; align-items: flex-start; justify-content: center; gap: .2rem;
  color: var(--accent);
}
.anchor__price sup { font-size: var(--fs-h3); font-weight: 600; margin-top: .6rem; }
.anchor__price b {
  font-size: clamp(4rem, 11vw, 7rem);
  font-weight: 750; letter-spacing: -.055em; line-height: .88;
  font-variant-numeric: tabular-nums;
}
.anchor__per { color: var(--on-dark-faint); font-size: var(--fs-small); margin-top: .35rem; }
.anchor__ours h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.anchor__ours p { color: var(--on-dark-muted); font-size: var(--fs-small); margin-top: .5rem; }

/* -------------------------------------------------------------------------
   16. OFFER
   ------------------------------------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.badge-scarce {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1.1rem .55rem .85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 69, .12);
  border: 1px solid rgba(255, 107, 69, .35);
  color: var(--warm);
  font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}

.offer__price {
  display: flex; align-items: flex-start; gap: .25rem;
  margin: 2rem 0 .5rem;
}
.offer__price sup { font-size: var(--fs-h3); font-weight: 600; margin-top: .7rem; color: var(--on-dark-muted); }
.offer__price b {
  font-size: clamp(4.5rem, 13vw, 8rem);
  font-weight: 750; letter-spacing: -.06em; line-height: .85;
  font-variant-numeric: tabular-nums;
}
.offer__price em {
  font-style: normal; align-self: flex-end;
  color: var(--on-dark-muted); font-size: var(--fs-lead);
  margin-bottom: .7rem; margin-left: .4rem;
}
.offer__compare { color: var(--on-dark-faint); font-size: var(--fs-small); }

.offer__card {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: var(--surface);
}
.offer__card h3 {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.5rem;
}
.offer__list li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .58rem 0;
  font-size: var(--fs-small);
}
.offer__list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: .3rem; }

/* Aviso del presupuesto de pauta. Destaca lo justo para que nadie lo
   pase por alto, sin parecer una advertencia de peligro. */
.offer__adnote {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-top: 1.5rem; padding: 1rem 1.15rem;
  border-radius: 12px;
  background: rgba(216, 255, 62, .07);
  border-left: 2px solid var(--accent);
  font-size: var(--fs-small); line-height: 1.55;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.offer__adnote svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: .25rem; }

.offer__terms {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-micro); line-height: 1.65;
  color: var(--on-dark-faint);
  text-wrap: pretty;
}

.offer__actions { margin-top: 2rem; }
.offer__note {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1rem;
  font-size: var(--fs-micro); color: var(--on-dark-faint);
}
.offer__note svg { width: 13px; height: 13px; }

/* Secondary path — for the people who won't card up cold */
.alt {
  margin-top: 3rem; padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px dashed var(--line-dark);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.alt h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; }
.alt p { color: var(--on-dark-muted); font-size: var(--fs-small); margin-top: .35rem; max-width: 46ch; }

/* -------------------------------------------------------------------------
   17. SCARCITY NOTE
   ------------------------------------------------------------------------- */
.scarce {
  max-width: 58ch; margin-inline: auto; text-align: center;
}
.scarce h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.scarce p { color: var(--on-dark-muted); text-wrap: pretty; }
.scarce .label { justify-content: center; }

/* -------------------------------------------------------------------------
   18. WORK GALLERY
   ------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: var(--gap);
}
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line-dark);
}
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.shot:hover img { transform: scale(1.06); }
.shot__tag {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  padding: .35rem .75rem; border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(8px);
  color: var(--accent);
}
.shot--tall { grid-row: span 2; aspect-ratio: 4 / 7; }

/* -------------------------------------------------------------------------
   19. FAQ ACCORDION
   ------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line-light); }
.qa__q {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1.5rem; width: 100%; text-align: left;
  padding: 1.5rem 0;
  font-size: clamp(1.0625rem, 1.7vw, 1.2rem);
  font-weight: 600; letter-spacing: -.022em;
  line-height: 1.35;
  transition: color .3s var(--ease);
}
.qa__q:hover { color: var(--accent-deep); }
.qa__icon {
  flex-shrink: 0; width: 24px; height: 24px;
  position: relative; margin-top: .2rem;
}
.qa__icon::before, .qa__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.qa__icon::before { width: 14px; height: 1.75px; }
.qa__icon::after  { width: 1.75px; height: 14px; }
.qa.is-open .qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* grid-template-rows 0fr → 1fr animates to auto height, no JS measuring */
.qa__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p {
  color: var(--on-light-muted);
  padding-bottom: 1.65rem;
  max-width: 68ch;
  text-wrap: pretty;
}

/* -------------------------------------------------------------------------
   20. FINAL CTA + FORM
   ------------------------------------------------------------------------- */
.final { position: relative; overflow: hidden; }
.final::before {
  content: '';
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 90vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,255,62,.11) 0%, transparent 62%);
  filter: blur(70px); pointer-events: none;
}
.final__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.form {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  background: rgba(21, 21, 28, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: flex; align-items: baseline; gap: .4rem;
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: .55rem;
}
.field label em {
  font-style: normal; text-transform: none; letter-spacing: 0;
  opacity: .65; font-weight: 500;
}
.field input {
  width: 100%;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(8, 8, 10, .55);
  color: var(--on-dark);
  font-size: 1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder { color: rgba(247,244,238,.26); }
.field input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(8, 8, 10, .8);
}
.field.has-error input { border-color: var(--warm); }
.field__err {
  display: none;
  margin-top: .45rem;
  font-size: var(--fs-micro);
  color: var(--warm);
}
.field.has-error .field__err { display: block; }

.check {
  display: flex; align-items: flex-start; gap: .75rem;
  margin: 1.5rem 0;
  cursor: pointer;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  flex-shrink: 0;
  width: 21px; height: 21px; border-radius: 6px;
  border: 1px solid var(--line-dark);
  background: rgba(8, 8, 10, .55);
  display: grid; place-items: center;
  margin-top: .1rem;
  transition: all .3s var(--ease);
}
.check__box svg { width: 12px; height: 12px; color: var(--accent-ink); opacity: 0; transform: scale(.5); transition: all .3s var(--ease); }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--accent); outline-offset: 3px; }
.check.has-error .check__box { border-color: var(--warm); }

.form__err {
  display: none;
  margin-top: 1rem; padding: .9rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 107, 69, .1);
  border: 1px solid rgba(255, 107, 69, .3);
  color: var(--warm);
  font-size: var(--fs-small);
}
.form__err.is-shown { display: block; }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__label { opacity: .5; }
.spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(8, 8, 10, .25);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .spinner { display: block; }

.secure {
  display: flex; align-items: flex-start; gap: .55rem;
  margin-top: 1rem;
  font-size: var(--fs-micro);
  color: var(--on-dark-faint);
  line-height: 1.5;
}
.secure svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: .15rem; }

/* -------------------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--ink);
}
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2.5rem; flex-wrap: wrap;
  padding-bottom: 2.5rem;
}
.footer__tag {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -.02em;
  max-width: 22ch;
  line-height: 1.2;
}
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__col h4 {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1rem;
}
.footer__col li { margin-bottom: .6rem; }
.footer__col a { font-size: var(--fs-small); color: var(--on-dark-muted); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-micro);
  color: var(--on-dark-faint);
}

/* -------------------------------------------------------------------------
   22. SUCCESS / CANCEL PAGES
   ------------------------------------------------------------------------- */
.status-page {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 7rem 0 4rem;
  position: relative; overflow: hidden;
}
.status-card { max-width: 700px; margin-inline: auto; text-align: center; }
.status-icon {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 2rem;
  background: rgba(216, 255, 62, .12);
  color: var(--accent);
  animation: pop .6s var(--ease) backwards;
}
.status-icon svg { width: 34px; height: 34px; }
.status-icon--neutral { background: rgba(247,244,238,.07); color: var(--on-dark-muted); }
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
}

.next {
  text-align: left;
  margin-top: 3rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 2rem;
}
.next h3 {
  font-size: var(--fs-micro); font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1.5rem;
}
.next li {
  display: flex; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.next li:last-child { border-bottom: 0; }
.next li b {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(216,255,62,.12); color: var(--accent);
  font-size: var(--fs-micro); font-weight: 700;
}

.objections { text-align: left; margin-top: 3rem; }
.objection {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.objection b {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic; font-weight: 400;
  font-size: var(--fs-h3);
  margin-bottom: .5rem;
}
.objection p { color: var(--on-dark-muted); font-size: var(--fs-small); text-wrap: pretty; }

.status-actions {
  display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* -------------------------------------------------------------------------
   22b. LEGAL PAGE
   ------------------------------------------------------------------------- */
.legal { padding-top: 9rem; }
.legal__wrap { max-width: 780px; }
.legal__head { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); margin-bottom: 3rem; }
.legal__updated { margin-top: 1rem; font-size: var(--fs-small); color: var(--on-dark-faint); }
.legal__toc { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.legal__toc .btn { padding: .8rem 1.35rem; font-size: var(--fs-small); }

.legal__doc { scroll-margin-top: 100px; margin-bottom: 4.5rem; }
.legal__doc .lead { margin-top: 1.25rem; }
.legal__sec { margin-top: 2.5rem; }
.legal__sec h3 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.legal__sec p { color: var(--on-dark-muted); text-wrap: pretty; }
.legal__list { margin-top: 1rem; }
.legal__list li {
  position: relative;
  padding: .45rem 0 .45rem 1.4rem;
  color: var(--on-dark-muted);
  font-size: var(--fs-small);
  text-wrap: pretty;
}
.legal__list li::before {
  content: ''; position: absolute; left: 0; top: 1.05em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .7;
}
.legal__foot {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-dark);
}
.legal__foot h3 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.legal__foot p { color: var(--on-dark-muted); margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   22c. FLOATING CTA
   Always one tap away, whatever the visitor is reading. Hides itself
   once the form is on screen so it never covers the thing it points to.
   ------------------------------------------------------------------------- */
.fab {
  position: fixed; z-index: 90;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.5rem;
  background: var(--accent); color: var(--accent-ink);
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: .9375rem; letter-spacing: -.015em;
  line-height: 1;
  box-shadow: 0 18px 46px -12px rgba(216, 255, 62, .55),
              0 0 0 1px rgba(8, 8, 10, .1);
  transform: translateY(180%);
  opacity: 0;
  visibility: hidden;
  transition: transform .55s var(--ease), opacity .35s var(--ease),
              visibility .35s, box-shadow .35s var(--ease);
  will-change: transform;
}
.fab.is-shown { transform: none; opacity: 1; visibility: visible; }
.fab:hover { box-shadow: 0 22px 56px -12px rgba(216, 255, 62, .75); }
.fab:active { transform: scale(.97); }
.fab svg { width: 15px; height: 15px; }
.fab .dot { box-shadow: none; }
.fab__price {
  padding-left: .7rem;
  border-left: 1px solid rgba(8, 8, 10, .22);
  font-weight: 600; opacity: .68;
}

/* Con el menú móvil abierto la burbuja estorba: se quita sola. */
body.is-menu-open .fab { opacity: 0; visibility: hidden; transform: translateY(180%); }

/* -------------------------------------------------------------------------
   23. SCROLL REVEAL
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .85s var(--ease-out) var(--d, 0s),
    transform .85s var(--ease-out) var(--d, 0s),
    filter .85s var(--ease-out) var(--d, 0s);
  filter: blur(6px);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal--left  { transform: translate3d(-30px, 0, 0); }
.reveal--right { transform: translate3d(30px, 0, 0); }
.reveal--scale { transform: scale(.955); filter: blur(4px); }

/* Word-by-word reveal, used on the two biggest statements */
.words span {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(2deg);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 42ms);
}
.words.is-in span { opacity: 1; transform: none; }

/* Parallax targets — offset written by JS */
.parallax { will-change: transform; }

/* -------------------------------------------------------------------------
   24. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__grid,
  .cost,
  .calc,
  .anchor,
  .offer,
  .final__grid { grid-template-columns: minmax(0, 1fr); }

  .hero { min-height: auto; padding-top: 8rem; }
  .hero__grid { gap: 3.5rem; }
  .phone { width: min(270px, 66%); }
  .scroll-hint { display: none; }
  .calc__panel { order: -1; }
  .anchor__ours { order: -1; }
}

/* El menú pasa a hamburguesa antes que el resto del layout: entre 860 y
   1000px caben los enlaces pero se parten en dos líneas y el nav se ve
   roto. Va en su propio bloque por eso. */
@media (max-width: 1000px) {
  html { scroll-padding-top: 76px; }

  .nav__links {
    position: fixed; inset: 0 0 auto;
    top: 0; padding: 6rem var(--pad-x) 2.5rem;
    flex-direction: column; align-items: flex-start; gap: .35rem;
    background: rgba(8, 8, 10, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    z-index: 1;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--on-dark); padding: .55rem 0; }
  .burger { display: block; }
  .nav__cta { display: none; }
}

@media (max-width: 860px) {
  .honest { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 60px minmax(0, 1fr); padding-left: 1.25rem; }
  .step__time { grid-column: 2; margin-top: 1rem; }
  .steps { padding-left: 0; }
  .steps__rail { left: 0; }
  .shot--tall { grid-row: span 1; aspect-ratio: 4 / 5; }
  .ba { aspect-ratio: 4 / 5; }
  .alt { flex-direction: column; align-items: flex-start; }

  /* Footer centrado en móvil: en una columna estrecha, alineado a la
     izquierda se ve descolgado. */
  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer .nav__logo { justify-content: center; }
  .footer__tag { max-width: 26ch; margin-inline: auto; }
  .footer__cols {
    justify-content: center;
    width: 100%;
    gap: 2.25rem 3rem;
  }
  .footer__col { text-align: center; }
  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: .65rem;
  }

  .legal { padding-top: 7rem; }
}

@media (max-width: 520px) {
  .costrow__bar { display: none; }

  /* Los botones grandes se veían enormes en pantalla pequeña: el texto
     se partía y ocupaban media pantalla. Aquí bajan de tamaño, pueden
     envolver en dos líneas y solo ocupan todo el ancho donde tiene
     sentido (hero, formulario y páginas de estado). */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
  .btn--lg { padding: 1rem 1.35rem; font-size: .9375rem; }

  .hero__actions { width: 100%; }
  .hero__actions .btn,
  .status-actions .btn,
  .alt .btn { width: 100%; }

  /* La burbuja pasa a barra inferior: es el patrón que más convierte
     en móvil y no tapa el contenido al leer. */
  .fab {
    left: .85rem; right: .85rem;
    bottom: .85rem;
    justify-content: center;
    padding: 1rem 1.1rem;
    font-size: .9375rem;
  }
  .fab__price { padding-left: .6rem; }

  .ba__tag { font-size: 10px; padding: .4rem .7rem; max-width: 46%; }
  .calc__cmp b { font-size: 1.5rem; }
  .legal__toc .btn { width: 100%; }
}

/* -------------------------------------------------------------------------
   25. REDUCED MOTION
   Everything above degrades to a static, fully readable page.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .words span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .costrow__bar i { transform: scaleX(var(--w, 1)) !important; }
  .phone__feed, .ticker__track { animation: none !important; }
  .parallax { transform: none !important; }
}

/* -------------------------------------------------------------------------
   26. PRINT — someone will print this to show their partner
   ------------------------------------------------------------------------- */
@media print {
  .nav, .scroll-hint, .ticker, .hero__glow, .final::before { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .section--light { background: #fff !important; color: #000 !important; padding-block: 1.5rem; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .qa__a { grid-template-rows: 1fr !important; }
}
