/* ============================================================
   ENVASIFY — Design System v2
   Design language: Neozic.com  ·  Brand identity: Envasify
   ============================================================ */

/* 1. TOKENS
--------------------------------------------------------------- */
:root {
  /* Colors — OKLCH for perceptual uniformity */
  --c-ink:      oklch(13.5% 0.038 240);   /* #0A1628  near-black navy   */
  --c-ink-mid:  oklch(19%   0.040 240);   /* #112035  mid navy          */
  --c-neon:     oklch(80%   0.190 165);   /* #00C98A  teal neon         */
  --c-neon-dim: oklch(70%   0.165 165);   /* #00A876  teal hover        */
  --c-blue:     oklch(67%   0.155 262);   /* #4B80FF  periwinkle        */
  --c-pale:     oklch(97%   0.012 238);   /* #EAF3FF  light blue bg     */
  --c-cream:    oklch(99%   0.004 238);   /* #F8FAFF  off-white         */
  --c-muted:    oklch(52%   0.018 240);   /* #606E82  muted gray-blue   */
  --c-border:   oklch(90%   0.009 240);   /* #D6E2ED  light border      */
  --c-on-ink:   oklch(95%   0.006 238);   /* #EEF4FB  text on dark bg   */

  /* Typography */
  --f-display: 'Inter Tight', 'Inter', sans-serif;
  --f-body:    'Inter', sans-serif;

  /* Type scale — fluid via clamp */
  --t-xs:    clamp(0.7rem,   0.65rem  + 0.20vw,  0.80rem);
  --t-sm:    clamp(0.875rem, 0.82rem  + 0.25vw,  1.00rem);
  --t-base:  clamp(1rem,     0.95rem  + 0.25vw,  1.125rem);
  --t-lg:    clamp(1.125rem, 1.00rem  + 0.50vw,  1.375rem);
  --t-xl:    clamp(1.375rem, 1.10rem  + 1.20vw,  2.00rem);
  --t-2xl:   clamp(1.75rem,  1.20rem  + 2.50vw,  3.25rem);
  --t-3xl:   clamp(2.5rem,   1.50rem  + 5.00vw,  5.5rem);
  --t-hero:  clamp(3.25rem,  1.50rem  + 8.00vw,  8.5rem);

  /* Layout */
  --max-w:      1600px;
  --gutter:     clamp(20px, 4vw, 48px);
  --section-v:  clamp(80px, 12vw, 160px);
  --radius:     8px;
  --radius-lg:  16px;
  --header-h:   84px;

  /* Easing — from Neozic analysis */
  --ease-out:   cubic-bezier(0.16, 1, 0.30, 1);
  --ease-link:  cubic-bezier(0.20, 0.75, 0.50, 1);
  --ease-panel: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-std:   cubic-bezier(0.25, 1, 0.33, 1);
}

/* 2. RESET
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: 0; background: none; font: inherit; }

/* 3. LAYOUT UTILITIES
--------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-kicker {
  display: inline-block;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 20px;
}

/* 4. BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  padding: 12px 24px;
  transition:
    background-color .25s var(--ease-std),
    color .25s var(--ease-std),
    border-color .25s var(--ease-std),
    transform .2s var(--ease-out),
    box-shadow .25s var(--ease-std);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-neon {
  background: var(--c-neon);
  color: var(--c-ink);
}
.btn-neon:hover { background: var(--c-neon-dim); }

.btn-dark {
  background: var(--c-ink);
  color: var(--c-on-ink);
}
.btn-dark:hover { background: var(--c-ink-mid); }

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-ink);
  background: var(--c-pale);
}

.btn-ghost-light {
  background: transparent;
  color: oklch(95% 0.006 238 / 0.75);
  border: 1.5px solid oklch(100% 0 0 / 0.22);
}
.btn-ghost-light:hover {
  color: var(--c-on-ink);
  border-color: oklch(100% 0 0 / 0.55);
  background: oklch(100% 0 0 / 0.04);
}

.btn-outline-light {
  background: transparent;
  color: oklch(95% 0.006 238 / 0.75);
  border: 1.5px solid oklch(100% 0 0 / 0.28);
}
.btn-outline-light:hover {
  color: var(--c-on-ink);
  border-color: oklch(100% 0 0 / 0.6);
  background: oklch(100% 0 0 / 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover {
  color: var(--c-ink);
  border-color: oklch(13.5% 0.038 240 / 0.35);
}

.btn-lg { padding: 16px 32px; font-size: var(--t-base); }

/* 5. HEADER
--------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition:
    background-color .3s ease,
    box-shadow .3s ease;
}
/* Header SIEMPRE transparente. El logo, el menú y los botones adaptan su color
   a la sección que tienen detrás (clara u oscura), igual que Neozic.
   JS alterna la clase .is-dark cuando el header pasa sobre una sección oscura. */

