/* ==========================================================
   BITPANDA — PROPOSAL MOCKUP v2
   BAST Estudio · 2026-04-26 · Nyx
   Stack: HTML/CSS/JS vanilla · sin frameworks
   Tipografía target: Untitled Serif + Söhne (Klim Foundry)
   Fallbacks activos: Libre Baskerville + IBM Plex Sans
   ========================================================== */

/* ----------------------------------------------------------
   0. RESET BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* overflow-x en html, NUNCA en body (lección iOS Safari) */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--color-bone);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   1. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Paleta */
  --color-bone:         #F5F0E8;
  --color-brand-green:  #0D6B47;
  --color-terracota:    #B56A4A;
  --color-amber-soft:   #D4A574;
  --color-ink:          #0A1A12;
  --color-mint-dim:     #1A3D2A;
  --color-mono-tick:    #3EE08A;
  --color-bone-dim:     #E8E3DA;

  /* Tipografía — targets (Klim Foundry) con fallbacks activos */
  --font-display:  'Untitled Serif', 'Libre Baskerville', Georgia, serif;
  --font-body:     'Söhne', 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;

  /* Escala tipográfica */
  --text-hero:   clamp(2.5rem, 5.5vw, 5rem);
  --text-xl:     clamp(1.75rem, 3vw, 2.5rem);
  --text-lg:     clamp(1.25rem, 2vw, 1.5rem);
  --text-base:   clamp(1rem, 1.5vw, 1.125rem);
  --text-sm:     0.875rem;
  --text-xs:     0.8125rem;
  --text-mono:   0.8125rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Motion */
  --ease-out-strong:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

  --dur-fast:   150ms;
  --dur-base:   220ms;
  --dur-slow:   500ms;
  --dur-reveal: 600ms;

  /* Layout */
  --max-width: 1440px;
  --nav-height: 68px;
}

/* ----------------------------------------------------------
   2. NAV
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 26, 18, 0.06);
  transition: background var(--dur-base) var(--ease-out-quart),
              border-color var(--dur-base) var(--ease-out-quart);
}

/* Sticky nav — cuando está sobre secciones oscuras */
.nav.nav--dark {
  background: rgba(10, 26, 18, 0.92);
  border-bottom-color: rgba(245, 240, 232, 0.08);
}

.nav--dark .nav__link,
.nav--dark .nav__login {
  color: var(--color-bone);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-svg {
  width: 100px;
  height: 24px;
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(10, 26, 18, 0.7);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) ease;
}

.nav__link:hover {
  color: var(--color-brand-green);
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__login {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(10, 26, 18, 0.6);
  transition: color var(--dur-fast) ease;
}

.nav__login:hover {
  color: var(--color-ink);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-ink);
  transition: transform var(--dur-base) var(--ease-out-strong),
              opacity var(--dur-base) ease;
}

/* Mobile nav overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bone);
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
}

.nav__mobile[hidden] {
  display: none;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav__mobile-link {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-ink);
}

/* ----------------------------------------------------------
   3. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background var(--dur-fast) ease,
    color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-brand-green);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-brand-green);
  color: var(--color-bone);
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
}

.btn--primary:hover {
  background: #0a5a3b;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 107, 71, 0.3);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1.125rem;
}

.btn--ghost {
  background: transparent;
  color: var(--color-bone);
  font-size: var(--text-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.45);
  border-radius: 0;
  letter-spacing: 0.01em;
}

.btn--ghost:hover {
  color: var(--color-bone);
  border-bottom-color: var(--color-bone);
}

.btn--outline {
  background: transparent;
  color: var(--color-brand-green);
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  border: 1.5px solid var(--color-brand-green);
}

.btn--outline:hover {
  background: var(--color-brand-green);
  color: var(--color-bone);
}

/* ----------------------------------------------------------
   4. HERO — FIX 1
   Foto full-bleed, texto flotando sobre el overlay gradient
   Desktop: foto ocupa 65-70% del viewport (ancho), texto en columna izquierda
   Mobile: foto full-bleed, texto flota abajo con gradient desde inferior
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

/* Media: fondo full-bleed, posicionada en el tercio derecho en desktop */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: mantiene a la mujer visible — no se corta la figura */
  object-position: 70% center;
}

