/* Landing de Viva Blue Diving: la propuesta de comunicación (azul noche, cian y olas), con el test y el asistente. */
@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url(fuentes/Poppins-400-latin.woff) format("woff"); }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap; src: url(fuentes/Poppins-600-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-style: normal; font-display: swap; src: url(fuentes/Poppins-700-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-style: normal; font-display: swap; src: url(fuentes/Poppins-800-latin.woff2) format("woff2"); }

:root {
  --fondo: #00131f; --fondo-2: #001b2c; --fondo-3: #002539;
  --cian: #2cd5ea; --cian-2: #8be3ef; --cian-a: rgba(44, 213, 234, .38); --cian-b: rgba(44, 213, 234, .14);
  --turquesa: #14a99f; --sol: #f6a800;
  --ola-1: #00365b; --ola-2: #0066aa; --ola-3: #0aa6d8;
  --texto: #e8f7fb; --suave: #a7cbd8; --tenue: #6f93a3;
  --radio: 40px; --ancho: 1180px; --gutter: clamp(16px, 4vw, 48px);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--suave); font-family: Poppins, system-ui, sans-serif; font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
b, strong { color: var(--cian); font-weight: 700; }
h1, h2, h3 { margin: 0; color: var(--cian); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
p { margin: 0; }
button { font-family: inherit; }
.envoltura { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Botones ── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border-radius: 100px; font: 700 15px/1.1 Poppins, sans-serif; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.boton.linea { background: var(--fondo); color: #fff; border: 1.5px solid var(--cian); }
.boton.linea:hover { box-shadow: 0 0 0 6px var(--cian-b); transform: translateY(-1px); }
.boton.lleno { background: var(--cian); color: var(--fondo); border: 1.5px solid var(--cian); }
.boton.lleno:hover { background: var(--cian-2); transform: translateY(-1px); }
.boton:focus-visible, .enlace:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.enlace { color: var(--cian); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.enlace::after { content: "→"; transition: transform .2s; }
.enlace:hover::after { transform: translateX(3px); }

/* ── Entradas suaves (solo con JS y sin «reducir movimiento») ── */
.js .entra { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .entra.dentro { opacity: 1; transform: none; }

/* ── Cabecera con la foto y la tarjeta ── */
.hero { position: relative; padding-bottom: 30px; }
.hero .foto { position: relative; height: min(76vh, 640px); min-height: 440px; overflow: hidden; }
.hero .foto picture { display: block; height: 100%; }
.hero .foto picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 19, 31, .25) 0%, rgba(0, 19, 31, 0) 30%, rgba(0, 19, 31, .55) 74%, var(--fondo) 100%); }
.hero .logo { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: clamp(96px, 10vw, 124px); z-index: 2; }
.hero .tarjeta { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 660px); margin: -250px auto 0; background: var(--fondo); border: 1.5px solid var(--cian); border-radius: var(--radio); padding: 42px clamp(22px, 5vw, 56px) 70px; }
.hero .ante { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--cian-2); margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); }
.hero .tarjeta p.cuerpo { color: var(--cian-2); font-size: 17px; margin-top: 20px; }
.hero .acciones { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); display: flex; gap: 12px; justify-content: center; width: max-content; }
.hero .plazas { text-align: center; margin-top: 56px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cian-2); }