.header-logo img { height: 52px; width: auto; transition: opacity .3s ease; }
/* Por defecto (sobre sección clara) → logo navy */
.logo-white { display: none; }
.logo-dark  { display: block; }
/* Sobre sección oscura → logo blanco */
.site-header.is-dark .logo-white { display: block; }
.site-header.is-dark .logo-dark  { display: none; }

.header-nav ul {
  display: flex;
  gap: 32px;
}
.header-nav a {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: oklch(13.5% 0.038 240 / 0.62);
  padding-bottom: 3px;
  background-image: linear-gradient(to right, var(--c-neon), var(--c-neon));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left bottom 0;
  transition:
    color .25s ease,
    background-size .45s var(--ease-link);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--c-ink);
  background-size: 100% 1px;
}
.site-header.is-dark .header-nav a { color: oklch(95% 0.006 238 / 0.72); }
.site-header.is-dark .header-nav a:hover,
.site-header.is-dark .header-nav a.active { color: var(--c-on-ink); }

/* Botón fantasma (Acceder) — adapta a claro/oscuro */
.site-header .btn-ghost-light {
  color: oklch(13.5% 0.038 240 / 0.78);
  border-color: oklch(13.5% 0.038 240 / 0.22);
  transition: color .25s ease, border-color .25s ease, background-color .2s ease;
}
.site-header .btn-ghost-light:hover {
  color: var(--c-ink);
  border-color: oklch(13.5% 0.038 240 / 0.5);
  background: oklch(13.5% 0.038 240 / 0.05);
}
.site-header.is-dark .btn-ghost-light {
  color: oklch(95% 0.006 238 / 0.78);
  border-color: oklch(100% 0 0 / 0.24);
}
.site-header.is-dark .btn-ghost-light:hover {
  color: var(--c-on-ink);
  border-color: oklch(100% 0 0 / 0.55);
  background: oklch(100% 0 0 / 0.05);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s, background-color .25s ease;
}
.site-header.is-dark .hamburger span { background: var(--c-on-ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. MOBILE NAV
--------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  z-index: 99;
  padding: var(--header-h) var(--gutter) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .45s var(--ease-panel);
}
.mobile-nav.open { transform: none; }
.mobile-nav a {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  color: var(--c-on-ink);
  padding-block: 12px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  display: block;
  transition: color .2s ease;
}
.mobile-nav a:hover { color: var(--c-neon); }
.mobile-nav-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-actions .btn { width: 100%; justify-content: center; }

/* 7. HERO
--------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-ink);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}
.hero-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hexagonos01.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  mix-blend-mode: overlay;
}
/* Doble capa: oscurecido inferior para legibilidad + tinte navy que coloriza el vídeo hacia la marca */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      to bottom,
      oklch(13.5% 0.038 240 / 0.35) 0%,
      oklch(13.5% 0.038 240 / 0.55) 55%,
      oklch(13.5% 0.038 240 / 0.88) 100%
    ),
    radial-gradient(
      120% 80% at 18% 28%,
      oklch(13.5% 0.038 240 / 0) 0%,
      oklch(13.5% 0.038 240 / 0.5) 100%
    );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(60px, 10vw, 120px) clamp(100px, 16vw, 200px);
  max-width: 1100px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 32px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--c-neon);
}
.hero-headline {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-on-ink);
  margin-bottom: 36px;
}
.hero-headline em {
  font-style: normal;
  color: var(--c-neon);
}
.hero-lead {
  font-size: var(--t-lg);
  line-height: 1.65;
  color: oklch(95% 0.006 238 / 0.60);
  max-width: 580px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: oklch(95% 0.006 238 / 0.35);
}
.hero-trust span:not(:first-child)::before {
  content: '·';
  margin-right: 20px;
}
.hero-trust span:not(:first-child) { margin-left: -20px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(95% 0.006 238 / 0.28);
}
.scroll-bar {
  width: 48px;
  height: 2px;
  background: oklch(95% 0.006 238 / 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.scroll-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  background: var(--c-neon);
  border-radius: 1px;
  animation: scan 2.2s var(--ease-std) infinite;
}
@keyframes scan {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* 8. MARQUEE
--------------------------------------------------------------- */
.marquee-band {
  background: var(--c-neon);
  overflow: hidden;
  padding-block: 13px;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-inline: 20px;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.marquee-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: oklch(13.5% 0.038 240 / 0.35);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 9. INTRO STATEMENT
--------------------------------------------------------------- */
.intro {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.intro-inner {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 40px;
  align-items: start;
}
.intro-arrow {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 300;
  color: var(--c-neon);
  line-height: 1.15;
  padding-top: 4px;
}
.intro-statement {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  max-width: 960px;
}
.intro-statement em {
  font-style: italic;
  color: var(--c-muted);
}

/* 10. PROCESS — SCROLL HORIZONTAL CON PIN (full-bleed, estilo Neozic)
--------------------------------------------------------------- */
.hscroll {
  position: relative;
  /* la altura total la fija main.js = viewport + distancia horizontal */
}
.hscroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.hscroll-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

/* Cada panel ocupa la pantalla completa */
.hpanel {
  flex: 0 0 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding:
    calc(var(--header-h) + clamp(24px, 5vh, 52px))
    clamp(32px, 6vw, 120px)
    clamp(48px, 8vh, 88px);
}

.hpanel-text { max-width: 560px; }
.hpanel-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: clamp(14px, 3vh, 30px);
}
.hpanel-text h3 {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
}
.hpanel-text p {
  font-size: var(--t-lg);
  line-height: 1.6;
}
/* Las capturas se muestran completas (contain): se adaptan a su propio
   ancho/alto sin recortar, enmarcadas como pantallazos flotantes. */
.hpanel-visual {
  height: min(74vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hpanel-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 80px -34px oklch(13.5% 0.038 240 / 0.55);
  border: 1px solid oklch(13.5% 0.038 240 / 0.10);
}

/* Panel intro (título de la sección) */
.hpanel--intro {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}
.hpanel-intro { max-width: 920px; }
.hpanel-intro-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--c-on-ink);
  margin: 16px 0 24px;
}
.hpanel-intro-title em { font-style: italic; color: var(--c-neon); }
.hpanel-intro-sub {
  font-size: var(--t-lg);
  line-height: 1.6;
  color: oklch(95% 0.006 238 / 0.66);
  max-width: 660px;
  margin: 0 auto 36px;
}
.hpanel-intro-hint {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
}

/* Temas de color por panel — contraste fuerte entre vecinos (claro/oscuro) */
.hpanel--ink   { background: var(--c-ink);  color: var(--c-on-ink); }
.hpanel--ink   .hpanel-num    { color: var(--c-neon); }
.hpanel--ink   .hpanel-text h3 { color: var(--c-on-ink); }
.hpanel--ink   .hpanel-text p  { color: oklch(95% 0.006 238 / 0.66); }

.hpanel--neon  { background: var(--c-neon); color: var(--c-ink); }
.hpanel--neon  .hpanel-num    { color: var(--c-ink); }
.hpanel--neon  .hpanel-text h3 { color: var(--c-ink); }
.hpanel--neon  .hpanel-text p  { color: oklch(13.5% 0.038 240 / 0.80); }

.hpanel--blue  { background: var(--c-blue); color: var(--c-ink); }
.hpanel--blue  .hpanel-num    { color: oklch(100% 0 0 / 0.92); }
.hpanel--blue  .hpanel-text h3 { color: var(--c-ink); }
.hpanel--blue  .hpanel-text p  { color: oklch(13.5% 0.038 240 / 0.82); }

.hpanel--cream { background: var(--c-cream); color: var(--c-ink); }
.hpanel--cream .hpanel-num    { color: var(--c-border); }
.hpanel--cream .hpanel-text h3 { color: var(--c-ink); }
.hpanel--cream .hpanel-text p  { color: var(--c-muted); }

/* Barra de progreso (overlay inferior) */
.hscroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: oklch(50% 0 0 / 0.18);
  z-index: 5;
}
.hscroll-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--c-neon);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Fallback móvil/tablet: sin pin, paneles apilados en vertical */
@media (max-width: 860px) {
  .hscroll { height: auto !important; }
  .hscroll-pin { position: static; height: auto; overflow: visible; }
  .hscroll-track { flex-direction: column; transform: none !important; height: auto; }
  .hpanel {
    flex: none;
    width: 100%;
    min-height: 88vh;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: calc(var(--header-h) + 32px) var(--gutter) 56px;
  }
  .hpanel--intro { min-height: 56vh; }
  .hpanel-visual { height: auto; }
  .hpanel-visual img { max-height: 56vh; }
  .hscroll-progress { display: none; }
}

