/* Concepto: "la vuelta". Negro profundo, azul eléctrico y un anillo blanco que gira; partículas de energía orbitan el anillo. Un solo tema oscuro, deliberado. */
:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0A0D14;
  --surface: #0F131D;
  --surface-2: #151A27;
  --ink: #F3F6FB;
  --muted: #98A2B6;
  --line: #1E2433;
  --accent: #2F6BFF;
  --accent-hi: #6E9BFF;
  --accent-glow: rgba(47, 107, 255, .45);
  --white: #FFFFFF;
  --ok: #3DDC97;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.ring-o { display: inline-block; width: .8em; height: .8em; color: var(--white); vertical-align: -.02em; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 999px; background: var(--accent); color: var(--white); border: 0; cursor: pointer; box-shadow: 0 0 0 0 var(--accent-glow), 0 10px 30px -10px var(--accent-glow); transition: transform .2s, box-shadow .3s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(47,107,255,.15), 0 14px 40px -10px var(--accent-glow); }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; }

/* Cabecera */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5,6,8,.6); border-bottom: 1px solid rgba(255,255,255,.05); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--bg); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo .word { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: .02em; color: var(--accent); display: inline-flex; align-items: center; }
.logo .sub { font-size: 10px; letter-spacing: .5em; color: var(--muted); margin-top: 5px; padding-left: 2px; }
.logo .brand { width: 132px; height: auto; display: block; }
nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--muted); }
nav a { text-decoration: none; transition: color .2s; }
nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero .wrap { padding-block: 88px 120px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center; min-height: min(86vh, 820px); }
.hero h1 { font-size: clamp(42px, 7.2vw, 104px); font-weight: 900; letter-spacing: -.02em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .glow { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow), 0 0 90px rgba(47,107,255,.25); }
.hero .lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); max-width: 44ch; margin-top: 28px; animation: fade 1s .45s both; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: fade 1s .6s both; }
.hero-ring { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 1; max-width: 100%; }
.hero-ring svg { width: 100%; height: 100%; color: var(--white); filter: drop-shadow(0 0 30px rgba(110,155,255,.55)) drop-shadow(0 0 80px rgba(47,107,255,.35)); animation: spin 14s linear infinite; }
.hero-ring .chip { position: absolute; transform: translate(-50%, -50%); font-size: 14px; font-weight: 700; padding: 9px 16px 9px 9px; border-radius: 999px; background: rgba(15,19,29,.9); border: 1px solid var(--line); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; backdrop-filter: blur(6px); animation: stage 8s infinite; }
.hero-ring .chip b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; background: var(--surface-2); color: var(--accent-hi); }
.hero-ring .c1 { top: 4%; left: 50%; }
.hero-ring .c2 { top: 50%; left: 100%; animation-delay: 2s; }
.hero-ring .c3 { top: 96%; left: 50%; animation-delay: 4s; }
.hero-ring .c4 { top: 50%; left: 0%; animation-delay: 6s; }
.hero-ring .core { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.hero-ring .core span { display: grid; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 2vw, 22px); line-height: 1.15; }
.hero-ring .core small { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@keyframes stage { 0%, 22% { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.18), 0 0 30px var(--accent-glow); } 30%, 100% { border-color: var(--line); box-shadow: none; } }

/* Marquesina */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 18px; }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); color: var(--muted); }
.marquee .track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee .track span::after { content: "↻"; color: var(--accent); }