/*
  FIX 3 (merge cromático): El overlay cubre la zona izquierda con gradient bone→transparent
  en desktop. En mobile, cubre desde abajo para que el texto tenga legibilidad.

  Para desktop: gradient horizontal desde bone sólido en borde izquierdo (~35-40% del ancho)
  hasta transparent en el centro, dejando la zona derecha de la foto limpia.
  Esto garantiza legibilidad del texto sobre el gradient sin backdrop-filter (prohibido).
*/
.hero__overlay {
  position: absolute;
  inset: 0;
  /* Desktop: gradient de izquierda → transparente, cubre aprox 45% del ancho */
  background:
    linear-gradient(
      to right,
      var(--color-bone) 0%,
      rgba(245, 240, 232, 0.92) 18%,
      rgba(245, 240, 232, 0.70) 30%,
      rgba(245, 240, 232, 0.25) 42%,
      transparent 55%
    );
  pointer-events: none;
}

/* Grain overlay sobre el hero completo */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* Copy — flota sobre la foto, posicionado a la izquierda */
.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding-top: var(--nav-height);
  /* El texto vive en la columna izquierda donde el gradient bone es opaco */
  width: 50%;
  padding-left: clamp(var(--space-md), 6vw, var(--space-xl));
  padding-right: var(--space-lg);
  padding-bottom: var(--space-xl);
  gap: var(--space-md);
}

/* ----------------------------------------------------------
   FIX 1 + 4: Trust strip — mono caps pequeño, una línea con separadores
   Reemplaza el grid de badges por línea horizontal compact
   ---------------------------------------------------------- */
.trust-strip-mono {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(10, 26, 18, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.trust-strip-mono__icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-right: 5px;
}

.trust-strip-mono__sep {
  color: rgba(10, 26, 18, 0.3);
  margin: 0 2px;
}

/* ----------------------------------------------------------
   FIX 2: data-value — valores en bold con asterisco superscript verde
   ---------------------------------------------------------- */

/* Versión dark (sobre fondo bone / texto tinta) */
.data-value {
  font-weight: 700;
  color: var(--color-ink);
  font-style: normal;
}

/* Asterisco superscript en brand-green */
.data-asterisk {
  font-family: var(--font-mono);
  font-size: 0.6em;
  color: var(--color-brand-green);
  font-weight: 400;
  vertical-align: super;
  line-height: 0;
}

/* Variante light — sobre fondo dark */
.data-value--light {
  color: var(--color-bone);
  font-weight: 700;
}

.data-asterisk--light {
  color: var(--color-mono-tick);
}

/* Variante dim — en footer disclaimer */
.data-asterisk--dim {
  color: rgba(245, 240, 232, 0.3);
}

/* ----------------------------------------------------------
   Hero headline (flota sobre foto, texto tinta sobre gradient bone)
   ---------------------------------------------------------- */
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  max-width: 12ch;
}

.hero__headline em {
  font-style: italic;
  color: var(--color-terracota);
}

/* Hero sub */
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(10, 26, 18, 0.7);
  max-width: 36ch;
}

/* CTA cluster */
.cta-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

/* Hero credit */
.hero__credit {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(10, 26, 18, 0.3);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: var(--space-lg);
}

/* ----------------------------------------------------------
   5. SECTION — LIGHT / ASPIRATION
   ---------------------------------------------------------- */
.section--light {
  background-color: var(--color-bone);
  color: var(--color-ink);
}

.section--aspiration {
  padding: var(--space-xl) 0;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-md), 6vw, var(--space-xl));
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-xl);
  align-items: start;
}