/* 11. PROOF BAND
--------------------------------------------------------------- */
.proof-band {
  position: relative;
  padding-block: clamp(80px, 14vw, 200px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
@supports (-webkit-touch-callout: none) {
  .proof-band { background-attachment: scroll; }
}
.proof-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: oklch(13.5% 0.038 240 / 0.84);
}
.proof-band .container { position: relative; z-index: 1; }
.proof-quote {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.027em;
  color: var(--c-on-ink);
  max-width: 1100px;
}
.proof-quote strong { color: var(--c-neon); font-weight: 600; }

/* 12. AUDIENCE
--------------------------------------------------------------- */
.audience {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.audience-header { margin-bottom: 72px; }
.audience-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.027em;
  color: var(--c-ink);
  max-width: 700px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--c-pale);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    transform .3s var(--ease-out),
    box-shadow .3s var(--ease-out);
}
.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px oklch(13.5% 0.038 240 / 0.07);
}
.audience-card.featured {
  background: var(--c-ink);
  border-color: transparent;
}
.audience-card-num {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.audience-card.featured .audience-card-num { color: var(--c-neon); }
.audience-card h3 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  line-height: 1.2;
}
.audience-card.featured h3 { color: var(--c-on-ink); }
.audience-card p {
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--c-muted);
  flex: 1;
}
.audience-card.featured p { color: oklch(95% 0.006 238 / 0.55); }
.audience-features { display: flex; flex-direction: column; gap: 11px; }
.audience-features li {
  font-size: var(--t-sm);
  color: var(--c-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.audience-features li::before {
  content: '→';
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-neon);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85em;
}
.audience-card.featured .audience-features li { color: oklch(95% 0.006 238 / 0.6); }

/* 13. STATS
--------------------------------------------------------------- */
.stats {
  background: var(--c-ink);
  padding-block: var(--section-v);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 48px 40px;
  border-right: 1px solid oklch(100% 0 0 / 0.07);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--c-neon);
  line-height: 1;
  margin-bottom: 16px;
}
.stat-label {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: oklch(95% 0.006 238 / 0.45);
  max-width: 220px;
}

