/* =============================================================================
   Autobits Site — estilos del sitio.
   Tokens: Autobits Design System v0.4 (copia en theme.json). Marca #00acac (t500) solo
   para identidad; botones y enlaces usan t700 #0b7a7a (pasa AA). Sin "ventana falsa"
   alrededor de capturas; la onda solo CIERRA superficies.
   ========================================================================== */

/* Fuentes alojadas en el tema (ver functions.php). Rangos de peso variables. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/sora-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--font: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--display: 'Sora', 'Inter', sans-serif;
	--n0: #ffffff; --n50: #f8fafc; --n100: #f1f5f9; --n200: #e2e8f0; --n300: #cbd5e1;
	--n400: #94a3b8; --n500: #64748b; --n600: #475569; --n700: #334155; --n800: #1e293b; --n900: #0f172a; --n950: #020617;
	--t50: #e6f7f7; --t100: #c2eeee; --t200: #8fe0e0; --t400: #33cccc; --t500: #00acac; --t600: #0a9494; --t700: #0b7a7a; --t800: #095f5f;
	--bg: var(--n50); --surface: var(--n0); --surface-2: var(--n100);
	--border: var(--n200); --border-strong: var(--n300);
	--text: var(--n800); --text-2: var(--n600); --text-3: var(--n500); --heading: var(--n900);
	--accent: var(--t700); --accent-hover: var(--t800); --accent-soft: var(--t50);
	--ok-bg: #ecfdf5; --ok-fg: #047857; --warn-bg: #fffbeb; --warn-fg: #b45309; --info-bg: #eff6ff; --info-fg: #1d4ed8;
	--elev-raised: 0 0 0 1px rgba(15,23,42,.08), 0 1px 2px -1px rgba(15,23,42,.10);
	--elev-overlay: 0 0 0 1px rgba(15,23,42,.06), 0 3px 3px -1.5px rgba(15,23,42,.06), 0 12px 12px -6px rgba(15,23,42,.06), 0 24px 24px -12px rgba(15,23,42,.08);
	--r-sm: 4px; --r-md: 6px; --r-lg: 6px; --r-xl: 8px;
	--focus-ring: var(--t700); --focus-halo: rgba(10,148,148,.25);
	--ease-out: cubic-bezier(.2,.8,.2,1);
	--maxw: 1160px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 4px var(--focus-halo); }

/* Los bloques de flujo meten margen entre hijos; las secciones lo controlan ellas. */
.ab-main > *, .ab-main > .wp-block-html > * { margin-block: 0; }
.ab-main { margin: 0; }
.wp-site-blocks > * { margin-block-start: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap > * { min-width: 0; }
.ab-sec { padding: 88px 0; }
.ab-sec h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; line-height: 1.15; color: var(--heading); margin: 0; }
.ab-sec h3 { font-family: var(--font); font-size: 18px; font-weight: 600; color: var(--heading); margin: 0; line-height: 1.3; }
.ab-sec p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; color: var(--text-2); max-width: 640px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head.center .lead { margin: 0 auto; }
@media (max-width: 720px) { .ab-sec { padding: 64px 0; } .sec-head { margin-bottom: 32px; } }

