/* ==========================================================================
   EMITTO · Sistema de diseño del sitio corporativo
   Marca: Poppins · azul noche #0B1F3B · azul #007BFF · azul claro #00C6FF · verde #22C55E
   Diseño deliberadamente de un solo mundo (claro, con secciones oscuras de ritmo).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Tinta y fondos (neutros con sesgo frío, elegidos a propósito) */
  --ink: #0B1F3B;          /* azul noche — títulos */
  --ink-2: #33435C;        /* cuerpo */
  --ink-3: #5A6B85;        /* secundario / leyendas */
  --paper: #F6F9FD;        /* fondo general, blanco frío */
  --surface: #FFFFFF;      /* tarjetas */
  --surface-2: #EEF4FC;    /* relleno suave */
  --line: #E1E9F4;         /* bordes hairline */
  --line-2: #D2DEEE;

  /* Acentos de marca */
  --azul: #007BFF;
  --azul-600: #0066D6;
  --azul-700: #0A4FB0;
  --azul-claro: #00C6FF;
  --azul-cl: #E8F2FF;      /* tinte azul muy claro */
  --azul-brillo: #E6F9FF;
  --verde: #22C55E;
  --verde-600: #16A34A;
  --verde-cl: #E7F8EE;
  --ambar: #F59E0B;

  /* Superficies oscuras */
  --dark: #0B1F3B;
  --dark-2: #0A1A33;
  --dark-3: #122A4D;
  --on-dark: #EAF2FF;
  --on-dark-2: #9DB4D6;
  --dark-line: rgba(255,255,255,.12);

  /* Gradientes */
  --grad-marca: linear-gradient(120deg, #0A4FB0 0%, #007BFF 48%, #00C6FF 100%);
  --grad-marca-soft: linear-gradient(120deg, #0B57D0 0%, #0A8FFF 55%, #00C6FF 100%);
  --grad-hero: radial-gradient(1200px 600px at 78% -10%, rgba(0,198,255,.28), transparent 60%),
               radial-gradient(900px 500px at 8% 110%, rgba(34,197,94,.14), transparent 55%),
               linear-gradient(160deg, #0B1F3B 0%, #0A1E42 45%, #0A2E6B 100%);

  /* Sombras */
  --sh-sm: 0 1px 2px rgba(11,31,59,.06), 0 1px 1px rgba(11,31,59,.04);
  --sh-md: 0 6px 20px rgba(11,31,59,.08), 0 2px 6px rgba(11,31,59,.05);
  --sh-lg: 0 20px 50px rgba(11,31,59,.14), 0 6px 16px rgba(11,31,59,.08);
  --sh-azul: 0 14px 34px rgba(0,123,255,.28);

  /* Medidas */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 56px);
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink-2);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--azul-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--azul-700); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* Íconos (sprite <use>) */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.22em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.callout h4 .ic { width: 1.1em; height: 1.1em; vertical-align: -.15em; margin-right: 4px; }
.ic--fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Barra de aviso superior */
.topbar { background: var(--ink); color: var(--on-dark); font-size: .84rem; text-align: center; padding: 9px 16px; position: relative; z-index: 101; }
.topbar b { color: #fff; font-weight: 600; }
.topbar .sep { opacity: .4; margin: 0 10px; }
@media (max-width: 620px) { .topbar .hide-sm { display: none; } }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 620px) { .wa-float { width: 52px; height: 52px; } }

/* Pestañas selector de audiencia */
.aud-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.aud-tabs a { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; }
.aud-tabs a:hover { border-color: var(--azul); color: var(--azul-700); background: var(--azul-cl); transform: translateY(-2px); }
.aud-tabs a svg { width: 18px; height: 18px; color: var(--azul-600); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.1rem + 2.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
h4 { font-size: 1.14rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }

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

/* ---------- Utilidades de layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 8vw, 128px) 0; }
.section--tint { background: var(--surface-2); }
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--grad { background: var(--grad-hero); color: var(--on-dark); }
.section--grad h2, .section--grad h3 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 64ch; margin-inline: auto; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--ink-3); line-height: 1.6; }
.section--dark .lead, .section--grad .lead { color: var(--on-dark-2); }

/* Encabezado de sección */
.sec-head { max-width: 58ch; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head.center { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-marca); }
.eyebrow.center { justify-content: center; }
.section--dark .eyebrow, .section--grad .eyebrow { color: var(--azul-claro); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-marca); color: #fff; box-shadow: var(--sh-azul); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,123,255,.38); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--azul-700); border-color: var(--azul); background: var(--azul-cl); }
.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { color: var(--azul-700); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost-dark:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Enlace con flecha */
.arrow-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--azul-600); }
.arrow-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(246,249,253,.72); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); font-size: 1.32rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .97rem; padding: 9px 14px; border-radius: 10px; }
.nav a:hover { color: var(--azul-700); background: var(--azul-cl); }
.nav a.active { color: var(--azul-700); }

