/* IA Benidorm · propuesta premium 2026-10-28
   Base oscura de la tinta de marca, turquesa como luz. Símbolo original siempre sobre pieza clara.
   Tipografía única: Geist (OFL), distinta de la Agencia (Space Grotesk + DM Sans). */

@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --noche: #030A1C;       /* fondo base: tinta de marca llevada a noche */
  --tinta: #05122E;       /* tinta de marca */
  --abismo: #081A3D;      /* superficies elevadas */
  --mar: #142F5B;         /* azul de marca */
  --turquesa: #12B0B6;    /* acento de marca */
  --luz: #5FE6EA;         /* turquesa encendido, solo para brillos */
  --ambar: #F2B33D;       /* estados pendientes: «en preparación», «en pruebas» */
  --hielo: #EAF2FB;       /* texto principal */
  --niebla: #93A6C2;      /* texto secundario */
  --borde: rgba(148, 186, 230, .14);
  --cristal: rgba(14, 34, 72, .55);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1); /* movimiento que cruza la pantalla */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--noche); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--hielo); background: var(--noche); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--luz); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--turquesa); color: var(--noche); }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; letter-spacing: -.03em; color: #fff; }
h1 { font-size: clamp(2.4rem, 4.7vw, 4rem); line-height: .98; font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--noche); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Barra de progreso de lectura */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--turquesa), var(--luz)); box-shadow: 0 0 12px var(--luz); }

/* Aviso de propuesta, discreto y fijo */
.proposal-flag { position: fixed; left: 16px; bottom: 16px; z-index: 130; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--ambar); color: var(--noche); font-size: .8rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s; }
.btn-glow { color: var(--noche); background: linear-gradient(180deg, #7DF0F2, var(--turquesa)); box-shadow: 0 0 0 1px rgba(95, 230, 234, .4), 0 10px 30px -8px rgba(18, 176, 182, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(95, 230, 234, .7), 0 16px 40px -8px rgba(18, 176, 182, .9), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-line { color: var(--hielo); background: rgba(255, 255, 255, .03); border-color: rgba(234, 242, 251, .22); }
.btn-line:hover { border-color: var(--luz); color: #fff; background: rgba(95, 230, 234, .06); }
.btn:not(:disabled):active { transform: scale(.97); transition-duration: .16s; } /* respuesta al pulsar */
.btn-small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--luz); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 30px; }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; }
/* Cabecera clara de cristal marfil desde la carga, con textos en tinta de marca (igual arriba y con scroll) */
.site-header { background: rgba(250, 248, 243, .95); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: rgba(5, 18, 46, .08); box-shadow: 0 10px 30px -18px rgba(5, 18, 46, .45); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-tile { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(160deg, #fff, #DCE8F5); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 6px 18px -6px rgba(95, 230, 234, .5); }
.brand-tile img { width: 26px; }
.brand-name { font-weight: 650; font-size: 1.15rem; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a:not(.btn) { display: block; padding: 8px 14px; color: var(--niebla); text-decoration: none; font-weight: 500; font-size: .97rem; border-radius: 999px; transition: color .2s, background-color .2s; white-space: nowrap; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .05); }
.site-nav a[aria-current="true"]:not(.btn) { color: #fff; background: rgba(95, 230, 234, .1); }
.nav-cta-item { margin-left: 10px; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .03); }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--niebla); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: rgba(95, 230, 234, .16); color: #fff; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .04); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; width: 20px; height: 1.5px; background: #fff; transition: transform .25s, background-color .25s; }
.nav-toggle-bars { left: 11px; top: 21px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Cabecera marfil: colores (el botón turquesa no cambia) */
.site-header .brand-name { color: var(--tinta); }
.site-header .brand-tile { box-shadow: 0 0 0 1px rgba(20, 47, 91, .16), 0 4px 12px -4px rgba(20, 47, 91, .35); }
.site-header .site-nav a:not(.btn) { color: rgba(5, 18, 46, .78); }
.site-header .site-nav a:not(.btn):hover { color: var(--tinta); background: rgba(20, 47, 91, .07); }
.site-header .site-nav a[aria-current="true"]:not(.btn) { color: var(--tinta); background: rgba(18, 176, 182, .14); }
.site-header .lang-switch { border-color: rgba(5, 18, 46, .14); background: rgba(5, 18, 46, .03); }
.site-header .lang-switch a { color: rgba(5, 18, 46, .62); }
.site-header .lang-switch a[aria-current="true"] { color: var(--tinta); background: rgba(18, 176, 182, .16); }
.site-header .nav-toggle { border-color: rgba(5, 18, 46, .16); background: rgba(5, 18, 46, .03); }
.site-header .nav-toggle-bars, .site-header .nav-toggle-bars::before, .site-header .nav-toggle-bars::after { background: var(--tinta); }
.site-header .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }

@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-toggle { display: block; }
  .site-nav { order: 3; flex-basis: 100%; display: none; padding: 4px 0 20px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--borde); font-size: 1.05rem; color: var(--hielo); }
  .site-nav a[aria-current="true"]:not(.btn) { background: none; color: var(--luz); }
  .site-header .site-nav a:not(.btn) { color: var(--tinta); border-bottom-color: rgba(5, 18, 46, .1); }
  .site-header .site-nav a:not(.btn):hover { background: none; }
  .site-header .site-nav a[aria-current="true"]:not(.btn) { background: none; color: #07676B; }
  .nav-cta-item { margin: 18px 0 0; }
  .nav-cta-item .btn { width: 100%; min-height: 50px; }
}

/* ---------- Aparición al hacer scroll ---------- */
/* Con `translate` (no `transform`), para no pisar la inclinación de las tarjetas */
.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease) var(--d, 0s), translate .7s var(--ease) var(--d, 0s); }
.js [data-reveal].visible { opacity: 1; translate: none; }
/* Portada: entrada escalonada con un desenfoque leve (solo 5 bloques; en tarjetas y formulario el blur cuesta repintado) */
.js .hero [data-reveal] { filter: blur(4px); transition-property: opacity, translate, filter; }
.js .hero [data-reveal].visible { filter: none; }

