@font-face { font-family: "Archivo"; src: url("../fonts/archivo/archivo.de2f1fe81758.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --glaciar: #eef3f4; --nieve: #ffffff; --tinta: #12304a; --tinta-2: #4b6275; --curva: #9db7c4; --lago: #1e6f73; --senal: #e0a62c; --repasar: #a8620f;
  --ancho: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--glaciar); color: var(--tinta); font: 400 17px/1.6 "Archivo", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lago); outline-offset: 3px; }
.envoltura { width: min(var(--ancho), 100% - 48px); margin-inline: auto; }
.extendida { font-stretch: 125%; }

/* barra */
.barra { position: absolute; inset: 0 0 auto; z-index: 3; }
.barra .envoltura { display: flex; align-items: center; justify-content: space-between; padding-block: 26px; }
.marca { font-weight: 700; font-stretch: 125%; font-size: 1.02rem; letter-spacing: .01em; text-decoration: none; display: flex; gap: 10px; align-items: center; }
.marca svg { width: 22px; height: 22px; }
.barra nav { display: flex; gap: 30px; align-items: center; font-size: .95rem; }
.barra nav a { text-decoration: none; color: var(--tinta-2); }
.barra nav a:hover { color: var(--tinta); }
.boton { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--tinta); color: var(--nieve) !important; text-decoration: none; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; font-family: inherit; }
.boton:hover { background: #0b2236; }
.boton--claro { background: transparent; color: var(--tinta) !important; box-shadow: inset 0 0 0 1.5px var(--tinta); }
.boton--claro:hover { background: var(--nieve); }

/* hero: el mapa es el único gesto */
.hero { position: relative; min-height: 760px; overflow: hidden; border-bottom: 1px solid #d5e1e5; }
.mapa { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__curvas { position: absolute; inset: 0; background: url("../img/landing/curvas.6c13c6322d1e.svg") center / cover no-repeat; }
.mapa .curvas path { fill: none; stroke: var(--curva); }
.ruta-mapa { fill: none; stroke: var(--tinta); stroke-width: 2.2; stroke-dasharray: 2 9; stroke-linecap: round; }
.hito circle { fill: var(--nieve); stroke: var(--tinta); stroke-width: 2; }
.hito--hecho circle { fill: var(--tinta); }
.hito--pronto circle { stroke-dasharray: 3 3; }
.hito text { font: 700 15px "Archivo"; font-stretch: 125%; fill: var(--tinta); }
.hito .cota { font: 400 12px "Archivo"; fill: var(--tinta-2); font-stretch: 100%; }
.hero__texto { position: relative; z-index: 2; padding-top: 190px; max-width: 560px; }
.hero h1 { font-weight: 300; font-stretch: 125%; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 26px; }
.hero p { font-size: 1.12rem; color: var(--tinta-2); max-width: 46ch; margin: 0 0 34px; }
.hero__acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__datos { position: relative; z-index: 2; display: flex; gap: 46px; margin-top: 90px; padding-bottom: 54px; flex-wrap: wrap; }
.hero__datos div { font-size: .9rem; color: var(--tinta-2); }
.hero__datos strong { display: block; font-weight: 300; font-stretch: 125%; font-size: 2rem; color: var(--tinta); line-height: 1.1; }

/* secciones */
section { padding-block: 110px; }
.titulo { font-weight: 300; font-stretch: 125%; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 18px; max-width: 22ch; }
.intro { color: var(--tinta-2); max-width: 58ch; margin: 0; }

/* distinto: lista en dos columnas, sin tarjetas */
.distinto { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.rasgos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.rasgo dt { font-weight: 650; font-size: 1.05rem; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.rasgo dt svg { flex: none; width: 18px; height: 18px; position: relative; top: 3px; color: var(--lago); }
.rasgo dd { margin: 0; color: var(--tinta-2); font-size: .98rem; }

/* cursos como rutas con perfil de altura */
.cursos { background: var(--nieve); }
.cursos__lista { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.curso { display: flex; flex-direction: column; gap: 14px; }
.curso__img { aspect-ratio: 16/7; border-radius: 22px; overflow: hidden; background: var(--glaciar); }
.curso__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.curso h3 { font-weight: 600; font-stretch: 125%; font-size: 1.5rem; margin: 6px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.curso h3 span { font-weight: 400; font-size: .95rem; color: var(--lago); }
.curso p { margin: 0; color: var(--tinta-2); }
.perfil { width: 100%; height: 54px; }
.perfil path { fill: none; stroke: var(--tinta); stroke-width: 1.5; }
.perfil .relleno { fill: var(--glaciar); stroke: none; }
.curso ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--tinta-2); }
.proximo { margin-top: 70px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--curva); }
.proximo svg { width: 54px; height: 54px; }
.proximo h3 { margin: 0 0 4px; font-weight: 600; font-stretch: 125%; font-size: 1.2rem; }
.proximo p { margin: 0; color: var(--tinta-2); }

/* pasos: sí es secuencia */
.pasos { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: paso; }
.pasos li { counter-increment: paso; border-top: 1.5px solid var(--tinta); padding-top: 18px; }
.pasos li::before { content: counter(paso); display: block; font-weight: 300; font-stretch: 125%; font-size: 2.2rem; line-height: 1; margin-bottom: 14px; color: var(--lago); }
.pasos h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 650; }
.pasos p { margin: 0; color: var(--tinta-2); font-size: .95rem; }

/* equipo */
.equipo { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; }
.equipo blockquote { margin: 0; font-weight: 300; font-stretch: 112%; font-size: 1.35rem; line-height: 1.55; max-width: 52ch; }
.equipo cite { display: block; margin-top: 20px; font-style: normal; font-size: .95rem; color: var(--tinta-2); }

/* solicitud */
.solicitud { background: var(--tinta); color: var(--nieve); }
.solicitud .titulo { color: var(--nieve); }
.solicitud .intro { color: #b7c7d3; }
.solicitud__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-size: .9rem; color: #c9d6df; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1px solid #2f4d66; background: #183b58; color: var(--nieve); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--senal); outline-offset: 1px; }
.ancho { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.check input { margin-top: 3px; }
.solicitud .boton { background: var(--senal); color: var(--tinta) !important; justify-self: start; }

footer { padding-block: 34px; font-size: .88rem; color: var(--tinta-2); }
footer .envoltura { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* un único momento de movimiento: la ruta se dibuja */
@media (prefers-reduced-motion: no-preference) {
  .ruta-mapa { stroke-dashoffset: 0; animation: trazar 2.6s ease-out both; }
  @keyframes trazar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (max-width: 900px) {
  .barra nav a:not(.boton) { display: none; }
  .hero { min-height: 0; }
  .hero__texto { padding-top: 130px; }
  .mapa, .hero__curvas { opacity: .45; }
  .distinto, .equipo, .solicitud__grid, .cursos__lista { grid-template-columns: 1fr; gap: 40px; }
  .rasgos { grid-template-columns: 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .demo, .proximo { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  section { padding-block: 72px; }
}

/* ---- Demo de voz (gesto destacado, tomado de la propuesta C) ---- */
.voz { margin-top: 64px; background: var(--nieve); border-radius: 30px; padding: 46px 52px 40px; }
.voz__top { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--tinta-2); font-size: .92rem; margin-bottom: 18px; flex-wrap: wrap; }
.voz__frase { font-weight: 300; font-stretch: 125%; font-size: clamp(1.9rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: -.03em; margin: 0; color: #b4c6cf; }
.voz__frase span { transition: color .25s; }
.voz__frase .ok { color: var(--tinta); }
.voz__frase .no { color: var(--repasar); text-decoration: underline wavy; text-decoration-thickness: 2px; text-underline-offset: 10px; }
.onda { display: flex; align-items: center; gap: 3px; height: 72px; margin: 34px 0 26px; }
.onda i { flex: 1; border-radius: 3px; background: #cddbe1; min-height: 4px; transition: background .15s; }
.onda i.on { background: var(--lago); }
.voz__pie { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.voz__play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--tinta); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.voz__play:hover { background: #0b2236; }
.voz__play svg { width: 22px; height: 22px; }
.voz__resultado { display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap; opacity: 0; transition: opacity .4s; }
.voz__resultado.visible { opacity: 1; }
.voz__resultado b { font-weight: 300; font-stretch: 125%; font-size: 2.6rem; line-height: 1; color: var(--lago); }
.voz__resultado span { color: var(--tinta-2); }
.voz__resultado em { font-style: normal; color: var(--repasar); font-weight: 650; }
.rasgos--tres { margin-top: 70px; grid-template-columns: repeat(3, 1fr); }

/* ---- Integración con el sitio ---- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 12px; background: #1e6f73; color: #fff; }
.errores { margin: 0; padding: 0; list-style: none; color: #ffcf7a; font-size: .85rem; }
@media (max-width: 900px) {
  .voz { padding: 30px 22px; }
  .rasgos--tres { grid-template-columns: 1fr; }
  .mapa .hito text { display: none; }
}

/* Dibujo del micrófono: las ondas laten mientras corre la demo */
.voz__top { align-items: flex-start; }
.voz__top > span { max-width: 32ch; }
.voz__dibujo { width: min(300px, 46%); height: auto; color: var(--tinta); flex: none; }
.voz__dibujo .t-ok { stroke: var(--lago); }
.voz__dibujo .t-no { stroke: var(--repasar); }
.voz__dibujo .rec { fill: #cddbe1; transition: fill .2s; }
.voz__dibujo .aro { opacity: .35; }
.voz.grabando .voz__dibujo .rec { fill: #c2412d; }
@media (prefers-reduced-motion: no-preference) {
  .voz.grabando .voz__dibujo .aro { animation: aro 1s ease-in-out infinite; }
  .voz.grabando .voz__dibujo .aro--2 { animation-delay: .15s; }
  .voz.grabando .voz__dibujo .aro--3 { animation-delay: .3s; }
  @keyframes aro { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
}
@media (max-width: 640px) { .voz__top { flex-direction: column-reverse; } .voz__dibujo { width: 100%; max-width: 300px; } }

.aviso-recaptcha { grid-column: 1 / -1; margin: .5rem 0 0; font-size: .75rem; opacity: .7; }