/* Dropdown de servicios */
.nav-item { position: relative; }
.nav-toggle-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ink-2); font-weight: 500; font-size: .97rem; padding: 9px 14px; border-radius: 10px; }
.nav-toggle-btn:hover { color: var(--azul-700); background: var(--azul-cl); }
.nav-toggle-btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav-item:hover .nav-toggle-btn svg, .nav-item:focus-within .nav-toggle-btn svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 10px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; align-items: flex-start; }
.dropdown a:hover { background: var(--azul-cl); }
.dropdown .di { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--azul-cl); color: var(--azul-600); }
.dropdown .di svg { width: 20px; height: 20px; }
.dropdown b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.dropdown span { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.nav-burger span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s var(--ease); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 92px)); padding-bottom: clamp(60px, 8vw, 120px); background: var(--grad-hero); color: var(--on-dark); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 120px; background: linear-gradient(to top, var(--paper), transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { background: linear-gradient(100deg, #00C6FF, #7CE2A8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #CFE0F7; margin-top: 22px; max-width: 54ch; }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 20px; color: var(--on-dark-2); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--verde); }

/* banner animado de fondo */
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(14px); opacity: .5; }
.orb.b1 { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(0,198,255,.6), transparent 70%); animation: float1 18s var(--ease) infinite; }
.orb.b2 { width: 320px; height: 320px; left: -60px; bottom: -80px; background: radial-gradient(circle at 50% 50%, rgba(34,197,94,.35), transparent 70%); animation: float2 22s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(-40px, 50px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(50px, -40px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* Tarjeta mock de factura en el hero */
.hero-visual { position: relative; }
.mock {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 22px; color: var(--ink-2);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform .5s var(--ease);
}
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.mock-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-top .m-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); }
.mock-top .m-brand img { width: 26px; height: 26px; }
.m-tag { font-size: .7rem; font-weight: 600; color: var(--verde-600); background: var(--verde-cl); padding: 5px 10px; border-radius: 999px; }
.mock-rows { margin: 16px 0; display: grid; gap: 10px; }
.m-row { display: flex; justify-content: space-between; font-size: .86rem; }
.m-row span:first-child { color: var(--ink-3); }
.m-row span:last-child { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.m-total { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1.5px dashed var(--line-2); }
.m-total .t-lbl { font-weight: 600; color: var(--ink); }
.m-total .t-val { font-size: 1.3rem; font-weight: 800; color: var(--azul-600); font-variant-numeric: tabular-nums; }
.m-cufe { margin-top: 14px; font-size: .64rem; color: var(--ink-3); word-break: break-all; background: var(--surface-2); padding: 8px 10px; border-radius: 8px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.mock-float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--sh-md); padding: 12px 15px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.mock-float .mf-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.mock-float.f1 { top: -22px; left: -26px; animation: bob 6s var(--ease) infinite; }
.mock-float.f2 { bottom: -18px; right: -22px; animation: bob 6s var(--ease) infinite .8s; }
.mf-ic.g { background: var(--grad-marca); } .mf-ic.v { background: linear-gradient(135deg, var(--verde), var(--verde-600)); }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } }

/* ---------- Franja de confianza (logos / sello DIAN) ---------- */
.trust-strip { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap; }
.trust-strip .tt { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.trust-logo { font-weight: 700; color: var(--ink-3); opacity: .72; font-size: 1.05rem; filter: grayscale(1); transition: .2s; }
.trust-logo:hover { opacity: 1; filter: none; }

/* ---------- Tarjetas de servicio ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px 30px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-marca); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--azul-cl); color: var(--azul-600); }
.svc-ic svg { width: 30px; height: 30px; }
.svc-ic.verde { background: var(--verde-cl); color: var(--verde-600); }
.svc-ic.noche { background: #E7EDF7; color: var(--ink); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-3); font-size: .98rem; margin-bottom: 18px; }
.service-card .svc-list { display: grid; gap: 9px; margin-bottom: 24px; }
.service-card .svc-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.service-card .svc-list svg { width: 18px; height: 18px; color: var(--verde-600); flex: none; margin-top: 2px; }
.service-card .arrow-link { margin-top: auto; }

/* ---------- Features / grid de íconos ---------- */
.feature { display: flex; flex-direction: column; gap: 12px; }
.feat-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--azul-cl); color: var(--azul-600); }
.feat-ic svg { width: 26px; height: 26px; }
.feature h4 { color: var(--ink); }
.feature p { color: var(--ink-3); font-size: .94rem; }
.section--dark .feature h4 { color: #fff; }
.section--dark .feature p { color: var(--on-dark-2); }
.section--dark .feat-ic { background: rgba(0,198,255,.12); color: var(--azul-claro); }

/* ---------- Bloque alterno (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.media-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 26px; }
.check-list { display: grid; gap: 14px; margin: 24px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ci { width: 26px; height: 26px; border-radius: 8px; background: var(--verde-cl); color: var(--verde-600); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list .ci svg { width: 16px; height: 16px; }
.check-list b { color: var(--ink); font-weight: 600; }
.check-list span { display: block; color: var(--ink-3); font-size: .92rem; }
.section--dark .check-list b { color: #fff; }
.section--dark .check-list span { color: var(--on-dark-2); }
.section--dark .check-list .ci { background: rgba(34,197,94,.16); color: #4ade80; }

/* ---------- Stats / contadores ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
.stat { text-align: center; }
.stat .num { font-size: clamp(2.2rem, 1.5rem + 2vw, 3.3rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num .u { background: linear-gradient(100deg, #00C6FF, #7CE2A8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { margin-top: 10px; color: var(--on-dark-2); font-size: .92rem; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); counter-reset: step; }
.step { position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-marca); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--sh-azul); }
.step h4 { color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: .92rem; }

/* ---------- Testimonios / carrusel ---------- */
.quotes { position: relative; }
.quote-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 10px; -ms-overflow-style: none; scrollbar-width: none; }
.quote-track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: center; flex: 0 0 min(560px, 86%); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-sm); }
.quote .stars { color: var(--ambar); margin-bottom: 14px; letter-spacing: 2px; }
.quote blockquote { font-size: 1.12rem; color: var(--ink); line-height: 1.6; font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-marca); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.quote .who b { display: block; color: var(--ink); font-size: .95rem; }
.quote .who span { color: var(--ink-3); font-size: .84rem; }
.quote-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.quote-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-2); transition: .2s; }
.quote-dots button.on { background: var(--azul); width: 26px; border-radius: 5px; }