/* ---------- PORTADA ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 10%, #0B2452 0%, var(--noche) 60%); }
.hero-net { position: absolute; inset: -10% 0 0; width: 100%; height: 110%; opacity: .9; }
.hero-glow { position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(18, 176, 182, .35), rgba(20, 47, 91, .25) 45%, transparent 70%); filter: blur(10px); }
.hero-floor { position: absolute; left: -25%; right: -25%; bottom: -8%; height: 62%; background-image: linear-gradient(rgba(95, 230, 234, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 230, 234, .22) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: suelo 6s linear infinite; }
@keyframes suelo { to { background-position: 0 64px, 0 0; } }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--noche)); z-index: -1; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 24px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(8, 26, 61, .6); color: var(--hielo); font-size: .88rem; font-weight: 500; backdrop-filter: blur(8px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--luz); box-shadow: 0 0 0 0 rgba(95, 230, 234, .7); animation: latido 2.4s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 10px rgba(95, 230, 234, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 230, 234, 0); } }
.hero h1 { max-width: 15ch; background: linear-gradient(180deg, #fff 30%, #B7D7F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--niebla); max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--niebla); font-size: .92rem; }
.hero-chips li { display: inline-flex; align-items: center; gap: 9px; }
.hero-chips li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--turquesa); background: radial-gradient(circle, var(--turquesa) 0 3px, transparent 3.5px); }

/* Escenario: pieza de marca + fragmentos de interfaz flotando a distinta profundidad */
.hero-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: end; }
.orbit { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(95, 230, 234, .18); }
.orbit-2 { inset: -4%; border-style: dashed; border-color: rgba(148, 186, 230, .12); animation: giro 80s linear infinite; }
.orbit-1::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--luz); box-shadow: 0 0 16px var(--luz); }
.orbit-1 { animation: giro 24s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }
.brand-object { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; margin: -19% 0 0 -19%; display: grid; place-items: center; border-radius: 28%; background: linear-gradient(150deg, #FFFFFF 0%, #E3EEF9 55%, #C9DCEF 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 120px rgba(18, 176, 182, .45), inset 0 -10px 30px rgba(20, 47, 91, .15); }
.brand-object img { width: 62%; }
.frag { position: absolute; padding: 14px 16px; border-radius: 16px; background: var(--cristal); border: 1px solid var(--borde); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); font-size: .85rem; display: grid; gap: 8px; }
.frag-label { font-size: .72rem; font-weight: 600; color: var(--luz); letter-spacing: .01em; }
.frag-voice { left: -2%; top: 12%; }
.frag-req { right: -4%; top: 30%; width: 220px; }
.frag-faq { left: 6%; bottom: 4%; width: 230px; }

/* Escenario: entra por capas después del texto (luz → órbitas → marca → fragmentos desde su lado).
   Animación CSS con `backwards`: no compite con el hilo principal mientras carga y, al terminar,
   deja libres `translate` (profundidad con el ratón) y `transform` (parallax del scroll). */
.js .hero-glow { animation: luz-entra 1.6s var(--ease) backwards; }
.js .orbit-1 { animation: giro 24s linear infinite, aro-entra 1.2s var(--ease) .2s backwards; }
.js .orbit-2 { animation: giro 80s linear infinite, aro-entra 1.4s var(--ease) .3s backwards; }
.js .brand-object { animation: marca-entra 1s var(--ease) .4s backwards; }
.js .frag-voice { animation: frag-entra-izq .9s var(--ease) .6s backwards; }
.js .frag-req { animation: frag-entra-der .9s var(--ease) .68s backwards; }
.js .frag-faq { animation: frag-entra-abajo .9s var(--ease) .76s backwards; }
@keyframes luz-entra { from { opacity: 0; scale: .85; } }
@keyframes aro-entra { from { opacity: 0; scale: .88; } }
@keyframes marca-entra { from { opacity: 0; scale: .92; translate: 0 20px; } }
@keyframes frag-entra-izq { from { opacity: 0; translate: -28px 0; } }
@keyframes frag-entra-der { from { opacity: 0; translate: 28px 0; } }
@keyframes frag-entra-abajo { from { opacity: 0; translate: 0 24px; } }
/* ---------- Portada · «Horizonte IA» ----------
   Suelo en perspectiva real, línea de horizonte que se enciende, foco de luz (cursor en ordenador,
   deriva lenta en móvil), reflejo en la marca y estela en la órbita. Todo con transform/opacity. */

/* Suelo: la rejilla avanza con transform en un pseudoelemento (antes background-position: repintado en cada frame).
   El punto de fuga lo fija la perspectiva del contenedor: el horizonte queda detrás de la portada, no pegado al borde. */
.hero-bg { perspective: 520px; perspective-origin: 50% 60%; }
.hero-floor { height: 120%; bottom: -20%; transform: rotateX(76deg); background-image: none; animation: none; overflow: hidden; }
.hero-floor::before { content: ""; position: absolute; inset: -64px 0 0; background-image: linear-gradient(rgba(95, 230, 234, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 230, 234, .3) 1px, transparent 1px); background-size: 64px 64px; animation: suelo-avanza 6s linear infinite; }
@keyframes suelo-avanza { to { transform: translateY(64px); } }
.js .hero-floor { animation: suelo-entra 1.6s var(--ease) .1s backwards; }
@keyframes suelo-entra { from { opacity: 0; translate: 0 60px; } }

/* Horizonte: halo amplio + línea fina donde se pierde la rejilla */
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 21%; height: 240px; margin-bottom: -120px; pointer-events: none;
  background: linear-gradient(90deg, transparent 8%, rgba(95, 230, 234, .55) 50%, transparent 92%) 50% 50% / 100% 1px no-repeat, radial-gradient(50% 50% at 50% 50%, rgba(18, 176, 182, .26), transparent 72%);
  animation: horizonte-entra 1.4s var(--ease) .3s backwards, horizonte-respira 9s ease-in-out 1.7s infinite alternate; }
@keyframes horizonte-entra { from { opacity: 0; scale: .3 1; } }
@keyframes horizonte-respira { from { opacity: 1; } to { opacity: .6; } }

