/* ══════════════════════════════════════════════════════════
   TIPOGRAFÍA AUTOALOJADA
   Manrope variable (200-800) en un solo archivo de 22 KB.
   Antes se pedía a Google Fonts: dos dominios ajenos, con su
   DNS, TLS y handshake, bloqueando el primer texto en pantalla.
══════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-var.woff2') format('woff2-variations'),
       url('assets/fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;   /* toda la familia, un solo archivo */
  font-style: normal;
  font-display: swap;     /* el texto se ve de inmediato */
}

/* ══════════════════════════════════════════════════════════
   TEXAS HISPANIC GROWTH · style.css
   Typeface: Manrope — modern, clean, high-legibility B2B
   Palette: Deep graphite · Electric lime · Clean white · Warm amber
   
   Design direction: editorial split-column hero, image-forward
   industry cards, bold typographic hierarchy, lime accent system
══════════════════════════════════════════════════════════ */


/* Respaldo con las métricas exactas de Manrope. Mientras la fuente real
   descarga, el texto ocupa el mismo alto de línea: cero salto de layout (CLS). */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('Helvetica'), local('Roboto');
  ascent-override: 106.6%;
  descent-override: 30.0%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Colors */
  --c-void:     #050604;
  --c-ink:      #0a0c06;
  --c-ink2:     #181c10;
  --c-ink3:     #232918;
  --c-surface:  #f4f6ef;
  --c-white:    #ffffff;
  --c-lime:     #b8f03a;
  --c-lime2:    #d4f86e;
  --c-lime-dim: rgba(184,240,58,.12);
  --c-amber:    #e07c1a;
  --c-amber2:   #f5a030;
  --c-mid:      #5a6040;
  --c-mid2:     #8a9270;
  --c-border-d: rgba(255,255,255,.07);
  --c-border-l: rgba(10,12,6,.09);

  /* Type */
  --f-sans: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Type scale */
  --t-xs:   .7rem;
  --t-sm:   .825rem;
  --t-base: 1rem;
  --t-md:   1.1rem;
  --t-lg:   1.25rem;
  --t-xl:   1.5rem;
  --t-2xl:  2rem;
  --t-3xl:  2.75rem;
  --t-4xl:  3.5rem;
  --t-5xl:  4.5rem;

  /* Spacing */
  --sp-1:   .25rem;
  --sp-2:   .5rem;
  --sp-3:   .75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Layout */
  --max-w:  1200px;
  --hdr-h:  72px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --sh-sm:  0 1px 3px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.06);
  --sh-md:  0 4px 16px rgba(0,0,0,.12), 0 8px 32px rgba(0,0,0,.08);
  --sh-lg:  0 8px 32px rgba(0,0,0,.18), 0 20px 60px rgba(0,0,0,.12);
  --sh-lime: 0 4px 24px rgba(184,240,58,.25);

  /* Easing */
  --ease:   cubic-bezier(.22,1,.36,1);
  --ease2:  cubic-bezier(.4,0,.2,1);
}

/* ── RESET ──────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  /* La pila del sistema se parece a Manrope: mientras carga, el texto
     ya es legible y casi no hay salto al cambiar (display=swap). */
  font-family: var(--f-sans);
  background: var(--c-ink);
  color: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
textarea { resize: vertical; }

/* ── ACCESSIBILITY ──────────────────────────────────── */
.skip-nav {
  position: absolute; top: -100px; left: var(--sp-4);
  background: var(--c-lime); color: var(--c-ink);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-size: var(--t-sm); font-weight: 700;
  z-index: 9999; transition: top .2s;
}
.skip-nav:focus { top: var(--sp-4); }
:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── LAYOUT ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 700;
  line-height: 1; letter-spacing: .01em;
  padding: .8rem 1.5rem;
  border-radius: 100px;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-lime {
  background: var(--c-lime); color: var(--c-ink);
}
.btn-lime:hover {
  background: var(--c-lime2);
  box-shadow: var(--sh-lime);
}
.btn-dark {
  background: var(--c-ink); color: var(--c-white);
  border: 1.5px solid var(--c-border-d);
}
.btn-dark:hover {
  background: var(--c-ink3);
  border-color: var(--c-lime-dim);
  box-shadow: var(--sh-md);
}
.btn-ghost-light {
  background: rgba(255,255,255,.06); color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,.15);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
}
.btn-lg { font-size: var(--t-base); padding: 1rem 2rem; }
.btn-submit {
  width: 100%; justify-content: center;
  font-size: var(--t-base); padding: 1rem 2rem;
  border-radius: var(--radius);
  margin-top: var(--sp-4);
}