.section__headline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.section__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(10, 26, 18, 0.65);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(10, 26, 18, 0.8);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.feature-list__icon svg {
  width: 100%;
  height: 100%;
}

/* Stats grid */
.aspiration__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-sm);
  padding-top: var(--space-md);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-md);
  border: 1px solid rgba(10, 26, 18, 0.1);
  border-radius: 12px;
  background: rgba(10, 26, 18, 0.02);
  transition: border-color var(--dur-base) ease,
              background var(--dur-base) ease;
}

.stat-card:hover {
  border-color: rgba(13, 107, 71, 0.25);
  background: rgba(13, 107, 71, 0.04);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}

.stat-card__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(10, 26, 18, 0.5);
  line-height: 1.4;
}

/* ----------------------------------------------------------
   6. PIVOT — transición cromática (FIX 3)

   Estrategia merge cromático desktop:
   transition.jpeg es 1400×781 (ratio ~1.79:1).
   En viewports wide (>1440px), background-size:cover cropea top/bottom,
   eliminando los stops bone (superior) y dark (inferior) del gradiente.

   Solución CSS pura (sin regenerar la imagen):
   1. Gradient CSS como fondo base (bone → verde profundo → ink) — garantiza
      el merge cromático en cualquier viewport.
   2. transition.jpeg encima como overlay con mix-blend-mode: multiply,
      aportando el grain fotográfico y la halation terracota sin depender
      de que sus stops sobrevivan al crop.
   3. background-size: cover + background-position: center top — hace que
      el crop en desktop wide priorice la zona superior-central de la imagen
      donde el grain es más denso.
   ---------------------------------------------------------- */
.section--pivot {
  position: relative;
  min-height: 60dvh;
  /* Gradient base garantizado — merge cromático en cualquier viewport */
  background:
    linear-gradient(
      180deg,
      var(--color-bone)         0%,
      #D8E4DC                   18%,    /* bone → verde pálido */
      #3D6B50                   38%,    /* verde medio */
      #1A3D2A                   58%,    /* verde oscuro (--color-mint-dim) */
      var(--color-ink)          100%
    );
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
}

/* La imagen de transición como capa sobre el gradient CSS */
.section--pivot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/transition.jpeg');
  background-size: cover;
  /* center top prioriza la zona de grain y halation sobre cortar el dark inferior */
  background-position: center 25%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
}

/* Scroll-Driven Animation API — progressive enhancement */
.section--pivot {
  animation: pivot-opacity linear both;
  animation-timeline: view();
  animation-range: entry 0% exit 60%;
}

@keyframes pivot-opacity {
  from { opacity: 0.85; }
  to   { opacity: 1; }
}

/* Browsers sin Scroll-Driven Animation: muestra con opacity fija */
@supports not (animation-timeline: scroll()) {
  .section--pivot {
    animation: none;
    opacity: 1;
  }
}

/* ----------------------------------------------------------
   FIX 3: Copy editorial del pivote
   "From the saver you are, to the investor you become."
   Texto sobre la zona oscura del gradiente — white garantiza contraste
   ---------------------------------------------------------- */
.pivot__editorial {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.pivot__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  /* Blanco sobre la zona oscura del gradiente para garantizar contraste */
  color: var(--color-bone);
  /* Text-shadow sutil para legibilidad si el gradient CSS está en zona clara */
  text-shadow: 0 1px 24px rgba(10, 26, 18, 0.45);
  max-width: 18ch;
}

.pivot__quote em {
  font-style: italic;
  color: var(--color-amber-soft);
}

/* Scroll cue — flecha sutil interactiva */
.pivot__scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  transition: color var(--dur-fast) ease, opacity var(--dur-fast) ease;
  opacity: 0.5;
}

.pivot__scroll-cue:hover,
.pivot__scroll-cue:focus-visible {
  opacity: 1;
  color: var(--color-bone);
  outline: none;
}

.pivot__scroll-cue:focus-visible {
  outline: 2px solid var(--color-mono-tick);
  outline-offset: 4px;
  border-radius: 4px;
}