/* Foco de luz: sigue al cursor en ordenador (experiencia.js fija --lx/--ly); en táctil deriva despacio */
.hero-bg::before { content: ""; position: absolute; left: 0; top: 0; width: 960px; height: 960px; margin: -480px 0 0 -480px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(95, 230, 234, .12), rgba(18, 176, 182, .05) 55%, transparent);
  translate: var(--lx, 68vw) var(--ly, 42vh); animation: foco-entra 2s var(--ease) .2s backwards; }
@keyframes foco-entra { from { opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .hero-bg::before { transition: translate 1.4s var(--ease); }
}
@media (hover: none), (pointer: coarse) {
  .hero-bg::before { width: 640px; height: 640px; margin: -320px 0 0 -320px; background: radial-gradient(closest-side, rgba(95, 230, 234, .2), rgba(18, 176, 182, .08) 55%, transparent); animation: foco-entra 2s var(--ease) .2s backwards, foco-deriva 22s ease-in-out 2.2s infinite alternate; }
}
@keyframes foco-deriva { 0% { translate: 75vw 22vh; } 50% { translate: 20vw 45vh; } 100% { translate: 65vw 70vh; } }

/* Marca: reflejo de cristal que la cruza cada 8 s */
.brand-object { overflow: hidden; }
.brand-object::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%); translate: -120% 0; animation: destello 12s var(--ease-in-out) 2.4s infinite; }
@keyframes destello { 0% { translate: -120% 0; } 15%, 100% { translate: 120% 0; } } /* barrido de ~1,8 s cada 12 s */

/* Con la portada fuera de pantalla, sus animaciones continuas se pausan (experiencia.js pone .pausa) */
.hero.pausa *, .hero.pausa ::before, .hero.pausa ::after { animation-play-state: paused; }

/* Órbita: estela de luz detrás del punto (gira con la órbita existente, sin animación nueva) */
.orbit-1::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; pointer-events: none; background: conic-gradient(transparent 0deg 285deg, rgba(95, 230, 234, .6) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); }