/* 14. PRICING
--------------------------------------------------------------- */
.pricing {
  padding-block: var(--section-v);
  background: var(--c-pale);
}
.pricing-header { margin-bottom: 72px; }
.pricing-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.027em;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.pricing-subtitle {
  font-size: var(--t-lg);
  color: var(--c-muted);
  max-width: 540px;
  line-height: 1.6;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-card.featured {
  background: var(--c-ink);
  border-color: transparent;
  padding: 52px 32px 40px;
  box-shadow: 0 32px 80px oklch(13.5% 0.038 240 / 0.22);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--c-neon);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.plan-name {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.featured .plan-name { color: oklch(95% 0.006 238 / 0.55); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}
.featured .plan-price { border-color: oklch(100% 0 0 / 0.08); }
.plan-amount {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
}
.featured .plan-amount { color: var(--c-on-ink); }
.plan-period {
  font-size: var(--t-sm);
  color: var(--c-muted);
}
.featured .plan-period { color: oklch(95% 0.006 238 / 0.45); }

.plan-desc {
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--c-muted);
}
.featured .plan-desc { color: oklch(95% 0.006 238 / 0.50); }

.plan-features { display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan-features li {
  font-size: var(--t-sm);
  color: var(--c-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.plan-features li::before {
  content: '✓';
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-neon);
  flex-shrink: 0;
  font-size: 0.8em;
  margin-top: 2px;
}
.featured .plan-features li { color: oklch(95% 0.006 238 / 0.65); }
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; justify-content: center; }

/* 15. TESTIMONIALS
--------------------------------------------------------------- */
.testimonials {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.testimonials-header { margin-bottom: 72px; }
.testimonials-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.027em;
  color: var(--c-ink);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.testimonial {
  background: var(--c-pale);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial.large { background: var(--c-ink); border-color: transparent; }

.testimonial-quote {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  flex: 1;
}
.testimonial.large .testimonial-quote { color: var(--c-on-ink); font-size: var(--t-xl); }
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--c-neon);
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.testimonial.large .testimonial-author { border-color: oklch(100% 0 0 / 0.08); }
.author-name {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
}
.testimonial.large .author-name { color: var(--c-on-ink); }
.author-role {
  font-size: var(--t-xs);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
.testimonial.large .author-role { color: oklch(95% 0.006 238 / 0.45); }

/* 16. FAQ
--------------------------------------------------------------- */
.faq {
  padding-block: var(--section-v);
  background: var(--c-pale);
}
.faq-header { margin-bottom: 60px; }
.faq-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.027em;
  color: var(--c-ink);
  max-width: 680px;
}
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq-subtitle {
  font-family: var(--f-display);
  font-size: var(--t-base);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 420px;
}
.faq-contact-block {
  background: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.faq-contact-block p {
  font-size: var(--t-base);
  color: oklch(95% 0.006 238 / 0.55);
  line-height: 1.6;
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-align: left;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--c-blue); }
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
  transition:
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .3s var(--ease-out);
}
.faq-item.open .faq-icon {
  background: var(--c-neon);
  border-color: var(--c-neon);
  color: var(--c-ink);
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease-out);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-body { overflow: hidden; }
.faq-answer-body p {
  padding-bottom: 26px;
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--c-muted);
}

/* 17. CTA BAND
--------------------------------------------------------------- */
.cta-band {
  background: var(--c-ink);
  padding-block: var(--section-v);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-texture {
  position: absolute;
  inset: 0;
  background-image: url('../img/relieve04.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.027em;
  color: var(--c-on-ink);
  max-width: 840px;
  margin: 0 auto 20px;
}
.cta-band-title em {
  font-style: normal;
  color: var(--c-neon);
}
.cta-band-sub {
  font-size: var(--t-lg);
  color: oklch(95% 0.006 238 / 0.48);
  max-width: 460px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.cta-band-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 18. FOOTER
--------------------------------------------------------------- */
.footer {
  background: oklch(10% 0.030 240);
  padding-block: 80px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.06);
  margin-bottom: 40px;
}
.footer-brand img { height: 24px; margin-bottom: 20px; }
.footer-brand p {
  font-size: var(--t-sm);
  line-height: 1.65;
  color: oklch(95% 0.006 238 / 0.38);
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: oklch(95% 0.006 238 / 0.45);
  padding: 7px 14px;
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: var(--radius);
  transition: color .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  color: var(--c-on-ink);
  border-color: oklch(100% 0 0 / 0.4);
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(95% 0.006 238 / 0.55);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a {
  font-size: var(--t-sm);
  color: oklch(95% 0.006 238 / 0.38);
  transition: color .2s ease;
  line-height: 1.3;
}
.footer-col a:hover { color: var(--c-on-ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: var(--t-xs);
  color: oklch(95% 0.006 238 / 0.28);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: var(--t-xs);
  color: oklch(95% 0.006 238 / 0.28);
  transition: color .2s ease;
}
.footer-legal a:hover { color: oklch(95% 0.006 238 / 0.65); }

/* 19. PAGE HERO (inner pages)
--------------------------------------------------------------- */
.page-hero {
  background: var(--c-ink);
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}
.page-hero-texture {
  position: absolute;
  inset: 0;
  background-image: url('../img/hexagonos01.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-kicker { color: oklch(95% 0.006 238 / 0.50); }
.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 1.50rem + 5.50vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.02;
  color: var(--c-on-ink);
  max-width: 900px;
  margin-bottom: 24px;
}
.page-hero-title em { font-style: normal; color: var(--c-neon); }
.page-hero-sub {
  font-size: var(--t-lg);
  line-height: 1.65;
  color: oklch(95% 0.006 238 / 0.50);
  max-width: 580px;
  margin-bottom: 40px;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Feature rows (funcionalidades) */
.features-section {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-block: 80px;
  border-bottom: 1px solid var(--c-border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-num {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--c-border);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-neon);
  background: oklch(80% 0.190 165 / 0.10);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.feature-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-ink);
  margin-bottom: 18px;
}
.feature-body {
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: var(--t-sm);
  color: var(--c-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.feature-list li::before {
  content: '→';
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-neon);
  flex-shrink: 0;
}
.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-pale);
  border: 1px solid var(--c-border);
  aspect-ratio: 16/10;
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  color: var(--c-muted);
  font-weight: 500;
  background: var(--c-pale);
  min-height: 280px;
}

/* Integration logos band */
.integrations-band {
  background: var(--c-pale);
  padding-block: 80px;
  border-top: 1px solid var(--c-border);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.integration-card {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.integration-name {
  font-family: var(--f-display);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-ink);
}
.integration-desc {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.5;
}

/* Checker (obligacion) */
.checker-section {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.checker-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.checker-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
}
.checker-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--c-muted);
  flex-shrink: 0;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.checker-step-dot.active {
  background: var(--c-neon);
  border-color: var(--c-neon);
  color: var(--c-ink);
}
.checker-step-dot.done {
  background: oklch(80% 0.190 165 / 0.15);
  border-color: var(--c-neon);
  color: var(--c-neon);
}
.checker-step-line {
  flex: 1;
  height: 1px;
  background: var(--c-border);
}
.checker-card {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
.checker-step-label {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-neon);
  margin-bottom: 16px;
}
.checker-question {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.checker-hint {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}
.checker-options { display: flex; flex-direction: column; gap: 14px; }
.checker-btn {
  background: var(--c-pale);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.checker-btn:hover {
  border-color: var(--c-neon);
  background: oklch(80% 0.190 165 / 0.06);
}
.checker-btn-arrow {
  font-size: 1.1em;
  color: var(--c-neon);
  flex-shrink: 0;
}

.checker-result {
  display: none;
}
.checker-result.active { display: block; }
.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
}
.result-icon.positive { background: oklch(80% 0.190 165 / 0.15); color: var(--c-neon); }
.result-icon.negative { background: oklch(67% 0.155 262 / 0.12); color: var(--c-blue); }
.result-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.result-body {
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 32px;
  max-width: 520px;
}
.result-restart {
  font-size: var(--t-sm);
  color: var(--c-muted);
  margin-top: 24px;
}
.result-restart a { color: var(--c-blue); text-decoration: underline; cursor: pointer; }

/* Contact form */
.contact-section {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.contact-info-body {
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: oklch(80% 0.190 165 / 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--c-neon);
}
.contact-detail-info strong {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 2px;
}
.contact-detail-info span {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.5;
}
.contact-form-wrap {
  background: var(--c-pale);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-group label span { color: var(--c-neon); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--c-cream);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--c-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-neon);
  box-shadow: 0 0 0 3px oklch(80% 0.190 165 / 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23697688' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.active { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: oklch(80% 0.190 165 / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--c-neon);
  margin: 0 auto 20px;
}
.form-success-title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.form-success-body { font-size: var(--t-base); color: var(--c-muted); line-height: 1.65; }

/* Pricing page extras */
.pricing-page .pricing { padding-top: 0; }
.compare-section {
  padding-block: var(--section-v);
  background: var(--c-cream);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 56px;
}
.compare-table th {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.compare-table th:first-child { text-align: left; }
.compare-table th.featured-col { color: var(--c-neon); }
.compare-table td {
  padding: 16px 20px;
  font-size: var(--t-sm);
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child {
  text-align: left;
  color: var(--c-ink);
  font-weight: 500;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--c-neon); font-size: 1.1em; font-weight: 700; }
.compare-table .dash { color: var(--c-border); }
.compare-table .featured-col { background: oklch(13.5% 0.038 240 / 0.04); }
.compare-section-label td:first-child {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-neon);
  padding-top: 28px;
  border-bottom: none;
}
.compare-section-label td { border-bottom: none; }

/* FAQ page extras */
.faq-page .faq { padding-top: 0; }
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.faq-cat-btn {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-muted);
  border: 1.5px solid var(--c-border);
  border-radius: 24px;
  padding: 7px 18px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.faq-cat-btn:hover,
.faq-cat-btn.active {
  color: var(--c-ink);
  border-color: var(--c-neon);
  background: oklch(80% 0.190 165 / 0.08);
}

/* Responsive additions */
@media (max-width: 960px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .integrations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .checker-card { padding: 36px 28px; }
  .contact-form-wrap { padding: 32px 24px; }
  .page-hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 64px; }
}
@media (max-width: 480px) {
  .integrations-grid { grid-template-columns: 1fr; }
  .feature-row { padding-block: 48px; }
}

/* 20-B. SCROLL REVEALS
--------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s var(--ease-out),
    transform .75s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .10s; }
[data-delay="2"] { transition-delay: .20s; }
[data-delay="3"] { transition-delay: .30s; }
[data-delay="4"] { transition-delay: .40s; }
[data-delay="5"] { transition-delay: .50s; }

/* 20. RESPONSIVE (original)
--------------------------------------------------------------- */
@media (max-width: 1280px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  }
  .stat:nth-child(even)      { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonial.large { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-card:last-child { grid-column: 1 / -1; }

  .faq-cols { grid-template-columns: 1fr; gap: 0; }
  .faq-contact-block { display: none; }
}
@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .hamburger { display: flex; }

  .audience-grid { grid-template-columns: 1fr; }
  .audience-card:last-child { grid-column: auto; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial.large { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .intro-inner  { grid-template-columns: 1fr; }
  .intro-arrow  { display: none; }
  .proof-band   { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid oklch(100% 0 0 / 0.07); }
  .stat:last-child { border-bottom: none; }
}

/* ============================================================
   PÁGINAS NUEVAS: legal/prosa · documentos · blog · sobre
============================================================ */

/* --- Prosa (páginas legales y cuerpo de artículo) --- */
.prose-section { padding-block: clamp(56px, 8vw, 96px); background: var(--c-cream); }
.legal-prose {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.legal-prose h2 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.2;
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.legal-prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-prose h3 {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--c-ink);
  margin: 28px 0 10px;
}
.legal-prose p {
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.legal-prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.legal-prose li {
  position: relative;
  padding-left: 26px;
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.legal-prose li::before {
  content: '';
  position: absolute;
  left: 4px; top: 12px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c-neon);
}
.legal-prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose strong { color: var(--c-ink); font-weight: 600; }
.legal-prose .legal-updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  font-size: var(--t-sm);
  color: var(--c-muted);
}

/* --- Documentos: tarjetas de descarga --- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.doc-card:hover {
  border-color: var(--c-neon);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -30px oklch(13.5% 0.038 240 / 0.4);
}
.doc-card-tag {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
}
.doc-card h3 {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  line-height: 1.2;
}
.doc-card p { font-size: var(--t-sm); line-height: 1.65; color: var(--c-muted); flex: 1; }
.doc-card .btn { align-self: flex-start; margin-top: 8px; }

/* --- Blog: índice de artículos --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-cream);
  transition: border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.article-card:hover {
  border-color: var(--c-neon);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -34px oklch(13.5% 0.038 240 / 0.45);
}
.article-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-ink); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card-tag {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-neon);
}
.article-card h3 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.2;
}
.article-card p { font-size: var(--t-sm); line-height: 1.65; color: var(--c-muted); flex: 1; }
.article-card-link {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-ink);
  display: inline-flex;
  gap: 8px;
}

/* --- Artículo: cabecera meta + cuerpo --- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: oklch(95% 0.006 238 / 0.45);
  margin-top: 20px;
}
.article-meta span:not(:first-child)::before { content: '·'; margin-right: 20px; }

/* --- Sobre: fundador --- */
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  background: var(--c-ink);
  border-radius: var(--radius-lg);
  color: var(--c-on-ink);
}
.founder-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-ink-mid);
}
.founder-card h3 { font-family: var(--f-display); font-size: var(--t-xl); font-weight: 600; color: var(--c-on-ink); margin-bottom: 4px; }
.founder-card .founder-role { font-family: var(--f-display); font-size: var(--t-sm); font-weight: 500; color: var(--c-neon); margin-bottom: 18px; }
.founder-card p { font-size: var(--t-base); line-height: 1.7; color: oklch(95% 0.006 238 / 0.66); margin-bottom: 14px; }

@media (max-width: 720px) {
  .founder-card { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .founder-photo { margin-inline: auto; width: 150px; height: 150px; }
}

/* ===================================================================
   ENVASIFY · Ajustes para WordPress / Elementor (full-bleed)
   Quita la franja blanca, hero/vídeo a todo el ancho, header full-width.
   =================================================================== */

/* Sin márgenes del documento */
html, body { margin: 0 !important; padding: 0 !important; }

/* Header SIEMPRE transparente: gana a cualquier fondo claro que pinte el tema
   Hello Elementor o el plugin de cabecera. Sin esto el header sale con franja blanca. */
#site-header,
.site-header,
.uael-header,
.elementor-location-header,
.elementor-location-header > div,
.elementor-location-header .elementor-section,
.elementor-location-header .e-con {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Header a todo el ancho + layout en UNA línea (logo izq. / menú centro / botón dcha.).
   El tema Hello Elementor inyecta sobre #site-header y .header-inner un max-width:1140px,
   margin:auto y flex-wrap:wrap que encajonan el header y parten el menú en varias líneas.
   Hay que neutralizarlo con !important. */
#site-header.site-header {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex-wrap: nowrap !important;
}
.site-header .header-inner {
  width: 100%;
  max-width: var(--max-w) !important;   /* 1600px, centrado por margin-inline:auto */
  margin-inline: auto;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: 24px;
}
.site-header .header-nav  { flex: 0 1 auto; min-width: 0; }
.site-header .header-logo { flex: 0 0 auto; }

/* Wrapper de contenido de Hello Elementor sin caja ni padding */
.site-main,
main.site-main,
.page-content,
.ast-container,
.entry-content { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }

/* Contenedores de Elementor a sangre (secciones y contenedores nuevos) */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con { max-width: 100% !important; }

/* Quitar el padding por defecto de la PRIMERA sección/contenedor
   (la franja blanca de arriba) */
.site-main > .elementor > .elementor-section:first-child,
.site-main > .elementor > .e-con:first-child,
.elementor > .elementor-section:first-child,
.elementor > .e-con:first-child { padding-top: 0 !important; margin-top: 0 !important; }

/* El widget HTML no debe añadir espacios */
.elementor-widget-html { margin: 0 !important; }
.elementor-widget-html .hero { margin: 0; }

/* El vídeo, la textura y el degradado del hero deben llenar TODO el hero.
   Sin esto, Elementor/el tema aplican `video{max-width:100%;height:auto}` y el
   vídeo se queda a su tamaño natural pegado arriba-izquierda (se ve desplazado). */
.hero { width: 100% !important; }
.hero .hero-video,
.hero .hero-texture,
.hero .hero-gradient {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  transform: none !important;   /* anula el translate(-50%,-50%) externo que lo desplazaba */
}
.hero .hero-video { object-fit: cover !important; }

/* Contenedores full-width de Elementor (footer y secciones a sangre): Elementor les
   mete 10px de padding lateral que, sobre el body blanco, deja dos franjas blancas a
   los lados. Lo quitamos para que el footer/secciones lleguen de borde a borde.
   El espaciado interno ya lo da .container/.footer-inner, así que el contenido no se pega. */
.e-con-full {
  --padding-left: 0px !important;
  --padding-right: 0px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
