/* =====================================================================
   LEVANTE · Portada pública (v3)
   Basada en la plantilla de campañaspublicitarias.com: motor de secciones
   fijadas, imanes de scroll, carrusel en cruz, pasos con móvil, botón
   flotante con ondas, hoja de menú, cabecera inteligente, claro/oscuro.
   Paleta: blanco + rojo Levante, con azul tinta como tercer color.
   Índice: 1 Variables · 2 Base · 3 Cabecera · 4 Motor · 5 Portada
           6 Cinta · 7 Servicios · 8 Pasos · 9 Tecnología · 10 Integraciones
           11 Zonas · 12 Clientes · 13 Contacto · 14 Pie · 15 Menú flotante
           16 Escritorio · 17 Movimiento reducido
   ===================================================================== */

/* ---------- 1. VARIABLES ---------- */
@font-face { font-family: 'Outfit'; src: url('fuentes/Outfit-Regular.woff') format('woff'); font-weight: 300 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('fuentes/Outfit-Bold.woff') format('woff'); font-weight: 600 900; font-display: swap; }

:root {
  /* Marca */
  --rojo: #e30613;
  --rojo-osc: #b8050f;
  --rojo-luz: #ff4d57;
  --tinta: #16233a;
  --tinta-2: #24365a;
  --noche: #0d1626;
  --noche-2: #111d33;

  /* Tema claro */
  --fondo: #ffffff;
  --tinte: #f4f5f8;
  --superficie: #ffffff;
  --texto: #16233a;
  --texto-2: #5b6578;
  --linea: #e4e7ee;
  --rojo-suave: #fdecee;
  --sombra: 0 18px 50px rgba(22, 35, 58, 0.12);
  --sombra-peq: 0 6px 20px rgba(22, 35, 58, 0.08);

  --verde: #16915a;
  --radio: 24px;
  --topbar: 64px;
  --gutter: 16px;
  --fuente: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
/* Tema oscuro: automático según el sistema, o elegido en el menú */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #0b1220; --tinte: #0f1a2d; --superficie: #131f36; --texto: #e8edf5; --texto-2: #a7b2c6;
    --linea: #22314f; --rojo-suave: rgba(227, 6, 19, 0.16); --sombra: 0 18px 50px rgba(0, 0, 0, 0.45); --sombra-peq: 0 6px 20px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --fondo: #0b1220; --tinte: #0f1a2d; --superficie: #131f36; --texto: #e8edf5; --texto-2: #a7b2c6;
  --linea: #22314f; --rojo-suave: rgba(227, 6, 19, 0.16); --sombra: 0 18px 50px rgba(0, 0, 0, 0.45); --sombra-peq: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Imanes: un deslizamiento = un mensaje (la clase la pone el script) */
html.snap { scroll-snap-type: y proximity; }
body { margin: 0; font: 400 17px/1.5 var(--fuente); color: var(--texto); background: var(--fondo); overflow-x: clip; -webkit-font-smoothing: antialiased; transition: background 0.3s, color 0.3s; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.35em; line-height: 1.02; letter-spacing: -0.03em; font-weight: 900; }
h1 { font-size: clamp(2.7rem, 11vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 9.5vw, 4.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.015em; font-weight: 800; }
p { margin: 0 0 1em; }
.rojo { color: var(--rojo); }
.envoltura { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.saltar { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 10px; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rojo-luz); outline-offset: 3px; border-radius: 8px; }
.medidor { position: absolute; top: 0; left: 0; width: 1px; height: 100vh; height: 100svh; visibility: hidden; pointer-events: none; }
.btn svg, .llamar svg, .acceso svg, .dato__ico svg, .plan__ico svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
section[id] { scroll-margin-top: var(--topbar); }
.story.is-pinned { scroll-margin-top: 0; }

/* Etiquetas */
.eti { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rojo); margin-bottom: 14px; }
.eti--clara { color: var(--rojo-luz); }
.eti.centro { text-align: center; }
.cab-seccion { margin-bottom: 30px; }
.cab-seccion__sub { color: var(--texto-2); font-size: 1.15rem; margin: 0; }
.punto-vivo { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); margin-right: 8px; vertical-align: 1px; animation: latido 1.8s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(227, 6, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 99px; border: 2px solid transparent;
  font: 800 1.02rem var(--fuente); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 12px 30px rgba(227, 6, 19, 0.35); }
.btn--rojo:hover { background: var(--rojo-osc); }
.btn--cristal { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--cristal:hover { background: rgba(255, 255, 255, 0.2); }
.btn--blanco { background: #fff; color: var(--tinta); }
.btn--blanco:hover { background: var(--rojo); color: #fff; }
.btn--bloque { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: default; }

/* Logo (monograma propio, no copia del logotipo de Levante) */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__marca { display: block; width: 38px; height: 38px; border-radius: 12px; background: var(--rojo); position: relative; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.14); }
.logo__marca::after { content: ''; position: absolute; left: 31%; top: 22%; width: 36%; height: 48%; border-left: 5px solid #fff; border-bottom: 5px solid #fff; border-radius: 0 0 0 3px; }
.logo__marca.peq { width: 26px; height: 26px; border-radius: 8px; }
.logo__marca.peq::after { border-left-width: 3.5px; border-bottom-width: 3.5px; }
.logo__marca.enorme { width: 100%; height: 100%; border-radius: 28%; box-shadow: 0 40px 90px rgba(227, 6, 19, 0.45), inset 0 -10px 0 rgba(0, 0, 0, 0.14); }
.logo__marca.enorme::after { border-left-width: clamp(14px, 4vw, 30px); border-bottom-width: clamp(14px, 4vw, 30px); border-radius: 0 0 0 8px; }
.logo__texto { display: flex; flex-direction: column; line-height: 1.1; }
.logo__texto b { font-weight: 900; letter-spacing: 0.22em; font-size: 1rem; }
.logo__texto small { color: var(--texto-2); font-size: 0.72rem; letter-spacing: 0.08em; }
.logo--claro .logo__texto b { color: #fff; }
.logo--claro .logo__texto small { color: #a9b4c8; }

/* ---------- 3. CABECERA INTELIGENTE ---------- */
.progreso-pagina { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 61; background: var(--rojo); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--topbar);
  display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--fondo) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--linea); transition: transform 0.35s ease, background 0.35s, border-color 0.35s, color 0.35s;
}
.topbar.is-hidden { transform: translateY(-110%); }
.topbar .logo { margin-right: auto; }
/* Sobre secciones oscuras (portada y tecnología) la cabecera se vuelve de cristal oscuro */
.topbar.sobre-oscuro { background: rgba(13, 22, 38, 0.55); border-color: rgba(255, 255, 255, 0.08); color: #fff; }
.topbar.sobre-oscuro .logo__texto small { color: #a9b4c8; }
.topbar__nav { display: none; }
.llamar {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 5px; border-radius: 99px; text-decoration: none;
  background: linear-gradient(135deg, var(--rojo), #ff3b47); color: #fff; box-shadow: 0 8px 20px rgba(227, 6, 19, 0.3);
}
.llamar__ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--rojo); display: grid; place-items: center; flex: none; }
.llamar__ico svg { width: 18px; height: 18px; }
.llamar__txt { display: flex; flex-direction: column; line-height: 1.05; }
.llamar__txt b { font-size: 0.9rem; }
.llamar__txt small { font-size: 0.7rem; opacity: 0.9; }
.acceso {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--tinta); color: #fff; transition: background 0.2s;
}
.topbar.sobre-oscuro .acceso { background: rgba(255, 255, 255, 0.14); }
.acceso:hover { background: var(--rojo) !important; }
.acceso svg { width: 22px; height: 22px; }

/* ---------- 4. MOTOR DE SECCIONES FIJADAS ---------- */
/* Sin la clase is-pinned (sin JavaScript o con "reducir movimiento"), todo se lee en orden normal */
.story { position: relative; }
.story.is-pinned .pin__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.snap-mark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }

/* ---------- 5. PORTADA SCROLLYTELLING ---------- */
.hero__stage { position: relative; color: #fff; background: radial-gradient(120% 90% at 80% 10%, #1d2d4d 0%, var(--noche) 55%, #070d18 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1.2s; will-change: transform; }
.orb--rojo { width: 90vw; height: 90vw; max-width: 760px; max-height: 760px; background: var(--rojo); opacity: 0.45; right: -30vw; top: -20vh; }
.orb--claro { width: 70vw; height: 70vw; max-width: 560px; max-height: 560px; background: #6f8fc4; opacity: 0.28; left: -25vw; bottom: -15vh; }
.hero__rejilla { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%); }
.hero__ruta { position: absolute; left: 50%; top: 9%; width: min(78vw, 420px); transform: translateX(-50%); overflow: visible; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.ruta__fondo { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 10; stroke-linecap: round; }
.ruta__trazo { fill: none; stroke: var(--rojo-luz); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s cubic-bezier(.4,.1,.2,1); filter: drop-shadow(0 0 10px rgba(255, 77, 87, 0.6)); }
.ruta__origen { fill: #fff; }
.ruta__destino { fill: var(--rojo); stroke: #fff; stroke-width: 4; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.6s 0.8s cubic-bezier(.3,1.6,.5,1); }
.hero__mark { position: absolute; width: 34vw; height: 34vw; max-width: 260px; max-height: 260px; right: 8vw; top: 16%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1.2s; }

/* Cada mensaje mueve las luces, la ruta y el monograma */
[data-active="0"] .hero__ruta { opacity: 0.25; }
[data-active="0"] .hero__mark { transform: rotate(-8deg); }
[data-active="1"] .orb--rojo { transform: translate(-40vw, 30vh) scale(1.15); }
[data-active="1"] .orb--claro { transform: translate(30vw, -40vh); opacity: 0.18; }
[data-active="1"] .ruta__trazo { stroke-dashoffset: 55; }
[data-active="1"] .hero__mark { transform: translate(-30vw, 6vh) rotate(12deg) scale(0.55); opacity: 0.55; }
[data-active="2"] .orb--rojo { transform: translate(-10vw, 55vh) scale(0.9); opacity: 0.3; }
[data-active="2"] .orb--claro { transform: translate(55vw, -10vh) scale(1.2); opacity: 0.35; }
[data-active="2"] .ruta__trazo { stroke-dashoffset: 25; }
[data-active="2"] .hero__mark { transform: translate(-46vw, -4vh) rotate(-18deg) scale(0.4); opacity: 0.35; }
[data-active="3"] .orb--rojo { transform: translate(-20vw, -5vh) scale(1.3); opacity: 0.55; }
[data-active="3"] .orb--claro { transform: translate(10vw, 10vh); opacity: 0.2; }
[data-active="3"] .ruta__trazo { stroke-dashoffset: 0; }
[data-active="3"] .ruta__destino { transform: scale(1.5); }
[data-active="3"] .hero__mark { transform: translate(-22vw, 10vh) rotate(0deg) scale(0.3); opacity: 0; }

.slides { position: relative; z-index: 2; padding: calc(var(--topbar) + 40px) var(--gutter) 60px; display: grid; gap: 70px; }
.slide__eti { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #ffb3b8; margin-bottom: 14px; }
.slide h1, .slide h2 { color: #fff; }
.slide__sub { font-size: 1.2rem; color: #c9d1df; max-width: 26em; margin-bottom: 0; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.slide__ctas .btn { flex: 1 1 150px; }
.slide__gigante { font-size: clamp(5rem, 30vw, 12rem); line-height: 0.85; }
.slide__gigante span { color: var(--rojo-luz); }
.hero__progreso { display: none; }
.hero__desliza { display: none; }

/* Fijada: mensajes superpuestos, abajo en el móvil como una historia */
.hero.is-pinned .slides { position: absolute; inset: 0; padding: 0; display: block; }
.hero.is-pinned .slide {
  position: absolute; left: var(--gutter); right: calc(var(--gutter) + 4px); bottom: calc(118px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(40px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(.2,.7,.2,1), visibility 0s 0.6s;
}
.hero.is-pinned .slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.55s 0.1s, transform 0.6s 0.1s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.hero.is-pinned .slide.is-past { transform: translateY(-40px); }
.hero.is-pinned .hero__progreso {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; position: absolute; z-index: 3;
  left: var(--gutter); right: 96px; bottom: calc(36px + env(safe-area-inset-bottom));
}
.hero__progreso li { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); overflow: hidden; position: relative; }
.hero__progreso li::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s; }
[data-active="0"] .hero__progreso li:nth-child(-n+1)::after,
[data-active="1"] .hero__progreso li:nth-child(-n+2)::after,
[data-active="2"] .hero__progreso li:nth-child(-n+3)::after,
[data-active="3"] .hero__progreso li:nth-child(-n+4)::after { transform: scaleX(1); }
[data-active="3"] .hero__progreso li::after { background: var(--rojo-luz); }

/* ---------- 6. CINTA QUE SE MUEVE CON EL SCROLL ---------- */
.cinta-scroll { padding: 46px 0; overflow: hidden; background: var(--fondo); border-bottom: 1px solid var(--linea); }
.cinta-scroll__fila {
  margin: 0; white-space: nowrap; font-weight: 900; font-size: clamp(2.6rem, 12vw, 6.5rem); letter-spacing: -0.04em; line-height: 1.08;
  display: flex; align-items: center; gap: 0.35em; width: max-content; will-change: transform;
  transform: translate3d(var(--x, 0px), 0, 0) skewX(var(--skew, 0deg));
}
.cinta-scroll__fila i { display: inline-block; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--rojo); flex: none; }
.cinta-scroll__fila.hueca { color: transparent; -webkit-text-stroke: 1.5px var(--texto); margin-left: -40vw; }
.cinta-scroll__fila.hueca i { background: transparent; border: 2px solid var(--rojo); }

/* ---------- 7. SERVICIOS: CARRUSEL EN CRUZ ---------- */
.planes__stage { padding: calc(var(--topbar) + 30px) 0 70px; background: var(--tinte); }
.planes .cab-seccion { padding: 0 var(--gutter); margin-bottom: 26px; }
.planes__visor { overflow: hidden; touch-action: pan-y; }
.planes__pista { display: grid; gap: 14px; padding: 0 var(--gutter); }
.plan {
  position: relative; background: var(--superficie); border: 1.5px solid var(--linea); border-radius: var(--radio);
  padding: 26px 22px 28px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.plan h3 { font-size: 1.7rem; margin-bottom: 8px; }
.plan p { color: var(--texto-2); margin: 0; font-size: 1.08rem; }
.plan__num { position: absolute; right: 18px; top: 8px; font-size: 4.6rem; font-weight: 900; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--linea); line-height: 1; }
.plan__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--rojo-suave); color: var(--rojo); margin-bottom: 26px; }
.plan__ico svg { width: 28px; height: 28px; }
.plan.destacado { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.plan.destacado p { color: #c3cbda; }
.plan.destacado .plan__ico { background: var(--rojo); color: #fff; }
.plan.destacado .plan__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.18); }
.puntos { display: none; }

/* Fijado en el móvil: el scroll vertical mueve las tarjetas de lado */
.planes.is-pinned .planes__stage { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--topbar) + 10px) 0 calc(30px + env(safe-area-inset-bottom)); }
.planes.is-pinned .planes__pista { display: flex; gap: 14px; padding: 0 var(--lado, 8vw); width: max-content; will-change: transform; }
.planes.is-pinned .planes__pista.settling { transition: transform 0.42s cubic-bezier(.2,.7,.2,1); }
.planes.is-pinned .plan { width: var(--carta, 84vw); flex: none; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; transform-origin: center; }
.planes.is-pinned .puntos { display: flex; justify-content: center; gap: 8px; margin-top: 26px; padding-right: 76px; padding-left: 76px; }
.puntos button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--linea); cursor: pointer; transition: width 0.3s, background 0.3s; }
.puntos button.is-active { width: 28px; background: var(--rojo); }

/* ---------- 8. CÓMO FUNCIONA: PASOS CON MÓVIL ---------- */
.pasos__stage { padding: calc(var(--topbar) + 30px) var(--gutter) 60px; display: grid; gap: 30px; justify-items: center; background: var(--fondo); }
.pasos__texto { width: 100%; max-width: 520px; }
.msteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.mstep h3 { font-size: clamp(2.2rem, 10vw, 3.8rem); margin-bottom: 4px; }
.mstep p { color: var(--texto-2); font-size: 1.15rem; margin: 0; }
.mstep__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--rojo); color: #fff; font-weight: 800; margin-bottom: 10px; }
.telefono { width: 230px; height: 400px; border-radius: 36px; border: 7px solid var(--tinta); background: #fff; color: var(--tinta); position: relative; overflow: hidden; box-shadow: var(--sombra); flex: none; }
:root[data-theme="dark"] .telefono { border-color: #2c3c5e; }
.telefono__muesca { position: absolute; top: 0; left: 50%; width: 84px; height: 18px; transform: translateX(-50%); background: var(--tinta); border-radius: 0 0 12px 12px; z-index: 3; }
.scr { position: absolute; inset: 0; padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: scale(0.94); transition: opacity 0.45s, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.scr.is-active { opacity: 1; transform: none; }
.scr__tit { font-weight: 800; font-size: 1.05rem; margin: 0; }
.tk { border: 1.5px solid #e4e7ee; border-radius: 14px; padding: 10px 12px; font-size: 0.8rem; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; }
.tk small { color: #5b6578; }
.tk em { font-style: normal; align-self: flex-start; margin-top: 4px; background: #fdecee; color: var(--rojo-osc); font-weight: 800; font-size: 0.7rem; padding: 2px 8px; border-radius: 99px; }
.tk.tenue { opacity: 0.5; }
.scr__boton { margin-top: auto; background: var(--rojo); color: #fff; text-align: center; font-weight: 800; font-size: 0.85rem; padding: 12px; border-radius: 99px; }
.scr__boton.linea-btn { background: transparent; color: var(--tinta); border: 1.5px solid var(--tinta); }
.rider { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; line-height: 1.2; margin-top: 8px; }
.rider small { display: block; color: #5b6578; }
.av { width: 36px; height: 36px; border-radius: 50%; background: #fdecee; color: var(--rojo-osc); display: grid; place-items: center; font-weight: 800; font-size: 0.78rem; flex: none; }
.barra { height: 8px; border-radius: 99px; background: #f0f2f6; overflow: hidden; margin-top: 18px; }
.barra i { display: block; height: 100%; width: 0; background: var(--rojo); border-radius: 99px; transition: width 1.4s 0.3s cubic-bezier(.2,.7,.2,1); }
.scr.is-active .barra i { width: 64%; }
.scr__grande { font-size: 3.4rem; font-weight: 900; text-align: center; letter-spacing: -0.04em; margin: 14px 0 0; }
.scr__nota { text-align: center; color: #5b6578; }
.linea { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; line-height: 1.2; opacity: 0; transform: translateX(-10px); transition: opacity 0.4s, transform 0.4s; }
.scr.is-active .linea { opacity: 1; transform: none; }
.scr.is-active .linea:nth-of-type(2) { transition-delay: 0.15s; }
.scr.is-active .linea:nth-of-type(3) { transition-delay: 0.3s; }
.scr.is-active .linea:nth-of-type(4) { transition-delay: 0.45s; }
.linea small { display: block; color: #5b6578; }
.ok { width: 24px; height: 24px; border-radius: 50%; background: var(--tinta); flex: none; position: relative; }
.ok.rojo { background: var(--rojo); }
.ok::after { content: ''; position: absolute; left: 8.5px; top: 5.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Fijado: un solo paso grande a la vez */
.pasos.is-pinned .pasos__stage { align-content: center; gap: 22px; padding: calc(var(--topbar) + 14px) var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.pasos.is-pinned .msteps { position: relative; height: 120px; display: block; }
.pasos.is-pinned .mstep { position: absolute; inset: 0; opacity: 0; transform: translateY(26px); transition: opacity 0.4s, transform 0.5s cubic-bezier(.2,.7,.2,1); }
.pasos.is-pinned .mstep.is-active { opacity: 1; transform: none; transition-delay: 0.08s; }
.pasos.is-pinned .mstep.is-past { transform: translateY(-26px); }
.pasos.is-pinned .mstep__n { position: absolute; right: 0; top: 0; }
@media (max-height: 700px) {
  .pasos.is-pinned .telefono { width: 200px; height: 330px; }
  .pasos.is-pinned .msteps { height: 104px; }
}

/* ---------- 9. TECNOLOGÍA ---------- */
.tec { background: radial-gradient(120% 80% at 10% 0%, #1d2d4d, var(--noche) 60%); color: #dfe5ef; padding: 90px 0 100px; overflow: hidden; }
.tec h2 { color: #fff; }
.tec__rejilla { display: grid; gap: 50px; align-items: center; }
.tec__lista { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; font-size: 1.15rem; }
.tec__lista li { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 600; }
.tec__lista li::before { content: ''; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tec__visual { perspective: 1100px; }
/* El panel entra girando según el scroll (--p de 0 a 1 lo pone el script) */
.mini-panel {
  --p: 1;
  background: #fff; color: var(--tinta); border-radius: 26px; padding: 18px; max-width: 470px; margin: 0 auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(calc((1 - var(--p)) * 80px)) rotateX(calc((1 - var(--p)) * 28deg)) rotateZ(calc((1 - var(--p)) * -7deg)) scale(calc(0.86 + var(--p) * 0.14));
  opacity: calc(0.25 + var(--p) * 0.75); will-change: transform;
}
.mini-panel__cab { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-panel__cab b { flex: 1; }
.mini-panel__cab em { font-style: normal; font-size: 0.75rem; color: #5b6578; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e4e7ee; padding: 4px 10px; border-radius: 99px; }
.mini-panel__cab em i { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); animation: latido 1.8s infinite; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-kpis div { background: #f4f5f8; border-radius: 14px; padding: 10px; }
.mini-kpis small { display: block; color: #5b6578; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; }
.mini-kpis b { font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-graf { width: 100%; height: 90px; margin: 12px 0; }
.mini-graf__area { fill: rgba(227, 6, 19, 0.15); opacity: var(--p); }
.mini-graf__linea { fill: none; stroke: var(--rojo); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: calc((1 - var(--p)) * 100); }
.mini-fila { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #e4e7ee; font-size: 0.85rem; line-height: 1.25; }
.mini-fila div { flex: 1; min-width: 0; }
.mini-fila small { display: block; color: #5b6578; }
.mini-fila em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--rojo); font-weight: 700; }

/* ---------- 10. INTEGRACIONES ---------- */
.seccion { padding: 90px 0; }
.integra__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.integra__lista li {
  border: 1.5px solid var(--linea); border-radius: 18px; padding: 20px 12px; text-align: center; background: var(--superficie);
  font-weight: 900; font-size: 1.1rem; letter-spacing: -0.01em; transition: border-color 0.2s, transform 0.2s;
}
.integra__lista li:hover { border-color: var(--rojo); transform: translateY(-3px); }

/* ---------- 11. ZONAS ---------- */
.zonas { background: var(--tinte); }
.zonas__rejilla { display: grid; gap: 10px; }
.mapa-zonas { position: relative; width: 100%; max-width: 420px; aspect-ratio: 320 / 420; margin: 0 auto; }
.mapa-zonas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.costa { fill: none; stroke: var(--linea); stroke-width: 3; stroke-dasharray: 6 8; }
.mar { fill: var(--texto-2); font: 700 13px var(--fuente); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.zona {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-12px, -50%) scale(0.4); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px;
  background: var(--superficie); box-shadow: var(--sombra-peq); font-weight: 800; font-size: 0.92rem; white-space: nowrap;
  transition: transform 0.6s cubic-bezier(.3,1.6,.5,1), opacity 0.4s; transition-delay: calc(var(--o, 0) * 0.16s);
}
.zona i { width: 14px; height: 14px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5); }
.mapa-zonas.encendido .zona { transform: translate(-12px, -50%); opacity: 1; }
.mapa-zonas.encendido .zona i { animation: latido 2s infinite; animation-delay: calc(var(--o, 0) * 0.16s + 0.6s); }
.zona.grande { font-size: 1.15rem; padding: 8px 16px 8px 8px; background: var(--rojo); color: #fff; }
.zona.grande i { background: #fff; }

/* ---------- 12. CLIENTES ---------- */
.clientes { padding: 70px 0; overflow: hidden; }
.clientes__cinta { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.clientes__pista { display: flex; gap: 14px; width: max-content; animation: cinta 40s linear infinite; }
.clientes__pista span { padding: 16px 24px; border-radius: 99px; background: var(--tinte); font-weight: 800; font-size: 1.05rem; white-space: nowrap; transform: skewX(var(--skew, 0deg)); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- 13. CONTACTO ---------- */
.contacto__rejilla { display: grid; gap: 36px; }
.dato { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--tinte); text-decoration: none; margin-top: 12px; transition: background 0.2s; }
.dato:hover { background: var(--rojo-suave); }
.dato > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.dato small { color: var(--texto-2); font-size: 0.85rem; }
.dato b { font-size: 1.08rem; }
.dato__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; flex: none; }
.dato__ico svg { width: 22px; height: 22px; }
.contacto__info .cab-seccion__sub { margin-bottom: 18px; }
.formulario { background: var(--superficie); border: 1.5px solid var(--linea); border-radius: 26px; padding: 22px 18px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 14px; }
.formulario__fila { display: grid; gap: 14px; }
.formulario label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.95rem; }
.formulario input, .formulario select, .formulario textarea {
  font: 400 1rem var(--fuente); color: var(--texto); background: var(--fondo); width: 100%;
  border: 1.5px solid var(--linea); border-radius: 14px; padding: 13px 14px; min-height: 50px; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.formulario 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='%238a93a5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.formulario textarea { resize: vertical; min-height: 96px; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { border-color: var(--rojo); box-shadow: 0 0 0 4px var(--rojo-suave); }
.formulario .invalido { border-color: var(--rojo); }
.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--texto-2); font-size: 0.9rem !important; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--rojo); flex: none; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario__error { margin: 0; background: var(--rojo-suave); color: var(--rojo); padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; font-weight: 600; }
.formulario__ok { margin: 0; display: flex; gap: 12px; align-items: center; background: rgba(22, 145, 90, 0.12); color: var(--verde); padding: 14px; border-radius: 14px; }
.formulario__ok .ok { background: var(--verde); }

/* ---------- 14. PIE ---------- */
.pie { background: var(--noche); color: #b9c2d3; padding: 56px 0 calc(100px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.pie__rejilla { display: grid; gap: 28px; }
.pie h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pie nav { display: flex; flex-direction: column; gap: 10px; }
.pie nav a { text-decoration: none; }
.pie nav a:hover { color: #fff; }
.pie .logo { margin-bottom: 14px; }
.pie__base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 34px; padding-top: 20px; font-size: 0.85rem; }
.pie__base a { color: #fff; }

/* Aparición al hacer scroll, con escalonado */
.aparece { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.aparece.visto { opacity: 1; transform: none; }
html:not(.js) .aparece { opacity: 1; transform: none; }

/* ---------- 15. MENÚ: BOTÓN FLOTANTE, ONDAS Y HOJA ---------- */
.fab {
  --anillo: var(--rojo);
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--rojo); color: #fff; box-shadow: 0 14px 34px rgba(227, 6, 19, 0.45);
  display: grid; place-items: center; transition: transform 0.15s, background 0.3s, box-shadow 0.3s;
}
.fab:active { transform: scale(0.92); }
.fab__icono { width: 24px; height: 18px; position: relative; }
.fab__icono i { position: absolute; left: 0; width: 100%; height: 2.6px; border-radius: 3px; background: currentColor; transition: transform 0.3s, opacity 0.2s, top 0.3s; }
.fab__icono i:nth-child(1) { top: 0; }
.fab__icono i:nth-child(2) { top: 7.7px; }
.fab__icono i:nth-child(3) { top: 15.4px; }
.fab.abierto { background: #fff; color: var(--tinta); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.fab.abierto .fab__icono i:nth-child(1) { top: 7.7px; transform: rotate(45deg); }
.fab.abierto .fab__icono i:nth-child(2) { opacity: 0; }
.fab.abierto .fab__icono i:nth-child(3) { top: 7.7px; transform: rotate(-45deg); }
/* Ondas en el agua */
.fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--anillo); opacity: 0; pointer-events: none; }
.fab.wave .fab__ring { animation: onda 1.4s cubic-bezier(.2,.6,.3,1) forwards; }
.fab.wave .fab__ring--2 { animation-delay: 0.22s; }
.fab.wave .fab__ring--3 { animation-delay: 0.44s; }
.fab.wave--fin { --anillo: var(--tinta); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fab.wave--fin { --anillo: #ffffff; } }
:root[data-theme="dark"] .fab.wave--fin { --anillo: #ffffff; }
@keyframes onda { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.8); opacity: 0; } }

.velo { position: fixed; inset: 0; z-index: 64; background: rgba(5, 10, 20, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.velo.visible { opacity: 1; }
.hoja {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; max-height: 88vh; overflow-y: auto;
  background: var(--noche); color: #fff; border-radius: 26px 26px 0 0; padding: 10px 24px calc(92px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; transform: translateY(105%); transition: transform 0.4s cubic-bezier(.2,.7,.2,1); visibility: hidden;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}
.hoja.abierta { transform: none; visibility: visible; }
.hoja__tirador { width: 44px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); margin: 0 auto 10px; }
.hoja a { padding: 13px 4px; text-decoration: none; font-size: 1.25rem; font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hoja a:hover { color: var(--rojo-luz); }
.hoja__acceso { color: var(--rojo-luz); }
.hoja__tema { display: flex; align-items: center; gap: 12px; padding: 16px 4px 0; cursor: pointer; font-weight: 600; }
.hoja__tema input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.hoja__tema-txt { flex: 1; }
.hoja__tema-ico { width: 22px; height: 22px; border-radius: 50%; background: #f6c343; box-shadow: 0 0 0 4px rgba(246, 195, 67, 0.25); transition: background 0.3s, box-shadow 0.3s; }
.hoja__tema input:checked ~ .interruptor { background: var(--rojo); }
.hoja__tema input:checked ~ .interruptor i { transform: translateX(20px); }
.hoja__tema.oscuro .hoja__tema-ico { background: transparent; box-shadow: inset -7px -3px 0 0 #e8edf5; }
.interruptor { width: 48px; height: 28px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); position: relative; transition: background 0.2s; flex: none; }
.interruptor i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.hoja__tema input:focus-visible ~ .interruptor { outline: 3px solid var(--rojo-luz); outline-offset: 2px; }

.haptic-ios { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 16. TABLETA Y ESCRITORIO ---------- */
@media (max-width: 359px) { .llamar__txt small { display: none; } .llamar { padding-right: 10px; } }
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .formulario__fila { grid-template-columns: 1fr 1fr; }
  .formulario { padding: 30px; }
  .integra__lista { grid-template-columns: repeat(3, 1fr); }
  .slide__ctas .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  :root { --topbar: 74px; }
  /* Portada: texto centrado a la izquierda, monograma a la derecha */
  .hero.is-pinned .slide { left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); right: auto; max-width: 640px; bottom: auto; top: 50%; transform: translateY(calc(-50% + 40px)); }
  .hero.is-pinned .slide.is-active { transform: translateY(-50%); }
  .hero.is-pinned .slide.is-past { transform: translateY(calc(-50% - 40px)); }
  .hero__mark { right: 9vw; top: 26%; width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; }
  .hero__ruta { left: auto; right: 5vw; top: 14%; width: 38vw; max-width: 560px; transform: none; }
  [data-active="1"] .hero__mark { transform: translate(-6vw, 18vh) rotate(12deg) scale(0.6); }
  [data-active="2"] .hero__mark { transform: translate(-16vw, -6vh) rotate(-18deg) scale(0.45); }
  .hero.is-pinned .hero__progreso { left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); right: auto; width: 320px; bottom: 44px; }
  .hero.is-pinned .hero__desliza { display: flex; flex-direction: column; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); margin: 0; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: #a9b4c8; transition: opacity 0.4s; }
  .hero__desliza::after { content: ''; width: 2px; height: 34px; background: linear-gradient(#fff, transparent); animation: desliza 1.6s ease-in-out infinite; }
  [data-active="3"] .hero__desliza { opacity: 0; }
  @keyframes desliza { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

  /* Servicios en fila (sin efecto horizontal) */
  .planes__stage { padding: 120px 0; }
  .planes .cab-seccion, .planes__pista { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .planes__pista { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .planes__visor { overflow: visible; }
  .plan { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
  .plan:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
  .plan.destacado { transform: scale(1.04); }
  .plan.destacado:hover { transform: scale(1.04) translateY(-6px); }

  /* Pasos y teléfono lado a lado */
  .pasos__stage { grid-template-columns: 1.1fr 1fr; align-items: center; max-width: 1200px; margin: 0 auto; padding: 120px var(--gutter); }
  .pasos.is-pinned .pasos__stage { padding: var(--topbar) var(--gutter) 0; gap: 60px; }
  .pasos.is-pinned .msteps { height: 200px; }
  .mstep h3 { font-size: 4.6rem; }
  .mstep p { font-size: 1.4rem; }
  .pasos.is-pinned .mstep__n { position: static; }
  .telefono { width: 270px; height: 480px; }
  .scr { padding: 42px 20px 20px; gap: 12px; }
  .scr__tit { font-size: 1.2rem; }
  .tk, .rider, .linea { font-size: 0.95rem; }

  .tec { padding: 140px 0; }
  .tec__rejilla { grid-template-columns: 1fr 1fr; gap: 70px; }
  .seccion { padding: 130px 0; }
  .zonas__rejilla { grid-template-columns: 1fr 1fr; align-items: center; }
  .contacto__rejilla { grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
  .pie__rejilla { grid-template-columns: 1.4fr 1fr 1.6fr; }
}
@media (min-width: 960px) {
  .topbar { padding-left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); gap: 14px; }
  .topbar__nav { display: flex; gap: 2px; margin-right: 8px; }
  .topbar__nav a { text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 99px; opacity: 0.8; transition: opacity 0.2s, background 0.2s; }
  .topbar__nav a:hover, .topbar__nav a.activo { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
}

/* ---------- 17. MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .aparece { opacity: 1; transform: none; }
  .mini-panel { --p: 1 !important; }
  .mapa-zonas .zona { transform: translate(-12px, -50%); opacity: 1; }
  .clientes__pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); }
  .clientes__pista span[aria-hidden] { display: none; }
}


/* =====================================================================
   v4 · Contenido para restaurantes: servicio, cuenta y calculadora,
   seguimiento en directo, transporte, cobertura, tarifas y arranque
   ===================================================================== */
.slide__gigante small { font-size: 0.22em; letter-spacing: 0.02em; font-weight: 700; color: #c9d1df; vertical-align: middle; }
.cta-seccion { margin-top: 26px; }
.cta-centro { display: flex; justify-content: center; margin-top: 34px; }

/* Servicio */
.servicio { background: var(--fondo); }
.bloques { display: grid; gap: 14px; }
.bloque { background: var(--tinte); border-radius: var(--radio); padding: 24px 22px; border: 1.5px solid var(--linea); }
.bloque h3 { font-size: 1.35rem; margin: 14px 0 6px; }
.bloque p { margin: 0; color: var(--texto-2); font-size: 1.08rem; }
.bloque__ico, .plan__ico { flex: none; }
.bloque__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--rojo); color: #fff; }
.bloque__ico svg, .caja-termica svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bloque__ico svg { width: 26px; height: 26px; }

/* La cuenta */
.ahorro { background: var(--tinte); }
.comparar { display: grid; gap: 14px; margin-bottom: 26px; }
.comparar__caja { background: var(--superficie); border: 1.5px solid var(--linea); border-radius: var(--radio); padding: 22px; }
.comparar__caja small { color: var(--texto-2); font-weight: 700; font-size: 0.95rem; }
.comparar__cifra { display: block; font-size: clamp(3rem, 14vw, 4.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin: 8px 0 6px; color: var(--texto-2); text-decoration: line-through; text-decoration-color: var(--rojo); text-decoration-thickness: 4px; }
.comparar__caja p { margin: 0; color: var(--texto-2); }
.comparar__caja.levante { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.comparar__caja.levante small, .comparar__caja.levante p { color: #c9d1df; }
.comparar__caja.levante .comparar__cifra { color: #fff; text-decoration: none; }

.calculadora { background: var(--superficie); border: 1.5px solid var(--linea); border-radius: 26px; padding: 22px 18px; box-shadow: var(--sombra); }
.calculadora h3 { font-size: 1.4rem; margin: 0 0 16px; }
.calc__campos { display: grid; gap: 16px; }
.calc__campos label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.calc__entrada { display: flex; align-items: center; border: 1.5px solid var(--linea); border-radius: 14px; background: var(--fondo); padding-right: 14px; }
.calc__entrada:focus-within { border-color: var(--rojo); box-shadow: 0 0 0 4px var(--rojo-suave); }
.calc__entrada input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--texto); font: 600 1.3rem var(--fuente); padding: 12px 14px; outline: none; font-variant-numeric: tabular-nums; }
.calc__entrada em { font-style: normal; color: var(--texto-2); font-weight: 600; }
.calc__ancho output { color: var(--rojo); }
.calculadora input[type="range"] { width: 100%; accent-color: var(--rojo); height: 34px; }
.calc__marcas { display: flex; justify-content: space-between; color: var(--texto-2); font-size: 0.8rem; font-weight: 600; margin-top: -6px; }
.calc__resultado { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.calc__resultado div { background: var(--tinte); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; }
.calc__resultado small { color: var(--texto-2); font-weight: 700; font-size: 0.85rem; }
.calc__resultado b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.calc__ahorro { grid-column: 1 / -1; background: var(--rojo) !important; color: #fff; }
.calc__ahorro small { color: rgba(255, 255, 255, 0.85) !important; }
.calc__ahorro b { font-size: clamp(2.4rem, 11vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
.calc__nota { color: var(--texto-2); font-size: 0.85rem; margin: 14px 0 0; }

/* Teléfono: línea de progreso del pedido */
.prog { position: relative; display: flex; justify-content: space-between; margin: 14px 6px 6px; }
.prog::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #e4e7ee; border-radius: 4px; }
.prog i { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: 0; background: var(--rojo); border-radius: 4px; transition: width 1.2s 0.3s cubic-bezier(.2,.7,.2,1); }
.scr.is-active .prog i { width: var(--w); }
.prog span { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #cdd3de; }
.prog span.hecho { background: var(--rojo); border-color: var(--rojo); }
.directo__cta { margin-top: 22px; }
.pasos.is-pinned .directo__cta { margin-top: 14px; }

/* Transporte */
.transporte__rejilla { display: grid; gap: 30px; align-items: center; }
.lista-ok { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lista-ok li { display: flex; flex-direction: column; gap: 2px; padding-left: 38px; position: relative; font-size: 1.08rem; }
.lista-ok li::before { content: ''; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.lista-ok span { color: var(--texto-2); }
.caja-termica { max-width: 340px; margin: 0 auto; width: 100%; }
.caja-termica svg { width: 100%; height: auto; overflow: visible; }
.ct-sombra { fill: var(--linea); }
.ct-cuerpo { fill: var(--rojo); }
.ct-tapa { fill: var(--tinta); }
:root[data-theme="dark"] .ct-tapa { fill: #2c3f64; }
.caja-termica svg .ct-marca { stroke: #fff; stroke-width: 9; }
.caja-termica svg .ct-vapor { stroke: var(--texto-2); stroke-width: 4; stroke-dasharray: 30; stroke-dashoffset: 30; }
.caja-termica.visto .ct-vapor { animation: vapor 2.4s ease-in-out infinite; }
@keyframes vapor { 0% { stroke-dashoffset: 30; opacity: 0; } 40% { opacity: 1; } 100% { stroke-dashoffset: -30; opacity: 0; } }

/* Cobertura: anillos de 5 y 7 km */
.radio-km { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 10px auto 0; }
.radio-km__anillo { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 0.8s; }
.radio-km__anillo.r7 { width: 100%; height: 100%; background: var(--rojo-suave); border: 2px dashed var(--rojo); }
.radio-km__anillo.r5 { width: 71%; height: 71%; background: color-mix(in srgb, var(--rojo) 22%, transparent); border: 2px solid var(--rojo); transition-delay: 0.2s; }
.radio-km__anillo em { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-style: normal; font-weight: 800; font-size: 0.85rem; white-space: nowrap; background: var(--superficie); color: var(--texto); padding: 4px 10px; border-radius: 99px; box-shadow: var(--sombra-peq); }
.radio-km__centro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 800; z-index: 2; }
.radio-km__punto { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--tinta); box-shadow: 0 0 0 4px var(--superficie); transform: rotate(var(--a)) translateX(var(--r)) scale(0); transition: transform 0.6s 0.9s; }
:root[data-theme="dark"] .radio-km__punto { background: #fff; }
.radio-km.encendido .radio-km__anillo { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.radio-km.encendido .radio-km__punto { transform: rotate(var(--a)) translateX(var(--r)) scale(1); }
.radio-km.aparece { transform: none; opacity: 1; }

/* Tarifas */
.tarifas { background: var(--fondo); }
.precios { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.precio { background: var(--tinte); border: 1.5px solid var(--linea); border-radius: var(--radio); padding: 22px 18px; display: flex; flex-direction: column; }
.precio:first-child { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.precio:first-child small, .precio:first-child p { color: #c9d1df; }
.precio small { font-weight: 700; color: var(--texto-2); }
.precio b { font-size: clamp(2.6rem, 12vw, 4.4rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.precio p { margin: 0; color: var(--texto-2); }
.precios__nota { text-align: center; color: var(--texto-2); margin: 20px 0 0; font-weight: 600; }

/* Puesta en marcha */
.arranque { background: var(--tinte); }
.tres-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: paso; }
.tres-pasos li { background: var(--superficie); border-radius: var(--radio); padding: 22px; border: 1.5px solid var(--linea); position: relative; }
.tres-pasos span { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--rojo); line-height: 1; }
.tres-pasos h3 { font-size: 1.4rem; margin: 10px 0 4px; }
.tres-pasos p { margin: 0; color: var(--texto-2); }

@media (min-width: 640px) {
  .bloques, .comparar { grid-template-columns: 1fr 1fr; }
  .calc__campos { grid-template-columns: 1fr 1fr; }
  .calc__ancho { grid-column: 1 / -1; }
  .calc__resultado { grid-template-columns: 1fr 1fr 1.4fr; }
  .calc__ahorro { grid-column: auto; }
  .calculadora { padding: 30px; }
}
@media (min-width: 900px) {
  .servicio__rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
  .servicio__rejilla .cta-seccion { grid-column: 1; justify-self: start; margin-top: -10px; }
  .bloques { grid-template-columns: 1fr; grid-row: span 2; }
  .ahorro .envoltura { max-width: 960px; }
  .transporte__rejilla { grid-template-columns: 1.1fr 1fr; gap: 60px; }
  .tres-pasos { grid-template-columns: repeat(3, 1fr); }
  .planes__pista { grid-template-columns: repeat(4, 1fr); }
  .plan h3 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .radio-km__anillo { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .radio-km__punto { transform: rotate(var(--a)) translateX(var(--r)) scale(1); }
}

/* Sin motor (sin JavaScript o con "reducir movimiento"): portada en columna, sin decoración encima del texto */
.hero:not(.is-pinned) .hero__mark, .hero:not(.is-pinned) .hero__ruta { display: none; }
html:not(.js) .fab, html:not(.js) .hoja, html:not(.js) .velo { display: none; }