/* Profundidad con el ratón (solo ordenador, la aplica experiencia.js con `translate`) */
@media (hover: hover) and (pointer: fine) {
  .hero-glow, .hero-stage .orbit, .brand-object, .frag { transition: translate .9s var(--ease); }
}
.frag-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.frag-row b { font-weight: 600; color: #fff; }
.frag-row em, .req em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.frag-row em, .st-new { background: rgba(242, 179, 61, .15); color: var(--ambar); }
.frag-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.frag-bar span { display: block; height: 100%; width: 40%; background: var(--turquesa); animation: carga 3.2s var(--ease) infinite; }
@keyframes carga { 0% { width: 8%; } 60%, 100% { width: 100%; } }
.frag-q { justify-self: end; padding: 6px 10px; border-radius: 10px 10px 2px 10px; background: var(--turquesa); color: var(--noche); font-weight: 500; }
.frag-a { padding: 6px 10px; border-radius: 10px 10px 10px 2px; background: rgba(255, 255, 255, .08); }

.wave { display: inline-flex; align-items: center; gap: 4px; height: 30px; }
.wave i { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(var(--luz), var(--turquesa)); transform: scaleY(.3); animation: onda 1.2s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.9s; } .wave i:nth-child(3) { animation-delay: -.3s; } .wave i:nth-child(4) { animation-delay: -.6s; }
.wave i:nth-child(5) { animation-delay: -1.1s; } .wave i:nth-child(6) { animation-delay: -.2s; } .wave i:nth-child(7) { animation-delay: -.75s; }
.wave i:nth-child(8) { animation-delay: -.45s; } .wave i:nth-child(9) { animation-delay: -1s; }
.wave-sm { height: 20px; gap: 3px; } .wave-sm i { width: 3px; }
@keyframes onda { 50% { transform: scaleY(1); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(234, 242, 251, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--luz); animation: rueda 1.8s var(--ease) infinite; }
@keyframes rueda { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Banda de mensaje ---------- */
.band { position: relative; padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; border-block: 1px solid var(--borde); background: linear-gradient(90deg, rgba(18, 176, 182, .06), transparent 40%, rgba(18, 176, 182, .06)); }
.band-track { display: flex; gap: clamp(32px, 5vw, 72px); width: max-content; will-change: transform; }
.band-track span { display: inline-flex; align-items: center; gap: clamp(32px, 5vw, 72px); font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(148, 186, 230, .35); }
.band-track span:nth-child(2n) { color: #fff; -webkit-text-stroke: 0; }
.band-track span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--turquesa); box-shadow: 0 0 24px var(--luz); }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head p { color: var(--niebla); font-size: 1.15rem; max-width: 58ch; margin: 0; }

/* Estados */
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status-demo { color: var(--luz); background: rgba(95, 230, 234, .1); }
.status-pilot { color: var(--ambar); background: rgba(242, 179, 61, .1); }
.status-live { color: #6BE3A0; background: rgba(107, 227, 160, .1); }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; border-radius: 28px; background: linear-gradient(180deg, rgba(14, 34, 72, .7), rgba(5, 18, 46, .7)); border: 1px solid var(--borde); overflow: hidden; transition: transform .5s var(--ease), filter .5s var(--ease), border-color .4s; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.product::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(95, 230, 234, .14), transparent 60%); opacity: 0; transition: opacity .4s; }
.product:hover { border-color: rgba(95, 230, 234, .35); }
.product:hover::before { opacity: 1; }
/* Borde de luz que sigue al cursor (mismas variables que el brillo interior) */
.product::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(95, 230, 234, .75), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: perspective(1200px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .55)); }
  .product:hover::after { opacity: 1; }
}
.product-xl { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.product-xl .product-ui { flex: 1.15; min-height: 380px; }
.product-xl .product-body { flex: 1; padding: clamp(28px, 4vw, 56px); justify-content: center; }
.product-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px 30px 34px; flex: 1; }
.product-body .status { margin-bottom: 18px; }
.product-body p:not(.status) { color: var(--niebla); }
.product-body .link-arrow { margin-top: auto; padding-top: 8px; }
.product-xl h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.ticks { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--hielo); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgba(95, 230, 234, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235FE6EA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Mini interfaces animadas de cada producto (ilustrativas) */
.product-ui { position: relative; min-height: 250px; padding: 24px; background: radial-gradient(100% 120% at 30% 0%, rgba(18, 176, 182, .18), transparent 60%), linear-gradient(180deg, #071735, #04102A); border-bottom: 1px solid var(--borde); overflow: hidden; }
.product-xl .product-ui { border-bottom: 0; border-right: 1px solid var(--borde); display: grid; place-items: center; }
.product-ui::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(148, 186, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 186, 230, .06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.ui-browser { position: relative; z-index: 1; width: min(100%, 520px); border-radius: 16px; background: rgba(8, 26, 61, .9); border: 1px solid var(--borde); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); overflow: hidden; }
.ui-dots { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--borde); }
.ui-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.ui-dots span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--niebla); font-size: .72rem; }
.ui-page { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 220px; }
.ui-skel { padding: 18px; display: grid; gap: 10px; align-content: start; }
.ui-skel span:not(.ui-target) { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.ui-skel .s1 { width: 70%; height: 16px !important; } .ui-skel .s2 { width: 90%; } .ui-skel .s3 { width: 55%; }
.ui-target { margin-top: 10px; padding: 12px; border-radius: 10px; border: 1px solid rgba(95, 230, 234, .5); color: #fff; font-size: .8rem; font-weight: 600; animation: foco 4s var(--ease) infinite; }
@keyframes foco { 0%, 35% { box-shadow: none; border-color: rgba(148, 186, 230, .14); } 50%, 85% { box-shadow: 0 0 0 4px rgba(95, 230, 234, .15), 0 0 30px rgba(95, 230, 234, .25); border-color: var(--luz); } 100% { box-shadow: none; } }
.ui-side { padding: 16px; border-left: 1px solid var(--borde); background: rgba(3, 10, 28, .6); display: grid; justify-items: center; align-content: center; gap: 12px; }
.ui-orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #BFFAFB, var(--turquesa) 45%, var(--mar) 100%); box-shadow: 0 0 30px rgba(95, 230, 234, .6); animation: respira 3s ease-in-out infinite; }
@keyframes respira { 50% { transform: scale(1.08); box-shadow: 0 0 46px rgba(95, 230, 234, .85); } }
.ui-bubble { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: .75rem; color: var(--hielo); text-align: center; }

.ui-faq { display: grid; align-content: center; gap: 8px; }
.ui-faq p { position: relative; z-index: 1; margin: 0; max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: .86rem; line-height: 1.4; opacity: 0; animation: chat 9s var(--ease) infinite; }
.ui-faq .q { justify-self: end; background: var(--turquesa); color: var(--noche); font-weight: 500; border-bottom-right-radius: 4px; }
.ui-faq .a { justify-self: start; background: rgba(255, 255, 255, .08); border: 1px solid var(--borde); border-bottom-left-radius: 4px; }
.ui-faq .a1 { animation-delay: .8s; } .ui-faq .q2 { animation-delay: 2s; } .ui-faq .a2 { animation-delay: 2.8s; }
@keyframes chat { 0% { opacity: 0; transform: translateY(10px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }

.ui-req { display: grid; align-content: center; gap: 10px; }
.req { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(8, 26, 61, .9); border: 1px solid var(--borde); font-size: .86rem; opacity: 0; animation: llega 7s var(--ease) infinite; }
.req b { font-weight: 600; color: #fff; }
.req-2 { animation-delay: .6s; } .req-3 { animation-delay: 1.2s; }
.st-ok { background: rgba(107, 227, 160, .14); color: #6BE3A0; }
.st-as { background: rgba(95, 230, 234, .14); color: var(--luz); }
.req-eu { position: relative; z-index: 1; justify-self: start; font-size: .75rem; color: var(--niebla); padding-left: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393A6C2' stroke-width='1.6'%3E%3Crect x='3' y='7' width='10' height='7' rx='2'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E") 0 50% / 13px no-repeat; }
@keyframes llega { 0% { opacity: 0; transform: translateX(-24px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Automatizaciones: flujo de tres pasos con un pulso que lo recorre */
.ui-flow { display: grid; align-content: center; justify-items: stretch; gap: 0; }
.flow-node { position: relative; z-index: 1; display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; background: rgba(8, 26, 61, .9); border: 1px solid var(--borde); font-size: .85rem; }
.flow-node span { font-size: .7rem; font-weight: 600; color: var(--luz); }
.flow-node b { font-weight: 600; color: #fff; }
.flow-node.n2 { border-color: rgba(95, 230, 234, .45); box-shadow: 0 0 24px -6px rgba(95, 230, 234, .5); }
.flow-link { position: relative; z-index: 1; justify-self: center; width: 2px; height: 22px; background: var(--borde); overflow: hidden; }
.flow-link i { position: absolute; left: 0; top: -10px; width: 2px; height: 10px; background: var(--luz); box-shadow: 0 0 8px var(--luz); animation: pulso 1.6s linear infinite; }
.flow-link + .flow-node + .flow-link i { animation-delay: .8s; }
@keyframes pulso { to { top: 22px; } }

/* Servicio disponible en la galería de demos */
.demo-visual-live { align-content: center; gap: 10px; }
.demo-visual-live .abs-title { font-size: 1.25rem; margin-bottom: 4px; }
.live-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(8, 26, 61, .9); border: 1px solid var(--borde); font-size: .85rem; }
.live-row b { font-weight: 600; color: #fff; }
.live-row em { font-style: normal; font-size: .75rem; font-weight: 600; color: #6BE3A0; }

/* Las animaciones de las mini interfaces solo corren cuando están a la vista */
.product-ui * { animation-play-state: paused; }
.product-ui.vivo * { animation-play-state: running; }
html:not(.js) .product-ui * { animation-play-state: running; }

.custom { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: 22px; border: 1px dashed rgba(148, 186, 230, .25); }
.custom p { margin: 0; color: var(--niebla); max-width: 70ch; }
.custom strong { color: #fff; font-weight: 600; }

/* ---------- ASISTENTE ---------- */
.section-assistant { overflow: hidden; isolation: isolate; }
.assistant-bg { position: absolute; inset: -20% 0; z-index: -1; background: radial-gradient(50% 50% at 30% 50%, rgba(18, 176, 182, .22), transparent 70%), radial-gradient(40% 40% at 80% 30%, rgba(20, 47, 91, .5), transparent 70%); }
.assistant-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.console { position: relative; border-radius: 32px; padding: 22px; background: linear-gradient(180deg, rgba(14, 34, 72, .85), rgba(3, 10, 28, .92)); border: 1px solid rgba(95, 230, 234, .25); box-shadow: 0 0 0 6px rgba(95, 230, 234, .04), 0 60px 120px -40px rgba(18, 176, 182, .45); }
.console-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 4px 6px 18px; border-bottom: 1px solid var(--borde); }
.console-title { font-weight: 600; color: #fff; }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(242, 179, 61, .12); color: var(--ambar); font-size: .8rem; font-weight: 600; }
.badge-soon span { width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.console-core { position: relative; height: clamp(220px, 30vw, 300px); display: grid; place-items: center; }
.core-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(95, 230, 234, .25); }
.core-ring.r1 { width: 140px; height: 140px; animation: anillo 4s ease-out infinite; }
.core-ring.r2 { width: 140px; height: 140px; animation: anillo 4s ease-out 1.33s infinite; }
.core-ring.r3 { width: 140px; height: 140px; animation: anillo 4s ease-out 2.66s infinite; }
@keyframes anillo { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.core-orb { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(from 0deg, var(--turquesa), var(--mar), var(--luz), var(--mar), var(--turquesa)); filter: blur(.3px); animation: giro 9s linear infinite; box-shadow: 0 0 60px rgba(95, 230, 234, .5); position: relative; }
.core-orb::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #12305E, var(--noche) 70%); box-shadow: inset 0 0 30px rgba(95, 230, 234, .4); }
.console-msg { text-align: center; color: var(--hielo); max-width: 38ch; margin: 0 auto 18px; }
.console-input { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 14px 20px; border-radius: 999px; border: 1px dashed rgba(148, 186, 230, .3); color: var(--niebla); font-size: .92rem; }
.lock { flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393A6C2' stroke-width='1.5'%3E%3Crect x='3' y='7' width='10' height='7' rx='2'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E") center / 16px no-repeat; }
.console-skills { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.console-skills li { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); font-size: .88rem; color: var(--hielo); }
.assistant-copy > p { color: var(--niebla); font-size: 1.12rem; }
.rules { margin: 28px 0 34px; display: grid; gap: 4px; }
.rules div { padding: 16px 0; border-top: 1px solid var(--borde); display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.rules dt { font-weight: 600; color: #fff; }
.rules dd { margin: 0; color: var(--niebla); }

/* ---------- DEMOSTRACIONES ---------- */
.demos { position: relative; padding: clamp(88px, 12vw, 140px) 0; background: linear-gradient(180deg, var(--noche), #04112A 30%, #04112A 70%, var(--noche)); }
.demos-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 48px; align-items: end; margin-bottom: 40px; }
.demos-head h2 { grid-column: 1; max-width: 16ch; }
.demos-head p { grid-column: 1; color: var(--niebla); max-width: 60ch; margin: 0; }
.legend { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--niebla); font-size: .88rem; }
.legend li { display: flex; align-items: center; gap: 10px; }
.demos-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 30px; }
.demos-viewport::-webkit-scrollbar { display: none; }
.demos-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 24px; width: max-content; will-change: transform; }
.demo-card { scroll-snap-align: center; flex: none; width: min(78vw, 520px); display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(14, 34, 72, .75), rgba(5, 18, 46, .75)); border: 1px solid var(--borde); transition: transform .5s var(--ease), border-color .4s; }
.demo-card:hover { transform: translateY(-6px); border-color: rgba(95, 230, 234, .35); }
.demo-visual { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #fff; position: relative; }
.demo-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.demo-card:hover .demo-visual img { transform: scale(1.04); }
.demo-visual-abstract { background: radial-gradient(80% 100% at 30% 0%, rgba(18, 176, 182, .25), transparent 60%), #071735; display: grid; align-content: center; gap: 12px; padding: 36px; }
.abs-title { font-size: 1.6rem; font-weight: 600; color: #fff; letter-spacing: -.03em; }
.abs-line { height: 10px; width: 80%; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.abs-line.short { width: 50%; }
.abs-cta { justify-self: start; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--turquesa); color: var(--noche); font-weight: 600; font-size: .85rem; }
.demo-body { padding: 24px 26px 30px; }
.demo-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { display: inline-flex; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--borde); color: var(--hielo); font-size: .8rem; font-weight: 500; }
.demo-body p { color: var(--niebla); margin: 0; }
.demo-card-cta { justify-content: center; padding: 40px; background: radial-gradient(100% 80% at 50% 0%, rgba(18, 176, 182, .3), transparent 70%), linear-gradient(180deg, #0B2452, #05122E); border-color: rgba(95, 230, 234, .3); }
.demo-card-cta h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.demo-card-cta p { color: var(--niebla); margin-bottom: 28px; }
.demo-card-cta .btn { align-self: flex-start; }
.fineprint { color: var(--niebla); font-size: .85rem; margin: 6px auto 0; }

/* En ordenador, la sección se fija y las demos avanzan en horizontal con el scroll vertical */
@media (min-width: 1061px) and (prefers-reduced-motion: no-preference) {
  .js .demos.pin { padding: 0; height: var(--pin-h, 300vh); }
  .js .demos.pin .demos-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); overflow: hidden; }
  .js .demos.pin .demos-viewport { overflow: visible; scroll-snap-type: none; }
  .js .demos.pin .demos-track { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: 12vw; }
  .js .demos.pin .demo-card { width: min(31vw, 440px); }
  .js .demos.pin .demo-visual { aspect-ratio: 16 / 10; }
  .js .demos.pin .demo-body { padding: 20px 22px 24px; }
  .js .demos.pin .demos-head { margin-bottom: 20px; }
  .js .demos.pin .demos-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 20ch; }
  .js .demos.pin .demos-viewport { padding: 6px 0 16px; }
}

/* ---------- MÉTODO ---------- */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method-head { position: sticky; top: calc(var(--header-h) + 40px); }
.timeline { --fill: 0; position: relative; list-style: none; counter-reset: paso; margin: 0; padding: 0 0 0 64px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--borde); }
.timeline::after { background: linear-gradient(var(--luz), var(--turquesa)); box-shadow: 0 0 14px var(--luz); transform-origin: top; transform: scaleY(var(--fill)); }
.timeline li { counter-increment: paso; position: relative; padding: 0 0 clamp(36px, 5vw, 56px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(paso); position: absolute; left: -64px; top: -4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; z-index: 1; font-weight: 600; font-size: .95rem; color: #fff; background: var(--noche); border: 1.5px solid rgba(95, 230, 234, .5); box-shadow: 0 0 0 6px var(--noche); }
.timeline p { color: var(--niebla); margin: 0; max-width: 46ch; }

/* ---------- CONTACTO ---------- */
.section-contact { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: -20% 0 0; z-index: -1; background: radial-gradient(60% 50% at 75% 55%, rgba(18, 176, 182, .2), transparent 70%); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 186, 230, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 186, 230, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy > p { color: var(--niebla); font-size: 1.12rem; max-width: 46ch; }
.mail-big { display: inline-block; margin: 12px 0 32px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: #fff; text-decoration: none; background: linear-gradient(var(--luz), var(--luz)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.mail-big:hover { background-size: 100% 1.5px; }
.social { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 14px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .03); color: #fff; text-decoration: none; font-weight: 500; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.social a:hover { border-color: var(--luz); background: rgba(95, 230, 234, .08); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--luz); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.family { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid var(--borde); }
.family p { margin: 0 0 4px; color: var(--niebla); font-size: .9rem; }
.family a { color: var(--niebla); text-decoration: none; font-size: .95rem; }
.family a strong { color: var(--hielo); font-weight: 600; margin-right: 6px; }
.family a:hover strong { color: var(--luz); }

.form { position: relative; padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: linear-gradient(180deg, rgba(14, 34, 72, .8), rgba(5, 18, 46, .85)); border: 1px solid rgba(95, 230, 234, .22); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 80px -30px rgba(18, 176, 182, .5); backdrop-filter: blur(12px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: .92rem; color: var(--hielo); }
.optional { color: var(--niebla); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 13px 16px; font: inherit; font-size: 1rem; color: #fff; background: rgba(3, 10, 28, .65); border: 1px solid rgba(148, 186, 230, .22); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235FE6EA' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field select option { background: var(--tinta); color: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--luz); box-shadow: 0 0 0 4px rgba(95, 230, 234, .15); }
.field [aria-invalid="true"] { border-color: #FF8A7A; }
.field-error { margin: 6px 0 0; color: #FF8A7A; font-size: .88rem; font-weight: 500; }
.form-notice { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(242, 179, 61, .12); color: #FFD48A; font-size: .92rem; }
.form-notice a { color: #fff; }
.form-notice.is-hidden { display: none; }
.privacy-note { font-size: .8rem; line-height: 1.5; color: var(--niebla); }
.privacy-note a { color: var(--luz); }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status p { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.form-status .is-info { background: rgba(242, 179, 61, .12); color: #FFD48A; }
.form-status .is-error { background: rgba(255, 138, 122, .12); color: #FFB4A8; }
.form-status .is-ok { background: rgba(107, 227, 160, .12); color: #9CF0C1; }
.form-status a { color: #fff; }
.btn-otro { margin-top: 12px; }
.btn-otro[hidden] { display: none; }

/* ---------- PIE ---------- */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--borde); background: #020815; color: var(--niebla); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand .brand-tile { margin-bottom: 16px; width: 46px; height: 46px; }
.footer-brand .brand-tile img { width: 32px; }
.footer-brand strong { color: #fff; font-weight: 600; font-size: 1.1rem; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--niebla); text-decoration: none; }
.site-footer a:hover { color: var(--luz); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--borde); }
.footer-bottom p { margin: 0; }
.legal-links { display: flex !important; gap: 20px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { justify-self: center; max-width: 440px; margin-top: 8px; }
  .product-xl { flex-direction: column; }
  .product-xl .product-ui { border-right: 0; border-bottom: 1px solid var(--borde); min-height: 300px; }
  .assistant-grid, .contact-grid, .method { grid-template-columns: minmax(0, 1fr); }
  .method-head { position: static; }
  .demos-head { grid-template-columns: minmax(0, 1fr); }
  .legend { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 88px; }
  .hero h1 { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chips { flex-direction: column; gap: 10px; }
  .hero-stage { max-width: 340px; }
  .frag { font-size: .78rem; padding: 10px 12px; }
  .frag-voice { left: 0; top: 2%; }
  .frag-req { width: 176px; right: 0; top: 2%; }
  .frag-faq { width: 200px; left: auto; right: 4%; bottom: 0; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .ui-page { grid-template-columns: 1fr; }
  .ui-side { border-left: 0; border-top: 1px solid var(--borde); }
  .custom { flex-direction: column; align-items: stretch; padding: 22px; }
  .console { padding: 16px; border-radius: 24px; }
  .console-skills { grid-template-columns: 1fr; }
  .rules div { grid-template-columns: 1fr; gap: 4px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .demo-card { width: 84vw; }
  .proposal-flag { left: 8px; right: 84px; bottom: 8px; text-align: center; font-size: .72rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Movimiento reducido: todo quieto y visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; translate: none; filter: none; }
  .ui-faq p, .req { opacity: 1; }
  .product { transform: none !important; }
}

/* En táctil el :hover se queda «pegado» tras tocar: sin elevación ni zoom */
@media (hover: none), (pointer: coarse) {
  .btn-glow:hover, .btn-wa:hover, .demo-card:hover, .demo-card:hover .demo-visual img, .social a:hover, .hero-index a:hover, .wa-float:hover { transform: none; }
}

/* =====================================================================
   CATÁLOGO DE PRODUCTOS (28-10): seis productos con estado real
   ===================================================================== */
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dot-demo { background: var(--luz); box-shadow: 0 0 10px var(--luz); }
.dot-piloto { background: var(--ambar); box-shadow: 0 0 10px rgba(242, 179, 61, .7); }
.dot-desarrollo { background: transparent; border: 1.5px dashed var(--niebla); }
.status-dev { color: var(--niebla); background: rgba(147, 166, 194, .1); }
.status-dev::before { background: transparent; border: 1.5px dashed currentColor; box-shadow: none; }

/* Índice de productos en la portada: el catálogo de un vistazo */
.hero-index p { margin: 0 0 12px; font-size: .85rem; font-weight: 600; color: var(--niebla); }
.hero-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.hero-index a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(8, 26, 61, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--hielo); text-decoration: none; font-size: .9rem; font-weight: 500; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.hero-index a:hover { border-color: var(--luz); background: rgba(95, 230, 234, .08); transform: translateY(-2px); }

.catalog { overflow: hidden; isolation: isolate; scroll-margin-top: var(--header-h); }
.catalog-bg { position: absolute; inset: -10% 0; z-index: -1; background: radial-gradient(40% 30% at 15% 20%, rgba(18, 176, 182, .16), transparent 70%), radial-gradient(35% 30% at 90% 60%, rgba(20, 47, 91, .55), transparent 70%); }
.catalog-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 28px; }
.catalog-head h2 { max-width: 24ch; }
.catalog { padding-top: clamp(72px, 9vw, 120px); }
.catalog-head p { color: var(--niebla); font-size: 1.12rem; max-width: 56ch; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .03); color: var(--niebla); font: 500 .9rem/1 var(--font); cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.filter span { font-size: .78rem; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--hielo); }
.filter:hover { color: #fff; border-color: rgba(95, 230, 234, .4); }
.filter[aria-pressed="true"] { color: var(--noche); background: var(--hielo); border-color: var(--hielo); }
.filter[aria-pressed="true"] span { background: rgba(3, 10, 28, .12); color: var(--noche); }

.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 36px; border-block: 1px solid var(--borde); }
.states div { padding: 14px 18px 14px 0; }
.states div + div { padding-left: 18px; border-left: 1px solid var(--borde); }
.states dt { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #fff; font-size: .95rem; }
.states dd { margin: 4px 0 0; color: var(--niebla); font-size: .9rem; }

.catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.prod.is-out { display: none; }
.prod.is-in { animation: aparece .5s var(--ease) both; }
@keyframes aparece { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.prod { scroll-margin-top: calc(var(--header-h) + 20px); }
.prod .product-ui { min-height: 230px; height: 230px; display: grid; place-items: center; }
.prod .ui-browser { width: min(100%, 440px); }
.prod .ui-page { min-height: 150px; }
.prod-dev { background: linear-gradient(180deg, rgba(10, 24, 52, .6), rgba(5, 14, 36, .6)); border-style: dashed; }
.prod-body { position: relative; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 0; }
.prod-body .status { align-self: flex-start; margin-bottom: 16px; }
.prod-body h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin-bottom: .4em; }
.prod-what { color: var(--hielo); font-size: 1.04rem; margin-bottom: 18px; }
.prod-facts { margin: 0 0 20px; display: grid; gap: 0; }
.prod-facts div { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--borde); }
.prod-facts dt { color: var(--luz); font-size: .85rem; font-weight: 600; padding-top: 2px; }
.prod-facts dd { margin: 0; color: var(--niebla); font-size: .95rem; line-height: 1.5; }
.channels { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.channels li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid var(--borde); font-size: .92rem; color: var(--hielo); }
.st { font-size: .75rem; font-weight: 600; white-space: nowrap; }
.st-demo { color: var(--luz); } .st-piloto { color: var(--ambar); } .st-desarrollo { color: var(--niebla); }
.prod-more { margin: 0 0 20px; padding: 16px 18px; border-radius: 14px; background: rgba(3, 10, 28, .55); border: 1px solid var(--borde); }
.js .prod-more { display: none; }
.js .prod-more.open { display: block; animation: aparece .4s var(--ease) both; }
.more-title { margin: 0 0 6px; font-size: .8rem; font-weight: 600; color: var(--luz); }
.prod-more ul { margin: 0 0 12px; padding-left: 18px; color: var(--hielo); font-size: .93rem; }
.prod-more ul:last-child { margin-bottom: 0; }
.prod-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.prod-toggle::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.prod-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

/* Canales del agente de atención: núcleo y tres canales con su estado */
.ui-channels { position: relative; }
.ch-lines { position: absolute; inset: 14% 10%; width: 80%; height: 72%; z-index: 0; }
.ch-lines path { fill: none; stroke: rgba(95, 230, 234, .35); stroke-width: 1.2; stroke-dasharray: 4 5; animation: flujo 1.8s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flujo { to { stroke-dashoffset: -18; } }
.ch-hub { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(95, 230, 234, .35); background: rgba(3, 10, 28, .7); }
.ch { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(8, 26, 61, .95); border: 1px solid var(--borde); font-size: .82rem; font-weight: 600; color: #fff; }
.ch-web { left: 10%; top: 12%; } .ch-tel { right: 10%; top: 12%; } .ch-wa { left: 50%; bottom: 8%; transform: translateX(-50%); }

/* Redes: publicación en borrador pendiente de aprobación */
.post { position: relative; z-index: 1; width: 230px; padding: 12px; border-radius: 16px; background: rgba(8, 26, 61, .95); border: 1px solid var(--borde); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .8); display: grid; gap: 8px; transform: rotate(-2deg); }
.post-head { display: flex; align-items: center; gap: 8px; }
.post-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--luz), var(--mar)); }
.post-name { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); max-width: 80px; }
.post-head em { font-style: normal; font-size: .68rem; font-weight: 600; color: var(--ambar); background: rgba(242, 179, 61, .12); padding: 2px 8px; border-radius: 999px; }
.post-img { position: relative; height: 78px; border-radius: 10px; overflow: hidden; background: radial-gradient(80% 120% at 20% 0%, rgba(95, 230, 234, .5), transparent 60%), linear-gradient(135deg, #0E2A5A, #071735); }
.post-shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(-100%); animation: brillo 3s var(--ease) infinite; }
@keyframes brillo { 60%, 100% { transform: translateX(100%); } }
.post-line { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); transform-origin: left; animation: escribe 3s var(--ease) infinite; }
.post-line.l1 { width: 92%; } .post-line.l2 { width: 60%; animation-delay: .4s; }
@keyframes escribe { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
.post-foot { display: flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--niebla); }
.post-check { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ambar); }

/* Asistentes a medida: núcleo apagado, en desarrollo */
.ui-custom { position: relative; }
.cu-core { position: relative; z-index: 1; display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 1.5px dashed rgba(147, 166, 194, .45); animation: giro 30s linear infinite; }
.cu-core .ui-orb { opacity: .55; filter: saturate(.5); animation: none; }
.cn { position: absolute; z-index: 1; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(147, 166, 194, .35); color: var(--niebla); font-size: .78rem; }
.cn-1 { left: 12%; top: 16%; } .cn-2 { right: 12%; top: 16%; } .cn-3 { left: 10%; bottom: 18%; } .cn-4 { right: 14%; bottom: 18%; }
.cu-tag { position: absolute; z-index: 1; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: .72rem; font-weight: 600; color: var(--niebla); }

@media (max-width: 1060px) {
  .catalog-head { grid-template-columns: minmax(0, 1fr); }
  .filters { justify-content: flex-start; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .prod .product-ui { height: 220px; min-height: 220px; }
}
@media (max-width: 680px) {
  .hero-index ul { gap: 6px; }
  .hero-index a { font-size: .85rem; padding: 7px 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .states { grid-template-columns: minmax(0, 1fr); }
  .states div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--borde); }
  .prod-body { padding: 22px 20px 24px; }
  .prod-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prod-actions .btn { flex: 1 1 100%; }
  .ch-web { left: 4%; } .ch-tel { right: 4%; }
  .cn-1 { left: 4%; } .cn-2 { right: 4%; } .cn-3 { left: 4%; } .cn-4 { right: 4%; }
}
@media (prefers-reduced-motion: reduce) {
  .post-line { transform: none; }
  .post-shine { display: none; }
}
.prod .ui-page { min-height: 128px; }
.prod .ui-side { gap: 8px; padding: 12px; }
.prod .ui-side .ui-orb { width: 42px; height: 42px; }
.prod .ui-skel { padding: 14px; gap: 8px; }
.prod .ui-target { margin-top: 4px; padding: 9px; }

/* Sección «Asistente» con BENULIX (propuesta BENULIX WEB) */
.console-benulix { height: clamp(260px, 32vw, 340px); }
.console-benulix { overflow: hidden; }
.benulix-figure { position: relative; z-index: 1; height: clamp(230px, 28vw, 310px); max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(56, 216, 238, .35)); }
.console .btn-block { margin: 4px 0 0; gap: 12px; }

/* Pie: iconos oficiales de las redes junto a su nombre */
.site-footer nav a:has(.ico-red) { display: inline-flex; align-items: center; gap: 10px; }
.ico-red { width: 20px; height: 20px; flex: none; border-radius: 4px; transition: transform .2s; }
.site-footer nav a:hover .ico-red { transform: translateY(-1px) scale(1.06); }

/* ---------- WHATSAPP DIRECTO (28-10): banda discreta bajo BENULIX ---------- */
.wa-direct { position: relative; padding: 0 0 clamp(56px, 8vw, 96px); }
.wa-card { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px); border-radius: 24px; background: linear-gradient(120deg, rgba(14, 34, 72, .6), rgba(3, 10, 28, .5)); border: 1px solid var(--borde); }
.wa-copy h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; margin-bottom: .3em; }
.wa-copy p { margin: 0; color: var(--niebla); }
.btn-wa { flex: none; padding: 0 24px 0 8px; color: #fff; background: rgba(255, 255, 255, .04); border-color: rgba(37, 211, 102, .45); }
.btn-wa:hover { transform: translateY(-2px); border-color: #25D366; background: rgba(37, 211, 102, .08); box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .55); }
.wa-badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.wa-icon { width: 22px; height: 22px; }
@media (max-width: 680px) {
  .wa-card { flex-direction: column; align-items: stretch; }
  .btn-wa { justify-content: center; }
}

/* WhatsApp flotante a la derecha de BENULIX, a la misma altura: el contenedor de BENULIX se desplaza a la izquierda
   lo justo para dejarle sitio (BENULIX no cambia de tamaño ni de diseño). Centros: escritorio 56 px y móvil 97 px desde abajo. */
html .bx { right: 72px; }
.wa-float { position: fixed; right: 20px; bottom: 36px; z-index: 139; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #25D366; text-decoration: none;
  box-shadow: 0 0 0 3px rgba(3, 10, 28, .55), 0 14px 30px -12px rgba(0, 0, 0, .8), 0 0 22px -6px rgba(37, 211, 102, .55); transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s; }
.wa-float::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; } /* área táctil de 48 × 48 px */
.wa-float .wa-icon { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(3, 10, 28, .55), 0 18px 34px -12px rgba(0, 0, 0, .8), 0 0 30px -4px rgba(37, 211, 102, .8); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.9); }
.site-footer { padding-bottom: 112px; } /* la última línea del pie queda por encima de los botones flotantes */
@media (max-width: 680px) {
  .site-footer { padding-bottom: 148px; }
  html .bx { right: 62px; }
  .wa-float { right: 12px; bottom: 78px; width: 38px; height: 38px; }
  .wa-float::before { inset: -5px; } /* área táctil de 48 × 48 px */
  .wa-float .wa-icon { width: 21px; height: 21px; }
}