/* ── Descubre Lanzarote desde otra perspectiva ── */
.perspectiva { padding: 110px 0 90px; }
.perspectiva .envoltura { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.perspectiva h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.perspectiva h2 .fino { display: block; font-weight: 400; }
.perspectiva .texto p { margin-top: 22px; color: var(--cian-2); }
.perspectiva .texto .boton { margin-top: 28px; }
.ventajas { border: 1.5px solid var(--cian); border-radius: var(--radio); padding: 36px clamp(22px, 4vw, 46px); display: grid; gap: 22px; }
.ventaja { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ventaja svg { width: 24px; height: 24px; color: var(--cian); margin-top: 2px; }
.ventaja b { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.ventaja span { font-size: 14px; line-height: 1.5; color: var(--cian-2); }
.resenas { display: grid; grid-template-columns: 28px 1fr 1fr; gap: 14px; }
.resenas svg { width: 24px; height: 24px; color: var(--cian); }
.resenas b { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.resenas span { display: block; font-size: 13px; line-height: 1.45; color: var(--cian-2); }

/* ── Tira de fotos ── */
.fotos { position: relative; padding: 10px 0 100px; }
.fotos .tira { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fotos figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--ola-1), var(--fondo-2)); }
.fotos img { width: 100%; height: 100%; object-fit: cover; }
.fotos .pendiente { display: grid; place-items: center; text-align: center; color: var(--tenue); font-size: 12.5px; padding: 18px; border: 1px dashed var(--cian-b); }
.fotos .raya { position: absolute; height: 4px; width: min(30vw, 240px); background: linear-gradient(90deg, var(--cian), transparent); }
.fotos .raya.arriba { top: -6px; left: 0; }
.fotos .raya.abajo { bottom: 90px; right: 0; transform: scaleX(-1); }

/* ── Niveles: el círculo y la banda de olas ── */
.niveles { padding: 20px 0 0; text-align: center; }
.titulo-centro { font-size: clamp(16px, 2vw, 20px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--cian); }
.titulo-centro b { font-weight: 800; }
.circulo { width: clamp(210px, 24vw, 270px); margin: 34px auto 0; position: relative; }
.circulo svg { overflow: visible; width: 100%; height: auto; }
.circulo .marcas { transform-origin: 130px 130px; animation: girar 70s linear infinite; }
.circulo .anillo-int { transform-origin: 130px 130px; animation: girar 24s linear infinite reverse; }
.circulo .arco { transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); }
.circulo .centro { font-family: var(--mono); font-size: 11px; letter-spacing: .28em; fill: var(--cian); text-transform: uppercase; }
@keyframes girar { to { transform: rotate(360deg); } }
.banda { position: relative; margin-top: -40px; padding: 140px 0 70px; }
.banda .olas { position: absolute; left: 0; right: 0; top: 0; height: 300px; z-index: 0; pointer-events: none; }
.banda .olas svg { width: 100%; height: 100%; }
.banda ol { position: relative; z-index: 1; list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; width: min(100% - 2 * var(--gutter), var(--ancho)); text-align: left; }
.nivel { display: flex; flex-direction: column; gap: 8px; padding: 10px 4px; border-radius: 14px; transition: opacity .6s ease, transform .6s ease, background .3s; }
.js .banda .nivel { opacity: .25; transform: translateY(10px); }
.js .banda.encendida .nivel { opacity: 1; transform: none; transition-delay: calc(var(--i) * 140ms); }
.nivel:hover, .nivel.activo { background: rgba(44, 213, 234, .07); }
.nivel svg { width: 26px; height: 26px; color: var(--cian); }
.nivel h3 { font-size: 13px; letter-spacing: .02em; line-height: 1.2; }
.nivel p { font-size: 13px; line-height: 1.45; color: #c3edf5; }
.nivel .enlace { margin-top: auto; font-size: 11.5px; }
.niveles .acciones-centro { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 var(--gutter) 10px; }

/* ── Dos certificadoras ── */
.certificadoras { padding: 100px 0 60px; }
.titulo-lineas { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: clamp(16px, 2vw, 20px); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--cian); text-align: center; }
.titulo-lineas b { font-weight: 800; }
.titulo-lineas::before, .titulo-lineas::after { content: ""; flex: 1; max-width: 220px; height: 3px; background: linear-gradient(90deg, transparent, var(--cian)); }
.titulo-lineas::after { transform: scaleX(-1); }
.certificadoras .reja { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: center; margin-top: 56px; }
.certificadoras .reja > p { color: var(--cian-2); font-size: 15px; }
.cert { display: flex; align-items: center; gap: 18px; }
.cert svg { width: 78px; height: 78px; flex: none; }
.cert .num { font-family: var(--mono); font-size: 15px; fill: var(--cian); letter-spacing: .1em; }
.cert b { display: block; font-size: 30px; font-weight: 600; color: var(--cian); line-height: 1; }
.cert small { display: block; margin-top: 6px; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; color: var(--cian-2); }

/* ── Mapa ── */
.mapa { padding: 40px 0 0; text-align: center; }
.mapa .isla { position: relative; width: min(64vw, 300px); margin: 0 auto; }
.mapa .isla img { width: 100%; }
.mapa .latido { position: absolute; left: 11.8%; top: 85.4%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--cian); animation: latido 2.2s ease-out infinite; }
.mapa .acciones-centro { display: flex; justify-content: center; margin-top: 34px; padding: 0 var(--gutter); }

