/* =====================================================================
   SERVICE TV · ESTILOS
   Los colores y tipografías se cambian en :root (abajo).
   ===================================================================== */

:root {
  /* Colores de marca */
  --canvas: #F4F6FA;          /* fondo general (gris muy claro, nunca blanco puro) */
  --surface: #FFFFFF;         /* tarjetas */
  --surface-2: #EAF0F8;       /* superficies secundarias */
  --navy-950: #061428;
  --navy-900: #0A1D3A;
  --navy-800: #0B2447;        /* azul oscuro principal */
  --navy-700: #133463;
  --accent: #1F6BFF;          /* azul eléctrico (acento, en dosis chicas) */
  --accent-ink: #1754CC;      /* acento para texto chico sobre fondo claro */
  --accent-soft: rgba(31, 107, 255, .09);
  --accent-glow: rgba(31, 107, 255, .28);
  --wa: #25D366;              /* verde WhatsApp: botones de contacto */
  --wa-hover: #1EBE5B;
  --wa-ink: #062B17;

  --text: #0B1B33;
  --text-2: #45556E;
  --text-on-dark: #EEF3FB;
  --text-on-dark-2: #A9B9D3;
  --line: #DFE6F0;
  --line-strong: #7D8DA6;

  /* Tipografías */
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Forma y movimiento */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, .06), 0 2px 8px rgba(11, 36, 71, .04);
  --shadow-md: 0 2px 4px rgba(11, 36, 71, .05), 0 12px 32px rgba(11, 36, 71, .08);
  --shadow-lg: 0 4px 10px rgba(11, 36, 71, .06), 0 28px 64px rgba(11, 36, 71, .14);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; overflow-x: clip;
  background: var(--canvas); color: var(--text);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  animation: page-in .6s var(--ease-out) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; letter-spacing: -.02em; color: var(--navy-800); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id], main { scroll-margin-top: calc(var(--header-h) + 12px); }
main:focus { outline: none; }

[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }

/* Capa de ambiente fija: un brillo muy suave que se mueve lento */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.env::before, .env::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(40px); opacity: .55; animation: drift 90s ease-in-out infinite alternate; animation-delay: -20s;
}
.env::before { background: radial-gradient(circle, rgba(31, 107, 255, .10), transparent 65%); top: -30vmax; right: -25vmax; }
.env::after { background: radial-gradient(circle, rgba(11, 36, 71, .07), transparent 65%); bottom: -35vmax; left: -30vmax; animation-delay: -55s; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8vmax, 6vmax, 0); } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--navy-800); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-wa { --bg: var(--wa); --fg: var(--wa-ink); box-shadow: 0 6px 18px rgba(37, 211, 102, .28); }
.btn-wa:hover { --bg: var(--wa-hover); box-shadow: 0 10px 26px rgba(37, 211, 102, .36); }
.btn-wa .ico { width: 22px; height: 22px; }
.btn-primary { --bg: var(--navy-800); box-shadow: 0 6px 18px rgba(11, 36, 71, .22); }
.btn-primary:hover { --bg: var(--navy-700); }
.btn-ghost { --bg: transparent; --fg: var(--navy-800); --bd: rgba(11, 36, 71, .28); }
.btn-ghost:hover { --bd: var(--navy-800); --bg: rgba(11, 36, 71, .04); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-xl { min-height: 62px; padding: 16px 32px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
@media (pointer: coarse) { .btn { min-height: 48px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(244, 246, 250, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 36, 71, .06); background: rgba(244, 246, 250, .92); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); }
.brand-mark { width: 38px; height: 38px; color: var(--navy-800); }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; }
.brand-word span { color: var(--accent); margin-left: .28em; }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: var(--accent); }
.brand-light .brand-word span { color: #8CB9FF; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta .lg-only { display: none; }
.menu-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--navy-800);
}
.menu-btn .ico { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease-out); }
.menu-btn .ico-close { opacity: 0; transform: rotate(-45deg); }
.menu-open .menu-btn .ico-open { opacity: 0; transform: rotate(45deg); }
.menu-open .menu-btn .ico-close { opacity: 1; transform: none; }