/* ── TYPOGRAPHY HELPERS ─────────────────────────────── */
.eyebrow {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-lime);
  margin-bottom: var(--sp-4);
}
.eyebrow.light { color: var(--c-lime); }
.eyebrow.dark  { color: var(--c-amber); }

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-header h2,
.section-header h2.light {
  font-size: clamp(var(--t-2xl), 4.5vw, var(--t-4xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--c-ink);
  max-width: 22ch;
}
.section-header h2.light { color: var(--c-white); }
.section-header h2.dark  { color: var(--c-ink); }

/* ── SECTION BACKGROUNDS ────────────────────────────── */
.section-light { background: var(--c-surface); color: var(--c-ink); padding: clamp(4rem, 9vw, 7rem) 0; }
.section-dark  { background: var(--c-ink);    color: var(--c-white); padding: clamp(4rem, 9vw, 7rem) 0; }
.section-lime  { background: var(--c-lime);   color: var(--c-ink);  padding: clamp(4rem, 9vw, 7rem) 0; }
.section-contact { background: var(--c-void); color: var(--c-white); padding: clamp(4rem, 9vw, 7rem) 0; position: relative; overflow: hidden; }

/* ── REVEAL ANIMATIONS ──────────────────────────────── */
[class*="reveal-"] {
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-up    { transform: translateY(30px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.96); }

[class*="reveal-"].is-visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--hdr-h);
  transition: background .35s var(--ease2), box-shadow .35s;
}
#hdr.scrolled {
  /* Fondo casi opaco en vez de blur: el backdrop-filter obliga a
     recomponer toda la capa en cada frame de scroll. */
  background: rgba(10,12,6,.97);
  box-shadow: 0 1px 0 var(--c-border-d);
}
/* El blur solo en equipos con potencia de sobra */
@media (min-width: 1024px) and (hover: hover) {
  #hdr.scrolled {
    background: rgba(10,12,6,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}
.hdr-inner {
  display: flex; align-items: center; height: 100%; gap: var(--sp-8);
}

/* Brand */
.brand {
  display: flex; align-items: center; gap: var(--sp-3);
  flex-shrink: 0;
}
.brand-icon { flex-shrink: 0; display: flex; }
.brand-text {
  font-weight: 800; font-size: var(--t-base); color: var(--c-white);
  line-height: 1.15; letter-spacing: -.01em;
}

/* Desktop nav */
.nav-desk {
  display: flex; gap: var(--sp-8); margin-left: auto; align-items: center;
}
.nav-desk a {
  font-size: var(--t-sm); font-weight: 600;
  color: rgba(255,255,255,.55);
  transition: color .2s;
  position: relative;
}
.nav-desk a::after {
  content: ''; position: absolute; bottom: -.25rem; left: 0; right: 0;
  height: 1.5px; background: var(--c-lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-desk a:hover { color: var(--c-white); }
.nav-desk a:hover::after { transform: scaleX(1); }

/* Header right */
.hdr-right {
  display: flex; align-items: center; gap: var(--sp-4); flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  padding: .35rem .75rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 100px;
  transition: color .2s, border-color .2s;
}
.lang-toggle:hover { border-color: var(--c-lime); color: var(--c-white); }
.lang-divider { color: rgba(255,255,255,.5); }
.lang-toggle .lang-en.active,
.lang-toggle .lang-es.active { color: var(--c-lime); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: var(--sp-2); margin-left: var(--sp-2);
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-white); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mob {
  display: none; flex-direction: column;
  position: fixed; top: var(--hdr-h); left: 0; right: 0;
  background: var(--c-ink2);
  border-top: 1px solid var(--c-border-d);
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  gap: var(--sp-1); z-index: 190;
}
.nav-mob.is-open { display: flex; }
.mob-link {
  font-size: var(--t-md); font-weight: 600;
  color: rgba(255,255,255,.65);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-border-d);
  transition: color .2s;
}
.mob-link:hover { color: var(--c-white); }
.mob-cta { margin-top: var(--sp-6); justify-content: center; }
.mob-lang { display: flex; gap: var(--sp-4); margin-top: var(--sp-5); }
.mob-lang-btn {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  padding: .35rem .75rem;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 100px; transition: color .2s, border-color .2s;
}
.mob-lang-btn.active { color: var(--c-lime); border-color: var(--c-lime); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  /* svh evita el salto por la barra del navegador en móvil.
     El contenido manda: si cabe en menos, no estiramos de más. */
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--hdr-h);
  overflow: hidden;
  background: var(--c-void);
}

.hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
#particleCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* En móvil no se dibuja: el degradado y la rejilla ya dan la atmósfera */
@media (max-width: 900px) { #particleCanvas { display: none; } }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,240,58,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,240,58,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  flex: 1;
  padding-top: clamp(1.25rem, 2.5vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Hero left */
.hero-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--c-lime-dim);
  border: 1px solid rgba(184,240,58,.2);
  border-radius: 100px;
  padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-3);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-lime);
  margin-bottom: var(--sp-5);
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--c-lime);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(184,240,58,.4); }
  70%  { box-shadow: 0 0 0 8px rgba(184,240,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,240,58,0); }
}