section.block { padding-block: 110px 0; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.head h2 { font-size: clamp(32px, 4.8vw, 58px); font-weight: 800; letter-spacing: -.01em; }
.head p { color: var(--muted); font-size: 19px; max-width: 58ch; }
.reveal { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.pre { transform: translateY(28px); }

/* Antes y después */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ba-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 20px; align-content: start; min-width: 0; }
.switch { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; justify-self: start; }
.switch button { font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.switch button[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tasks li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: background .5s, border-color .5s; font-variant-numeric: tabular-nums; }
.tasks .ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255,255,255,.06); color: var(--muted); transition: all .5s; }
.tasks .t { font-weight: 600; }
.tasks .h { color: var(--muted); font-size: 14px; transition: color .5s; }
.after .tasks li { border-color: rgba(61,220,151,.25); background: rgba(61,220,151,.06); }
.after .tasks .ico { background: var(--ok); color: #04150D; }
.after .tasks .h { color: var(--ok); }
.meter { display: grid; gap: 14px; align-content: center; text-align: left; background: radial-gradient(120% 120% at 100% 0%, rgba(47,107,255,.25), transparent 60%), var(--surface); }
.meter .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 10vw, 128px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.meter .num small { font-size: .32em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.meter .cap { color: var(--muted); }
.bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF6B5A, #FFB547); transition: width 1s cubic-bezier(.2,.8,.2,1), background .6s; }
.after-mode .bar > i { background: linear-gradient(90deg, var(--accent), var(--ok)); }
.fine { font-size: 13px; color: var(--muted); }

/* Demo del agente */
.demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sectors-pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sectors-pick button { font: inherit; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.sectors-pick button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); background: rgba(47,107,255,.14); }
.demo-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.demo-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.demo-copy li::before { content: "✓"; color: var(--accent-hi); font-weight: 800; }
.phone { justify-self: center; width: min(100%, 380px); border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #23293A, #0B0E15); box-shadow: 0 40px 100px -30px rgba(47,107,255,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
.screen { border-radius: 32px; overflow: hidden; background: #0B0F17; display: grid; grid-template-rows: auto 1fr auto; height: 560px; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; background: #111725; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--white); flex: none; }
.avatar svg { width: 22px; height: 22px; }
.chat-top b { display: block; font-size: 15px; }
.chat-top span { font-size: 12px; color: var(--ok); }
.msgs { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: pop .35s cubic-bezier(.2,.8,.2,1) both; }
.msg.user { align-self: flex-end; background: var(--accent); color: var(--white); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg.sys { align-self: center; background: rgba(61,220,151,.12); color: var(--ok); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 12px; }
.typing { align-self: flex-start; background: var(--surface-2); border-radius: 18px; padding: 12px 16px; display: inline-flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.chat-input { margin: 12px; padding: 12px 16px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 14px; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; border-radius: 22px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; gap: 14px; align-content: start; min-width: 0; transition: transform .3s, border-color .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(47,107,255,.22), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(47,107,255,.5); }
.card:hover::before { opacity: 1; }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(47,107,255,.15); color: var(--accent-hi); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 22px; font-weight: 800; }
.card p { color: var(--muted); }
.card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.card li { display: flex; gap: 10px; }
.card li::before { content: "→"; color: var(--accent-hi); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line); }
.steps .fill { position: absolute; top: 31px; left: 32px; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); box-shadow: 0 0 12px var(--accent-glow); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.steps.on .fill { width: calc(100% - 64px); }
.step { position: relative; display: grid; gap: 12px; padding-right: 28px; min-width: 0; }
.step .n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; background: var(--bg); border: 2px solid var(--accent); color: var(--white); box-shadow: 0 0 24px var(--accent-glow); }
.step h3 { font-size: 22px; font-weight: 800; margin-top: 8px; }
.step p { color: var(--muted); }

/* Pestañas de servicios */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.tabs button { font: inherit; text-align: left; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: border-color .25s, background .25s, color .25s, box-shadow .3s; min-width: 0; }
.tabs button b { display: block; color: var(--ink); font-size: 16px; }
.tabs button small { display: block; font-size: 13px; }
.tabs .ti { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(47,107,255,.12); color: var(--accent-hi); transition: background .25s, color .25s; }
.tabs .ti svg { width: 22px; height: 22px; }
.tabs button:hover { border-color: rgba(47,107,255,.45); }
.tabs button[aria-selected="true"] { border-color: var(--accent); background: rgba(47,107,255,.1); box-shadow: 0 0 0 4px rgba(47,107,255,.12), 0 20px 50px -25px var(--accent-glow); }
.tabs button[aria-selected="true"] .ti { background: var(--accent); color: var(--white); }
.panel { border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, rgba(47,107,255,.12), transparent 60%), var(--bg-2); padding: clamp(22px, 4vw, 48px); animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
.ph { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.pp { color: var(--muted); margin: 14px 0 18px; max-width: 46ch; }
.demo-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.demo-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.demo-copy li::before { content: "✓"; color: var(--accent-hi); font-weight: 800; }
.auto, .webdemo, .acomp { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.flow-pick { display: grid; gap: 8px; }
.flow-pick button { font: inherit; font-weight: 600; text-align: left; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.flow-pick button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); background: rgba(47,107,255,.14); }
.flow-card { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 26px; min-width: 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.flow li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding-block: 12px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 60px; bottom: -12px; width: 2px; background: var(--line); }
.flow li.done:not(:last-child)::after { background: linear-gradient(var(--accent), var(--accent-hi)); box-shadow: 0 0 10px var(--accent-glow); }
.flow .node { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 21px; background: var(--surface-2); border: 1px solid var(--line); transition: all .4s; position: relative; z-index: 1; }
.flow li.done .node { background: rgba(47,107,255,.18); border-color: var(--accent); box-shadow: 0 0 22px var(--accent-glow); }
.flow .txt b { display: block; font-size: 16px; }
.flow .txt small { display: block; color: var(--muted); font-size: 14px; }
.flow li .when { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hi); }
.flow-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ok); }
.browser { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px var(--accent-glow); min-width: 0; }
.bar-top { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: var(--surface-2); }
.bar-top i { width: 10px; height: 10px; border-radius: 50%; background: #3A4256; }
.bar-top span { margin-left: 10px; flex: 1; font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 5px 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site { min-height: 330px; }
.browser:not(.is-old) .site-old, .browser.is-old .site-new { display: none; }
.site-old { background: #E9E4D8; color: #222; font-family: "Times New Roman", Times, serif; font-size: 15px; padding: 0 0 16px; }
.old-banner { background: #7A1F1F; color: #FFE36E; font-family: "Comic Sans MS", "Comic Sans", cursive; text-align: center; padding: 14px; font-size: 17px; letter-spacing: .04em; }
.old-body { padding: 14px 18px; display: grid; gap: 10px; }
.old-body u { color: #0000EE; }
.old-img { border: 2px dashed #999; color: #777; text-align: center; padding: 40px 10px; font-size: 13px; }
.old-small { font-size: 12px; color: #666; }
.site-new { position: relative; padding: 18px; display: grid; gap: 14px; background: linear-gradient(160deg, #1B1420, #0D0B14); color: #FFF; font-family: var(--font-body); animation: pop .45s both; }
.sn-hero { border-radius: 14px; padding: 26px 20px; background: radial-gradient(120% 120% at 100% 0%, #E7A1B9 0%, #8E4C79 45%, #2B1830 100%); display: grid; gap: 10px; justify-items: start; }
.sn-brand { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.sn-hero b { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.15; }
.sn-cta { background: #FFF; color: #2B1830; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; }
.sn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sn-row div { border-radius: 12px; background: rgba(255,255,255,.07); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.sn-row small { font-size: 12px; opacity: .75; }
.sn-row b { font-size: 16px; }
.sn-rev { font-size: 13px; color: #FFD27A; }
.sn-rev b { color: #FFF; }
.sn-wa { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #FFF; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.sn-wa svg { width: 22px; height: 22px; }
.report { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 20px; min-width: 0; }
.rep-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rep-head span { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.rep-head small { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { border-radius: 16px; background: var(--surface-2); padding: 16px; display: grid; gap: 4px; min-width: 0; }
.kpis b { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); color: var(--accent-hi); font-variant-numeric: tabular-nums; line-height: 1; }
.kpis small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.rep-list { display: grid; gap: 8px; }
.rep-list span { font-weight: 700; }
.rep-list p { color: var(--muted); font-size: 15px; }

/* Paquetes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; border-radius: 22px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; min-width: 0; }
.plan.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, var(--accent-hi), var(--accent) 40%, rgba(47,107,255,.1)) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px -30px var(--accent-glow); }
.plan .tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.plan h3 { font-size: 21px; font-weight: 800; }
.plan p { color: var(--muted); font-size: 15px; }
.price { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.price .from { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price .row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.price .big { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.price .monthly { font-size: 14px; color: var(--muted); }
.price .save { justify-self: start; font-size: 12px; font-weight: 700; color: var(--ok); background: rgba(61,220,151,.12); padding: 3px 10px; border-radius: 999px; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Oferta */
.offer { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(80% 140% at 0% 0%, #3C7BFF 0%, #1A47D6 45%, #0B1E66 100%); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; isolation: isolate; }
.offer::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); z-index: -1; }
.offer .kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.offer h2 { font-size: clamp(34px, 5vw, 62px); font-weight: 900; color: var(--white); margin-top: 14px; }
.offer p { color: rgba(255,255,255,.88); font-size: 18px; margin-top: 16px; max-width: 46ch; }
.offer .btn { background: var(--white); color: #0B1E66; margin-top: 26px; box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { background: rgba(5,6,8,.35); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 18px 8px; text-align: center; backdrop-filter: blur(6px); min-width: 0; }
.countdown b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.6vw, 44px); color: var(--white); font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.offer .until { grid-column: 1 / -1; font-size: 13px; color: rgba(255,255,255,.75); text-align: center; margin-top: 4px; }

/* Sectores */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector { border-radius: 22px; padding: 28px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; min-width: 0; }
.sector .big { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.sector p { color: var(--muted); }
.sector .res { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ok); display: flex; gap: 8px; }

/* Contacto */
.contact { position: relative; overflow: hidden; margin-top: 120px; padding-block: 120px; text-align: center; border-top: 1px solid var(--line); isolation: isolate; }
.contact .bg-ring { position: absolute; left: 50%; top: 50%; width: min(900px, 160vw); aspect-ratio: 1; transform: translate(-50%, -50%); color: rgba(47,107,255,.12); z-index: -1; animation: spin-c 40s linear infinite; pointer-events: none; }
.contact h2 { font-size: clamp(38px, 7vw, 92px); font-weight: 900; letter-spacing: -.02em; max-width: 14ch; margin: 0 auto; }
.contact h2 .glow { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.contact p { color: var(--muted); font-size: 19px; max-width: 46ch; margin: 24px auto 0; }
.contact .lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.contact .pill { display: grid; gap: 2px; padding: 16px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.contact .pill small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact .pill span { font-weight: 700; font-size: 17px; user-select: all; }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-c { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 90px; }
  .hero-ring { width: min(70%, 300px); order: -1; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .ba, .demo, .offer, .auto, .webdemo, .acomp { grid-template-columns: 1fr; gap: 32px; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps::before, .steps .fill { display: none; }
}
@media (max-width: 680px) {
  .services, .steps, .sectors, .plans { grid-template-columns: 1fr; }
  .tabs button { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .tabs button small { display: none; }
  .kpis { grid-template-columns: 1fr; }
  .sn-row { grid-template-columns: 1fr 1fr; }
  .flow-pick { display: flex; flex-wrap: wrap; }
  .flow-pick button { padding: 10px 14px; border-radius: 999px; font-size: 14px; }
  .steps { gap: 30px; }
  .steps::before, .steps .fill { display: none; }
  .hero-ring .chip { font-size: 12px; padding: 6px 12px 6px 6px; gap: 7px; }
  .hero-ring .chip b { width: 22px; height: 22px; font-size: 11px; }
  .hero-ring .c2 { left: 90%; } .hero-ring .c4 { left: 16%; }
  .hero-ring .core { display: none; }
  .hero-ring { width: min(82%, 320px); margin-block: 12px; }
  .countdown { gap: 6px; }
  .countdown div { padding: 14px 4px; border-radius: 14px; }
  header .btn { padding: 10px 16px; font-size: 14px; }
  .screen { height: 500px; }
  section.block { padding-block: 80px 0; }
}


/* ===== Web por zonas ===== */
nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; font: inherit; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Cabecera de página interior */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(70% 120% at 85% 0%, rgba(47,107,255,.22), transparent 60%), var(--bg); }
.page-hero .wrap { padding-block: 84px 72px; display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 76px); font-weight: 900; letter-spacing: -.02em; max-width: 15ch; }
.page-hero h1 .glow { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.page-hero .lead { font-size: clamp(18px, 1.9vw, 21px); color: var(--muted); max-width: 52ch; }
.page-hero .deco { position: absolute; right: -80px; top: 50%; width: min(520px, 70vw); aspect-ratio: 1; transform: translateY(-50%); color: rgba(47,107,255,.18); z-index: -1; animation: spin-y 40s linear infinite; pointer-events: none; }
@keyframes spin-y { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--accent-hi); }

/* Tarjetas que enlazan */
a.card, a.sector { text-decoration: none; color: inherit; }
.more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--accent-hi); display: inline-flex; gap: 8px; align-items: center; }
a.sector { transition: transform .3s, border-color .3s; }
a.sector:hover { transform: translateY(-4px); border-color: rgba(47,107,255,.5); }
.sector .emoji { font-size: 30px; line-height: 1; }
.services.four { grid-template-columns: repeat(4, 1fr); }

/* Página de sector */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); padding: 26px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.pain .row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.pain .lbl { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; justify-self: start; }
.pain .lbl.b { background: rgba(255,255,255,.06); color: var(--muted); }
.pain .lbl.a { background: rgba(47,107,255,.18); color: var(--accent-hi); }
.pain .row p { color: var(--muted); }
.pain .row.after p { color: var(--ink); }
.pain h3 { font-size: 20px; font-weight: 800; }
.sector-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.includes li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.includes li span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(47,107,255,.15); font-size: 17px; }
.includes li b { display: block; }
.includes li small { color: var(--muted); font-size: 14px; }
.reco { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; border-radius: 26px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, var(--accent-hi), var(--accent) 40%, rgba(47,107,255,.1)) border-box; border: 2px solid transparent; box-shadow: 0 30px 80px -30px var(--accent-glow); }
.reco h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.reco p { color: var(--muted); margin-top: 12px; }
.reco .price { border-top: 0; padding-top: 0; }
.reco .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.other-sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.other-sectors a { text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; font-size: 15px; transition: all .25s; }
.other-sectors a:hover { border-color: var(--accent); color: var(--ink); }

/* Precios */
.includes-month { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.includes-month div { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); padding: 20px; display: grid; gap: 6px; min-width: 0; }
.includes-month b { font-size: 16px; }
.includes-month small { color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-hi); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 68ch; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.form { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in label { cursor: pointer; position: relative; }
.chips-in input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.chips-in span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 14px; font-weight: 600; transition: all .2s; }
.chips-in input:checked + span { border-color: var(--accent); color: var(--ink); background: rgba(47,107,255,.15); }
.chips-in input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.sent { border-radius: 16px; padding: 18px; background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.35); display: grid; gap: 10px; }
.sent b { color: var(--ok); }
.sent pre { white-space: pre-wrap; font: inherit; font-size: 14px; color: var(--ink); margin: 0; background: var(--bg); padding: 12px; border-radius: 10px; }
.side { display: grid; gap: 14px; }
.side .pill { display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.side .pill small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side .pill span { font-weight: 700; font-size: 18px; user-select: all; }
.side .pill p { color: var(--muted); font-size: 14px; }

/* Pie */
footer .wrap { align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
footer nav a { text-decoration: none; color: var(--muted); }
footer nav a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .menu-btn { display: grid; }
  header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,6,8,.97); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  header.open nav { display: flex; }
  header nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); box-shadow: none; }
  header nav a[aria-current="page"] { color: var(--accent-hi); box-shadow: none; }
  .services.four { grid-template-columns: repeat(2, 1fr); }
  .sector-demo, .reco, .contact-grid { grid-template-columns: 1fr; }
  .includes-month { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pains, .includes, .services.four, .includes-month, .two { grid-template-columns: 1fr; }
  .pain .row { grid-template-columns: 1fr; gap: 6px; }
  header .head-actions .btn { display: none; }
  .page-hero .wrap { padding-block: 56px 48px; }
}
.sent .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sent .btn { padding: 11px 18px; font-size: 14px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-radius: 24px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; max-width: 22ch; }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.block.tight { padding-top: 0; }
.services.four .card { padding: 28px 22px; }
.services.four .card h3 { font-size: clamp(15px, 1.3vw, 17px); }
.demo-copy .includes li { grid-template-columns: 34px 1fr; color: var(--ink); }
.demo-copy .includes li::before { content: none; }
.pain .row { grid-template-columns: 108px 1fr; }
.pain .lbl { white-space: nowrap; }
@media (max-width: 680px) { .pain .row { grid-template-columns: 1fr; } }
.sent[hidden] { display: none; }
@media (max-width: 980px) {
  header.open { background: #050608; backdrop-filter: none; -webkit-backdrop-filter: none; }
  header.open nav { background: #050608; opacity: 1; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
}

main { padding-bottom: 110px; }
main + .contact { margin-top: 0; }
/* ===== Diseño limpio (pruebas): una sola tipografía, sin brillos, rueda arriba en la portada ===== */
:root, html[data-pal="oscuro"] {
  color-scheme: dark;
  --bg: #0A0A0C; --bg-2: #0F0F12; --surface: #131317; --surface-2: #1B1B21;
  --ink: #F5F5F7; --muted: #9B9BA6; --line: #26262E;
  --accent: #2F6BFF; --accent-hi: #7EA3FF; --accent-glow: rgba(47,107,255,.22);
  --ok: #3DDC97;
  --head-bg: rgba(10,10,12,.72);
}
:root { --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; }

body { font-size: 16.5px; }
h1, h2, h3, .sector .big, .hero-ring .core span, .kpis b, .countdown b, .step .n, .meter .num, .marquee .track, .price .big { font-weight: 600 !important; letter-spacing: -.025em; }
h1, h2 { line-height: 1.08; }
.glow, .hero h1 .glow, .page-hero h1 .glow, .contact h2 .glow { text-shadow: none !important; color: var(--accent); }
.eyebrow { font-weight: 600; letter-spacing: .12em; }

/* Cabecera */
header { background: var(--head-bg); border-bottom: 1px solid var(--line); }
.brand text:first-of-type { fill: var(--ink); }
.brand text:last-of-type { fill: var(--muted); }
.btn { font-weight: 600; box-shadow: none; }
.btn:hover { box-shadow: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

/* Portada: primero la rueda, debajo el título */
.hero .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 44px; min-height: 0; padding-block: 72px 96px; }
.hero .wrap > div:first-child { order: 2; display: grid; justify-items: center; }
.hero-ring { order: 1; width: min(100%, 360px); }
.hero h1 { font-size: clamp(34px, 4.8vw, 62px); max-width: 18ch; margin-top: 18px !important; }
.hero h1 .line { display: inline-block; }
.hero .lead { margin-inline: auto; max-width: 56ch; font-size: clamp(17px, 1.6vw, 19px); }
.hero .cta-row { justify-content: center; }
.hero-ring svg { color: var(--ink); filter: none; }
.hero-ring .chip { background: var(--surface); color: var(--ink); backdrop-filter: none; font-weight: 600; }
.hero-ring .chip b { background: var(--surface-2); font-weight: 600; }
#field { opacity: .55; }
@keyframes stage { 0%, 22% { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); } 30%, 100% { border-color: var(--line); box-shadow: none; } }
.marquee { background: var(--bg); }
.marquee .track { font-family: var(--font-body); font-size: clamp(16px, 1.8vw, 20px); }

/* Títulos de sección más contenidos */
.head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.page-hero { background: var(--bg); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.page-hero .deco { opacity: .6; }
.contact h2 { font-size: clamp(32px, 5vw, 64px); }
.offer h2 { font-size: clamp(30px, 4vw, 50px); }
.reco h2 { font-size: clamp(24px, 3vw, 34px); }
.meter .num { font-size: clamp(56px, 8vw, 104px); }
.card h3, .pain h3 { font-size: 20px; }
.step h3 { font-size: 20px; }

/* Menos brillo y sombras */
.card::before { display: none; }
.card:hover, a.sector:hover { transform: translateY(-2px); border-color: var(--accent); }
.step .n { color: var(--ink); box-shadow: none; border-width: 1.5px; }
.steps .fill { box-shadow: none; }
.plan.featured, .reco { box-shadow: none; }
.browser { box-shadow: none; }
.flow li.done .node { box-shadow: none; }
.flow li.done:not(:last-child)::after { box-shadow: none; }
.tabs button[aria-selected="true"] { box-shadow: none; }
.meter { background: var(--surface); }
.tasks .ico { background: var(--surface); }
.after .tasks .ico { color: #FFFFFF; }

/* Móvil del agente, adaptado a cada paleta */
.phone { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.screen { background: var(--bg); }
.chat-top { background: var(--surface); }

/* Oferta: azul plano */
.offer { background: var(--accent); }
.offer::after { border-color: rgba(255,255,255,.08); }
.countdown div { background: rgba(0,0,0,.14); backdrop-filter: none; }

/* Menú móvil */
@media (max-width: 980px) {
  header nav { background: var(--bg); }
  header.open, header.open nav { background: var(--bg); }
  header.open nav { box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
}


@media (max-width: 680px) {
  .hero .wrap { padding-block: 56px 72px; gap: 36px; }
  .hero-ring { width: min(78vw, 300px); }
  .lab span { display: none; }
}
.hero .wrap { padding-block: 48px 88px; gap: 36px; }
.hero-ring { width: min(100%, 320px); }
.hero-ring svg { color: var(--accent); }
.hero h1 { line-height: 1.1; }
.hero h1 .line { padding-bottom: 0; }
.hero .eyebrow::before { display: none; }
@media (max-width: 680px) {
  .hero .wrap { padding-block: 40px 64px; gap: 28px; }
  .hero-ring { width: min(66vw, 260px); }
  .hero .eyebrow { font-size: 11px; }
}

/* Agente o automatización */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-col { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.vs-col.star { border-color: var(--accent); }
.vs-ico { font-size: 26px; }
.vs-col h3 { font-size: 22px; }
.vs-sum { font-size: 18px; font-weight: 500; }
.vs-col ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.vs-col li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.vs-col li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.vs-ex { color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.vs-ex b { color: var(--ink); }
@media (max-width: 680px) { .vs { grid-template-columns: 1fr; } }

/* Mixto: portada y marcos oscuros, secciones claras en bandas alternas */
:root {
  color-scheme: light;
  --bg: #FFFFFF; --bg-2: #F4F5F8; --surface: #F4F5F8; --surface-2: #EAECF1;
  --ink: #0B0B0F; --muted: #5C6170; --line: #E3E5EA;
  --accent: #2F6BFF; --accent-hi: #1F55E0; --accent-glow: rgba(47,107,255,.18);
  --ok: #0E9F62; --head-bg: rgba(10,10,12,.82);
}
:root :is(header, .hero, .marquee, .page-hero, .contact, footer) {
  color-scheme: dark;
  --bg: #0A0A0C; --bg-2: #0F0F12; --surface: #16161B; --surface-2: #1E1E25;
  --ink: #F5F5F7; --muted: #9B9BA6; --line: #26262E;
  --accent-hi: #7EA3FF; --ok: #3DDC97;
  color: var(--ink);
}
:root :is(.hero, .marquee, .page-hero, .contact, footer) { background: var(--bg); }
:root header { background: var(--head-bg); border-bottom-color: rgba(255,255,255,.06); }
:root #field { opacity: .55; mix-blend-mode: normal; }
:root main { padding-bottom: 0; }
:root main > section.block { padding-block: 96px; }
:root main > section.block:nth-of-type(odd) { --bg: #F4F5F8; --surface: #FFFFFF; --surface-2: #EEF0F4; background: var(--bg); }
:root main > section.block:nth-of-type(even) { background: var(--bg); }
:root .contact { margin-top: 0; border-top: 0; }
:root footer .wrap { border-top: 0; }
:root .page-hero { border-bottom: 0; }
@media (max-width: 680px) { :root main > section.block { padding-block: 64px; } }

/* Secciones como botones visibles (sin menú de barritas) */
:root { --on-accent: #FFFFFF; }
header nav { gap: 6px; }
header nav a { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
header nav a:hover { color: var(--ink); border-color: var(--muted); }
header nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: none; padding-bottom: 8px; }
@media (max-width: 980px) {
  .menu-btn { display: none !important; }
  header .wrap { flex-wrap: wrap; row-gap: 10px; padding-bottom: 12px; }
  header nav, header.open nav { display: flex; position: static; order: 3; width: 100%; flex-direction: row; gap: 8px; padding: 0 0 2px; background: transparent !important; border: 0; box-shadow: none !important; overflow-x: auto; scrollbar-width: none; }
  header nav::-webkit-scrollbar { display: none; }
  header nav a { flex: none; padding: 8px 15px; font-size: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
  header nav a[aria-current="page"] { color: var(--on-accent); border-color: var(--accent); }
  header .head-actions .btn { display: inline-flex; padding: 10px 18px; font-size: 14px; }
}

/* Textos sobre el color de acento */
.btn, .msg.user, .switch button[aria-pressed="true"], .tabs button[aria-selected="true"] .ti, .avatar { color: var(--on-accent); }
.avatar svg { --vo-ink: var(--on-accent); }

/* Prueba en amarillo (sobre la estructura Mixto) */
:root {
  --accent: #FFC21A; --accent-hi: #8A6200; --accent-glow: rgba(255,194,26,.3);
  --on-accent: #111114; --logo: #FFC21A;
}
:root :is(header, .hero, .marquee, .page-hero, .contact, footer) { --accent-hi: #FFD45C; }
:root main .glow { color: var(--accent-hi); }
:root :is(.hero, .page-hero, .contact) .glow { color: var(--accent); }
:root .offer :is(h2, p, .kicker, .until) { color: var(--on-accent); }
:root .offer .countdown b { color: var(--on-accent); }
:root .offer .countdown span { color: rgba(17,17,20,.7); }
:root .offer .countdown div { background: rgba(255,255,255,.35); border-color: rgba(17,17,20,.12); }
:root .offer .btn { background: #111114; color: #FFFFFF; }
:root .offer::after { border-color: rgba(17,17,20,.06); }
:root .plan.featured, :root .reco, :root .vs-col.star { border-color: #E0A800; }
:root .plan.featured { background: var(--surface); }
:root .reco { background: var(--surface); }
.lab { max-width: calc(100vw - 20px); overflow-x: auto; scrollbar-width: none; }
.lab button { flex: none; padding: 8px 12px; }
@media (max-width: 680px) {
  header nav a[href="index.html"] { display: none; }
  header nav { overflow: visible; gap: 6px; }
  header nav a { flex: 1 1 0; text-align: center; padding: 8px 6px; font-size: 13.5px; }
}
:root header { background: #0A0A0C; }
:root :is(.page-hero .deco, .contact .bg-ring) { color: rgba(255,194,26,.16); }
body { margin: 0; }

/* Portada: rueda protagonista y título en una línea */
.hero-ring { width: min(100%, 460px); }
.hero-ring svg { filter: drop-shadow(0 0 22px var(--accent-glow)); }
.hero-ring .core span { font-size: clamp(20px, 2.4vw, 28px); }
.hero-ring .core small { font-size: 13px; }
.hero-ring .chip { font-size: 15px; padding: 10px 18px 10px 10px; }
.hero h1 { max-width: none; white-space: nowrap; font-size: clamp(19px, 5.4vw, 60px); }
.hero h1 .line { display: inline; overflow: visible; }
@media (max-width: 680px) {
  .hero-ring { width: min(80vw, 320px); }
  .hero-ring .chip { font-size: 13px; padding: 8px 12px 8px 8px; }
}

/* Ejemplo de web renovada: centro de estética */
.site-new.spa { background: #F6F1EA; color: #2E2A26; padding: 0; gap: 0; font-family: "Figtree", system-ui, sans-serif; }
.spa-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #E6DDD1; }
.spa-logo { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1; display: grid; }
.spa-logo small { font-family: "Figtree", sans-serif; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: #8A8178; margin-top: 3px; }
.spa-links { display: flex; gap: 14px; font-size: 11.5px; color: #6D655D; }
.spa-book { font-size: 11.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: #2E2A26; color: #F6F1EA; }
.spa-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; padding: 18px 16px 14px; align-items: stretch; }
.spa-copy { display: grid; gap: 10px; align-content: center; }
.spa-eyebrow { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: #7D8B6F; font-weight: 600; }
.spa-h { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; letter-spacing: -.01em; }
.spa-h em { font-style: italic; color: #A06F52; }
.spa-copy p { font-size: 12.5px; color: #6D655D; line-height: 1.5; }
.spa-ctas { display: flex; flex-wrap: wrap; gap: 6px; }
.spa-btn { font-size: 11.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px; background: #7D8B6F; color: #FFF; }
.spa-btn.ghost { background: transparent; color: #2E2A26; box-shadow: inset 0 0 0 1px #CFC4B6; }
.spa-img { position: relative; border-radius: 16px 16px 90px 16px; overflow: hidden; min-height: 170px; }
.spa-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spa-badge { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.88); color: #2E2A26; border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 700; }
.spa-badge small { font-weight: 500; color: #6D655D; margin-left: 2px; }
.spa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px 18px; }
.spa-cards div { background: #FFFFFF; border: 1px solid #ECE4D9; border-radius: 12px; padding: 10px 12px; display: grid; gap: 1px; min-width: 0; }
.spa-cards small { font-size: 10px; color: #A06F52; font-weight: 600; letter-spacing: .1em; }
.spa-cards b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; font-weight: 600; }
.spa-cards span { font-size: 11px; color: #6D655D; }
.site-new.spa .sn-wa { right: 12px; bottom: 12px; width: 38px; height: 38px; }
@media (max-width: 680px) {
  .spa-links { display: none; }
  .spa-hero { grid-template-columns: 1fr; }
  .spa-img { min-height: 140px; border-radius: 14px 14px 60px 14px; }
}
.panel { background: var(--surface) !important; }
@media (max-width: 680px) {
  .spa-img { min-height: 180px; }
  .spa-cards { gap: 6px; padding: 0 12px 14px; }
  .spa-cards div { padding: 8px 9px; }
  .spa-cards b { font-size: 14.5px; }
}

/* Portada: círculo apagado con una luz que lo recorre; cada paso se enciende al pasar (2026-10-19) */
#field { opacity: 1 !important; }
  .hero-ring svg.ring-luz { animation: none; filter: none; color: inherit; opacity: 1; overflow: visible; }
.ring-luz .barrido { transform-origin: 20px 20px; animation: barrido 12s linear infinite; filter: drop-shadow(0 0 1.2px rgba(255,194,26,.7)); }
@keyframes barrido { to { transform: rotate(360deg); } }
/* Cada paso se enciende cuando la luz pasa por él (arriba, derecha, abajo, izquierda) */
.hero-ring .chip { animation: paso 12s linear infinite; transition: none; }
.hero-ring .c1 { animation-delay: 0s; } .hero-ring .c2 { animation-delay: -9s; }
.hero-ring .c3 { animation-delay: -6s; } .hero-ring .c4 { animation-delay: -3s; }
@keyframes paso {
  0%, 14% { border-color: #FFC21A; color: #fff; box-shadow: 0 0 0 1px rgba(255,194,26,.35), 0 0 26px rgba(255,194,26,.28); }
  26%, 100% { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.55); box-shadow: none; }
}
.hero-ring .chip b { animation: paso-num 12s linear infinite; animation-delay: inherit; }
@keyframes paso-num { 0%, 14% { background: #FFC21A; color: #0A0A0C; } 26%, 100% { background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); } }
@media (prefers-reduced-motion: reduce) { .ring-luz .barrido, .hero-ring .chip, .hero-ring .chip b { animation: none; } }

/* Selector de idioma ES | CA */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-decoration: none; line-height: 1; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