.pivot__scroll-cue svg {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  .pivot__scroll-cue svg {
    animation: bounce-arrow 2s var(--ease-out-quart) infinite;
  }

  @keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
  }
}

/* ----------------------------------------------------------
   7. SECTION — DARK / PLATFORM
   ---------------------------------------------------------- */
.section--dark {
  background-color: var(--color-ink);
  color: var(--color-bone);
  position: relative;
}

/* Vignette atmosférica en zona dark */
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}

.section--platform {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.section__inner--dark {
  position: relative;
  z-index: 1;
}

.section__headline--dark {
  color: var(--color-bone);
  font-size: var(--text-xl);
}

.section__sub--dark {
  color: rgba(245, 240, 232, 0.6);
  max-width: 44ch;
  margin-bottom: var(--space-lg);
}

/* Platform asset grid */
.platform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.asset-card {
  padding: var(--space-md);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 12px;
  background: rgba(245, 240, 232, 0.04);
  transition: border-color var(--dur-base) ease,
              background var(--dur-base) ease;
}

.asset-card:hover {
  border-color: rgba(62, 224, 138, 0.25);
  background: rgba(62, 224, 138, 0.06);
}

.asset-card--highlight {
  border-color: rgba(13, 107, 71, 0.4);
  background: rgba(13, 107, 71, 0.08);
}

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

.asset-card__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.asset-card__ticker {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.asset-card__ticker.ticker--up {
  color: var(--color-mono-tick);
}

.asset-card__ticker.ticker--neutral {
  color: rgba(245, 240, 232, 0.4);
}

.asset-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.65);
}

.mono-data {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
}

/* ----------------------------------------------------------
   8. FOOTER — FIX 2: footnote única
   ---------------------------------------------------------- */
.footer {
  padding: var(--space-lg) 0 var(--space-xl);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(var(--space-md), 6vw, var(--space-xl));
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.4);
  letter-spacing: 0.01em;
}

.footer__disclaimer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.25);
  max-width: 80ch;
}

/* Footnote única — mono small, sobre el footer-bottom */
.footer__footnote {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.02em;
  max-width: 80ch;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  padding-top: var(--space-sm);
  margin-top: var(--space-xs);
}

/* ----------------------------------------------------------
   9. BADGE FIJO — PROPOSAL MOCKUP · BAST ESTUDIO
   ---------------------------------------------------------- */
.proposal-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(10, 26, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast) ease,
              color var(--dur-fast) ease,
              border-color var(--dur-fast) ease;
}

.proposal-badge:hover {
  background: rgba(13, 107, 71, 0.85);
  color: var(--color-bone);
  border-color: rgba(245, 240, 232, 0.3);
}

.proposal-badge:focus-visible {
  outline: 2px solid var(--color-mono-tick);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   10. MOTION — SCROLL REVEAL
   Pattern 1: translateY(12px) + opacity, IntersectionObserver
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity  var(--dur-reveal) var(--ease-out-strong),
      transform var(--dur-reveal) var(--ease-out-strong);
  }

  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger por data-delay (delta: 80ms) */
  .reveal[data-delay="0"] { transition-delay: 0ms; }
  .reveal[data-delay="1"] { transition-delay: 80ms; }
  .reveal[data-delay="2"] { transition-delay: 160ms; }
  .reveal[data-delay="3"] { transition-delay: 240ms; }
}

/* Fallback reduced-motion: solo fade, sin translate */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 0;
    transform: none;
    transition: opacity 200ms ease-out;
  }
  .reveal.in-view {
    opacity: 1;
  }

  /* Scroll cue sin animación bounce */
  .pivot__scroll-cue svg {
    animation: none;
  }
}