.hero-h1 {
  /* Antes llegaba a 4.5rem: en una columna de media pantalla se partía
     en cinco líneas y empujaba el CTA fuera del pliegue. */
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--c-white);
  max-width: 18ch;
  margin-bottom: var(--sp-6);
  display: flex; flex-direction: column; gap: .06em;
}
.h1-line { display: block; }
.h1-accent {
  display: flex; align-items: baseline; gap: .15em; flex-wrap: wrap;
}
.h1-lime { color: var(--c-lime); }
.counter-wrap {
  display: inline-flex; align-items: baseline;
  font-size: 1.05em;
  color: var(--c-lime);
}
.counter, .counter2, .counter3, .counter4 {
  /* tabular-nums fija el ancho de cada dígito, y min-width reserva el
     espacio del valor final para que la tarjeta no cambie de tamaño. */
  font-variant-numeric: tabular-nums;
  display: inline-block;
  text-align: left;
}
.counter  { min-width: 2ch; }   /* 40    */
.counter2 { min-width: 4ch; }   /* 40.3  */
.counter3 { min-width: 4ch; }   /* 4.4T  */
.counter4 { min-width: 2ch; }   /* 12    */

/* Evita que la altura salte cuando cambia el número */
.sf-num { min-height: 1em; }
.counter-unit { font-size: .7em; margin-left: .05em; }

.hero-sub {
  font-size: clamp(var(--t-base), 1.8vw, var(--t-lg));
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: var(--sp-5);
  font-weight: 400;
}

.hero-micro {
  font-size: var(--t-sm);
  color: rgba(184,240,58,.7);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: var(--sp-6);
  font-weight: 500;
}

.hero-ctas {
  display: flex; gap: var(--sp-4); flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.hero-trust {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--t-xs); color: rgba(255,255,255,.5);
  font-weight: 500; letter-spacing: .03em;
}
.trust-dot {
  width: 5px; height: 5px; background: var(--c-lime);
  border-radius: 50%; flex-shrink: 0; opacity: .6;
}

/* Hero right — padding creates the zone where cards can float visibly */
.hero-right {
  position: relative;
  /* Espacio justo para que las tarjetas floten sin salirse */
  padding: 1.75rem 1.75rem 1.75rem 0;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  /* NO overflow:hidden — would clip the cards that used to live inside */
  overflow: hidden;
  aspect-ratio: 5/6;
  max-height: 66vh;
  margin-inline: auto;
  background: var(--c-ink3);
  box-shadow: var(--sh-lg);
  /* Visual border so the rounded card sits cleanly above the dark bg */
  outline: 1px solid rgba(255,255,255,.06);
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: var(--radius-xl);
  transition: transform .6s var(--ease);
}
.hero-img-wrap:hover .hero-img { transform: scale(1.03); }
.hero-img-overlay {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  /* Stronger gradient so the bottom card (12M) is readable */
  background: linear-gradient(
    160deg,
    transparent 35%,
    rgba(5,6,4,.55) 100%
  );
  pointer-events: none;
}

/* ── Floating stat cards ─────────────────────────────
   Cards live in .hero-right (position:relative + padding).
   Positions are inset so they always overlap the image,
   never spill into the black page background.
──────────────────────────────────────────────────── */
.stat-float {
  position: absolute;
  /* Fondo sólido en vez de backdrop-filter: el blur sobre una imagen
     provoca tembleque de subpíxel en Safari/Firefox y es caro en GPU. */
  background: rgba(8,10,5,.94);
  border: 1.5px solid rgba(184,240,58,.28);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  min-width: 170px;
  max-width: 210px;
  box-shadow:
    0 4px 24px rgba(0,0,0,.55),
    0 0 0 1px rgba(184,240,58,.08) inset;
  animation: float-card 4s ease-in-out infinite alternate;
  z-index: 10;
  /* Capa propia sin reservar memoria de más: translate3d basta */
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}

/* Top-right card — overlaps top-right corner of the image */
.stat-top {
  top: .5rem;        /* inside the padding zone, above the image */
  right: .5rem;      /* inside the right padding */
  animation-delay: 0s;
}
/* Middle-right card — sits at mid-height, slightly outside right edge of img */
.stat-mid {
  top: 36%;
  right: .5rem;
  animation-delay: .9s;
}
/* Bottom-left card — overlaps bottom-left corner of the image */
.stat-bot {
  bottom: 3rem;     /* above the bottom of the padded container */
  left: -1rem;       /* slightly left of image edge — still inside hero-right padding */
  animation-delay: 1.8s;
}

@keyframes float-card {
  /* Solo translate3d. La rotación de .4deg producía bordes temblorosos. */
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -7px, 0); }
}