/* Por confirmar: solo lo ve quien edita */
.ab-review .tbd { background: #fff7d6; outline: 1px dashed #d4a017; border-radius: 3px; padding: 0 3px; color: inherit; }
.ab-review .dark .tbd, .ab-review .video .tbd { background: rgba(250,204,21,.18); outline-color: #facc15; color: #fff; }
.ab-pending-note { display: none; }
.ab-review .ab-pending-note { display: block; margin: 0 0 18px; font: 600 12px/1.4 ui-monospace, Menlo, monospace; color: #7c3aed; }
.ab-review .dark .ab-pending-note { color: #c4b5fd; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-lg); font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s var(--ease-out), border-color .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--n500); color: var(--heading); }
.dark .btn-ghost, .btn-ghost-dark { color: #fff; border-color: var(--n600); background: transparent; }
.dark .btn-ghost:hover { border-color: var(--n400); color: #fff; }
.btn-wa { background: #1f7a4d; color: #fff; }
.btn-wa:hover { background: #17603c; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* 1. Barra de aniversario */
.anniv-bar { background: var(--n900); color: #e2e8f0; font-size: 14px; text-align: center; padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.anniv-bar b { color: var(--t400); font-weight: 600; }
.anniv-bar a { color: #fff; font-weight: 600; margin-left: 6px; }

@media (max-width: 600px) { .anniv-bar .anniv-more { display: none; } .badge10 { border-radius: 12px; font-size: 13px; } .badge10 svg { flex: none; } }

/* 2. Navegación fija. El contenedor del template part de WordPress mide lo mismo que la
   cabecera, y un elemento sticky solo se pega dentro de su padre: sin esto el menú se iba
   con el scroll. `display: contents` hace que la navegación se pegue a toda la página. */
.wp-block-template-part:has(> .nav) { display: contents; }

/* 2. Navegación fija */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav .logo { display: flex; }
.nav .logo img { height: 46px; width: auto; }
.nav ul { display: flex; gap: 20px; white-space: nowrap; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { color: var(--text-2); text-decoration: none; font-weight: 500; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--heading); }
.nav ul a.is10 { color: var(--accent); }
.nav .spacer { flex: 1; }
.nav .login { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav .menu-btn { display: none; background: none; border: 1px solid var(--border-strong); border-radius: var(--r-md); width: 44px; height: 44px; cursor: pointer; color: var(--heading); }
@media (max-width: 1180px) {  /* el menú completo necesita ~1150 px */
	.nav ul, .nav .login { display: none; }
	.nav .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
	.nav .btn { padding: 0 14px; }
	.nav.open ul { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 16px; box-shadow: var(--elev-overlay); }
	.nav.open ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--n100); }
	.nav.open ul li.only-mobile { display: block; }
}
.nav ul li.only-mobile { display: none; }
@media (max-width: 520px) { .nav .wrap { gap: 12px; } .nav .btn { font-size: 14px; min-height: 40px; } .nav .logo img { height: 36px; } }

/* 3. Hero: fondo noche + la onda cerrando el bloque */
.hero { position: relative; background: var(--n900); color: #cbd5e1; padding: 84px 0 150px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.06; margin: 0; }
.hero h1 em { font-style: normal; color: var(--t400); }
.hero .sub { font-size: 19px; line-height: 1.55; color: #cbd5e1; margin: 22px 0 30px; max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .micro { margin-top: 18px; font-size: 14px; color: #e2e8f0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero .micro span::before { content: "✓ "; color: var(--t400); }
.badge10 { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 10px; max-width: 100%; font-size: 14px; font-weight: 600; color: var(--t400); background: rgba(51,204,204,.10); border: 1px solid rgba(51,204,204,.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; display: block; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0 120px; } }

/* UI de producto (mientras llegan las capturas reales; sin ventana falsa) */
.ui { background: var(--surface); color: var(--text); border-radius: var(--r-xl); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px rgba(2,6,23,.45); overflow: hidden; font-size: 13px; }
.ui-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--n50); color: var(--t500); }
.ui-top b { font-size: 13px; color: var(--heading); }
.ui-top .sp { flex: 1; }
.ui-top .chip { font-size: 12px; color: var(--text-3); }
.ui-body { padding: 14px 16px; display: grid; gap: 12px; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-kpi { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px 12px; }
.ui-kpi small { display: block; color: var(--text-3); font-size: 11px; }
.ui-kpi strong { font-family: var(--display); font-size: 20px; color: var(--heading); }
.ui table { width: 100%; border-collapse: collapse; margin: 0; }
.ui th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); text-align: left; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); background: none; }
.ui td { padding: 8px; border-bottom: 1px solid var(--n100); white-space: nowrap; }
.ui td.code { font-weight: 600; color: var(--heading); }
.st { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.st.ok { background: var(--ok-bg); color: var(--ok-fg); }
.st.warn { background: var(--warn-bg); color: var(--warn-fg); }
.st.info { background: var(--info-bg); color: var(--info-fg); }
.st.ai { background: var(--accent-soft); color: var(--accent); }
.ui .note { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--r-lg); padding: 10px 12px; color: var(--t800); }
.shot { display: block; width: 100%; border-radius: var(--r-xl); box-shadow: var(--elev-overlay); background: var(--surface); }
.hero .shot { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(2,6,23,.35); }
@media (max-width: 520px) { .ui .hide-sm { display: none; } .ui-kpis { grid-template-columns: repeat(2, 1fr); } .ui-kpi:nth-child(3) { display: none; } }

/* 4. Prueba social */
.proof { padding: 56px 0 48px; background: var(--surface); border-bottom: 1px solid var(--border); }
.proof h2 { font-size: 20px !important; font-family: var(--font) !important; font-weight: 600 !important; text-align: center; color: var(--text-2) !important; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 26px 0 40px; }
.logo-ph { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--n400); letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.logo-ph::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--n200); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--border); padding-top: 32px; }
.metric strong { display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--heading); letter-spacing: -.02em; line-height: 1.2; }
.metric span { color: var(--text-3); font-size: 14px; }
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* 5. Producto en pestañas */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.tabs > * { min-width: 0; }
.tablist { display: flex; flex-direction: column; gap: 6px; }
.tab { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: var(--r-xl); padding: 16px; cursor: pointer; font: inherit; color: inherit; width: 100%; }
.tab .num { grid-row: span 2; width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-weight: 700; font-family: var(--display); }
.tab b { font-size: 17px; color: var(--heading); }
.tab span:not(.num) { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.tab[aria-selected="true"] b { color: var(--t800); }
.tab[aria-selected="true"] .num { background: var(--accent); color: #fff; }
.panel[hidden] { display: none; }
.panel { animation: ab-fade .25s var(--ease-out); }
@keyframes ab-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel { animation: none; } html { scroll-behavior: auto; } }
.panel .ui { box-shadow: var(--elev-overlay); }
.panel-cap { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px;  color: var(--text-2); font-size: 14px; }
.panel-cap b { color: var(--heading); }
@media (max-width: 920px) {
	.tabs { grid-template-columns: 1fr; gap: 20px; }
	/* En móvil, las cuatro etapas en una grilla de 2×2 compacta: número y nombre */
	.tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.tab { min-width: 0; grid-template-columns: 28px 1fr; align-items: center; padding: 10px 12px; border-color: var(--border); }
	.tab .num { grid-row: auto; width: 28px; height: 28px; font-size: 14px; }
	.tab b { font-size: 15px; line-height: 1.2; }
	.tab span:not(.num) { display: none; }
}

/* 6. Diferenciador */
.dark { background: var(--n900); color: #cbd5e1; }
.dark h2, .dark h3 { color: #fff !important; }
.dark .lead { color: #e2e8f0; }
.dark .eyebrow { color: var(--t400); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); padding: 22px; position: relative; }
.step .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(51,204,204,.12); display: grid; place-items: center; color: var(--t400); margin-bottom: 16px; }
.step .ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: #94a3b8; }
.step small { display: block; margin-top: 12px; font-size: 12px; color: var(--t400); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 36px; color: var(--t400); font-weight: 700; z-index: 1; }
.diff .closing { margin-top: 36px; font-family: var(--display); font-size: 22px; color: #fff; }
.diff .closing em { font-style: normal; color: var(--t400); }
@media (max-width: 920px) { .flow { grid-template-columns: 1fr 1fr; } .step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .step::after { display: none; } }

/* 7. Integraciones */
.integ { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ig { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; }
.ig h3 { font-size: 15px !important; margin-bottom: 14px !important; }
.ig ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ig li { font-size: 14px; font-weight: 500; border: 1px solid var(--border); background: var(--n50); border-radius: 999px; padding: 5px 12px; color: var(--text); }
@media (max-width: 820px) { .integ { grid-template-columns: 1fr; } }

/* 8. Para quién */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card .pain { font-size: 14px; color: var(--text-3); font-style: italic; }
.card ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-2); font-size: 15px; }
.card > a { margin-top: auto; font-weight: 600; text-decoration: none; font-size: 15px; }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; } }

/* 9. 10 años */
.ten { background: linear-gradient(180deg, var(--n50), var(--t50)); }
.ten-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ten-grid > * { min-width: 0; }
/* En escritorio la línea de tiempo ocupa el alto de la columna de videos, con los hitos repartidos. */
@media (min-width: 921px) { .ten-grid { align-items: stretch; } .ten-grid > :first-child { display: flex; flex-direction: column; } .ten-grid .timeline { flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .ten-grid .timeline li:last-child { padding-bottom: 0; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--t200), var(--t500)); }
.timeline li { position: relative; padding: 0 0 14px 40px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--t500); }
.timeline li.now::before { background: var(--t500); }
.timeline .y { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 15px; }
.timeline p { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.video { position: relative; aspect-ratio: 16/10; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(135deg, var(--n800), var(--n900)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; text-decoration: none; }
.video:hover { color: #fff; }
.video.big { grid-column: span 2; aspect-ratio: 16/8; }
.video .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); }
.video b { font-size: 14px; }
.video small { font-size: 12px; color: #e2e8f0; }
.offer { margin-top: 28px; background: var(--surface); border: 1px solid var(--t200); border-radius: var(--r-xl); padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.offer .tag { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--accent); }
.offer p { flex: 1; min-width: 220px; color: var(--text-2); }
@media (max-width: 920px) { .ten-grid { grid-template-columns: 1fr; } }

/* Lo último de la Suite (novedades = últimos posts del blog) */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.news li { margin: 0; }
.news a { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.news a:hover { border-color: var(--border-strong); }
.news time { font-size: 13px; color: var(--text-3); }
.news b { color: var(--heading); line-height: 1.35; }
.news span { font-size: 14px; color: var(--text-2); }
.ab-sec .news-more { margin-top: 24px; text-align: center; font-weight: 600; }
.news-more a { text-decoration: none; }
.news-more a:hover { text-decoration: underline; }
@media (max-width: 820px) { .news { grid-template-columns: 1fr; } }

/* 10. Testimonios */
/* Testimonios en video: riel horizontal de Shorts con scroll-snap */
.vtesti { list-style: none; margin: 0; padding: 4px 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.vtesti > li { scroll-snap-align: start; }
.vtesti__card { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--n200); color: #fff; text-decoration: none; }
.vtesti__card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out); }
.vtesti__card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, transparent, rgba(2,6,23,.85)); pointer-events: none; }
.vtesti__play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--t800); display: grid; place-items: center; z-index: 1; }
.vtesti__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vtesti__who { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; line-height: 1.3; }
.vtesti__who b { display: block; font-size: 15px; }
.vtesti__who span { font-size: 13px; color: rgba(255,255,255,.85); }
.vtesti__card:hover img, .vtesti__card:focus-visible img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .vtesti__card img { transition: none; } }
@media (max-width: 600px) { .vtesti { grid-auto-columns: 160px; } }