/* Menú móvil */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
  background: var(--canvas); padding: 20px 20px 32px; display: flex; flex-direction: column; gap: 20px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  overflow-y: auto;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
.nav ul { display: flex; flex-direction: column; }
.nav ul a {
  display: flex; align-items: center; min-height: 56px; padding: 4px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--navy-800); text-decoration: none;
}
.nav ul a[aria-current="true"] { color: var(--accent-ink); }
.nav-cta-mobile { width: 100%; white-space: normal; text-align: center; }
.nav-hours { color: var(--text-2); font-size: .9375rem; text-align: center; }
.menu-open { overflow: hidden; }

@media (min-width: 420px) { .header-cta .sm-only { display: inline; } }
@media (max-width: 419px) { .header-cta { padding: 9px 12px; } .header-cta .sm-only { display: none; } }

@media (min-width: 1100px) {
  :root { --header-h: 76px; }
  .menu-btn, .nav-cta-mobile, .nav-hours { display: none; }
  .nav { position: static; height: auto; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; flex-direction: row; overflow: visible; transition: none; }
  .nav ul { flex-direction: row; gap: 4px; }
  .nav ul a { min-height: 40px; padding: 8px 12px; border: 0; border-radius: 999px; font-family: var(--f-body); font-size: .9375rem; font-weight: 600; color: var(--text-2); transition: color .2s, background-color .2s; }
  .nav ul a:hover { color: var(--navy-800); background: rgba(11, 36, 71, .05); }
  .nav ul a[aria-current="true"] { color: var(--navy-800); background: rgba(11, 36, 71, .06); }
  .header-cta .lg-only { display: inline; }
  .header-cta .sm-only { display: none; }
}