.sf-num {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800; color: var(--c-lime);
  line-height: 1; letter-spacing: -.02em;
  margin-bottom: var(--sp-2);
}
.sf-unit { font-size: .6em; }
.sf-label {
  font-size: var(--t-xs); color: rgba(255,255,255,.75);
  line-height: 1.4; margin-bottom: var(--sp-2);
  max-width: 18ch; font-weight: 500;
}
.sf-source {
  font-size: .6rem; color: rgba(255,255,255,.5);
  letter-spacing: .06em; text-transform: uppercase;
}

/* Ticker */
.ticker-bar {
  position: relative; z-index: 10;
  background: var(--c-lime);
  padding: .55rem 0;
  overflow: hidden;
}
/* Marquesina sin costura: la pista contiene DOS grupos idénticos.
   Desplazar -50% equivale exactamente a un grupo, así que el bucle
   es invisible. Antes había un `gap` en la costura y por eso saltaba. */
.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
  /* Capa propia: el desplazamiento no repinta la barra entera */
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.ticker-group {
  display: flex; align-items: center;
  gap: var(--sp-8);
  padding-right: var(--sp-8);   /* el hueco vive DENTRO del grupo */
  flex: 0 0 auto;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(10,12,6,.65);
}
.ticker-track span.sep { color: rgba(10,12,6,.3); }

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Sin movimiento si el usuario lo pide: se queda quieto y legible */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; transform: none !important; }
}

/* ══════════════════════════════════════════
   MARKET OPPORTUNITY
══════════════════════════════════════════ */
.opp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.opp-col { position: relative; }

.opp-img {
  width: 100%; border-radius: var(--radius-xl);
  aspect-ratio: 4/3; object-fit: cover;
  background: var(--c-ink3);
  box-shadow: var(--sh-lg);
}
.opp-img-tag {
  position: absolute; bottom: var(--sp-5); left: var(--sp-5);
  background: var(--c-amber2); color: var(--c-ink);
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 100px;
}

.opp-lead {
  font-size: clamp(var(--t-md), 1.8vw, var(--t-xl));
  font-weight: 700; line-height: 1.5;
  color: var(--c-ink); margin-bottom: var(--sp-6);
}
.opp-body {
  font-size: var(--t-base); line-height: 1.8;
  color: var(--c-mid); margin-bottom: var(--sp-8);
}
.opp-checks { display: flex; flex-direction: column; gap: var(--sp-5); margin-bottom: var(--sp-10); }
.opp-check {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  font-size: var(--t-sm); color: var(--c-mid); line-height: 1.6;
}
.check-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--c-lime); color: var(--c-ink);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; display: block; }

/* ══════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════ */
.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 1px;
  background: var(--c-border-d);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--c-border-d);
}
/* featured spans full width */
.ind-featured {
  grid-column: 1;
  grid-row: 1 / 3;
}
.ind-featured:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.ind-card {
  background: var(--c-ink2);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.ind-card:hover { background: var(--c-ink3); }

.ind-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
  background: var(--c-ink3); flex-shrink: 0;
}
.ind-img-wrap.small { aspect-ratio: 16/7; }
.ind-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .5s var(--ease);
}
.ind-card:hover .ind-img-wrap img { transform: scale(1.05); }
.ind-img-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--c-ink2) 100%);
}

.ind-content { padding: var(--sp-6); flex: 1; }
.ind-icon {
  margin-bottom: var(--sp-3);
  color: var(--c-lime);
  width: 30px; height: 30px;
}
.ind-icon svg { width: 100%; height: 100%; display: block; }
.ind-content h3 {
  font-size: var(--t-lg); font-weight: 800;
  color: var(--c-white); margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.ind-pain {
  font-size: var(--t-sm); color: rgba(255,255,255,.55);
  line-height: 1.7; margin-bottom: var(--sp-4);
}
.ind-angle {
  font-size: var(--t-sm); color: var(--c-lime2);
  font-weight: 600; line-height: 1.55;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border-d);
}

/* ══════════════════════════════════════════
   SYSTEM
══════════════════════════════════════════ */
.sys-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.sys-left { position: relative; }
.sys-img {
  width: 100%; border-radius: var(--radius-xl);
  aspect-ratio: 3/4; object-fit: cover;
  background: var(--c-ink3); box-shadow: var(--sh-lg);
  position: sticky; top: calc(var(--hdr-h) + 2rem);
}
.sys-img-badge {
  position: absolute; bottom: var(--sp-6); left: var(--sp-6); right: var(--sp-6);
  background: var(--c-lime); color: var(--c-ink);
  font-size: var(--t-xs); font-weight: 800;
  letter-spacing: .06em; text-align: center;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius);
}
.sys-subhead {
  font-size: var(--t-base);
  color: var(--c-mid);
  line-height: 1.7;
  max-width: 60ch;
  /* Positive top margin — el negativo hacía que el párrafo se montara
     sobre la última línea del titular cuando éste ocupa varias líneas. */
  margin: var(--sp-5) 0 var(--sp-8);
}
.sys-subhead:empty { display: none; margin: 0; }

