/* Triatracker — web pública */
@font-face { font-family: 'Plex'; src: url('/site/fonts/plex-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/site/fonts/plex-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/site/fonts/plex-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('/site/fonts/plex-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #1F3A5F; --navy-d: #132840; --blue: #2E5E8C; --sky: #4C88B8; --pale: #8FB8D9;
  --amber: #F2A541; --amber-d: #E08E1C; --ink: #14202C; --ink-2: #44525F; --ink-3: #6C7A88;
  --bg: #FFFFFF; --soft: #F4F6F9; --line: #E1E6EC; --ok: #2F7D4F;
  --r: 16px; --sh: 0 1px 2px rgba(20,32,44,.06), 0 8px 24px -8px rgba(20,32,44,.12);
  --p-inicial: #56677A; --p-inicial-bg: #EAEEF2; --p-esencial: #23764A; --p-esencial-bg: #E0F1E7;
  --p-profesional: #1F5FA8; --p-profesional-bg: #E1ECF8; --p-avanzado: #6B3FA8; --p-avanzado-bg: #EEE6F8;
  --p-premium: #9A6A06; --p-premium-bg: #FBF0D6;
}
.p-inicial { --pc: var(--p-inicial); --pb: var(--p-inicial-bg); }
.p-esencial { --pc: var(--p-esencial); --pb: var(--p-esencial-bg); }
.p-profesional { --pc: var(--p-profesional); --pb: var(--p-profesional-bg); }
.p-avanzado { --pc: var(--p-avanzado); --pb: var(--p-avanzado-bg); }
.p-premium { --pc: var(--p-premium); --pb: var(--p-premium-bg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-size: .88em; background: var(--soft); padding: 1px 6px; border-radius: 5px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap-n { width: min(820px, 100% - 40px); }
.wrap-m { width: min(980px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.center { text-align: center; }
.more { text-align: center; margin-top: 40px; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, background .15s, box-shadow .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-l { padding: 14px 24px; font-size: 1.05rem; border-radius: 12px; }
.btn-s { padding: 7px 14px; font-size: .9rem; }
.btn-b { width: 100%; }
.btn-p { background: var(--navy); color: #fff; }
.btn-p:hover { background: var(--blue); }
.btn-a { background: linear-gradient(180deg, #E8901F, #D27A12); color: #fff; font-weight: 700; text-shadow: 0 1px 1px rgba(120,60,0,.25); box-shadow: 0 6px 18px -6px rgba(210,122,18,.7); }
.btn-a:hover { background: linear-gradient(180deg, #DA8418, #C46F0E); }
.btn-o { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-gl { border-color: rgba(31,58,95,.25); color: var(--navy); background: rgba(255,255,255,.7); }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: none; }
.lnk:hover { gap: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.eyebrow-c { display: flex; justify-content: center; }
.eyebrow-d { color: var(--amber-d); }
.h2c { text-align: center; max-width: 800px; margin-inline: auto; margin-bottom: 40px; }
.lead-c { text-align: center; color: var(--ink-2); max-width: 680px; margin: -24px auto 36px; }

/* Cabecera */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid rgba(225,230,236,.8); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); text-decoration: none; font-size: 1.2rem; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .dd-t { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .97rem; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .dd-t:hover, .nav a[aria-current] { color: var(--ink); background: var(--soft); }
.nav-sp { flex: 1; }
.nav > a.nav-login { background: #EAF1F8; color: var(--navy); font-weight: 600; padding: 9px 16px; }
.nav > a.nav-login:hover { background: #DCE8F4; color: var(--navy-d); }
.nav .btn { color: #fff; margin-left: 6px; }
.nav .btn:hover { background: var(--blue); color: #fff; }
.dd { position: relative; }
.dd-m { position: absolute; left: -20px; top: 100%; width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(20,32,44,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.dd:hover .dd-m, .dd:focus-within .dd-m { opacity: 1; visibility: visible; transform: none; }
.dd-m a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-m a:hover { background: var(--soft); }
.dd-m b { display: block; font-weight: 600; font-size: .95rem; }
.dd-m small { display: block; color: var(--ink-3); font-size: .84rem; line-height: 1.4; }
.dd-i { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #EAF1F8; color: var(--blue); }
.nav-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; border-radius: 8px; }

/* Portada */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(1000px 500px at 85% 10%, #DCE9F5 0, transparent 60%), radial-gradient(700px 400px at 0% 100%, #FDF0DC 0, transparent 60%), #F8FAFC; }
.hero-in { display: grid; grid-template-columns: .9fr 1.3fr; gap: 40px; align-items: center; }
@media (min-width: 1300px) { .hero-i { margin-right: -60px; } }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero-l { font-size: 1.22rem; color: var(--ink-2); max-width: 560px; }
.hero-c { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-k { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .94rem; }
.hero-k li { display: inline-flex; align-items: center; gap: 6px; }
.hero-k svg { color: var(--ok); }
.hero-i img { width: 100%; filter: drop-shadow(0 30px 40px rgba(20,40,70,.12)); }
.hero-rot { position: relative; display: grid; }
.hr-s { grid-area: 1 / 1; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
.hr-s.on { opacity: 1; transform: none; pointer-events: auto; }
.hr-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.hr-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(31,58,95,.22); cursor: pointer; transition: width .3s, background .3s; }
.hr-dots button.on { width: 26px; background: var(--navy); }
@media (prefers-reduced-motion: reduce) { .hr-s { transition: none; transform: none; } }

.sec { padding: 88px 0; }
.sec-soft { background: var(--soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-c { align-items: start; }
.sec-problem .two > div:first-child p { color: var(--ink-2); font-size: 1.08rem; }

/* IA medidas */
.ia-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 56px; }
.ia-l { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.ia-b { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 1.02rem; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(20,40,70,.3); }
.ia-b img { width: 22px; height: 22px; object-fit: contain; }
.ft-ia { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 28px; }
.ft-ia .ia-strip { justify-content: flex-start; margin-top: 0; }
.ft-ia .ia-l { color: rgba(255,255,255,.55); }
.ft-ia .ia-b { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; box-shadow: none; font-size: .92rem; padding: 7px 14px; }
.ia-b.ia-in { padding: 0; border: 0; box-shadow: none; background: none; font-size: 1rem; }
.sv-node img { width: 16px; height: 16px; align-self: center; }

/* Conversación de ejemplo */
.chat { margin: 0; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 30px 60px -25px rgba(20,40,70,.35); overflow: hidden; }
.chat-h { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.chat-d { width: 11px; height: 11px; border-radius: 50%; background: #D9DFE6; }
.chat-t { margin-left: 8px; font-size: .85rem; color: var(--ink-3); font-weight: 500; }
.chat-b { padding: 22px; display: grid; gap: 14px; }
.msg { margin: 0; padding: 14px 16px; border-radius: 16px; font-size: .97rem; }
.msg-u { justify-self: end; max-width: 85%; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg-a { background: var(--soft); border-bottom-left-radius: 4px; color: var(--ink); }
.msg-a p { margin: 0 0 8px; } .msg-a ol { margin: 0 0 10px; padding-left: 20px; } .msg-a li { margin: 3px 0; }
.msg-src { font-size: .8rem; color: var(--ink-3); margin: 0 !important; }
.chat-q { margin: 0; font-weight: 600; text-align: center; padding: 10px; border-radius: 12px; background: #FDF0DC; color: var(--ink); }
.chat-q span { color: #B23A3A; }
.chat figcaption { font-size: .78rem; color: var(--ink-3); text-align: center; padding: 0 0 12px; }

/* Tarjetas */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh); border: 1px solid var(--line); }
.card-n { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; background: linear-gradient(140deg, #2E5E8C, var(--navy) 70%); color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; box-shadow: 0 12px 24px -10px rgba(31,58,95,.55); font-variant-numeric: tabular-nums; }
.card-n::after { content: ""; position: absolute; right: -4px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; }
.cards4 .card { transition: transform .2s, box-shadow .2s; }
.cards4 .card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(20,32,44,.35); }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }

.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--sh); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(20,40,70,.3); }
.step + .step::before { content: ''; position: absolute; left: -24px; top: 92px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--pale) 0 6px, transparent 6px 10px); }
.step-v { height: 190px; display: grid; place-items: center; position: relative; overflow: hidden; }
.step-1 .step-v { background: linear-gradient(135deg, #EAF1F8, #F7FAFD); }
.step-2 .step-v { background: radial-gradient(circle at 50% 55%, #2E5E8C 0, #1F3A5F 55%, #132840 100%); }
.step-3 .step-v { background: linear-gradient(135deg, #FDF3E3, #FFF9F1); }
.step-b { padding: 22px 24px 26px; }
.step-n { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-d); margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: .97rem; }
/* Paso 1: preguntas */
.sv-q { display: grid; gap: 8px; justify-items: start; padding: 0 22px; width: 100%; }
.sv-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .8rem; color: var(--ink); box-shadow: 0 4px 10px -6px rgba(20,40,70,.25); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; animation: svIn .6s calc(var(--d) * .15s) both; }
.sv-chip:nth-child(2) { margin-left: 18px; } .sv-chip svg { color: var(--blue); flex: none; }
.sv-add { font-size: .78rem; font-weight: 600; color: var(--blue); padding: 4px 12px; border: 1.5px dashed var(--pale); border-radius: 99px; }
/* Paso 2: las IA */
.sv-ai { position: relative; width: 100%; height: 100%; }
.sv-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,255,255,.12), 0 0 0 18px rgba(255,255,255,.06); animation: svPulse 2.4s infinite; }
.sv-node { position: absolute; background: rgba(255,255,255,.95); color: var(--navy-d); font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 10px; display: inline-flex; gap: 6px; align-items: baseline; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.sv-node small { color: var(--amber-d); font-weight: 700; }
.sv-n0 { left: 9%; top: 18%; } .sv-n1 { right: 9%; top: 18%; } .sv-n2 { left: 12%; bottom: 16%; } .sv-n3 { right: 7%; bottom: 16%; }
/* Paso 3: resultados */
.sv-res { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: end; padding: 0 24px; width: 100%; }
.sv-score { background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 8px 20px -10px rgba(20,40,70,.35); }
.sv-score b { font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; }
.sv-score span { color: var(--ink-3); font-size: .8rem; margin-left: 2px; }
.sv-score em { display: flex; align-items: center; gap: 4px; font-style: normal; color: var(--ok); font-weight: 700; font-size: .82rem; margin-top: 4px; }
.sv-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; }
.sv-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--navy)); transform-origin: bottom; animation: svGrow .8s calc(var(--d) * .1s) both; }
.sv-bars span:last-child { background: linear-gradient(180deg, var(--amber), var(--amber-d)); }
.sv-tip { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; }
.sv-tip svg { color: var(--amber); }
@keyframes svIn { from { opacity: 0; transform: translateX(-12px); } }
@keyframes svGrow { from { transform: scaleY(0); } }
@keyframes svPulse { 50% { box-shadow: 0 0 0 12px rgba(255,255,255,.16), 0 0 0 26px rgba(255,255,255,.05); } }
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; overflow: hidden; box-shadow: var(--sh); }
.fu { padding: 24px 22px; color: #fff; position: relative; }
.fu b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.fu span { font-size: .92rem; opacity: .88; }
.fu1 { background: var(--navy); } .fu2 { background: var(--blue); } .fu3 { background: var(--sky); } .fu4 { background: var(--pale); color: var(--navy-d); }

/* Funcionalidades */
.show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.show-r .show-t { order: 2; }
.show-t h2, .show-t h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; }
.show-t p { color: var(--ink-2); }
.shot { margin: 0; position: relative; }
.shot img { width: 100%; filter: drop-shadow(0 24px 34px rgba(20,40,70,.14)); }
.shot figcaption { position: absolute; right: 8px; bottom: -4px; font-size: .72rem; color: var(--ink-3); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 6px; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); transition: .15s; }
.fcard:hover { border-color: var(--pale); box-shadow: var(--sh); transform: translateY(-2px); }
.fcard-i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF1F8; color: var(--blue); margin-bottom: 14px; }
.fcard h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fcard p { color: var(--ink-2); font-size: .93rem; margin: 0 0 12px; flex: 1; }
.fcard .lnk { font-size: .92rem; }

/* Tarifas */
.plans + .center { margin-top: 28px; }
.plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { grid-column: span var(--span, 2); }
.plan.plan-w { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 28px; align-content: start; }
.plan-w > :not(.plan-l):not(.plan-badge) { grid-column: 1; }
.plan-w .plan-l { grid-column: 2; grid-row: 1 / span 7; align-self: start; padding-top: 4px; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pc); border-radius: var(--r); padding: 24px 20px; box-shadow: var(--sh); scroll-margin-top: 90px; }
.plan-top { border-color: var(--pc); border-width: 2px; border-top-width: 4px; box-shadow: 0 24px 50px -20px rgba(31,95,168,.45); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--pc); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan h3 { display: flex; align-items: center; gap: 10px; color: var(--pc); font-size: 1.2rem; margin-bottom: 6px; }
.plan-i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--pb); color: var(--pc); }
.plan-q { color: var(--ink-2); margin: 0 0 14px; font-size: .95rem; }
.plan-q b { color: var(--ink); }
.plan-p { margin: 0; display: flex; align-items: baseline; gap: 2px; }
.plan-p .num { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan-p .cur { font-size: 1.4rem; font-weight: 700; }
.plan-p .per { color: var(--ink-3); margin-left: 4px; }
.plan-iva { font-size: .82rem; color: var(--ink-3); margin: 4px 0 12px; }
.plan-para { font-size: .9rem; color: var(--ink-2); min-height: 4.2em; }
.plan .btn { margin: 4px 0 18px; }
.plan-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.plan-l li { display: flex; gap: 8px; line-height: 1.4; }
.plan-l svg { flex: none; color: var(--ok); margin-top: 1px; }
.tbl-wrap { position: relative; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 760px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th[scope=row] { text-align: left; font-weight: 500; color: var(--ink-2); }
.cmp thead th { background: var(--soft); }
.cmp-h { display: inline-flex; align-items: center; gap: 6px; color: var(--pc); font-weight: 700; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.yes { color: var(--ok); display: inline-flex; } .no { color: var(--ink-3); }
.note { color: var(--ink-3); font-size: .9rem; margin-top: 16px; text-align: center; }

/* Preguntas frecuentes */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.06rem; }
.faq summary svg { flex: none; transition: transform .2s; color: var(--ink-3); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* Página de preguntas frecuentes */
.faq-g { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 96px; font-size: .93rem; }
.faq-nav p { font-weight: 700; margin-bottom: 10px; }
.faq-nav ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.faq-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; }
.faq-nav a:hover { background: var(--soft); color: var(--ink); }
.faq-nav span { color: var(--ink-3); font-size: .82rem; background: var(--soft); border-radius: 99px; padding: 1px 8px; align-self: center; }
.faq-sec { scroll-margin-top: 90px; margin-bottom: 48px; }
.faq-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.faq-sec-h h2 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; margin: 0; }
.faq-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #EAF1F8; color: var(--blue); flex: none; }
.faq-sec-h .lnk { font-size: .92rem; }
.faq-more { padding: 28px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.faq-more h2 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.faq-more p { opacity: .85; }

/* Paginador del blog */
.bpager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.bpager ol { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.bpager li a, .bpager li span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.bpager li a:hover { border-color: var(--navy); }
.bpager li span[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.bpager .bp-gap { align-self: center; color: var(--ink-3); }
.bp-arr { font-weight: 600; text-decoration: none; color: var(--blue); }
.bp-arr.off { color: var(--ink-3); opacity: .5; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: .15s; }
.post:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.post-i { display: block; background: linear-gradient(135deg, #EAF1F8, #F7F3EA); padding: 18px 18px 0; aspect-ratio: 16 / 10; overflow: hidden; }
.post-i img { width: 100%; object-fit: cover; object-position: top left; }
.post-t { padding: 20px 22px 24px; }
.post-t h3 { font-size: 1.12rem; }
.post-t h3 a { color: var(--ink); text-decoration: none; }
.post-t h3 a:hover { color: var(--blue); }
.post-t p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.post-m { font-size: .85rem; color: var(--ink-3); margin-bottom: 8px; }
.post-t .post-m { margin-bottom: 8px; }

/* Páginas interiores */
.phero { padding: 40px 0 56px; background: radial-gradient(900px 400px at 90% 0, #DCE9F5 0, transparent 60%), #F8FAFC; border-bottom: 1px solid var(--line); }
.phero-s { padding-bottom: 32px; }
.phero-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.phero-l { font-size: 1.15rem; color: var(--ink-2); max-width: 760px; }
.phero-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .87rem; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; scroll-margin-top: 90px; }
.prose section:first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--soft); }
.prose .tbl-wrap { margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--amber); color: var(--ink-2); }
.prose pre { margin: 1.4em 0; padding: 16px 18px; background: var(--ink); color: #E8EEF4; border-radius: 10px; overflow-x: auto; font-size: .86rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
.upd { color: var(--ink-3); font-size: .9rem; margin-top: 2em; }
.art-img { margin-top: -28px; margin-bottom: 8px; position: relative; }
.art-g { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; padding: 48px 0 72px; justify-content: center; }
.toc { position: sticky; top: 96px; align-self: start; font-size: .92rem; }
.toc p { font-weight: 600; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--blue); border-color: var(--blue); }
.art-cta { margin-top: 48px; padding: 28px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.art-cta h2 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.art-cta p { opacity: .9; }
.nf { padding: 96px 0; text-align: center; }
.nf .hero-c { justify-content: center; }

/* Contacto */
.sec-contact { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-d), var(--navy) 60%, var(--blue)); color: #fff; }
.sec-contact::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0, transparent 70%); pointer-events: none; }
.ct-glow { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(242,165,65,.35), transparent 65%); pointer-events: none; }
.ct-g { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.ct-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 4px; position: relative; }
.ct-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; position: relative; }
.ct-steps li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 48px; bottom: -8px; width: 2px; background: rgba(255,255,255,.18); }
.ct-steps span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,165,65,.18); color: var(--amber); font-weight: 700; border: 1.5px solid rgba(242,165,65,.5); }
.ct-steps b { display: block; color: #fff; font-weight: 600; }
.ct-steps small { color: rgba(255,255,255,.7); font-size: .92rem; }
.ct-mail { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.ct-mail:hover { background: rgba(255,255,255,.14); }
.ct-card { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); overflow: hidden; }
.ct-h { display: flex; gap: 14px; align-items: center; padding: 22px 28px; background: linear-gradient(135deg, #F4F7FB, #FDF5E8); border-bottom: 1px solid var(--line); }
.ct-h b { display: block; font-size: 1.12rem; }
.ct-h small { color: var(--ink-3); font-size: .88rem; }
.ct-hi { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--amber); }
.ct-card .form { box-shadow: none; border-radius: 0; }
.sec-contact h2 { color: #fff; }
.ct-t p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.ct-l { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ct-l li { display: flex; gap: 10px; align-items: center; }
.ct-l svg { color: var(--amber); }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(76,136,184,.2); }
.form textarea { resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.chk input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.hp { position: absolute !important; left: -9999px; }
.form-ok { background: #E3F1E8; color: #1C5A36; padding: 14px 16px; border-radius: 10px; }
.form-err { background: #F8E3E3; color: #8C2B2B; padding: 10px 14px; border-radius: 10px; margin: 0; }

/* Llamada a la acción */
.cta-band { background: var(--soft); padding: 72px 0; }
.cta-in { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; background: radial-gradient(600px 300px at 100% 0, rgba(242,165,65,.28), transparent 60%), linear-gradient(135deg, var(--navy-d), var(--navy) 55%, var(--blue)); color: #fff; padding: 56px; border-radius: 28px; position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(19,40,64,.7); }
.cta-in::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.cta-t { position: relative; }
.cta-in h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 12px; }
.cta-t > p:not(.eyebrow) { margin: 0 0 28px; opacity: .85; max-width: 520px; font-size: 1.08rem; }
.cta-b { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-in .btn-gl { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-v { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 22px; backdrop-filter: blur(6px); }
.cta-q { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .95rem; color: rgba(255,255,255,.9); }
.cta-q svg { color: var(--amber); flex: none; }
.cta-r { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cta-r li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; font-weight: 600; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); animation: svIn .6s both; }
.cta-r li:nth-child(2) { animation-delay: .1s; } .cta-r li:nth-child(3) { animation-delay: .2s; } .cta-r li:nth-child(4) { animation-delay: .3s; }
.cta-r b { font-size: .8rem; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.cta-r .ok { background: #E3F1E8; color: #1C5A36; } .cta-r .mid { background: #FBF0DC; color: #8A5A0E; } .cta-r .ko { background: #F8E3E3; color: #8C2B2B; }
.cta-note { margin: 12px 0 0; font-size: .75rem; color: rgba(255,255,255,.55); text-align: right; }

/* Vista previa de una entrada no publicada */
.pv-bar { background: #FBF0DC; color: #6B4A0C; text-align: center; padding: 10px 16px; font-weight: 600; font-size: .92rem; border-bottom: 1px solid #F0DDB5; }
.pv-bar a { margin-left: 10px; }

/* Aviso de cookies */
.ck { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(560px, calc(100% - 40px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: 0 30px 70px -20px rgba(20,32,44,.45); font-size: .93rem; }
.ck[hidden], .ck [hidden] { display: none !important; }
.ck-t { font-weight: 700; font-size: 1.05rem; margin: 0 0 6px; }
.ck-main p:last-child { color: var(--ink-2); margin: 0; }
.ck-cfg { display: grid; gap: 8px; margin: 16px 0 0; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.ck-row b { display: block; font-size: .95rem; } .ck-row small { color: var(--ink-3); font-size: .84rem; }
.ck-row input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.ck-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ck-b .btn { flex: 1 1 0; min-width: 120px; }
@media (max-width: 640px) { .ck { right: 10px; bottom: 10px; width: calc(100% - 20px); padding: 18px; } }

/* Volver arriba */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 12px 28px -10px rgba(19,40,64,.6); transition: transform .15s, background .15s, opacity .2s; }
.totop:hover { background: var(--navy-d); transform: translateY(-3px); }
.totop[hidden] { display: grid; opacity: 0; pointer-events: none; transform: translateY(10px); }
.ck:not([hidden]) ~ .totop { display: none; }
@media (max-width: 640px) { .totop { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* Pie */
.ft { background: var(--navy-d); color: rgba(255,255,255,.75); padding: 64px 0 96px; font-size: .94rem; }
.ft-g { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; }
.ft h2 { color: #fff; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ft a { color: rgba(255,255,255,.75); text-decoration: none; }
.ft a:hover { color: #fff; }
.logo-l { color: #fff !important; margin-bottom: 18px; font-size: 1.6rem; gap: 12px; flex-direction: column; align-items: flex-start; }
.logo-l img { width: 72px; height: 72px; }
.ft-b p { max-width: 320px; }
.ft-bot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 24px; }
.ft-bot .ft-c { margin-top: 0; }
.ft-soc { display: flex; gap: 10px; flex: none; }
.ft-soc a, .ft-soc span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); transition: .15s; }
.ft-soc a:hover { background: rgba(255,255,255,.16); color: #fff; }
.ft-c { margin-top: 24px; padding-top: 0; font-size: .84rem; color: rgba(255,255,255,.55); }

/* Pantallas medianas y móvil */
@media (max-width: 1100px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.2); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .dd-t { padding: 12px 8px; font-size: 1.05rem; }
  .dd-m { position: static; width: auto; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .dd.open .dd-m { display: grid; }
  .nav .btn { margin: 10px 0 0; }
  .nav-sp { display: none; }
  .hero-in, .two, .show, .phero-g, .ct-g { grid-template-columns: 1fr; gap: 36px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { grid-column: span 1; }
  .plan.plan-w { display: flex; }
  .plan:last-child:nth-child(odd) { grid-column: span 2; }
  .show-r .show-t { order: 0; }
  .show { margin-bottom: 64px; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step + .step::before { display: none; }
  .funnel { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .art-g { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .toc { position: static; }
  .faq-g { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-nav { position: static; }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .cta-in { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-n, .wrap-m { width: calc(100% - 32px); }
  .hero { padding: 40px 0 48px; }
  .hero-l { font-size: 1.08rem; }
  .plans, .fgrid, .cards4, .posts { grid-template-columns: 1fr; }
  .plans .plan { grid-column: auto !important; }
  .ct-h { padding: 18px 20px; }
  .plan-para { min-height: 0; }
  .f2 { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: 1fr; }
  .ft-g { grid-template-columns: 1fr; gap: 28px; }
  .ft-bot { flex-direction: column-reverse; align-items: flex-start; }
  .form { padding: 20px; }
  .hero-c .btn { flex: 1 1 100%; }
  .cta-b, .cta-b .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Iconos de tarifa en acuarela */
.plan-acu { display: inline-grid; place-items: center; flex: none; line-height: 0; margin: -4px 0 -4px -4px; }
.plan-acu svg { display: block; }

/* Fondo de los bloques de preguntas frecuentes (funcionalidades, tarifas y blog): mosaico de triángulos en los azules de la marca,
   por columnas de altura irregular, que se desvanece hacia arriba (public/site/img/faq-bg.svg) */
.sec-faq { position: relative; overflow: hidden; background: #fff; }
.sec-faq > .wrap { position: relative; z-index: 1; }
.sec-faq::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("/site/img/faq-bg.svg") center bottom / cover no-repeat; }