/* ---------- Encabezados de sección ---------- */
.section { padding-block: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: "Saira", var(--f-display); font-style: italic; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #0B2A6B, #1E88FF); transform: skewX(-20deg); }
.eyebrow-light { color: #8CB9FF; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); max-width: 22ch; }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
.lede { color: var(--text-2); font-size: 1.0625rem; max-width: 60ch; margin-top: 16px; }
.sec-head { margin-bottom: 28px; }
.sec-head-center { text-align: center; }
.sec-head-center h2, .sec-head-center .lede { margin-inline: auto; }
.sec-head-center h2 { max-width: 26ch; }
.sec-head-split .lede { margin-top: 16px; }
@media (min-width: 960px) {
  .section { padding-block: 64px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }
  .sec-head-split .lede { margin-top: 0; }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }

/* ---------- Entradas al hacer scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
.trust-grid[data-reveal] { opacity: 1; transform: none; }
.trust-grid .trust-card { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .3s, border-color .3s; transition-delay: calc(var(--i, 0) * 80ms); }
.trust-grid.in .trust-card { opacity: 1; transform: none; }
.trust-grid.done .trust-card { transition-delay: 0s; }
.svc-grid[data-reveal] { opacity: 1; transform: none; }
.svc-grid li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.svc-grid.in li { opacity: 1; transform: none; }
.svc-grid.done li { transition-delay: 0s; }
.no-js [data-reveal], .no-js .trust-card, .no-js .svc-grid li { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { padding-block: 32px 56px; position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6);
}
@media (max-width: 599px) { .kicker-long { display: none; } .kicker { gap: 8px; } }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.hero-title { margin-top: 20px; font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; }
.hero-title span { display: block; color: var(--accent); margin-top: .18em; font-size: .72em; line-height: 1.12; max-width: 20ch; }
.hero-sub { margin-top: 20px; font-size: 1.125rem; color: var(--text-2); max-width: 54ch; }
.hero-benefits { display: grid; gap: 10px; margin-top: 26px; }
.hero-benefits li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-800); }
.hero-benefits .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow-sm); }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .9375rem; color: var(--text-2); }
.hero-note .ico { width: 16px; height: 16px; }

@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 720px) { .hero-benefits { display: flex; flex-wrap: wrap; gap: 12px 24px; } .hero-benefits li { white-space: nowrap; } }
@media (min-width: 1024px) {
  .hero { padding-block: 48px 88px; min-height: min(calc(100vh - var(--header-h)), 860px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* La TV (firma visual) */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 18%; bottom: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent); filter: blur(30px);
  opacity: calc(.25 + .75 * var(--p, 0)); pointer-events: none;
}
.tv { position: relative; max-width: 620px; margin-inline: auto; }
.tv-frame { width: 100%; height: auto; position: relative; }
.tv-screen {
  position: absolute; left: 5.3125%; top: 7.727%; width: 89.375%; height: 70.909%;
  border-radius: 1.6%/2.6%; overflow: hidden; background: #05070C; isolation: isolate;
}
.tv-static, .tv-picture, .tv-scan { position: absolute; inset: 0; }
.tv-noise {
  position: absolute; inset: -60%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .84 0 0 0 0 .92 0 0 0 1.6 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: .55;
  animation: noise .5s steps(5) infinite;
}
@keyframes noise {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-9%, 6%, 0); } 40% { transform: translate3d(7%, -8%, 0); }
  60% { transform: translate3d(-5%, -4%, 0); } 80% { transform: translate3d(9%, 7%, 0); } 100% { transform: translate3d(0, 0, 0); }
}
.tv-roll { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .07), transparent); animation: roll 2.8s linear infinite; animation-delay: -1s; }
@keyframes roll { from { transform: translateY(-100%); } to { transform: translateY(340%); } }
.tv-picture { clip-path: inset(0 0 calc((1 - var(--p, 0)) * 100%) 0); }
.tv-picture svg { width: 100%; height: 100%; }
.tv-sun { transform-origin: 400px 178px; animation: glow 7s ease-in-out infinite alternate; animation-delay: -2s; }
@keyframes glow { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }
.tv-scan { transform: translateY(calc((var(--p, 0) - 1) * 100%)); opacity: calc(1 - var(--done, 0)); pointer-events: none; }
.tv-scan::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #CFE0FF;
  box-shadow: 0 0 12px 3px rgba(91, 155, 255, .9), 0 0 40px 8px rgba(31, 107, 255, .45);
}
.tv-chip {
  position: absolute; top: 5%; left: 3.5%; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px; border-radius: 999px; font-family: var(--f-mono); font-size: clamp(.625rem, .55rem + .3vw, .75rem); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(6, 12, 24, .62); color: #E6EEFB; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.tv-chip i { width: 7px; height: 7px; border-radius: 50%; }
.tv-chip-bad i { background: #FF6B5E; box-shadow: 0 0 8px #FF6B5E; animation: blink 1.4s steps(2) infinite; }
.tv-chip-ok i { background: var(--wa); box-shadow: 0 0 8px var(--wa); }
.tv-chip-ok { opacity: 0; transform: translateY(-4px); }
.tv.ok .tv-chip-bad { opacity: 0; transform: translateY(-4px); }
.tv.ok .tv-chip-ok { opacity: 1; transform: none; }
@keyframes blink { 50% { opacity: .25; } }
.tv-led { transition: fill .4s; }
.tv.ok .tv-led { fill: var(--wa); }
.tv-hint {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
  opacity: calc(1 - var(--p, 0) * 2.5); transition: opacity .2s;
}
.tv-hint .ico { width: 16px; height: 16px; animation: nudge 2.4s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.tv-badge {
  position: absolute; left: 50%; bottom: 6px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-weight: 700; font-size: .875rem; color: var(--navy-800);
  opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.tv-badge .ico { color: var(--accent); width: 18px; height: 18px; }
.hero-visual.ok .tv-badge { opacity: 1; transform: none; }
@media (max-width: 400px) { .tv-badge { font-size: .8125rem; padding: 9px 13px; } }

/* ---------- CONFIANZA ---------- */
.trust-grid { display: grid; gap: 14px; }
.trust-card { padding: 24px; position: relative; }
.trust-card:hover { box-shadow: var(--shadow-md); border-color: #CBD6E6; }
.ico-wrap { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.ico-wrap .ico { width: 24px; height: 24px; }
.trust-card p { margin-top: 8px; color: var(--text-2); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .trust-card { padding: 30px; } }

/* ---------- PROCESO ---------- */
.process { background: linear-gradient(180deg, transparent, rgba(234, 240, 248, .7) 18%, rgba(234, 240, 248, .7) 82%, transparent); }
.steps { position: relative; display: grid; gap: 18px; counter-reset: s; }
.steps::before, .steps::after { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(180deg, var(--accent), #5B9BFF); transform-origin: top; transform: scaleY(var(--rail, 0)); }
.step { position: relative; z-index: 1; padding: 24px 22px 24px 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: 22px; right: 20px; font-family: var(--f-mono); font-size: .8125rem; color: var(--line-strong); }
.step-ico {
  position: absolute; left: 12px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-800); color: #fff; box-shadow: 0 0 0 6px var(--canvas);
}
.step-ico .ico { width: 19px; height: 19px; }
.step h3 { margin-bottom: 8px; padding-right: 28px; }
.step > p { color: var(--text-2); }
.step-note { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .9rem; color: var(--text-2) !important; }
.need-list { display: grid; gap: 8px; margin-top: 12px; }
.need-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.need-list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.process-foot { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.process-clarify { display: flex; gap: 10px; align-items: flex-start; max-width: 62ch; color: var(--text-2); font-size: .95rem; text-align: left; }
.process-clarify .ico { color: var(--accent); margin-top: 2px; }
.process-foot .btn { white-space: normal; }

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; }
  .steps::before, .steps::after { left: 12.5%; right: 12.5%; top: 20px; bottom: auto; width: auto; height: 2px; }
  .steps::after { transform-origin: left; transform: scaleX(var(--rail, 0)); }
  .step { padding: 52px 24px 28px; }
  .step-ico { left: 50%; top: -34px; translate: -50% 0; width: 44px; height: 44px; }
  .step-num { top: 18px; right: 18px; }
  .step:nth-child(2) { grid-column: span 1; }
}

/* ---------- SERVICIOS ---------- */
.svc-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-weight: 600; color: var(--navy-800); font-size: .95rem; }
.svc-tip .ico { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc {
  width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px;
  padding: 18px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out), background-color .25s;
}
.svc .ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; transition: transform .35s var(--ease-out); }
.svc strong { font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: var(--navy-800); line-height: 1.25; }
.svc span { font-size: .875rem; color: var(--text-2); line-height: 1.45; }
.svc:hover { border-color: #B8C7DD; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc:hover .ico { transform: scale(1.08); }
.svc[aria-pressed="true"] { border-color: var(--accent); background: linear-gradient(180deg, #fff, #F3F7FF); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md); }
.svc[aria-pressed="true"] strong { color: var(--accent-ink); }

.svc-pick {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 18px;
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  padding: 14px; border-radius: var(--r-md); background: var(--navy-800); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s .4s;
}
.svc-pick.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility 0s; }
.svc-pick-text { font-size: .95rem; color: var(--text-on-dark-2); padding-inline: 4px; }
.svc-pick-text strong { color: #fff; font-family: var(--f-display); font-weight: 600; }
.svc-pick .btn { white-space: normal; }
.svc-foot { margin-top: 32px; display: grid; gap: 10px; }
.svc-foot p:first-child { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy-800); }
.svc-foot p:first-child .ico { color: var(--accent); margin-top: 2px; }
.svc-foot .muted { font-size: .9375rem; padding-left: 32px; }

@media (min-width: 640px) { .svc-pick { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 12px 12px 22px; border-radius: 999px; } .svc-pick .btn { white-space: nowrap; } }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } .svc { padding: 22px 18px; } }

/* ---------- A DOMICILIO ---------- */
.home-grid { display: grid; gap: 40px; align-items: center; }
.home-visual { position: relative; margin: 0; }
.home-visual svg { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.home-sun { animation: glow 7s ease-in-out infinite alternate; transform-origin: 300px 170px; animation-delay: -4s; }
.home-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-weight: 700; font-size: .875rem; color: var(--navy-800);
}
.home-chip .ico { width: 18px; height: 18px; color: var(--accent); }
.home-chip-a { left: -6px; top: 12%; animation: float 7s ease-in-out infinite alternate; animation-delay: -3s; }
.home-chip-b { right: -6px; bottom: 30%; animation: float 8s ease-in-out infinite alternate-reverse; animation-delay: -1s; }
.home-chip-b .ico { color: #12A150; }
@keyframes float { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.home-list { display: grid; gap: 18px; margin-block: 28px 24px; }
.home-list li { display: flex; gap: 14px; align-items: flex-start; }
.home-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--shadow-sm); }
.home-list strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--navy-800); }
.home-list span { color: var(--text-2); font-size: .95rem; }
.home-copy .small { max-width: 60ch; padding-left: 14px; border-left: 2px solid var(--line); }
@media (min-width: 960px) { .home-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .home-chip-a { left: -22px; } .home-chip-b { right: -22px; } }

/* ---------- GARANTÍA ---------- */
.guarantee {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background: radial-gradient(120% 140% at 85% 0%, #17417F 0%, var(--navy-800) 42%, var(--navy-950) 100%);
  padding-block: 56px;
}
.guarantee::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(140, 185, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 185, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 90% at 30% 50%, #000, transparent);
}
.guarantee-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.guarantee h2 { color: #fff; }
.guarantee .lede { color: var(--text-on-dark-2); }
.seal { position: relative; width: min(280px, 72vw); aspect-ratio: 1; margin-inline: auto; }
.seal svg { width: 100%; height: 100%; }
.seal::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: var(--accent); filter: blur(46px); opacity: .45; animation: pulse 6s ease-in-out infinite alternate; animation-delay: -2s; }
@keyframes pulse { from { opacity: .3; } to { opacity: .55; } }
.seal-text { transform-origin: 120px 120px; animation: spin 60s linear infinite; font-family: var(--f-mono); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.seal-center strong { font-family: var(--f-display); font-size: clamp(4rem, 3rem + 4vw, 5.5rem); line-height: .9; color: #fff; letter-spacing: -.04em; }
.seal-center span { font-family: var(--f-mono); font-size: .875rem; letter-spacing: .3em; text-transform: uppercase; color: #9CC0FF; margin-top: 6px; }
.guarantee-points { display: grid; gap: 12px; margin-top: 28px; }
.guarantee-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.guarantee-points .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(37, 211, 102, .16); color: var(--wa); }
@media (min-width: 960px) { .guarantee { padding-block: 72px; } .guarantee-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .seal { width: 340px; } }

/* ---------- ZONAS ---------- */
.zones-grid { display: grid; gap: 24px; align-items: start; }
.map { margin: 0; overflow: hidden; padding: 0; }
.map svg { width: 100%; height: auto; }
.map-land { fill: #F6F8FB; }
.map-water { fill: #CFE0F6; }
.map-water-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; fill: #5F82B3; }
.map-area { fill: rgba(31, 107, 255, .08); stroke: rgba(31, 107, 255, .22); stroke-dasharray: 4 6; }
.map-area-b { fill: rgba(11, 36, 71, .05); stroke: rgba(11, 36, 71, .18); }
.pin circle { stroke: #fff; stroke-width: 2.5; transition: r .25s var(--ease-out); }
.pin-a circle { fill: var(--accent); }
.pin-b circle { fill: var(--navy-800); }
.pin text { font-family: var(--f-body); font-size: 13px; font-weight: 600; fill: var(--navy-800); paint-order: stroke; stroke: rgba(238, 243, 250, .9); stroke-width: 4px; stroke-linejoin: round; }
.pin text.strong { font-size: 15px; font-weight: 700; }
.pin.hl circle { r: 10; }
.pin.hl text { fill: var(--accent-ink); }
.pin-a circle { animation: ping 3.6s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); }
@keyframes ping { 0%, 100% { stroke-width: 2.5; } 50% { stroke-width: 4.5; } }
.map-caption { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--navy-800); }
.map-caption .muted { font-weight: 500; margin-left: auto; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.lg-a { background: var(--accent); }
.lg-b { background: var(--navy-800); }
@media (max-width: 599px) { .pin text { display: none; } .map-water-label { font-size: 16px; } }

.zones-lists { display: grid; gap: 16px; }
.zone-group { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.zone-group h3 { display: flex; align-items: center; font-size: 1.0625rem; }
.zone-partido { margin-top: 6px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.zone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.zone-tags li, .zone-dl dd span {
  padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-size: .9rem; font-weight: 600; color: var(--navy-800);
  transition: background-color .2s, color .2s; cursor: default;
}
.zone-tags li.hl, .zone-dl dd span.hl { background: var(--accent); color: #fff; }
.zone-dl { display: grid; gap: 12px; margin: 14px 0 0; }
.zone-dl div { display: grid; gap: 6px; }
.zone-dl dt { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.zone-dl dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone-more { margin-top: 14px; color: var(--text-2); font-size: .9375rem; }
.zone-ask { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start; padding: 20px 22px; border-radius: var(--r-md); border: 1.5px dashed #B9C8DD; }
.zone-ask > .ico { color: var(--accent); margin-top: 2px; }
.zone-ask p { color: var(--text-2); }
.zone-ask p strong { color: var(--navy-800); }
.zone-ask .btn { grid-column: 1 / -1; justify-self: start; }
.zones-seo { margin-top: 32px; max-width: 80ch; color: var(--text-2); font-size: .9375rem; }
@media (min-width: 1024px) { .zones-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; } .map { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 36px; align-items: start; }
.faq-side .btn { margin-top: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: #C3D1E4; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--navy-800); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--accent); transition: transform .35s var(--ease-out); }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-a { padding: 0 20px 18px; color: var(--text-2); max-width: 64ch; }
.faq-item[open] .faq-a { animation: faq-in .4s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq-side { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- CONTACTO ---------- */
.contact { padding-top: 16px; padding-bottom: 56px; }
@media (min-width: 960px) { .contact { padding-bottom: 72px; } }
.contact-card {
  position: relative; overflow: hidden; display: grid; gap: 32px; padding: 28px 20px 20px; border-radius: 28px;
  background: radial-gradient(110% 120% at 0% 0%, #17417F 0%, var(--navy-800) 45%, var(--navy-950) 100%); color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}
.contact-card::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 107, 255, .35), transparent 65%); pointer-events: none; animation: pulse 8s ease-in-out infinite alternate; animation-delay: -3s;
}
.contact-copy, .form-card { position: relative; z-index: 1; }
.contact h2 { color: #fff; }
.contact .lede { color: var(--text-on-dark-2); }
.contact-copy .btn-xl { margin-top: 28px; width: 100%; white-space: normal; }
.contact-facts { display: grid; gap: 10px; margin-top: 24px; color: var(--text-on-dark); font-weight: 600; }
.contact-facts li { display: flex; align-items: center; gap: 10px; }
.contact-facts .ico { color: #8CB9FF; }
.contact-facts a { color: #fff; }

.form-card { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--shadow-lg); }
.form-head h3 { font-size: 1.25rem; }
.form-head p { margin-top: 6px; color: var(--text-2); font-size: .9375rem; }
.form { display: grid; gap: 14px; }
.form-head { margin-bottom: 4px; }
.field-row { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .875rem; color: var(--navy-800); }
.field em { font-style: normal; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #C5D0DF; background: #FBFCFE;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6BFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #8A97AB; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid select { border-color: #D93B30; box-shadow: 0 0 0 4px rgba(217, 59, 48, .1); }
.form-media { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .875rem; color: var(--text-2); }
.form-media .ico { color: var(--accent); width: 18px; height: 18px; margin-top: 2px; }
.form-legal { font-size: .8125rem; color: var(--text-2); text-align: center; }
.form-legal a { color: var(--accent-ink); }
.form-status { font-size: .9rem; font-weight: 600; color: #B42318; text-align: center; }
.form-status:empty { display: none; }
.form-done { text-align: center; padding: 28px 8px; }
.form-done:focus { outline: none; }
.done-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(37, 211, 102, .14); color: #12A150; margin-bottom: 16px; }
.done-ico .ico { width: 30px; height: 30px; stroke-width: 2.5; }
.form-done h3 { font-size: 1.375rem; }
.form-done p { margin: 10px auto 22px; color: var(--text-2); max-width: 44ch; }
.form-done .btn { white-space: normal; }

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .contact-card { padding: 40px 32px 32px; } .form-card { padding: 28px; } .contact-copy .btn-xl { width: auto; } }
@media (min-width: 1024px) { .contact-card { grid-template-columns: .95fr 1.05fr; gap: 56px; padding: 64px; border-radius: 36px; align-items: center; } }

/* ---------- FOOTER ---------- */
.site-footer { margin-top: 0; background: var(--navy-950); color: var(--text-on-dark-2); padding-top: 64px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { margin-top: 16px; max-width: 42ch; font-size: .9375rem; }
.footer-col h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8CB9FF; margin-bottom: 14px; max-width: none; }
.footer-col ul { display: grid; gap: 6px; }
.footer-col a, .footer-contact li { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--text-on-dark-2); text-decoration: none; font-size: .9375rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact .ico { width: 18px; height: 18px; color: #8CB9FF; }
.footer-contact li { align-items: flex-start; }
.footer-contact li .ico { margin-top: 6px; }
.footer-contact li > span, .footer-contact li { line-height: 1.5; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(140, 185, 255, .25); color: #DCE7F8; transition: background-color .2s, border-color .2s; }
.social a:hover { background: rgba(140, 185, 255, .12); border-color: rgba(140, 185, 255, .5); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-block: 24px 96px; border-top: 1px solid rgba(140, 185, 255, .14); font-size: .875rem; }
.footer-bottom a { color: var(--text-on-dark-2); }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; } .footer-bottom { padding-bottom: 32px; } }

/* ---------- Botón flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: var(--wa-ink); text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4), 0 2px 6px rgba(6, 43, 23, .2);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), opacity .3s;
}
.wa-float .ico { width: 27px; height: 27px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); animation: ring 4s ease-out infinite; animation-delay: -1.5s; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 40%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa-float-label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease-out), opacity .3s, margin .45s var(--ease-out); }
.wa-float:hover { transform: translateY(-2px); }
@media (hover: hover) and (min-width: 960px) { .wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 220px; opacity: 1; margin-left: 10px; } }
.menu-open .wa-float, .pick-open .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 959px) { .contact-visible .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); } }

/* ---------- Pausas y movimiento reducido ---------- */
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
.offscreen, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  [data-reveal], .trust-grid .trust-card, .svc-grid li { opacity: 1 !important; transform: none !important; }
  .tv { --p: 1 !important; }
  .tv-hint { display: none; }
  .tv-scan { display: none; }
  .tv-chip-bad { opacity: 0; } .tv-chip-ok { opacity: 1; transform: none; }
  .tv-badge { opacity: 1; transform: none; }
  .steps::after { transform: none !important; }
}