/* Separación explícita entre el titular y el párrafo que le sigue */
.section-header h2 + .sys-subhead { margin-top: var(--sp-5); }

.sys-items { display: flex; flex-direction: column; gap: 0; }
.sys-item {
  display: flex; gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--c-border-l);
}
.sys-item:first-child { padding-top: 0; }
.sys-item:last-child  { border-bottom: none; }
.sys-num {
  font-size: var(--t-xs); font-weight: 800;
  color: rgba(10,12,6,.25); letter-spacing: .06em;
  margin-top: 3px; flex-shrink: 0; width: 24px;
}
.sys-body h3 {
  font-size: var(--t-base); font-weight: 700;
  color: var(--c-ink); margin-bottom: var(--sp-3);
}
.sys-body p {
  font-size: var(--t-sm); color: var(--c-mid);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   WHY IT WORKS
══════════════════════════════════════════ */
.section-lime .section-header h2 { color: var(--c-ink); }
.section-lime .section-header h2.dark { color: var(--c-ink); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.why-card {
  background: rgba(10,12,6,.07);
  border: 1.5px solid rgba(10,12,6,.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover {
  background: rgba(10,12,6,.12);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10,12,6,.15);
}
.why-icon {
  margin-bottom: var(--sp-5);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--c-ink);
  color: var(--c-lime);
}
.why-icon svg { width: 24px; height: 24px; display: block; }
.why-card h3 {
  font-size: var(--t-base); font-weight: 800;
  color: var(--c-ink); margin-bottom: var(--sp-3);
  line-height: 1.3;
}
.why-card p {
  font-size: var(--t-sm); color: rgba(10,12,6,.6);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   PROCESS
══════════════════════════════════════════ */
.proc-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proc-line {
  position: absolute;
  top: 56px; /* center of circles */
  left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-lime) 20%, var(--c-lime) 80%, transparent);
  z-index: 0;
}
.proc-step {
  text-align: center; padding: 0 var(--sp-5);
  position: relative; z-index: 1;
}
.proc-badge {
  display: inline-block;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-lime);
  background: var(--c-lime-dim);
  border: 1px solid rgba(184,240,58,.2);
  border-radius: 100px;
  padding: .2rem .65rem;
  margin-bottom: var(--sp-5);
}
.proc-circle {
  width: 56px; height: 56px; margin: 0 auto var(--sp-6);
  background: var(--c-ink3);
  border: 2px solid var(--c-lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.proc-circle span {
  font-size: var(--t-xl); font-weight: 800; color: var(--c-lime);
}
.proc-step:hover .proc-circle {
  background: var(--c-lime);
  transform: scale(1.1);
}
.proc-step:hover .proc-circle span { color: var(--c-ink); }
.proc-content h3 {
  font-size: var(--t-base); font-weight: 800;
  color: var(--c-white); margin-bottom: var(--sp-3);
}
.proc-content p {
  font-size: var(--t-sm); color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   PROOF
══════════════════════════════════════════ */
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5); margin-bottom: var(--sp-10);
}
.proof-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  border: 1px solid var(--c-border-l);
  background: var(--c-white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.proof-card.proof-case {
  background: var(--c-ink); color: var(--c-white);
  border-color: var(--c-border-d);
}
.proof-tag {
  font-size: .6rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-amber2); margin-bottom: var(--sp-4);
}
.proof-case .proof-tag { color: var(--c-lime); }
.proof-metric {
  font-size: var(--t-2xl); font-weight: 800;
  color: var(--c-amber); margin-bottom: var(--sp-4); line-height: 1.15;
  letter-spacing: -.02em;
}
.proof-case .proof-metric { color: var(--c-lime); }
.proof-card p {
  font-size: var(--t-sm); line-height: 1.7;
  color: var(--c-mid); margin-bottom: var(--sp-5);
}
.proof-case p { color: rgba(255,255,255,.5); }
.proof-footer {
  font-size: .6rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(10,12,6,.4);
}
.proof-case .proof-footer { color: rgba(255,255,255,.5); }

/* Differentiators grid (Hispanic experience + AI methodology) */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.diff-card {
  background: var(--c-ink);
  color: var(--c-white);
  border: 1px solid var(--c-border-d);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.diff-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--c-lime-dim);
  color: var(--c-lime);
  margin-bottom: var(--sp-5);
}
.diff-icon svg { width: 24px; height: 24px; }
.diff-card h3 {
  font-size: var(--t-lg); font-weight: 800;
  color: var(--c-white); line-height: 1.25;
  margin-bottom: var(--sp-4);
}
.diff-card p {
  font-size: var(--t-sm); line-height: 1.75;
  color: rgba(255,255,255,.6);
}