/* ── Pie ── */
.pie { position: relative; margin-top: 70px; padding: 150px 0 34px; overflow: hidden; }
.pie .ola { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 0; }
.pie .ola svg { width: 100%; height: 100%; }
.pie .envoltura { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.pie .marca img { width: 200px; }
.pie nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pie nav a, .pie nav button { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--cian); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.pie nav a:hover, .pie nav button:hover { text-decoration: underline; }

/* ── Aviso de cookies ── */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin: 0 auto; background: var(--fondo-2); border: 1px solid var(--cian-a); border-radius: 20px; padding: 18px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.cookies p { font-size: 14px; line-height: 1.5; color: var(--suave); }
.cookies p a { color: var(--cian); }
.cookies .botones { display: flex; gap: 10px; margin-top: 14px; }
.cookies .boton { flex: 1; min-height: 44px; padding: 0 14px; font-size: 13px; }

/* ── Llamada fija del móvil ── */
.cta-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 19, 31, .94); border-top: 1px solid var(--cian-b); transform: translateY(110%); transition: transform .3s ease; }
.cta-movil.visible { transform: none; }
.cta-movil .boton { flex: 1; min-height: 46px; padding: 0 10px; font-size: 12.5px; }

/* ── El test ── */
.test { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(0, 8, 14, .74); }
.test[hidden] { display: none; }
.test .caja { position: relative; width: min(100%, 560px); max-height: calc(100vh - 32px); overflow: auto; background: linear-gradient(160deg, #002033, var(--fondo)); border: 1px solid var(--cian-a); border-radius: 28px; padding: 30px clamp(20px, 5vw, 36px) 28px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); color: var(--texto); }
.test .cerrar { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--suave); font-size: 22px; line-height: 1; cursor: pointer; }
.test .cerrar:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.test .paso-n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--cian); }
.test .barra { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); margin: 10px 0 22px; overflow: hidden; }
.test .barra i { display: block; height: 100%; width: 0; background: var(--cian); transition: width .4s ease; }
.test h2 { font-size: clamp(22px, 4vw, 28px); color: #fff; text-transform: none; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.test .intro p { margin-top: 12px; color: var(--suave); }
.test .intro .boton { margin-top: 24px; }
.test .opciones { display: grid; gap: 10px; margin-top: 20px; }
.test .opciones.dos { grid-template-columns: 1fr 1fr; }
.test .opcion { text-align: left; min-height: 54px; padding: 12px 16px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: var(--texto); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.test .opcion:hover { border-color: var(--cian-a); background: rgba(255, 255, 255, .1); }
.test .opcion[aria-pressed="true"] { border-color: var(--cian); background: rgba(44, 213, 234, .16); }
.test .opcion small { display: block; color: var(--suave); font-size: 12.5px; }
.test .pie-paso { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.test .atras { background: none; border: 0; color: var(--suave); font-size: 14px; cursor: pointer; padding: 8px 0; white-space: nowrap; }
.test .atras:hover { color: #fff; }
.test label.campo { display: block; margin-top: 14px; font-size: 13px; color: var(--suave); }
.test input[type="text"], .test input[type="email"], .test input[type="tel"] { display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 12px 15px; border-radius: 15px; border: 1px solid #1f4a5e; background: #000d16; color: #fff; font: 400 16px Poppins, sans-serif; outline: none; transition: box-shadow .2s, border-color .2s; }
.test input:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--cian); }
.test .permiso { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--suave); }
.test .permiso input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cian); }
.test .permiso a { color: var(--cian); }
.test .error { margin-top: 10px; font-size: 13px; color: #ffb4a8; min-height: 1em; }
.test .hecho { text-align: center; padding: 10px 0 4px; }
.test .hecho .ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(44, 213, 234, .14); color: var(--cian); font-size: 30px; }
.test .hecho p { margin-top: 12px; color: var(--suave); }
.test .hecho .boton { margin-top: 22px; }