/* 11. Precios: escalera */
.pricing2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.pricing2 > * { min-width: 0; }
.price-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fine-p { margin-top: 18px !important; font-size: 13px; color: var(--text-3); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ladder li { width: var(--w); min-width: 250px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; background: var(--accent-soft); border: 1px solid var(--t100); border-radius: 6px; padding: 8px 18px; }
.ladder li b { color: var(--heading); font-size: 15px; }
.ladder .pr { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 18px; text-align: right; }
.ladder .mx { grid-column: 1/-1; font-size: 12px; color: var(--text-2); margin-top: -4px; }
.ladder li:last-child { background: var(--accent); border-color: var(--accent); }
.ladder li:last-child b, .ladder li:last-child .pr, .ladder li:last-child .mx { color: #fff; }
@media (max-width: 820px) { .pricing2 { grid-template-columns: 1fr; } .ladder li { width: 100%; min-width: 0; } }

/* 13. Preguntas frecuentes */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--text-2); }

/* 14. Cierre con formulario */
.final { position: relative; overflow: hidden; }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.final p.lead { margin-top: 14px; }
.final .alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.demo { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 14px; box-shadow: var(--elev-overlay); }
.demo h3 { font-size: 20px; color: var(--heading) !important; }
.demo label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.demo input, .demo select { font: inherit; font-size: 16px; height: 44px; border: 1px solid #8391a7; border-radius: var(--r-md); padding: 0 12px; background: #fff; color: var(--text); width: 100%; }
.demo input:focus, .demo select:focus { outline: none; border-color: var(--focus-ring); box-shadow: 0 0 0 4px var(--focus-halo); }
.demo .fine { font-size: 12px; color: var(--text-3); }
.demo .btn { width: 100%; }
.demo__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo__error { background: #fef2f2; color: #991b1b; border-radius: var(--r-md); padding: 10px 12px; font-size: 14px; }
.demo--done p { color: var(--text-2); }
.demo--done .btn-ghost-dark { color: var(--heading); border-color: var(--border-strong); }
@media (max-width: 920px) { .final .wrap { grid-template-columns: 1fr; } }

/* 15. Footer */
.site-footer { background: var(--n950); color: #94a3b8; font-size: 14px; padding: 64px 0 28px; }
.fgrid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer .fh { color: #fff; font-size: 14px; margin: 0 0 14px; font-family: var(--font); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .fh a { color: inherit; }
.site-footer p { margin: 14px 0 0; max-width: 300px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--n800); display: grid; place-items: center; color: #cbd5e1; }
.social a:hover { border-color: var(--t500); color: var(--t400); }
.social svg { width: 18px; height: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trust span { border: 1px solid var(--n800); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: #cbd5e1; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--n800); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 920px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > :first-child { grid-column: 1 / -1; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #1f7a4d; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(2,6,23,.3); }
.wa-float:hover { color: #fff; background: #17603c; }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================================
   /precios — calculadora por capas
   ========================================================================= */
.pp-title { font-family: var(--display); font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.02em; color: var(--heading); margin: 0; line-height: 1.1; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.calc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.calc-layout > * { min-width: 0; }
.calc-card, .layer { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; }
.calc-card { padding: 24px; margin-bottom: 16px; }
.calc-card h2 { font-size: 18px !important; font-family: var(--font) !important; font-weight: 600 !important; }
.calc-card .q { color: var(--text-2); font-size: 15px; margin: 4px 0 16px !important; }
.stairs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.stair { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--n50); border: 1px solid var(--border); border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; min-height: 70px; }
.stair:hover { border-color: var(--border-strong); }
.stair small { font-size: 11px; color: var(--text-3); font-weight: 500; }
.stair b { font-size: 13px; color: var(--heading); }
.stair span { font-size: 12px; color: var(--text-2); }
.stair[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.stair[aria-pressed="true"] b, .stair[aria-pressed="true"] small, .stair[aria-pressed="true"] span { color: #fff; }
.layer { overflow: hidden; transition: border-color .2s; }
.layer.on { border-color: var(--t200); }
.lhead { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; }
.lhead > div:nth-child(2) { min-width: 0; }
.lhead h3 { font-size: 17px !important; }
.lhead h3 label { cursor: pointer; }
.lhead p { font-size: 14px; color: var(--text-2); }
.lprice { text-align: right; white-space: nowrap; }
.lprice .num { font-size: 20px; font-weight: 700; color: var(--text-3); }
.layer.on .lprice .num { color: var(--heading); }
.lprice small { display: block; font-size: 12px; color: var(--text-3); }
.lbody { display: none; padding: 18px 22px 22px; border-top: 1px solid var(--border); background: var(--n50); color: var(--text-2); font-size: 14px; }
.layer.on .lbody { display: block; }
.lock { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }
.sw { appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--n300); cursor: pointer; margin: 0; flex: none; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.3); transition: transform .2s; }
.sw:checked { background: var(--accent); }
.sw:checked::after { transform: translateX(18px); }
.sw:disabled { cursor: not-allowed; opacity: 1; }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label { font-weight: 500; color: var(--text); font-size: 14px; }
.field input, .chan input, .chan select { font: inherit; font-size: 16px; height: 44px; border: 1px solid #8391a7; border-radius: 6px; padding: 0 12px; background: #fff; color: var(--text); max-width: 260px; min-width: 0; }
.field input:focus, .chan input:focus, .chan select:focus { outline: none; border-color: var(--focus-ring); box-shadow: 0 0 0 4px var(--focus-halo); }
.calc { margin-top: 12px !important; font-size: 13px; color: var(--text-3); }
.chan { display: grid; grid-template-columns: 1fr 120px auto 44px; gap: 10px; align-items: center; margin-top: 10px; }
.chan input, .chan select { max-width: none; }
.chan .fee { font-weight: 600; color: var(--heading); text-align: right; white-space: nowrap; }
.chan button { border: 0; background: none; color: var(--text-3); font-size: 22px; cursor: pointer; width: 44px; height: 44px; border-radius: 6px; }
.add { margin-top: 12px; background: none; border: 1px dashed var(--border-strong); border-radius: 8px; padding: 0 14px; min-height: 44px; font: inherit; font-size: 14px; color: var(--accent); cursor: pointer; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 0 14px; min-height: 44px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
table.tiers { border-collapse: collapse; margin-top: 12px; font-size: 13px; }
table.tiers td, table.tiers th { padding: 4px 14px 4px 0; text-align: left; border: 0; }
table.tiers th { color: var(--text-3); font-weight: 600; }
.summary { position: sticky; top: 92px; background: var(--n900); color: #cbd5e1; border-radius: 6px; padding: 24px; box-shadow: var(--elev-overlay); }
.admin-bar .summary { top: 124px; }
.summary h2 { color: #fff !important; font-size: 18px !important; font-family: var(--font) !important; }
.summary .plan { color: var(--t400); font-size: 14px; margin-top: 4px !important; }
.lines { list-style: none; margin: 18px 0 0; padding: 0 0 16px; display: grid; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.lines li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }
.total { margin-top: 16px; }
.total .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total .big { font-size: 34px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.total small, .once small { color: var(--n400); font-size: 13px; }
.once { margin-top: 14px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 14px; }
.once .row { display: flex; justify-content: space-between; }
.once b { color: #fff; }
.summary .ctas { display: grid; gap: 10px; margin-top: 18px; }
.summary .btn { width: 100%; }
.summary .fine { margin-top: 14px !important; font-size: 12px; color: var(--n400); }
.mbar { display: none; }
@media (max-width: 980px) {
	.calc-layout { grid-template-columns: 1fr; }
	.summary { position: static; }
	.mbar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--n900); color: #cbd5e1; padding: 12px 20px; box-shadow: 0 -8px 24px rgba(2,6,23,.25); }
	.mbar small { display: block; font-size: 12px; }
	.mbar .num { font-size: 22px; font-weight: 700; color: #fff; }
	.mbar .sp { flex: 1; }
	.pricing-page ~ * .wa-float, body:has(.mbar) .wa-float { bottom: 86px; }
	body:has(.mbar) .site-footer { padding-bottom: 104px; } /* el espacio de la barra fija queda dentro del footer oscuro, no blanco debajo */
}
@media (max-width: 760px) { .stairs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
	.lhead { grid-template-columns: auto 1fr; align-items: start; padding: 18px; }
	.lprice { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; }
	.lprice small { display: inline; }
	.lbody { padding: 16px 18px; }
	.chan { grid-template-columns: 1fr 90px 44px; }
	.chan .fee { grid-column: 1 / 3; grid-row: 2; text-align: left; }
}

/* =========================================================================
   Blog
   ========================================================================= */
.blog-head { background: var(--n900); color: #cbd5e1; padding: 64px 0 56px; position: relative; }
.blog-head .eyebrow, .blog-head .eyebrow a { color: var(--t400); text-decoration: none; }
.blog-head h1, .blog-head .wp-block-query-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.02em; line-height: 1.1; margin: 10px 0 12px; max-width: 820px; }
.blog-head .lead { color: #94a3b8; }
.blog-head .wp-block-term-description { color: #94a3b8; max-width: 640px; }
.blog-search { display: flex; gap: 8px; margin-top: 24px; max-width: 480px; }
.blog-search input[type=search], .blog-search .wp-block-search__input { flex: 1; min-width: 0; height: 44px; font: inherit; font-size: 16px; border-radius: var(--r-md); border: 1px solid var(--n600); background: rgba(255,255,255,.06); color: #fff; padding: 0 12px; }
.blog-search input::placeholder { color: var(--n400); }
.blog-search .btn-ghost, .blog-search .wp-block-search__button { color: #fff; border: 1px solid var(--n600); background: transparent; border-radius: var(--r-lg); min-height: 44px; padding: 0 18px; font: 600 15px/1 var(--font); cursor: pointer; }
.blog-search .wp-block-search__inside-wrapper { display: flex; gap: 8px; border: 0; padding: 0; }
.blog-wrap { padding-top: 48px; padding-bottom: 24px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--text-3); }
.post-meta .wp-block-post-date, .post-meta time { color: var(--text-3); }
.chip-terms { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0; }
.chip-terms a { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.chip-terms .wp-block-post-terms__separator { display: none; }

.blog-featured { margin-bottom: 40px; }
.blog-featured .wp-block-post-template, .blog-grid .wp-block-post-template, .related-grid { list-style: none; margin: 0; padding: 0; }
.bf-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; box-shadow: var(--elev-raised); }
.bf-card .bf-img { margin: 0; height: 100%; }
.bf-card .bf-img img, .bf-card .bf-img a { height: 100%; width: 100%; object-fit: cover; display: block; }
.bf-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.bf-title { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; margin: 0; }
.bf-title a, .pc-title a { color: var(--heading); text-decoration: none; }
.bf-title a:hover, .pc-title a:hover { color: var(--accent); }
.bf-body .wp-block-post-excerpt__excerpt { color: var(--text-2); margin: 0; }
.wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .bf-card { grid-template-columns: 1fr; } .bf-body { padding: 22px; } }

.blog-grid .wp-block-post-template.is-layout-grid { gap: 20px; }
@media (max-width: 920px) { .blog-grid .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog-grid .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; margin: 0; }
.post-card:hover { border-color: var(--border-strong); box-shadow: var(--elev-raised); }
.post-card .pc-img { margin: 0; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--n100); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-title { font-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0; }
.pc-body .wp-block-post-excerpt__excerpt { font-size: 14px; color: var(--text-2); margin: 0; }
.blog-pager { margin-top: 40px; gap: 8px; font-weight: 600; }
.blog-pager a, .blog-pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--heading); }
.blog-pager .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }

.blog-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-radius: 8px; padding: 36px 40px; margin: 56px 0 0; position: relative; overflow: hidden; }
.blog-cta h2 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; color: #fff; }
.blog-cta .lead { font-size: 16px; }
.blog-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .blog-cta { padding: 26px 22px; } }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr; } }

/* Post individual */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 0; }
.post-back a { color: var(--accent); text-decoration: none; }
.post-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.6vw, 44px); letter-spacing: -.02em; line-height: 1.12; margin: 12px 0 16px; color: var(--heading); }
.post-head { margin-bottom: 28px; }
.post-hero-img { margin: 0 0 36px; }
.post-hero-img img { border-radius: 16px; width: 100%; display: block; }

.prose { font-size: 18px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-family: var(--display); font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; line-height: 1.25; margin-top: 2em; color: var(--heading); letter-spacing: -.01em; }
.prose h3 { font-family: var(--font); font-size: 20px; font-weight: 600; line-height: 1.35; margin-top: 1.8em; color: var(--heading); }
.prose h4 { font-size: 17px; font-weight: 600; margin-top: 1.6em; color: var(--heading); font-family: var(--font); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--t500); }
.prose strong { color: var(--heading); }
.prose img { border-radius: 12px; height: auto; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 14px; color: var(--text-3); text-align: center; margin-top: 8px; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--t500); color: var(--text-2); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--n100); color: var(--heading); font-weight: 600; }
.prose code { background: var(--n100); border-radius: 4px; padding: 2px 6px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose .wp-block-buttons .wp-element-button, .prose .wp-block-button__link { color: #fff; text-decoration: none; }
@media (max-width: 600px) { .prose { font-size: 17px; } }

/* Páginas genéricas (nosotros, legales) */
.ab-page { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.ab-page .wp-block-post-title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 42px); letter-spacing: -.02em; margin-bottom: 24px; }

/* El bloque de llamado que inserta el Marketing Suite viene con estilos en línea
   (azul #348fe2, fuera del design system). Se lleva a los tokens sin tocar el contenido. */
.prose div[style*="text-align:center"][style*="border-radius"] { background: var(--accent-soft) !important; border: 1px solid var(--t100); border-radius: var(--r-xl) !important; }
.prose div[style*="text-align:center"] h3 { font-family: var(--display); }
.prose a[style*="display:inline-block"] { background-color: var(--accent) !important; border-radius: var(--r-lg) !important; min-height: 44px; line-height: 20px; text-decoration: none !important; color: #fff !important; }
.prose a[style*="display:inline-block"][href*="wa.me"] { background-color: #1f7a4d !important; }
.prose a[style*="#348fe2"]:not([style*="display:inline-block"]) { color: var(--accent) !important; }
.ab-anchor { position: relative; top: -84px; display: block; }
.bf-card > * { min-width: 0; }
.bf-card .bf-img { overflow: hidden; min-height: 280px; }
.ab-blog > .wp-block-html:last-child .wrap, .ab-blog .blog-cta { margin-bottom: 72px; }
.bf-card .bf-img, .bf-card .bf-img img { width: 100% !important; max-width: 100%; }

/* Páginas legales: el contenido es el de producción (SeedProd / bloques) y no se toca;
   aquí solo se le da marco y tipografía. */
.ab-legal { padding: 0 20px 80px; }
.legal-head { max-width: 860px; margin: 0 auto; padding: 56px 0 24px; }
.legal-title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.01em; line-height: 1.2; margin: 8px 0 10px; text-transform: none; }
.legal-head .post-meta p { margin: 0; }
.legal-doc { max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 40px 48px; font-size: 16px; line-height: 1.7; }
.legal-doc #sp-page, .legal-doc [class*="sp-el-"] { background: transparent !important; font-family: inherit !important; max-width: 100% !important; }
.legal-doc h1:first-of-type, .legal-doc #sp-page h1 { display: none; }
.legal-doc h2, .legal-doc h3 { font-size: 20px !important; margin-top: 1.8em; }
.legal-doc p, .legal-doc li { text-align: left !important; }
.legal-doc pre[data-mobile-css] { display: none; }
@media (max-width: 600px) { .legal-doc { padding: 24px 20px; font-size: 15px; } }

/* /nosotros */
.about-hero { padding: 72px 0 140px; }
.about-hero .wrap.about-hero__inner { display: block; }
.about-hero__inner > * { max-width: 820px; }
.about-hero .eyebrow { color: var(--t400); }
.about-hero h1 { margin-top: 10px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about-text { display: grid; gap: 16px; font-size: 18px; color: var(--text-2); }
.about-metrics { margin-top: 56px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv .card { gap: 12px; }
.mv .card h3 { font-family: var(--display); font-size: 22px; }
.mv .card p { color: var(--text-2); }
.about-more { margin-top: 28px !important; font-weight: 600; }
@media (max-width: 820px) { .about-grid, .mv { grid-template-columns: 1fr; gap: 24px; } }

/* Accesibilidad (axe, 2026-10-19): contraste del contenido que llega con estilos en línea. */
.prose div[style*="text-align:center"] p[style*="#64748B"] { color: var(--text-2) !important; }
.legal-doc a { color: var(--accent) !important; }

/* Capturas reales de la Suite */
.shot { height: auto; border: 1px solid var(--border); }
.hero .shot { border-color: rgba(255,255,255,.08); }

/* Hero: la captura en perspectiva; al pasar el mouse se endereza y crece. */
@media (min-width: 921px) {
	.hero-shot { position: relative; perspective: 1800px; }
	.hero-shot::before { content: ""; position: absolute; inset: 10% 6% 4% 10%; background: radial-gradient(closest-side, rgba(0,172,172,.35), transparent); filter: blur(40px); z-index: 0; }
	.hero-shot .shot { position: relative; z-index: 1; transform: rotateY(-10deg) rotateX(4deg); transform-origin: left center; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(2,6,23,.35); }
	.hero-shot:hover .shot { transform: rotateY(0) rotateX(0) scale(1.03); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 12px 28px rgba(2,6,23,.38); }
}
@media (prefers-reduced-motion: reduce) { .hero-shot .shot { transition: none; } }

/* Sello de los 10 años (reemplaza la barra superior y la pastilla del hero). Lleva el logo
   apilado completo; el texto sobre el teal #00acac va en azul noche, que sí pasa contraste.
   Derecho, sin giro: «10 AÑOS» tiene que leerse horizontal; solo flota arriba y abajo. */
.seal10 { display: inline-block; position: relative; width: 150px; height: 150px; text-decoration: none; filter: drop-shadow(0 14px 28px rgba(2,6,23,.55)); }
.seal10 img { width: 100%; height: 100%; display: block; animation: ab-seal-float 5s ease-in-out infinite; }
.seal10:hover img, .seal10:focus-visible img { animation-play-state: paused; transform: scale(1.06); transition: transform .3s var(--ease-out); }
@keyframes ab-seal-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .seal10 img { animation: none; } }
.hero-shot > .seal10 { position: absolute; top: -132px; right: -24px; z-index: 3; }
.seal10-m { display: none; }
@media (max-width: 920px) {
	.hero-shot > .seal10 { display: none; }
	.seal10-m { display: block; margin-bottom: 18px; }
	.seal10-m .seal10 { width: 108px; height: 108px; }
}
@media (min-width: 921px) and (max-width: 1320px) { .hero-shot > .seal10 { right: 0; top: -116px; width: 130px; height: 130px; } }

/* Logo del footer, acorde al del menú */
.site-footer .fgrid > div:first-child > img { height: 42px; width: auto; }

/* Sello flotante: aparece cuando el del hero ya no se ve (site.js), abajo a la izquierda. */
.seal10--float { position: fixed; left: 18px; bottom: 18px; z-index: 79; width: 104px; height: 104px; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.seal10--float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 600px) { .seal10--float { width: 84px; height: 84px; left: 12px; bottom: 12px; } }

.proof h2::after { content: ""; display: block; width: 96px; height: 3px; border-radius: 3px; background: var(--t500); margin: 32px auto 44px; }
.proof .logos { margin-top: 0; }
.proof-fact { max-width: 720px; margin: 36px auto 0 !important; text-align: center; font-size: 19px; line-height: 1.6; color: var(--text); }
.proof-fact strong { color: var(--heading); }
.proof-fact small { display: block; margin-top: 8px; font-size: 13px; color: var(--text-2); }
/* Las capturas de las pestañas tienen alturas distintas: el área se fija a la más alta
   para que cambiar de pestaña no haga saltar la página. */
@media (min-width: 921px) { #producto .panel { aspect-ratio: 1200 / 780; } }

/* =========================================================================
   Diferenciador v2: comparativo de digitación + "vía" de cuatro estaciones
   ========================================================================= */
.diff { position: relative; overflow: hidden; }
.diff::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 70%; background: radial-gradient(closest-side, rgba(0,172,172,.16), transparent); pointer-events: none; }

.typing-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 56px; position: relative; }
.tc { display: grid; gap: 6px; padding: 16px 20px; border-radius: 6px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.tc__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e2e8f0; }
.tc__path { font-size: 15px; color: #f1f5f9; }
.tc__path i { font-style: normal; color: #f59e0b; margin: 0 4px; }
.tc__path b { color: var(--t400); margin: 0 4px; }
.tc__count { font-family: var(--display); font-size: 20px; color: #fff; }
.tc--before .tc__count { color: #fbbf24; }
.tc--after .tc__label { color: var(--t400); }
.tc--after .tc__count { color: var(--t400); }

.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: st; }
.station { position: relative; padding: 18px 4px 0; border-top: 2px solid rgba(203,213,225,.35); }
.station--goal { border-top-color: var(--t400); }
.station__num { display: block; margin: 0 0 6px; font: 700 13px/1 var(--display); letter-spacing: .12em; color: #cbd5e1; }
.station h3 { font-size: 18px; color: #fff; margin-bottom: 8px !important; }
.station p { font-size: 14.5px; color: #e2e8f0; line-height: 1.55; }
.station--goal h3 { color: var(--t400) !important; }
.diff .closing { margin-top: 56px; }
.diff .closing em { white-space: nowrap; }

/* Toque colombiano: banderita y franja amarillo/azul/rojo (2:1:1) al pie de la sección */
.co-flag { display: inline-block; width: 26px; height: 17px; border-radius: 3px; vertical-align: -2px; margin-right: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.co-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; display: grid; grid-template-columns: 2fr 1fr 1fr; }
.co-stripe span:nth-child(1) { background: #FCD116; } .co-stripe span:nth-child(2) { background: #003893; } .co-stripe span:nth-child(3) { background: #CE1126; }

@media (max-width: 920px) {
	.typing-compare { grid-template-columns: 1fr; margin-bottom: 40px; }
	.track { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
	.track::before { left: 31px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; background: linear-gradient(180deg, rgba(51,204,204,.12), rgba(51,204,204,.55) 60%, var(--t400)); }
	.track::after { animation: none; display: none; }
	.station { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
	.station__num { margin: 4px 0 4px; }
	.station__num { grid-row: 1 / span 2; }
	.station h3, .station p { grid-column: 2; }
	.diff .closing em { white-space: normal; }
}
.diff .co-stripe { z-index: 2; }

/* Integraciones con logos: baldosas blancas iguales; los logos cuadrados van más altos
   para pesar lo mismo que los alargados. Sin filtros de color: la marca se reconoce. */
.integ .ig { display: flex; flex-direction: column; }
.ig-logos { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 10px !important; list-style: none; margin: 0; padding: 0; }
.ig-logo { display: grid !important; place-items: center; height: 72px; padding: 10px 14px !important; background: #fff !important; border: 1px solid var(--border) !important; border-radius: 6px !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ig-logo:hover { border-color: var(--t200) !important; box-shadow: var(--elev-raised); transform: translateY(-2px); }
.ig-logo img { display: block; max-width: 100%; height: 30px; width: auto; object-fit: contain; }
.ig-logo.is-sq img { height: 44px; }
.ig-logo.is-text span { font: 700 15px/1.2 var(--display); color: var(--text-2); text-align: center; letter-spacing: -.01em; }
@media (max-width: 820px) { .ig-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-logos { grid-template-columns: repeat(2, 1fr); } }

/* Clientes: carrusel continuo (dos copias de la lista), gris suave que toma color al
   pasar el mouse, bordes desvanecidos. Sin movimiento si el usuario lo pide. */
.clients { position: relative; overflow: hidden; margin: 8px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; align-items: center; gap: 56px; width: max-content; list-style: none; margin: 0; padding: 8px 0; animation: ab-marquee 70s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients__track li { flex: none; margin: 0; }
.clients__track img { display: block; height: 52px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .25s, opacity .25s; }
.clients__track img:hover { filter: none; opacity: 1; }
@keyframes ab-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 28px)); } }
@media (max-width: 720px) { .clients__track { gap: 36px; animation-duration: 50s; } .clients__track img { height: 40px; } }
@media (prefers-reduced-motion: reduce) {
	.clients { -webkit-mask-image: none; mask-image: none; }
	.clients__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 24px 40px; }
	.clients__track li[aria-hidden="true"] { display: none; }
}

/* Carrusel de clientes en dos líneas: sentidos opuestos y velocidades distintas */
.clients { display: grid; gap: 18px; }
.clients__track { animation-duration: 60s; }
.clients__track--rev { animation-name: ab-marquee-rev; animation-duration: 85s; }
@keyframes ab-marquee-rev { from { transform: translateX(calc(-50% - 28px)); } to { transform: translateX(0); } }
@media (max-width: 720px) { .clients__track { animation-duration: 42s; } .clients__track--rev { animation-duration: 60s; } }

/* Sello flotante: fijo arriba a la derecha, bajo el menú (76 px). */
.seal10--float { left: auto; right: 22px; bottom: auto; top: 92px; transform: translateY(-12px) scale(.9); }
.seal10--float.is-visible { transform: none; }
.admin-bar .seal10--float { top: 124px; }
@media (max-width: 600px) { .seal10--float { width: 70px; height: 70px; right: 12px; left: auto; bottom: auto; top: 88px; } }
.addons-note { margin-top: 14px !important; font-size: 15px; color: var(--text-2); max-width: 520px; }

/* Módulos adicionales */
/* Módulos como lista, no como tarjetas iguales: nombre y para qué sirve a la izquierda,
   precio y «Ver más» a la derecha. */
.addons { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--border); }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 4px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--border); }
.addon h3 { grid-column: 1; font-size: 20px !important; }
.addon p { grid-column: 1; margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.addon__price { grid-column: 2; grid-row: 1; justify-self: end; font-size: 15px; font-weight: 600; color: var(--heading); }
.addon__more { grid-column: 2; grid-row: 2; justify-self: end; font-weight: 600; text-decoration: none; font-size: 15px; min-height: 28px; }
.addons__fine { text-align: center; margin-top: 22px !important; font-size: 14px; color: var(--text-3); }
.addons__fine a { font-weight: 600; text-decoration: none; }
@media (max-width: 640px) { .addon { grid-template-columns: 1fr; } .addon__price, .addon__more { grid-column: 1; grid-row: auto; justify-self: start; } }

/* Franja de integraciones: una sola línea en carrusel, a color */
.integ-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.integ-strip:hover .integ-strip__track { animation-play-state: paused; }
.integ-strip__track { display: flex; align-items: center; gap: 14px; width: max-content; list-style: none; margin: 0; padding: 6px 0 10px; animation: ab-marquee-integ 55s linear infinite; }
.integ-strip__track li { flex: none; display: grid; place-items: center; width: 132px; height: 60px; padding: 10px 14px; margin: 0; border-radius: 6px; }
.integ-strip__track img { display: block; max-width: 100%; height: 24px; width: auto; object-fit: contain; }
.integ-strip__track li.is-sq img { height: 38px; }
@keyframes ab-marquee-integ { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .integ-strip { -webkit-mask-image: none; mask-image: none; } .integ-strip__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 20px; } .integ-strip__track li[aria-hidden="true"] { display: none; } }
/* «Se conecta con lo que ya usas»: composición estática centrada en varias líneas */
.integ-strip { overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0 20px; }
.integ-strip__track { animation: none; width: auto; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; }
.integ-strip__track li { transition: transform .2s; }
.integ-strip__track li:hover { transform: translateY(-2px); }
@media (max-width: 600px) { .integ-strip__track { gap: 8px; } .integ-strip__track li { width: calc(33.333% - 6px); height: 54px; padding: 8px; } }

/* Páginas de segmento */
.seg-hero .eyebrow { color: var(--t400); }
.seg-hero h1 { margin-top: 10px; }
.seg-pain { margin-top: 18px !important; font-size: 18px; font-style: italic; color: var(--t400); }
.seg-hero .sub { margin-top: 12px; }
.seg-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg-feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; display: grid; gap: 8px; align-content: start; }
.seg-feature__n { font: 700 13px/1 var(--display); letter-spacing: .12em; color: var(--t700); }
.seg-feature h3 { font-size: 17px !important; }
.seg-feature p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.seg-addons { margin-top: 40px; padding: 20px 24px; border-radius: var(--r-xl); background: var(--accent-soft); border: 1px solid var(--t100); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.seg-addons p { color: var(--t800); }
.seg-addons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg-addons a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; background: #fff; border: 1px solid var(--t100); border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 14px; }
.seg-others { margin-top: 28px !important; color: var(--text-3); font-size: 15px; }
.seg-others a { font-weight: 600; text-decoration: none; margin-left: 10px; }
@media (max-width: 1020px) { .seg-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .seg-features { grid-template-columns: 1fr; } }

/* =========================================================================
   Elementos opcionales de la home (se eligen en el panel de revisión y aplican
   a todo el público: clases ab-x-* en <body>, ver inc/review.php)
   ========================================================================= */
.hero-shot { position: relative; }

/* Foto de fondo del hero, la misma del sitio anterior, aclarada (clara) u oscurecida */
.ab-x-photo [data-ab-sec="hero"] { background-image: linear-gradient(var(--hero-veil), var(--hero-veil)), url('../img/hero-agente.webp'); background-size: cover; background-position: center 35%; }
.ab-x-photo-light { --hero-veil: rgba(255,255,255,.86); }
.ab-x-photo-dark { --hero-veil: rgba(15,23,42,.84); }
/* En móvil, sin la foto (feedback de Heisser, 2026-11-11: «la que mira fijamente» resulta intrusiva): solo el velo. */
@media (max-width: 920px) { .ab-x-photo [data-ab-sec="hero"] { background-image: linear-gradient(var(--hero-veil), var(--hero-veil)); } .ab-x-photo-light [data-ab-sec="hero"] { background-color: #fff; } }
.ab-x-photo-light [data-ab-sec="hero"] { color: var(--n700); }
.ab-x-photo-light [data-ab-sec="hero"] h1 { color: var(--n900); }
.ab-x-photo-light [data-ab-sec="hero"] h1 em { color: var(--t700); }
.ab-x-photo-light [data-ab-sec="hero"] .sub, .ab-x-photo-light [data-ab-sec="hero"] .micro { color: var(--n700); }
.ab-x-photo-light [data-ab-sec="hero"] .btn-ghost { color: var(--n900); border-color: var(--n400); }
.ab-x-photo-light [data-ab-sec="hero"] .btn-ghost:hover { border-color: var(--n700); color: var(--n900); }
.ab-x-photo-light [data-ab-sec="hero"] .micro span::before { color: var(--t700); }

/* Logos de clientes a color, un poco más grandes con el cursor */
.ab-x-logos .clients__track img { filter: none; opacity: 1; transition: transform .2s var(--ease-out); }
.ab-x-logos .clients__track img:hover { transform: scale(1.18); }

/* La reserva que llega sola: notificación sobre la captura de reservas */
.res-toast { display: none; }
.ab-x-anim .res-toast { display: grid; position: absolute; z-index: 5; left: 6%; bottom: 10%; width: min(330px, 78%); grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; color: var(--n900); border-radius: 8px; box-shadow: 0 10px 24px rgba(2,6,23,.3); font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.res-toast.in { opacity: 1; transform: none; }
.res-toast__ic { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: var(--t50); color: var(--t700); }
.res-toast__step { display: none; }
.res-toast[data-step="1"] .res-toast__step:nth-of-type(1), .res-toast[data-step="2"] .res-toast__step:nth-of-type(2) { display: block; }
.res-toast b { display: block; font-size: 13px; color: var(--n900); }
.res-toast span { color: var(--n600); font-size: 12.5px; }
.res-toast em { font-style: normal; font-weight: 600; color: var(--t700); }
@media (prefers-reduced-motion: reduce) { .res-toast { transition: none; } }

/* Ventana de video (site.js) */
.vmodal { width: min(960px, 92vw); padding: 0; border: 0; border-radius: var(--r-xl); background: #000; overflow: visible; }
.vmodal::backdrop { background: rgba(2,6,23,.82); }
.vmodal__frame { aspect-ratio: 16 / 9; }
.vmodal--vertical { width: min(420px, 92vw, calc(85vh * 9 / 16)); }
.vmodal--vertical .vmodal__frame { aspect-ratio: 9 / 16; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: var(--r-xl); }
.vmodal__x { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--n900); font: 600 22px/1 var(--font); cursor: pointer; }
.vmodal__x:focus-visible { outline: 3px solid var(--t400); outline-offset: 2px; }

/* =========================================================================
   /10-anos/: historia completa (patterns/history.php) y su resumen en la home
   ========================================================================= */
.ten-more { margin-top: 8px !important; }
.history-hero { padding: 72px 0 140px; }
.history-hero .eyebrow { color: var(--t400); }
.history-hero h1 { margin-top: 10px; }
.history-hero__seal { justify-self: end; }
.history-hero__seal img { width: 260px; height: 260px; display: block; filter: drop-shadow(0 14px 28px rgba(2,6,23,.55)); }
@media (max-width: 920px) { .history-hero .wrap { grid-template-columns: 1fr; } .history-hero__seal { justify-self: start; order: -1; } .history-hero__seal img { width: 140px; height: 140px; } }

.chapters { list-style: none; margin: 0 0 72px; padding: 0; display: grid; gap: 80px; }
.chapter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.chapter:nth-child(even) .chapter__text { order: 2; }
.chapter:not(:has(.hphoto)) { grid-template-columns: minmax(0, 760px); }
.chapter__text { display: grid; gap: 14px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.chapter__when { font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.chapter__fact { font-family: var(--display); font-size: 20px; line-height: 1.4; color: var(--heading) !important; border-left: 3px solid var(--t500); padding-left: 16px; }
.chapter__text a { font-weight: 600; }
@media (max-width: 920px) { .chapter { grid-template-columns: 1fr; gap: 24px; } .chapter:nth-child(even) .chapter__text { order: 0; } .chapters { gap: 56px; } }

.hphoto { margin: 0; }
.hphoto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); display: block; box-shadow: var(--elev-raised); }
.hphoto--shot img { aspect-ratio: auto; object-fit: contain; }
.hphoto--wide { margin-bottom: 40px; }
.hphoto--wide img { aspect-ratio: 21 / 9; }
.hphoto figcaption { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.hphoto--empty { aspect-ratio: 4 / 3; border: 2px dashed #d4a017; background: #fff7d6; border-radius: var(--r-xl); display: grid; place-content: center; gap: 8px; text-align: center; padding: 20px; color: #7a5a00; font-weight: 600; }
.hphoto--wide.hphoto--empty { aspect-ratio: 21 / 9; }
.hphoto--empty code, .person__img code { font: 500 12px/1.3 ui-monospace, Menlo, monospace; color: #7c3aed; }

.history-team { background: var(--surface); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.person { display: grid; justify-items: start; gap: 6px; }
.person__img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.person__img--initials { display: grid; place-content: center; justify-items: center; background: var(--t50); color: var(--t700); font: 700 34px/1 var(--display); }
.person__img--initials code { font-size: 9px; margin-top: 6px; }
.person b { color: var(--heading); font-size: 17px; }
.person span { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.person small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.history-vision blockquote { margin: 0 auto; max-width: 880px; text-align: center; }
.history-vision blockquote p { font-family: var(--display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.35; color: #fff; }
.history-vision blockquote p::before { content: ""; display: block; width: 72px; height: 3px; border-radius: 3px; background: var(--t400); margin: 0 auto 28px; }

/* Botón principal del hero: el más visible de la primera pantalla */
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; box-shadow: 0 8px 20px -8px rgba(11,122,122,.55); }
.btn-lg:hover { box-shadow: 0 10px 24px -8px rgba(11,122,122,.65); }

/* Formulario de demo: «¿Cuál?» solo con «Otro» */
.demo__other[hidden] { display: none !important; }

/* Integraciones y «Construido con» */
.integ-sec .sec-head { margin-bottom: 18px; }
/* Tecnología de la Suite bajo las integraciones. `.ab-sec p` pone margin 0: el centrado va
   en el contenedor, no en el párrafo (antes el texto quedaba corrido a la izquierda). */
.built-with { margin: 28px auto 0; max-width: 680px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.built-with__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.built-with__logos { align-items: center; gap: 12px 40px; }
.built-with__logos li { display: flex; align-items: center; }
.built-with__logos img { display: block; height: auto; }
.built-with__logos li:first-child img { width: 56px; }
.built-with__logos li:last-child img { width: 40px; }

/* Enlaces a /nuestros-clientes/ */
.proof-more, .vtesti__more { margin: 18px 0 0; text-align: center; font-weight: 600; }
.proof-more a, .vtesti__more a { color: var(--t700); text-decoration: none; }
.proof-more a:hover, .vtesti__more a:hover { text-decoration: underline; }

/* /nuestros-clientes/: grilla quieta de logos */
.clients-grid { list-style: none; margin: 8px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.clients-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); text-align: center; }
.clients-grid img { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.clients-grid span { font-size: 13px; color: var(--text-2); line-height: 1.3; }
/* Cliente con sitio web: toda la tarjeta es el enlace. */
.clients-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.clients-grid li:has(a) { transition: border-color .2s; }
.clients-grid li:has(a):hover { border-color: var(--t500); }
.clients-grid a:hover span:not(.screen-reader-text) { color: var(--t700); }

/* /contacto/ */
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; }
.contact-list h2 { font-size: 13px !important; font-family: var(--font); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin: 0 0 6px !important; }
.contact-list a, .contact-list span { font-size: 17px; color: var(--heading); }
.contact-list a { color: var(--t700); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* Ritmo de fondos de la home (feedback de David, 2026-11-13: cinco secciones grises seguidas
   se volvían monótonas). Testimonios gris → producto blanco → integraciones gris → módulos
   oscuro → precios blanco → diferenciador oscuro. */
[data-ab-sec="producto"], [data-ab-sec="precios"] { background: var(--surface); }
.addons-sec { background: radial-gradient(ellipse at 50% 0%, rgba(0,172,172,.16), transparent 60%), var(--n900); color: #cbd5e1; }
.addons-sec h2, .addons-sec h3 { color: #fff !important; }
.addons-sec .lead { color: #e2e8f0; }
.addons-sec .addons, .addons-sec .addon { border-color: rgba(255,255,255,.12); }
.addons-sec .addon p { color: #cbd5e1; }
.addons-sec .addon__price { color: #fff; }
.addons-sec .addon__more, .addons-sec .addons__fine a { color: var(--t400); }
.addons-sec .addons__fine { color: #94a3b8; }

/* Diferenciador: a la izquierda lo visual de cada caso y a la derecha el texto. «Sin Autobits»:
   correo, Excel, facturas, WhatsApp, carrito y Gmail apiñados; «Con Autobits»: solo el logo
   apilado (feedback de David, 2026-11-13). */
.typing-compare .tc { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 4px 24px; padding: 22px 24px; }
.tc__body { display: grid; gap: 6px; min-width: 0; }
.tc__mess { position: relative; width: 132px; height: 104px; }
.tc__mess .chip { position: absolute; width: 46px; height: 46px; border-radius: 9px; background: #fff; display: grid; place-items: center; transform: rotate(var(--r)); box-shadow: 0 4px 10px rgba(2,6,23,.5); }
.tc__mess .chip:nth-child(1) { left: 0; top: 4px; }
.tc__mess .chip:nth-child(2) { left: 38px; top: 0; }
.tc__mess .chip:nth-child(3) { left: 80px; top: 8px; }
.tc__mess .chip:nth-child(4) { left: 10px; top: 52px; }
.tc__mess .chip:nth-child(5) { left: 50px; top: 46px; }
.tc__mess .chip:nth-child(6) { left: 86px; top: 56px; }
.tc__mess svg, .tc__mess img { width: 28px; height: 28px; object-fit: contain; }
.tc__logo { width: 132px; height: auto; margin: -18px 0; justify-self: center; }
@media (max-width: 560px) { .typing-compare .tc { grid-template-columns: 1fr; } }

/* Miniaturas de los videos de la sección de 10 años: la foto queda detrás, oscurecida
   abajo para que el título se lea. Local, sin nada de YouTube antes del clic. */
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .4s var(--ease-out); }
.video::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(to bottom, transparent, rgba(2,6,23,.88)); pointer-events: none; }
.video > *:not(.video__thumb) { position: relative; z-index: 1; }
.video .play { position: absolute; z-index: 2; background: rgba(255,255,255,.9); color: var(--t800); }
.video:hover .video__thumb { transform: scale(1.04); }

/* Módulos en 2×2 (feedback de David, 2026-11-13: la lista se leía como una tabla). Cada
   tarjeta: nombre, para qué sirve, precio destacado y «Ver más» al pie. */
.addons-sec .addons { max-width: 980px; border: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addons-sec .addon { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 22px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-xl); background: rgba(255,255,255,.04); transition: border-color .2s, background .2s; }
.addons-sec .addon:hover { border-color: rgba(51,204,204,.45); background: rgba(255,255,255,.06); }
.addons-sec .addon p { flex: 1; }
.addons-sec .addon__price { justify-self: auto; align-self: flex-start; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(0,172,172,.16); color: #fff; font-size: 14px; }
.addons-sec .addon__more { justify-self: auto; align-self: flex-start; }
@media (max-width: 720px) { .addons-sec .addons { grid-template-columns: 1fr; } }