/* Credibility strip */
.cred-strip {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--c-ink); color: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-10);
  gap: 0;
}
.cred-sep {
  width: 1px; height: 48px; background: var(--c-border-d); margin-inline: var(--sp-8);
}
.cred-item { text-align: center; }
.cred-icon {
  margin-bottom: var(--sp-3);
  color: var(--c-lime);
  width: 28px; height: 28px;
}
.cred-icon svg { width: 100%; height: 100%; display: block; }
.cred-item strong {
  display: block; font-size: var(--t-sm); font-weight: 800;
  color: var(--c-white); margin-bottom: var(--sp-2);
}
.cred-item span {
  display: block; font-size: var(--t-xs);
  color: rgba(255,255,255,.55); line-height: 1.4;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.faq-item { border-bottom: 1px solid var(--c-border-d); }
.faq-item:first-child { border-top: 1px solid var(--c-border-d); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  padding: var(--sp-6) 0;
  font-size: var(--t-base); font-weight: 700;
  color: rgba(255,255,255,.7); gap: var(--sp-4);
  transition: color .2s;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.faq-q * { pointer-events: none; }
.faq-q:hover { color: var(--c-white); }
.faq-q[aria-expanded=true] { color: var(--c-lime); }

.faq-arrow {
  font-size: var(--t-xl); font-weight: 300;
  color: rgba(255,255,255,.45); flex-shrink: 0;
  transition: transform .3s var(--ease), color .2s;
  line-height: 1;
}
.faq-q[aria-expanded=true] .faq-arrow {
  transform: rotate(45deg);
  color: var(--c-lime);
}

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p {
  font-size: var(--t-sm); color: rgba(255,255,255,.55);
  line-height: 1.8; padding-bottom: var(--sp-6);
}

/* ══════════════════════════════════════════
   CONTACT / CTA
══════════════════════════════════════════ */
.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(184,240,58,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(224,124,26,.05) 0%, transparent 50%);
  pointer-events: none;
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
  position: relative; z-index: 1;
}
.contact-sub {
  font-size: var(--t-base); color: rgba(255,255,255,.55);
  line-height: 1.8; margin-bottom: var(--sp-10);
  max-width: 46ch;
}
.contact-left .eyebrow.light { color: var(--c-lime); }
.contact-left h2 {
  font-size: clamp(var(--t-2xl), 4vw, var(--t-3xl));
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--c-white); margin-bottom: var(--sp-6);
  max-width: 22ch;
}

.contact-promise {
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.promise-item {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--t-sm); color: rgba(255,255,255,.5);
}
.promise-dot {
  width: 6px; height: 6px; background: var(--c-lime);
  border-radius: 50%; flex-shrink: 0;
}