/* ── El asistente (widget de chat, al estilo VerdimIA / BowlIA) ── */
.vb-lanzador { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 62px; height: 62px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--fondo-2); box-shadow: 0 0 0 3px var(--cian), 0 14px 34px rgba(0, 0, 0, .45); display: grid; place-items: center; transition: transform .2s; }
.vb-lanzador:hover { transform: scale(1.05); }
.vb-lanzador img { width: 44px; height: 44px; }
.vb-lanzador .punto { position: absolute; right: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 2px var(--fondo-2); }
.vb-globo { position: fixed; right: 20px; bottom: 96px; z-index: 50; max-width: 250px; background: #fff; color: #072433; border-radius: 18px 18px 4px 18px; padding: 12px 34px 12px 15px; font-size: 14px; line-height: 1.4; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); cursor: pointer; }
.vb-globo[hidden] { display: none; }
.vb-globo button { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 18px; color: #507080; cursor: pointer; }
.vb-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 420px; height: min(650px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden; color: #eef8fb; border-radius: 24px; border: 1px solid rgba(44, 213, 234, .28); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: linear-gradient(160deg, #002236, #00111c); }
.vb-chat[hidden] { display: none; }
.vb-chat .cab { padding: 12px; }
.vb-chat .pildora { display: flex; align-items: center; gap: 10px; border-radius: 100px; background: rgba(0, 0, 0, .38); padding: 7px 8px 7px 7px; }
.vb-chat .pildora img { width: 46px; height: 46px; margin: -10px 0; border-radius: 50%; background: var(--fondo-2); box-shadow: 0 0 0 2px var(--cian); padding: 5px; }
.vb-chat .pildora img[hidden] { display: none; }
.vb-chat .nombre { flex: 1; min-width: 0; line-height: 1.2; padding-left: 4px; }
.vb-chat .nombre b { display: block; font-size: 15.5px; font-weight: 600; color: var(--cian); }
.vb-chat .nombre span { display: block; font-size: 11.5px; color: #8fb2c0; }
.vb-chat .icono { border: 0; background: none; color: #8fb2c0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.vb-chat .icono:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.vb-chat .icono[hidden] { display: none; }
.vb-chat .lista { flex: 1; overflow-y: auto; padding: 4px 20px 16px; scrollbar-width: thin; scrollbar-color: #2b4b5b transparent; }
.vb-chat .portada h3 { font-size: 27px; font-weight: 600; line-height: 1.1; color: #fff; text-transform: none; letter-spacing: -.01em; padding-top: 6px; }
.vb-chat .portada .acento { width: 44px; height: 3px; border-radius: 3px; background: var(--cian); margin-top: 14px; }
.vb-chat .portada p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #c4dde6; }
.vb-chat .portada .rotulo { margin-top: 20px; font-size: 12.5px; color: #8fb2c0; }
.vb-chat .ejemplos { display: grid; gap: 8px; margin-top: 10px; }
.vb-chat .ejemplos button { text-align: left; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .07); color: #eef8fb; padding: 10px 14px; font-size: 14px; line-height: 1.4; cursor: pointer; transition: border-color .2s, background .2s; }
.vb-chat .ejemplos button:hover { border-color: rgba(44, 213, 234, .6); background: rgba(255, 255, 255, .11); }
.vb-chat .mensajes { display: grid; gap: 12px; padding-top: 4px; }
.vb-chat .msg { max-width: 92%; border-radius: 18px; padding: 10px 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.vb-chat .msg.yo { justify-self: end; max-width: 85%; border-bottom-right-radius: 6px; border: 1px solid rgba(44, 213, 234, .4); background: rgba(44, 213, 234, .18); color: #fff; }
.vb-chat .msg.ia { border-bottom-left-radius: 6px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); }
.vb-chat .msg.ia a { color: var(--cian); }
.vb-chat .msg.error { border-color: rgba(242, 134, 122, .3); background: rgba(242, 134, 122, .12); color: #ffc0b8; }
.vb-chat .botones-ia { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.vb-chat .botones-ia a, .vb-chat .botones-ia button { border-radius: 100px; border: 1px solid var(--cian-a); background: rgba(44, 213, 234, .1); color: var(--cian); padding: 7px 13px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.vb-chat .botones-ia a:hover, .vb-chat .botones-ia button:hover { background: rgba(44, 213, 234, .2); }
.vb-chat .pensando { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c4dde6; padding: 4px 0; }
.vb-chat .burbujas { position: relative; width: 22px; height: 22px; }
.vb-chat .burbujas i { position: absolute; bottom: 0; border-radius: 50%; border: 1.5px solid var(--cian); animation: burbuja 1.6s ease-in infinite; opacity: 0; }
.vb-chat .burbujas i:nth-child(1) { left: 2px; width: 7px; height: 7px; }
.vb-chat .burbujas i:nth-child(2) { left: 10px; width: 9px; height: 9px; animation-delay: .5s; }
.vb-chat .burbujas i:nth-child(3) { left: 5px; width: 5px; height: 5px; animation-delay: 1s; }
@keyframes burbuja { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
.vb-chat form { display: flex; gap: 8px; align-items: flex-end; padding: 4px 12px 0; }
.vb-chat textarea { flex: 1; min-height: 49px; max-height: 132px; resize: none; border-radius: 18px; border: 1px solid #1d3b4a; background: #000b13; color: #eef8fb; padding: 13px 15px; font: 400 15px/21px Poppins, sans-serif; outline: none; }
.vb-chat textarea:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--cian); }
.vb-chat .enviar { width: 49px; height: 49px; flex: none; border-radius: 15px; border: 0; background: var(--cian); color: var(--fondo); display: grid; place-items: center; cursor: pointer; }
.vb-chat .enviar:disabled { opacity: .4; cursor: default; }
.vb-chat .aviso { padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); text-align: center; font-size: 11px; color: #7f9fac; }

/* ── Movimiento: zoom lento, burbujas, olas, latido y anillos (todo se para con «reducir movimiento») ── */
.hero .foto picture img { animation: acercar 26s ease-in-out infinite alternate; transform-origin: 50% 30%; }
@keyframes acercar { from { transform: scale(1); } to { transform: scale(1.07); } }
.burbujas-hero { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.burbujas-hero i { position: absolute; bottom: -24px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .07); opacity: 0; animation: subir linear infinite; }
.burbujas-hero i:nth-child(1) { left: 14%; width: 10px; height: 10px; animation-duration: 11s; }
.burbujas-hero i:nth-child(2) { left: 22%; width: 6px; height: 6px; animation-duration: 8s; animation-delay: 2s; }
.burbujas-hero i:nth-child(3) { left: 31%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: 4s; }
.burbujas-hero i:nth-child(4) { left: 46%; width: 7px; height: 7px; animation-duration: 9s; animation-delay: 1s; }
.burbujas-hero i:nth-child(5) { left: 63%; width: 11px; height: 11px; animation-duration: 12s; animation-delay: 5s; }
.burbujas-hero i:nth-child(6) { left: 74%; width: 5px; height: 5px; animation-duration: 7s; animation-delay: 3s; }
.burbujas-hero i:nth-child(7) { left: 85%; width: 9px; height: 9px; animation-duration: 10s; animation-delay: 6s; }
.burbujas-hero i:nth-child(8) { left: 92%; width: 13px; height: 13px; animation-duration: 14s; animation-delay: 2.5s; }
@keyframes subir { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 50% { transform: translate(16px, -45vh); } 100% { transform: translate(-10px, -90vh); opacity: 0; } }
.olas .o1, .pie .o1 { animation: ola-a 12s ease-in-out infinite alternate; }
.olas .o2 { animation: ola-b 15s ease-in-out infinite alternate; }
.olas .o3, .pie .o3 { animation: ola-c 9s ease-in-out infinite alternate; }
@keyframes ola-a { from { transform: translateX(-70px); } to { transform: translateX(70px); } }
@keyframes ola-b { from { transform: translate(80px, 0); } to { transform: translate(-80px, 10px); } }
@keyframes ola-c { from { transform: translateX(-50px); opacity: .65; } to { transform: translateX(80px); opacity: 1; } }
@keyframes latido { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(2.8); opacity: 0; } }
.js .cert .arco-cert { stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s cubic-bezier(.2, .8, .2, 1) .25s; }
.js .cert.dentro .arco-cert { stroke-dasharray: var(--p) 100; }

/* ── Pantallas medianas y pequeñas ── */
@media (max-width: 1000px) {
  .banda ol { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .certificadoras .reja { grid-template-columns: 1fr 1fr; }
  .certificadoras .reja > p { grid-column: 1 / -1; text-align: center; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero .foto { height: 62vh; min-height: 380px; }
  .hero .tarjeta { margin-top: -170px; padding: 32px 22px 26px; border-radius: 30px; }
  .hero .acciones { position: static; transform: none; width: 100%; flex-direction: column; margin-top: 24px; }
  .hero .acciones .boton { width: 100%; }
  .hero .plazas { margin-top: 18px; }
  .perspectiva { padding: 70px 0 60px; }
  .perspectiva .envoltura { grid-template-columns: 1fr; }
  .ventajas { border-radius: 30px; }
  .fotos .tira { grid-template-columns: 1fr 1fr; }
  .fotos .tira figure:first-child { grid-column: 1 / -1; }
  .banda { padding-top: 110px; }
  .banda ol { grid-template-columns: 1fr 1fr; }
  .niveles .acciones-centro .boton { width: 100%; }
  .certificadoras .reja { grid-template-columns: 1fr; gap: 26px; justify-items: start; }
  .pie { padding-top: 120px; }
  .pie .envoltura { flex-direction: column; align-items: flex-start; }
  .cta-movil { display: flex; }
  .vb-lanzador { bottom: 86px; right: 14px; }
  .vb-globo { bottom: 160px; right: 14px; }
  .con-aviso .vb-lanzador, .con-aviso .vb-globo { display: none; }
  .vb-chat { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
}
@media (max-width: 480px) {
  .test .pie-paso { flex-direction: column-reverse; align-items: stretch; }
  .test .pie-paso .boton { width: 100%; white-space: normal; text-align: center; }
  .test .atras { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .circulo .marcas, .circulo .anillo-int, .vb-chat .burbujas i, .hero .foto picture img, .olas path, .pie path, .mapa .latido { animation: none; }
  .burbujas-hero { display: none; }
  .js .cert .arco-cert { stroke-dasharray: var(--p) 100; transition: none; }
  .js .entra, .js .banda .nivel { opacity: 1; transform: none; transition: none; }
}