/* ---------- Precios ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin: 0 auto 10px; }
.price-toggle button { border: 0; background: transparent; font-weight: 600; font-size: .92rem; color: var(--ink-3); padding: 9px 20px; border-radius: 999px; transition: .2s var(--ease); }
.price-toggle button.on { background: var(--ink); color: #fff; }
.price-save { color: var(--verde-600); font-weight: 600; font-size: .86rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-grid.cols-4-fix { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .price-grid.cols-4-fix { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .price-grid.cols-4-fix { grid-template-columns: 1fr; } }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.price-card.featured { border: 2px solid var(--azul); box-shadow: var(--sh-azul); }
.price-card.featured::before { content: "Más elegido"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-marca); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.price-card .pc-name { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.price-card .pc-for { color: var(--ink-3); font-size: .88rem; margin-top: 4px; min-height: 2.6em; }
.price-card .pc-price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-card .pc-price .cur { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.price-card .pc-price .amt { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card .pc-price .per { font-size: .9rem; color: var(--ink-3); }
.price-card .pc-note { font-size: .82rem; color: var(--ink-3); margin-bottom: 20px; }
.price-card .btn { margin-bottom: 22px; }
.price-card .pc-list { display: grid; gap: 11px; }
.price-card .pc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.price-card .pc-list svg { width: 18px; height: 18px; color: var(--verde-600); flex: none; margin-top: 2px; }
.price-card .pc-list li.off { color: var(--ink-3); opacity: .7; }
.price-card .pc-list li.off svg { color: var(--line-2); }
.price-card .pc-list .grp { font-weight: 600; color: var(--ink-3); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ---------- FAQ acordeón ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-q { width: 100%; text-align: left; border: 0; background: transparent; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset: 50% 0 auto 0; height: 2.5px; background: var(--azul-600); border-radius: 2px; transition: .25s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-3); font-size: .98rem; }
.faq-item.open .faq-a { max-height: 420px; }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--azul-600); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-cl); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .7; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--ink-3); line-height: 1.5; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--azul); }
.form-note { font-size: .82rem; color: var(--ink-3); }

/* ---------- CTA banda ---------- */
.cta-band { position: relative; background: var(--grad-hero); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); overflow: hidden; color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CFE0F7; max-width: 52ch; margin: 14px auto 30px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .orb { opacity: .4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: var(--on-dark-2); padding: clamp(56px, 7vw, 84px) 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.foot-brand .brand { color: #fff; margin-bottom: 16px; }
.foot-brand .brand b { color: #fff; }
.foot-brand p { font-size: .92rem; max-width: 34ch; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: var(--on-dark-2); transition: .2s; }
.foot-social a:hover { background: var(--azul); color: #fff; transform: translateY(-2px); }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-weight: 600; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { color: var(--on-dark-2); font-size: .94rem; }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 12px; }
.foot-contact svg { width: 17px; height: 17px; color: var(--azul-claro); flex: none; margin-top: 3px; }
.foot-legal { border-top: 1px solid var(--dark-line); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.foot-legal a { color: var(--on-dark-2); } .foot-legal a:hover { color: #fff; }
.foot-legal .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Badges / pills reutilizables ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.pill.azul { background: var(--azul-cl); color: var(--azul-700); }
.pill.verde { background: var(--verde-cl); color: var(--verde-600); }
.pill svg { width: 15px; height: 15px; }

/* banda legal destacada (revisoría) */
.callout { border-left: 4px solid var(--azul); background: var(--azul-cl); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; }
.callout.verde { border-color: var(--verde); background: var(--verde-cl); }
.callout.ambar { border-color: var(--ambar); background: #FEF6E7; }
.callout h4 { margin-bottom: 6px; }
.callout p { color: var(--ink-2); font-size: .95rem; }

/* tabla simple */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); font-size: .94rem; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: .86rem; letter-spacing: .02em; }
.tbl td { color: var(--ink-2); } .tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; }

/* ---------- Animaciones de revelado (visibles por defecto; el JS añade el estado previo solo si corre) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .reveal-d1 { transition-delay: .08s; }
.js-anim .reveal-d2 { transition-delay: .16s; }
.js-anim .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .cards.cols-3, .cards.cols-4, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-burger { display: inline-flex; }
  /* menú móvil */
  /* El header tiene backdrop-filter → es el bloque contenedor de este fixed; usamos top/height explícitos (inset colapsaría el panel). */
  .nav.mobile { display: flex; position: fixed; top: 100%; left: 0; width: 100%; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 20px var(--gutter); z-index: 200; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; box-shadow: -8px 0 30px rgba(11,31,59,.1); }
  body.menu-open .nav.mobile { transform: translateX(0); }
  .nav.mobile a, .nav.mobile .nav-toggle-btn { font-size: 1.06rem; padding: 14px 10px; border-radius: 12px; width: 100%; justify-content: flex-start; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.mobile .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: 100%; padding: 0 0 8px 12px; }
  .nav.mobile .nav-item { width: 100%; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards.cols-3, .cards.cols-4, .cards.cols-2, .price-grid, .steps, .foot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
  .btn-row { width: 100%; }
  .hero .btn-row .btn { flex: 1; }
}