/* Elementos que NO pasan por reveal */
.hero__grain,
.hero__media,
.section--pivot {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ----------------------------------------------------------
   11. RESPONSIVE — 375 / 768 / 1024 / 1440
   ---------------------------------------------------------- */

/* 1440px (desktop target) */
@media (min-width: 1440px) {
  .hero__copy {
    padding-left: var(--space-2xl);
  }
}

/* 1024px — laptop */
@media (max-width: 1024px) {
  .hero__copy {
    width: 55%;
    padding-left: var(--space-lg);
    padding-right: var(--space-md);
  }

  .section__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .aspiration__stats {
    gap: var(--space-sm);
  }

  .pivot__quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
}

/* 768px — tablet / mobile */
@media (max-width: 768px) {
  :root {
    --text-hero: clamp(2.25rem, 9vw, 3.75rem);
    --text-xl:   clamp(1.5rem, 5vw, 2rem);
  }

  /* Nav */
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* ----------------------------------------------------------
     HERO MOBILE — FIX 1 + FIX 4
     Foto full-bleed (toda la sección), texto flota abajo
     con gradient desde inferior → transparent hacia arriba
     ---------------------------------------------------------- */
  .hero {
    min-height: 100dvh;
  }

  /* La foto cubre todo el hero en mobile */
  .hero__image {
    object-position: right center;
  }

  /* Overlay mobile: gradient desde el borde INFERIOR hacia el centro
     (inverso al desktop). El texto vivirá en la zona baja. */
  .hero__overlay {
    background:
      linear-gradient(
        to top,
        rgba(10, 26, 18, 0.88)    0%,    /* dark sólido en el fondo donde vive el texto */
        rgba(10, 26, 18, 0.65)   25%,
        rgba(10, 26, 18, 0.25)   55%,
        transparent               80%
      );
  }

  /* El texto en mobile flota en la zona inferior con texto bone */
  .hero__copy {
    width: 100%;
    justify-content: flex-end;
    padding: var(--space-sm) var(--space-md) var(--space-lg);
    min-height: 100dvh;
    gap: var(--space-sm);
  }

  /* Trust strip en mobile: texto bone sobre fondo dark */
  .trust-strip-mono {
    color: rgba(245, 240, 232, 0.55);
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  /* Headline en mobile: bone sobre fondo dark */
  .hero__headline {
    color: var(--color-bone);
    max-width: none;
    font-size: var(--text-hero);
  }

  .hero__headline em {
    color: var(--color-amber-soft);
  }

  /* Sub en mobile: más chico, opacity */
  .hero__sub {
    color: rgba(245, 240, 232, 0.82);
    font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
    max-width: none;
  }

  /* CTAs full-width aprox en mobile */
  .cta-cluster {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .cta-cluster .btn--primary {
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .cta-cluster .btn--ghost {
    text-align: center;
    padding: 0.875rem 0;
    color: rgba(245, 240, 232, 0.65);
    border-bottom-color: rgba(245, 240, 232, 0.25);
  }

  .hero__credit {
    display: none;
  }

  /* Sections en mobile */
  .section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .aspiration__stats {
    grid-template-columns: 1fr 1fr;
  }

  .platform__grid {
    grid-template-columns: 1fr;
  }

  /* Pivote en mobile */
  .section--pivot {
    min-height: 70dvh;
    padding: var(--space-lg) var(--space-md);
  }

  .pivot__quote {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    max-width: 22ch;
  }

  /* Badge arriba en mobile para no tapar CTA */
  .proposal-badge {
    bottom: auto;
    top: calc(var(--nav-height) + 12px);
    right: 12px;
  }
}

/* 375px — mobile S */
@media (max-width: 375px) {
  :root {
    --text-hero: 2.5rem;
  }

  .hero__copy {
    padding: var(--space-sm) var(--space-sm) var(--space-md);
  }

  .aspiration__stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

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

  .stat-card__value {
    font-size: var(--text-lg);
  }
}

/* ----------------------------------------------------------
   12. PRINT
   ---------------------------------------------------------- */
@media print {
  .nav,
  .proposal-badge,
  .hero__grain {
    display: none;
  }
}