/* Form */
.form-wrap {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--sh-lg);
}
.form-title {
  font-size: var(--t-xl); font-weight: 800;
  color: var(--c-ink); margin-bottom: var(--sp-2);
}
.form-sub {
  font-size: var(--t-sm); color: var(--c-mid);
  margin-bottom: var(--sp-8);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.form-field {
  display: flex; flex-direction: column; gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.form-field:last-of-type { margin-bottom: 0; }
.form-row .form-field { margin-bottom: 0; }

.form-field label {
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-mid);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(10,12,6,.12);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: var(--t-sm); color: var(--c-ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(184,240,58,.15);
}
.form-field input.error,
.form-field select.error {
  border-color: #e04040;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6040' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-note {
  font-size: var(--t-xs); color: var(--c-mid2);
  text-align: center; margin-top: var(--sp-4);
  line-height: 1.5;
}

.form-success {
  text-align: center; padding: var(--sp-10) var(--sp-8);
}
.success-icon {
  width: 64px; height: 64px;
  background: rgba(184,240,58,.15); color: var(--c-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-6);
  border: 2px solid var(--c-lime);
}
.success-icon svg { width: 28px; height: 28px; display: block; }
.form-success h3 {
  font-size: var(--t-xl); font-weight: 800;
  color: var(--c-ink); margin-bottom: var(--sp-3);
}
.form-success p { font-size: var(--t-sm); color: var(--c-mid); line-height: 1.7; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#footer { background: var(--c-void); border-top: 1px solid var(--c-border-d); }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-12); padding-block: var(--sp-16);
}
.footer-brand-link { margin-bottom: var(--sp-5); display: inline-flex; }
.footer-tagline {
  font-size: var(--t-sm); font-weight: 700;
  color: rgba(255,255,255,.55); margin-bottom: var(--sp-2);
  line-height: 1.5;
}
.footer-sub {
  font-size: var(--t-xs); color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.footer-nav-label {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-5);
}
.footer-nav-col a {
  display: block; font-size: var(--t-sm);
  color: rgba(255,255,255,.55); margin-bottom: var(--sp-4);
  transition: color .2s;
}
.footer-nav-col a:hover { color: var(--c-lime); }

.footer-bottom {
  border-top: 1px solid var(--c-border-d);
  padding-block: var(--sp-5);
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer-bottom p { font-size: var(--t-xs); color: rgba(255,255,255,.5); }
.footer-lang { display: flex; align-items: center; gap: var(--sp-3); }
.footer-lang span { color: rgba(255,255,255,.5); font-size: var(--t-xs); }
.foot-lang-btn {
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.5); transition: color .2s; padding: .2rem 0;
  /* Son enlaces reales (<a>) para que Google pueda rastrear /es/ */
  display: inline-block; cursor: pointer; text-decoration: none;
}
.foot-lang-btn:hover,
.foot-lang-btn.active { color: var(--c-lime); }

/* ══════════════════════════════════════════
   OPPORTUNITY QUOTE BAND
══════════════════════════════════════════ */
.opp-quote {
  font-size: clamp(var(--t-md), 1.6vw, var(--t-lg));
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-ink);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  border-left: 3px solid var(--c-lime);
  background: rgba(184,240,58,.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ══════════════════════════════════════════
   CTA BANDS (between sections)
══════════════════════════════════════════ */
.cta-band {
  background: var(--c-ink2);
  border-top: 1px solid rgba(184,240,58,.12);
  border-bottom: 1px solid rgba(184,240,58,.12);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.cta-band-alt {
  background: linear-gradient(120deg, #16180d 0%, var(--c-ink) 100%);
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-8); flex-wrap: wrap;
}
.cta-band-text { flex: 1; min-width: 260px; }
.cta-band-hook {
  font-size: clamp(var(--t-md), 2vw, var(--t-xl));
  font-weight: 800; color: var(--c-white);
  line-height: 1.25; letter-spacing: -.01em;
  margin-bottom: var(--sp-2);
}
.cta-band-sub {
  font-size: var(--t-sm); color: var(--c-lime);
  font-weight: 600; line-height: 1.5;
}
.cta-band-btn { flex-shrink: 0; }

/* ══════════════════════════════════════════
   PROOF NOTE (Spanish leak-detection disclaimer)
══════════════════════════════════════════ */
.proof-note {
  margin-top: var(--sp-8);
  font-size: var(--t-sm);
  color: var(--c-mid2);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  line-height: 1.6;
}
.proof-note:empty { display: none; margin: 0; }

/* ══════════════════════════════════════════
   FORM ERROR MESSAGE
══════════════════════════════════════════ */
.form-error-msg {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(224,64,64,.08);
  border: 1px solid rgba(224,64,64,.3);
  border-radius: var(--radius);
  color: #c62828;
  font-size: var(--t-sm);
  text-align: center;
  line-height: 1.5;
}
.form-error-msg a { color: var(--c-amber); font-weight: 700; text-decoration: underline; }

/* Hide the 40% counter in the hero when Spanish is active */
body[data-lang="es"] [data-hide-es] { display: none; }

/* Floating CTA icon swap */
.fcta-icon { display: inline-flex; align-items: center; }
.fcta-icon[hidden] { display: none; }

/* ══════════════════════════════════════════
   FLOATING MOBILE CTA
══════════════════════════════════════════ */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: none; /* shown on mobile only */
  align-items: center; gap: var(--sp-2);
  background: var(--c-lime); color: var(--c-ink);
  font-size: var(--t-sm); font-weight: 800;
  padding: .85rem 1.35rem;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 0 0 4px rgba(184,240,58,.15);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-cta:active { background: var(--c-lime2); }
.floating-cta svg { flex-shrink: 0; }



/* ══════════════════════════════════════════
   RENDIMIENTO EN MÓVIL
   Cada sombra difuminada es un pintado extra por frame.
══════════════════════════════════════════ */
/* Menos sombra difuminada en móvil: cada blur cuesta pintado */
@media (max-width: 768px) {
  .ind-card, .why-card, .proof-card, .diff-card {
    box-shadow: none;
  }
  .form-wrap { box-shadow: 0 4px 16px rgba(0,0,0,.25); }
}


/* Áreas táctiles mínimas de 44x44 px en móvil (criterio WCAG / Lighthouse) */
@media (max-width: 768px) {
  .lang-toggle { min-height: 44px; padding-inline: .9rem; }
  .mob-lang-btn { min-height: 44px; min-width: 56px; display: inline-flex;
                  align-items: center; justify-content: center; }
  .foot-lang-btn { min-height: 44px; min-width: 44px; display: inline-flex;
                   align-items: center; justify-content: center; }
  .mob-link { padding-block: 1rem; }
  .footer-nav-col a { padding-block: .35rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
  .ind-featured, .ind-featured:nth-of-type(2) {
    grid-column: auto; grid-row: auto;
  }
  .cred-strip {
    grid-template-columns: 1fr 1fr;
    padding: var(--sp-8);
    gap: var(--sp-6);
  }
  .cred-sep:nth-child(2), .cred-sep:nth-child(6) { display: none; }
  .cred-sep:nth-child(4) { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* Keep the hero image visible on mobile, but drop the floating stat
     cards (they clutter and clip on small screens). */
  .hero-right {
    display: block;
    padding: 0;
    margin-top: 1.5rem;
  }
  .stat-float { display: none; }
  .hero-img-wrap {
    aspect-ratio: 16/10;   /* shorter, lighter on mobile */
    max-height: 300px;
  }
  .opp-grid { grid-template-columns: 1fr; }
  .opp-col:first-child { display: none; }
  .sys-layout { grid-template-columns: 1fr; }
  .sys-left { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .proc-track { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .proc-line { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
}

/* ══ TABLET / MOBILE ══ */
@media (max-width: 768px) {
  /* Prevent ANY horizontal overflow globally */
  html, body { max-width: 100%; overflow-x: hidden; }

  .nav-desk, .hdr-right .btn-lime { display: none; }
  .burger { display: flex; }

  /* Hero: compact, readable, contained */
  #hero {
    min-height: auto;                  /* never force full viewport height */
    padding-top: var(--hdr-h);
  }
  .hero-inner {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    gap: 1.5rem;
  }
  .hero-pill {
    margin-bottom: 1.25rem;
    font-size: .6rem;
    padding: .35rem .85rem .35rem .55rem;
  }
  .hero-h1 {
    /* clamp keeps it readable & never clipped */
    font-size: clamp(2rem, 8.5vw, 2.9rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .h1-accent { flex-wrap: wrap; }
  .hero-sub {
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: .85rem;
  }
  .hero-micro {
    font-size: .8rem;
    margin-bottom: 1.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: .65rem;
    margin-bottom: 1.5rem;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { font-size: .65rem; line-height: 1.5; }

  /* Section rhythm: tighter, intentional — no giant empty air */
  .section-light, .section-dark, .section-lime, .section-contact {
    padding-block: clamp(2.75rem, 8vw, 3.5rem);
  }
  .section-header { margin-bottom: 1.75rem; }
  .section-header h2, .section-header h2.light {
    font-size: clamp(1.6rem, 6.5vw, 2.1rem);
    line-height: 1.15;
  }

  /* Industry cards */
  .why-grid { grid-template-columns: 1fr; gap: .85rem; }
  .why-card { padding: var(--sp-6); }
  .proc-track { grid-template-columns: 1fr; gap: var(--sp-6); }

  /* Credibility strip: compact stacked */
  .cred-strip {
    grid-template-columns: 1fr; padding: var(--sp-6);
    gap: var(--sp-5);
  }
  .cred-sep { display: none; }
  .cred-item { text-align: left; display: flex; flex-direction: column; }

  /* Forms stack */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: var(--sp-4); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer-nav { grid-template-columns: 1fr 1fr; }

  /* Opportunity block tighter */
  .opp-lead { font-size: var(--t-md); margin-bottom: var(--sp-5); }
  .opp-checks { gap: var(--sp-4); margin-bottom: var(--sp-6); }
  .opp-quote { padding: var(--sp-5); margin-bottom: var(--sp-6); }

  /* System items tighter — hide the long detail paragraph on mobile,
     the module title alone communicates the system. Lighter to read. */
  .sys-item { padding: var(--sp-5) 0; gap: var(--sp-4); }
  .sys-body p { display: none; }

  /* Why It Works — hide the detail paragraph on mobile, keep the punchy
     heading. Cuts a large block of repetitive text. */
  .why-card p { display: none; }
  .why-card { padding: var(--sp-5); }
  .why-icon { margin-bottom: var(--sp-3); }

  /* Process — hide step detail paragraph on mobile, keep step title + badge */
  .proc-content p { display: none; }

  /* CTA bands stack cleanly */
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .cta-band-btn { width: 100%; justify-content: center; }
  .cta-band { padding: 2rem 0; }

  /* Ticker slightly smaller */
  .ticker-track span { font-size: .65rem; }

  /* SHOW floating CTA on mobile */
  .floating-cta { display: inline-flex; }

  /* Contact section: add breathing room at bottom so floating CTA doesn't overlap footer awkwardly */
  .section-contact { padding-bottom: clamp(3rem, 10vw, 4rem); }
}

/* ══ SMALL PHONES ══ */
@media (max-width: 430px) {
  .wrap { padding-inline: 1.15rem; }
  .hero-h1 { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .brand-text { font-size: .85rem; }
  .logo-name span { font-size: .58rem; }
  .section-header h2, .section-header h2.light { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .cta-band-hook { font-size: var(--t-md); }
  .form-wrap { padding: 1.35rem; }
  .floating-cta { right: .85rem; padding: .8rem 1.2rem; font-size: .8rem; }
}

/* Hide floating CTA once the contact form is in view (avoid overlap) */
@media (min-width: 769px) {
  .floating-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [class*="reveal-"] { opacity: 1; transform: none; }
}
