@font-face { font-family: 'Inter'; src: url('fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Landing «Tu centro responde» · Webcomunica Solutions
   Paleta y tipografía de webcomunica.solutions: azul #0081BA, Inter, amarillo #fccc0b como único acento cálido.
   Escala de esquinas: botones en píldora, tarjetas y paneles a 28px, campos a 12px. */

:root {
    --marca: #0081ba;
    --marca-osc: #005a85;
    --marca-clara: #1a9bd1;
    --boton: #006fa3;          /* contraste AA con texto blanco */
    --cielo: #e0f2fe;
    --papel: #f0f9ff;
    --blanco: #ffffff;
    --tinta: #0f2c3f;
    --texto: #1f2937;
    --suave: #5f7385;
    --linea: #d6e6f1;
    --amarillo: #fccc0b;
    --crema: #fff6cf;
    --radio: 28px;
    --sombra: 0 24px 60px -24px rgba(0, 90, 133, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--texto); background: var(--blanco); line-height: 1.6; font-size: 1.0625rem; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--tinta); letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
a { color: var(--marca-osc); }
.contenedor { width: min(1180px, 100% - 3rem); margin-inline: auto; }

/* ---------- barra ---------- */
.barra { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linea); }
.barra-in { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.barra-nav { display: flex; gap: 2.6rem; font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.barra-nav a { position: relative; text-decoration: none; color: var(--suave); padding: 1.9rem 0; transition: color .2s; }
.barra-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--marca); transform: scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.barra-nav a:hover { color: var(--marca); }
.barra-nav a.activo { color: var(--tinta); }
.barra-nav a:hover::after, .barra-nav a.activo::after { transform: scaleX(1); }
.menu-boton { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--papel); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-boton span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--tinta); transition: transform .25s, opacity .2s; }
.barra.abierta .menu-boton span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.barra.abierta .menu-boton span:nth-child(2) { opacity: 0; }
.barra.abierta .menu-boton span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .7rem 1.7rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.boton:active { transform: translateY(1px) scale(.985); }
.boton-solido { background: var(--boton); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 90, 133, .7); }
.boton-solido:hover { background: var(--marca-osc); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 90, 133, .8); }
.boton-amarillo { background: var(--amarillo); color: var(--tinta); }
.boton-amarillo:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(252, 204, 11, .6); }
.boton-borde { background: #fff; color: var(--tinta); border-color: var(--linea); }
.boton-borde:hover { border-color: var(--marca); color: var(--marca-osc); transform: translateY(-2px); }
.boton-ancho { width: 100%; }
.boton:disabled { opacity: .6; cursor: wait; transform: none; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

/* ---------- portada ---------- */
.portada { background: linear-gradient(180deg, var(--papel) 0%, var(--blanco) 100%); padding: 1.6rem 0 2.4rem; overflow: hidden; }
.portada-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; min-height: calc(100dvh - 80px - 6rem); }
h1 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; margin-bottom: 1.3rem; }
.h1-pregunta { display: block; color: var(--marca); margin-bottom: .45rem; }
.entradilla { font-size: 1.2rem; line-height: 1.55; max-width: 30em; margin-bottom: 2rem; color: var(--suave); }
.botones { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.demo-nota { max-width: 30em; font-size: .95rem; color: var(--suave); }
.demo-nota strong { color: var(--tinta); }

.portada-demo { display: flex; justify-content: center; }
.escenario { position: relative; width: min(100%, 520px); display: flex; justify-content: center; padding: 1rem 0; }
/* halo suave detrás del móvil, sin caja de color */
.escenario::before { content: ''; position: absolute; inset: 4% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 155, 209, .30), rgba(26, 155, 209, .12) 55%, rgba(26, 155, 209, 0) 100%); filter: blur(10px); }
.movil { position: relative; width: min(100%, 330px); aspect-ratio: 9 / 19; background: linear-gradient(160deg, #1b3a52, var(--tinta) 55%, #081a28); border-radius: 52px; padding: 10px; box-shadow: 0 50px 80px -34px rgba(0, 70, 110, .65), 0 18px 30px -18px rgba(0, 40, 70, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.movil::before { content: ''; position: absolute; right: -3px; top: 150px; width: 4px; height: 70px; border-radius: 0 3px 3px 0; background: #0b2233; }
.movil::after { content: ''; position: absolute; left: -3px; top: 130px; width: 4px; height: 46px; border-radius: 3px 0 0 3px; background: #0b2233; box-shadow: 0 64px 0 #0b2233; }
.movil-pantalla { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--papel); }
.movil-capa:focus-visible { outline: 3px solid var(--amarillo); outline-offset: -3px; border-radius: 42px; }
/* solo se mueve el brazo: la mano sube y baja unas veces y luego se queda quieta */
.olivia-brazo { transform-origin: 17.3% 59%; animation: olivia-mano 6s ease-in-out 1s infinite; }
@keyframes olivia-mano { 0% { transform: rotate(0); } 4% { transform: rotate(-13deg); } 10% { transform: rotate(9deg); } 16% { transform: rotate(-13deg); } 22% { transform: rotate(9deg); } 28% { transform: rotate(-11deg); } 34% { transform: rotate(6deg); } 40%, 100% { transform: rotate(0); } }
.movil-pantalla iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--papel); }
.movil-pantalla { position: relative; }
.movil-pantalla iframe { pointer-events: none; }
.movil-capa { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5.6rem; cursor: pointer; text-decoration: none; }
.movil-capa span { background: var(--tinta); color: #fff; font-weight: 700; font-size: .9rem; padding: .55rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 24px -8px rgba(0, 40, 70, .6); opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.movil-capa:hover span, .movil-capa:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .movil-capa span { opacity: 1; transform: none; } }

/* ---------- frase grande ---------- */

.frase-texto { max-width: 20em; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; color: var(--tinta); text-wrap: balance; }
.frase-texto span { color: var(--marca); }

/* ---------- secciones ---------- */
.seccion { padding: 3.6rem 0; }
.seccion-banda { background: var(--papel); }
.titulo { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.6rem; text-wrap: balance; }
.titulo-grande { font-size: clamp(1.8rem, 3.2vw, 2.5rem); max-width: 20em; margin-bottom: 1.4rem; }
.titulo.izq { margin-bottom: 0; }
.subtitulo { font-size: 1.2rem; color: var(--suave); margin-bottom: 3rem; }

/* ---------- escena con scroll: la frase se lee sola, el móvil sube y gira, y cada pantalla entra con zoom ---------- */
.escena { --hdr: 80px; background: var(--marca-osc); }
.escena-pista { position: relative; height: 800vh; }
.escena-fijo { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); overflow: hidden; color: #fff; background: linear-gradient(120deg, #1a9bd1 0%, #0081ba 28%, #005a85 58%, #0f2c3f 100%); background-size: 320% 100%; }
.escena-fase1 { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; will-change: transform, opacity; }
.escena-titulo { color: #fff; font-size: clamp(2rem, 5.2vw, 4.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; max-width: 17em; margin: 0; }
.pal { display: inline-block; opacity: .22; margin-right: .22em; will-change: opacity; }
.pal-r { color: var(--amarillo); }
.escena-intro { margin-top: 1.6rem; max-width: 36em; font-size: clamp(1rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .88); opacity: 0; }
.escena-bajar { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .7rem; color: #fff; font: inherit; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; background: none; border: 0; cursor: pointer; opacity: 0; transition: opacity .8s ease; }
.escena-bajar.visible { opacity: 1; }
.escena-bajar .flecha { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); animation: bajar 1.7s ease-in-out infinite; }
.escena-bajar .flecha::before { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-right: 3px solid var(--amarillo); border-bottom: 3px solid var(--amarillo); transform: translate(-50%, -70%) rotate(45deg); }
.escena-bajar:hover .flecha { background: rgba(255, 255, 255, .14); }
@keyframes bajar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.escena-fase2 { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding: 0 max(1.5rem, calc((100vw - 1180px) / 2)); opacity: 0; will-change: opacity; }
.escena-textos { position: relative; height: 100%; }
.e-texto { --anc: -50%; position: absolute; left: 0; right: 0; top: 50%; opacity: 0; will-change: transform, opacity; }
.e-num { position: absolute; left: -.06em; top: -.62em; font-size: clamp(7rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .22); pointer-events: none; }
.e-texto h3 { position: relative; color: #fff; font-size: clamp(2rem, 4.4vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 1.1rem; max-width: 12em; }
.e-texto p { position: relative; max-width: 28em; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .9); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.escena-movil { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.e-halo { position: absolute; width: min(110%, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0)); }
.telefono { position: relative; width: min(300px, calc((100vh - var(--hdr) - 90px) / 2.05)); width: min(300px, calc((100svh - var(--hdr) - 90px) / 2.05)); aspect-ratio: 390 / 780; transform-style: preserve-3d; will-change: transform; }
.pantalla { position: absolute; inset: 0; width: 100%; height: 100%; border: 9px solid #08182a; border-radius: 44px; background: var(--papel); box-shadow: 0 50px 90px -30px rgba(0, 20, 40, .7), 0 0 0 2px rgba(255, 255, 255, .12); opacity: 0; will-change: transform, opacity; }
.e-chip { position: absolute; z-index: 4; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; color: var(--tinta); font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: 0 18px 36px -14px rgba(0, 30, 60, .55); opacity: 0; will-change: transform, opacity; }
.c1 { left: -2%; top: 24%; } .c2 { right: -4%; top: 34%; } .c3 { left: -6%; top: 56%; } .c4 { right: -2%; top: 68%; } .c5 { left: -2%; top: 78%; } .c6 { right: -6%; top: 20%; }
.escena-puntos { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: flex; gap: .55rem; }
.escena-puntos i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background .3s, transform .3s; }
.escena-puntos i.on { background: var(--amarillo); transform: scale(1.35); }
/* móvil: el móvil arriba y el texto debajo */
@media (max-width: 900px) {
    .escena { --hdr: 68px; }
    .escena-pista { height: 740vh; }
    .escena-fase2 { grid-template-columns: 1fr; grid-template-rows: 50% 1fr; gap: 0; padding: .4rem 1.4rem 2.2rem; }
    .escena-movil { order: -1; }
    .telefono { width: min(190px, calc((100svh - var(--hdr)) * .205)); }
    .e-halo { width: 330px; }
    .escena-movil { padding-top: 1.3rem; }
    .escena-textos { height: 100%; }
    .e-texto { --anc: 0%; top: 4%; }
    .e-num { font-size: 6rem; top: -.35em; }
    .e-texto h3 { font-size: clamp(1.7rem, 7vw, 2.3rem); margin-bottom: .6rem; }
    .e-texto p { font-size: .98rem; }
    .e-chip { font-size: .8rem; padding: .45rem .8rem; }
    .c1 { left: 0; top: 10%; } .c2 { right: 0; top: 26%; } .c3 { left: 0; top: 44%; } .c4 { right: 0; top: 58%; } .c5 { left: 0; top: 72%; } .c6 { right: 0; top: 14%; }
}
/* sin movimiento (o sin JavaScript): la escena se queda quieta y se lee de arriba abajo */
.escena.quieta .escena-pista { height: auto; }
.escena.quieta .escena-fijo { position: static; height: auto; overflow: visible; padding: 3.6rem 0; background: var(--marca-osc); }
.escena.quieta .escena-fase1, .escena.quieta .escena-fase2 { position: static; opacity: 1; display: block; padding: 0 1.5rem; max-width: 1180px; margin-inline: auto; }
.escena.quieta .pal { opacity: 1; }
.escena.quieta .escena-intro { opacity: 1; margin: 1.4rem auto 2rem; }
.escena.quieta .escena-bajar, html:not(.js) .escena-bajar { display: none; }
.escena.quieta .escena-textos { height: auto; }
.escena.quieta .e-texto { position: static; opacity: 1; margin-bottom: 2rem; }
.escena.quieta .e-num, .escena.quieta .escena-movil, .escena.quieta .escena-puntos { display: none; }
html:not(.js) .escena-pista { height: auto; }
html:not(.js) .escena-fijo { position: static; height: auto; padding: 3.6rem 0; }
html:not(.js) .escena-fase1, html:not(.js) .escena-fase2 { position: static; opacity: 1; display: block; }
html:not(.js) .pal { opacity: 1; }
html:not(.js) .e-texto { position: static; opacity: 1; margin-bottom: 1.6rem; }
html:not(.js) .escena-movil, html:not(.js) .escena-puntos { display: none; }

/* ---------- demo con los datos de tu centro ---------- */
.seccion-oscura { background: var(--tinta); color: rgba(255, 255, 255, .82); }
.seccion-oscura .titulo { color: #fff; }
.tucentro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.tucentro-texto p { font-size: 1.15rem; margin: 1.2rem 0 2rem; max-width: 30em; }

/* ---------- ventajas ---------- */
.ventajas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 3rem; }
.ventaja { padding: 1.2rem 0 .6rem; border-top: 2px solid var(--tinta); }
.ventaja h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: .5rem; }
.ventaja p { color: var(--suave); font-size: 1rem; }

/* ---------- puesta en marcha ---------- */
.ruta { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: paso; position: relative; }
.ruta::before { content: ''; position: absolute; left: 0; right: 0; top: 20px; height: 2px; background: var(--linea); }
.ruta li { position: relative; padding-top: 3.2rem; counter-increment: paso; }
.ruta li::before { content: counter(paso); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--marca); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--blanco); }
.ruta h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.ruta p { color: var(--suave); font-size: 1rem; }

/* ---------- preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-cab { position: sticky; top: 110px; }
.faq-lista { border-top: 1px solid var(--linea); }
.faq { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 0; font-weight: 600; font-size: 1.15rem; color: var(--tinta); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.8rem; font-weight: 400; color: var(--marca); transition: transform .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 3rem 1.2rem 0; color: var(--suave); }

/* ---------- contacto ---------- */
.contacto-sec { padding: 1rem 0 3.6rem; }
.contacto-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; padding: 3rem; border-radius: 40px; background: radial-gradient(120% 100% at 0% 0%, var(--marca-clara) 0%, var(--marca) 45%, var(--marca-osc) 100%); color: #fff; align-items: start; overflow: hidden; }
.contacto-texto { position: relative; }
.contacto-texto h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.contacto-texto p { font-size: 1.15rem; color: rgba(255, 255, 255, .92); margin-bottom: 1.6rem; }
.contacto-texto ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.contacto-texto li { padding-left: 1.7rem; position: relative; color: rgba(255, 255, 255, .95); }
.contacto-texto li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--amarillo); }
.formulario-caja { background: #fff; border-radius: var(--radio); padding: 1.5rem; color: var(--texto); box-shadow: 0 30px 60px -30px rgba(0, 40, 70, .5); }
.formulario { display: grid; gap: .7rem; }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.campo { display: grid; gap: .25rem; align-content: start; }
.campo span { font-size: .82rem; font-weight: 600; color: var(--tinta); }
.campo em { font-style: normal; font-weight: 400; color: var(--suave); }
.campo input, .campo textarea { font: inherit; padding: .55rem .9rem; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--papel); color: var(--texto); min-height: 44px; width: 100%; }
.campo textarea { resize: vertical; min-height: 64px; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--marca); box-shadow: 0 0 0 4px rgba(0, 129, 186, .18); background: #fff; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consentimiento { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--suave); }
.consentimiento input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--marca); flex: none; }
.mensaje-form { min-height: 0; font-size: .92rem; font-weight: 600; margin: 0; }
.mensaje-form:empty { display: none; }
.mensaje-form.ok { color: #0a7a47; }
.mensaje-form.error { color: #b3261e; }

/* ---------- pie ---------- */
.pie { background: var(--tinta); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 2.5rem; }
.pie-in { display: grid; gap: 1.4rem; justify-items: start; }
.pie-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 2.2rem; }
.pie-logo-wc { width: 210px; height: auto; }
.pie-logo-oia { width: 150px; height: auto; }
.pie-texto { max-width: 36em; font-size: .98rem; }
.pie-copy { font-size: .85rem; color: rgba(255, 255, 255, .55); }
.pie a { color: inherit; }

/* ---------- revelado al hacer scroll ---------- */
.js .rev { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rev.in { opacity: 1; transform: none; }
.js .tile.rev.in:hover { transform: translateY(-4px); }

/* ---------- tableta ---------- */
@media (max-width: 1024px) {
    .portada-in { grid-template-columns: 1fr; gap: 2.6rem; min-height: 0; }
    .portada-demo { order: 2; }
        .tucentro { grid-template-columns: 1fr; gap: 2.4rem; }
    .ventajas { grid-template-columns: 1fr; }
    .ruta { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
    .ruta::before { display: none; }
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .faq-cab { position: static; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
        .contacto-panel { grid-template-columns: 1fr; padding: 2.4rem; }
}

@media (max-width: 900px) {
    .barra-in { min-height: 68px; justify-content: flex-end; }
    .menu-boton { display: flex; margin-left: 0; }
    .barra-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: .6rem 1.5rem 1.2rem; background: #fff; border-bottom: 1px solid var(--linea); box-shadow: 0 24px 40px -24px rgba(0, 40, 70, .35); }
    .barra.abierta .barra-nav { display: flex; }
    .barra-nav a { padding: 1rem 0; font-size: 1rem; color: var(--tinta); border-bottom: 1px solid var(--papel); }
    .barra-nav a::after { height: 3px; border-radius: 3px; }
}

/* ---------- móvil ---------- */
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .contenedor { width: min(1180px, 100% - 2rem); }
    .barra-in { min-height: 64px; }
    .boton { width: 100%; }
    .portada { padding-top: 1.6rem; }
    .escenario { padding: .5rem 0; }
    .movil { width: min(100%, 300px); border-radius: 46px; padding: 9px; }
    .movil-pantalla { border-radius: 38px; }
        .frase { padding: 3.5rem 0; }
    .seccion { padding: 3.6rem 0; }
    .ventajas { grid-template-columns: 1fr; }
    .ruta { grid-template-columns: 1fr; gap: 0; }
    .ruta li { padding: 0 0 2rem 4rem; }
    .ruta li::before { box-shadow: none; }
    .ruta::before { display: block; left: 20px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .faq summary { font-size: 1.05rem; }
    .contacto-sec { padding-bottom: 3.6rem; }
    .contacto-panel { padding: 1.6rem 1.2rem; border-radius: 30px; gap: 2rem; }
        .formulario-caja { padding: 1.4rem 1.1rem; }
    .fila { grid-template-columns: 1fr; }
}

/* ---------- movimiento reducido ---------- */

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: .6rem; height: 58px; padding: 0 1.3rem 0 1.05rem; border-radius: 999px; background: #25d366; color: #073b1c; font-weight: 700; font-size: 1rem; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(7, 59, 28, .55); transition: transform .2s, box-shadow .2s; }
.wa:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(7, 59, 28, .6); }
.wa svg { flex: none; }
.contacto-wa { margin-top: 1.4rem; font-size: 1rem !important; color: rgba(255, 255, 255, .9); }
.contacto-wa a { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .wa { right: 14px; bottom: 14px; width: 58px; padding: 0; justify-content: center; } .wa span { display: none; } }

/* ---------- textos justificados (mismo ancho de línea) ---------- */
.entradilla, .demo-nota, .tile p, .ventaja p, .ruta p, .faq p, .tucentro-texto p, .necesita p, .contacto-texto > p, .contacto-wa, .pie-texto {
    text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty;
}
.contacto-texto li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.nb { hyphens: none; -webkit-hyphens: none; white-space: nowrap; }

.titulo-grande.izq { margin-bottom: 1.4rem; }


h1 b { font-weight: 800; letter-spacing: -.02em; }
.h1-caps { display: block; color: var(--tinta); }

/* ---------- demo personalizada: dibujo que se construye y «qué necesitamos de ti» ---------- */
.tucentro-arte { display: flex; justify-content: center; align-items: center; }
.trazo { width: 100%; max-width: 600px; height: auto; color: #fff; overflow: visible; }
.trazo path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.trazo path.rot { fill: #fff; fill-opacity: 0; stroke-width: 0; }
.trazo.dibujando path.rot { animation: escribe var(--t) ease-out forwards; animation-delay: var(--d); }
@keyframes escribe { to { fill-opacity: 1; stroke-dashoffset: 0; } }
.trazo.dibujando path { animation: trazar var(--t) cubic-bezier(.3, .1, .3, 1) forwards; animation-delay: var(--d); }
@keyframes trazar { to { stroke-dashoffset: 0; } }
html:not(.js) .trazo path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.necesitamos-bloque { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.necesitamos-titulo { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.necesitamos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; }
.necesitamos-titulo span { color: var(--amarillo); }
.necesitamos-cierre { margin-top: 1.8rem; font-size: 1.15rem; color: rgba(255, 255, 255, .85); }
.necesitamos-cierre strong { color: var(--amarillo); }
.necesita { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: center; padding: 0; }
.necesita .nn { grid-row: 1 / span 2; width: 68px; height: 68px; border-radius: 50%; background: var(--amarillo); color: var(--tinta); font-size: 2.1rem; font-weight: 800; line-height: 1; display: grid; place-items: center; }
.necesita h4 { color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .15rem; }
.necesita p { color: rgba(255, 255, 255, .78); font-size: .98rem; line-height: 1.45; text-align: left; hyphens: none; }
@media (max-width: 900px) { .necesitamos { grid-template-columns: 1fr; gap: 1.6rem; } .tucentro-arte { order: -1; } .trazo { max-width: 420px; } }

/* ---------- beneficios ---------- */
.beneficios { padding: 4.4rem 0 4rem; background: linear-gradient(120deg, #005a85 0%, #0f2c3f 100%); color: #fff; }
.ben-titulo { font-size: clamp(1.9rem, 4.6vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.045em; color: #fff; margin: 0 0 2.8rem; }
.ben-titulo em { font-style: normal; color: var(--amarillo); }
.ben-fila { display: grid; grid-template-columns: repeat(3, 1fr); }
.ben { padding: .2rem 2rem; border-left: 1px solid rgba(255, 255, 255, .22); }
.ben:first-child { padding-left: 0; border-left: 0; }
.ben h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 .7rem; }
.ben p { color: rgba(255, 255, 255, .82); font-size: 1.02rem; line-height: 1.55; text-align: left; hyphens: none; }
@media (max-width: 900px) { .beneficios { padding: 3rem 0; } .ben-titulo { margin-bottom: 1.8rem; } .ben-fila { grid-template-columns: 1fr; } .ben, .ben:first-child { padding: 1.3rem 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); } }
@media (max-width: 640px) { .ben-titulo { font-size: 1.95rem; } .ben-titulo br { display: block; margin-top: .3em; } }
.faq-titulo { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; margin-bottom: 1rem; }
.faq-olivia { display: block; width: clamp(150px, 18vw, 230px); height: auto; filter: drop-shadow(0 18px 22px rgba(0, 70, 110, .28)); animation: piensa 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes piensa { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-6px); } }
@media (max-width: 1024px) { .faq-cab { display: block; } .faq-olivia { width: 130px; margin-top: 1rem; } }

/* ============================================================
   ESCALA TIPOGRÁFICA ÚNICA (toda la página usa estas tres medidas)
   Títulos: Inter 800, -.045em · Subtítulos: Inter 800, -.03em · Texto: Inter 400
   Sobre fondo claro: tinta y azul. Sobre fondo oscuro: blanco y amarillo.
   ============================================================ */
:root { --f-titulo: clamp(1.9rem, 4.4vw, 3.6rem); --f-sub: clamp(1.3rem, 2vw, 1.7rem); --f-texto: 1.08rem; }
h1, .titulo, .titulo-grande, .escena-titulo, .e-texto h3, .necesitamos-titulo, .faq-titulo, .contacto-texto h2, .ben-titulo {
    font-family: 'Inter', system-ui, sans-serif; font-size: var(--f-titulo); font-weight: 800; letter-spacing: -.045em; line-height: 1.06; text-transform: none;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.ben h3, .necesita h4, .ruta h3, .paso-t strong, .tile h3 {
    font-family: 'Inter', system-ui, sans-serif; font-size: var(--f-sub); font-weight: 800; letter-spacing: -.03em; line-height: 1.12;
}
.entradilla, .subtitulo, .pantallas-intro, .escena-intro, .tucentro-texto p, .e-texto p, .ben p, .necesita p, .ruta p, .faq p, .contacto-texto > p, .paso-d, .demo-nota {
    font-family: 'Inter', system-ui, sans-serif; font-size: var(--f-texto); font-weight: 400; line-height: 1.55; text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; max-width: none;
}
.demo-nota { font-size: .95rem; max-width: 30em; }
.entradilla, .e-texto p, .escena-intro { max-width: 34em; }
/* color de los textos: oscuro sobre claro, claro sobre oscuro */
.entradilla, .subtitulo, .ruta p, .faq p { color: var(--suave); }
.ben p, .necesita p, .tucentro-texto p, .e-texto p, .escena-intro, .contacto-texto > p { color: rgba(255, 255, 255, .82); }
.necesitamos-titulo { color: #fff; text-transform: none; }
.necesitamos-titulo span { color: var(--amarillo); }
.necesita h4 { margin: 0 0 .25rem; }
/* palabras clave: azul sobre fondo claro, amarillo sobre oscuro */
.h1-pregunta, h1 .h1-pregunta b { color: var(--marca); }
.escena-titulo .pal-r, .ben-titulo em, .tucentro-texto .titulo b { color: var(--amarillo); }
.e-texto h3 { max-width: 12em; }
.faq-titulo { margin-bottom: 1rem; }
@media (max-width: 640px) { .ben-titulo { font-size: var(--f-titulo); } }

/* titular de la portada: cuatro líneas limpias, sin cortes raros */
h1 { font-size: clamp(1.7rem, 3.05vw, 2.7rem); line-height: 1.12; text-wrap: initial; }
.h1-l { display: block; white-space: nowrap; }
.h1-pregunta { margin-bottom: .55rem; }
.portada-texto .entradilla { margin-top: 1.4rem; }
@media (max-width: 640px) { h1 { font-size: clamp(1.45rem, 6.6vw, 1.9rem); } .h1-pregunta { font-size: 1.12em; } }

.portada-in > * { min-width: 0; }
@media (max-width: 760px) { .h1-l { white-space: normal; } h1 { font-size: clamp(1.5rem, 6.4vw, 1.9rem); } }
h1 { font-size: clamp(1.7rem, 2.75vw, 2.45rem); }
@media (max-width: 760px) { h1 { font-size: clamp(1.25rem, 5.5vw, 1.7rem); } .h1-l { text-wrap: balance; } .h1-pregunta { font-size: 1.06em; } }

/* ---- coherencia final: el titular de la portada usa EXACTAMENTE la medida de los títulos ---- */
:root { --f-titulo: clamp(1.8rem, 3.1vw, 2.6rem); }
h1 { font-size: var(--f-titulo); font-weight: 800; letter-spacing: -.045em; line-height: 1.06; }
.portada-in { grid-template-columns: 1fr 360px; gap: 3rem; }
.portada-demo .movil { width: 330px; max-width: 100%; }
@media (max-width: 1024px) { .portada-in { grid-template-columns: 1fr; } }
@media (max-width: 760px) { h1 { font-size: var(--f-titulo); } .h1-pregunta { font-size: 1em; } }
/* menú: misma Inter que el resto, sin mayúsculas ni separación especial */
.barra-nav { font-family: 'Inter', system-ui, sans-serif; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; gap: 2.4rem; }
@media (max-width: 900px) { .barra-nav a { font-size: 1.1rem; } }

/* pie: logos más grandes y el texto en una sola línea */
.pie-logos { gap: 3rem; }
.pie-logo-wc { width: 300px; }
.pie-logo-oia { width: 220px; }
.pie-texto { max-width: none; font-size: 1rem; white-space: nowrap; color: rgba(255, 255, 255, .85); text-align: left; hyphens: none; }
.pie-texto a { color: #fff; font-weight: 700; text-decoration: none; }
.pie-texto a:hover { color: var(--amarillo); }
@media (max-width: 1000px) { .pie-texto { white-space: normal; } }
@media (max-width: 640px) { .pie-logo-wc { width: 230px; } .pie-logo-oia { width: 170px; } .pie-logos { gap: 1.6rem; } }

/* menú: mayúsculas y bloque de color que sube desde la base hasta el pie del texto */
.barra-nav { font-size: .86rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; gap: 2.2rem; }
.barra-nav a { padding: 1.9rem .15rem 1.9rem; overflow: hidden; }
.barra-nav a::after { left: 0; right: 0; bottom: 0; height: 0; border-radius: 0; background: var(--marca); transform: none; transition: height .32s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.barra-nav a { z-index: 0; isolation: isolate; }
.barra-nav a:hover::after, .barra-nav a.activo::after { height: calc(1.9rem + .3em); transform: none; }
.barra-nav a:hover { color: var(--tinta); }
@media (max-width: 900px) { .barra-nav a { padding: 1rem 0; font-size: .95rem; } .barra-nav a::after { z-index: -1; } .barra-nav a:hover::after, .barra-nav a.activo::after { height: .4rem; } }

/* escena «Qué hace»: es la pieza principal, así que lleva letra grande que se adapta a cada pantalla */
.escena-titulo { font-size: clamp(2.1rem, min(6vw, 10.5vh), 5.6rem); line-height: 1.06; max-width: 15em; text-wrap: balance; }
.escena-intro { font-size: clamp(1.05rem, min(1.7vw, 3vh), 1.45rem); line-height: 1.5; text-align: center; hyphens: none; max-width: 38em; margin-top: 1.8rem; }
.e-texto h3 { font-size: clamp(2rem, min(4.8vw, 8.5vh), 4.2rem); max-width: 11em; }
.e-texto p { font-size: clamp(1.05rem, min(1.55vw, 2.9vh), 1.35rem); text-align: left; hyphens: none; max-width: 30em; }
@media (max-width: 900px) {
  .escena-titulo { font-size: clamp(1.9rem, 8.4vw, 3rem); }
  .escena-intro { font-size: 1.05rem; }
  .e-texto h3 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .e-texto p { font-size: 1rem; }
}
.escena-fase1 { padding-bottom: 7rem; }
.escena-titulo { font-size: clamp(2.1rem, min(6vw, 8.8vh), 5.6rem); }
.escena-bajar { bottom: 1.2rem; }
@media (max-height: 760px) { .escena-bajar span { display: none; } .escena-fase1 { padding-bottom: 5rem; } }

/* menú final: texto negro; al pasar el ratón, un bloque azul marino sube desde abajo y el texto pasa a amarillo */
.barra-in { min-height: 80px; }
.barra-nav { gap: .4rem; font-size: .84rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.barra-nav a { position: relative; z-index: 0; overflow: hidden; isolation: isolate; padding: .85rem 1.15rem; border-radius: 12px; color: #000; transition: color .3s ease .05s; }
.barra-nav a::after { content: ''; position: absolute; inset: 0; z-index: -1; height: auto; border-radius: 12px; background: var(--tinta); transform: translateY(101%); transform-origin: bottom; transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.barra-nav a:hover { color: var(--amarillo); }
.barra-nav a:hover::after { transform: translateY(0); height: auto; }
.barra-nav a.activo { color: #000; }
.barra-nav a.activo::before { content: ''; position: absolute; left: 50%; bottom: .28rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--marca); }
.barra-nav a.activo:hover { color: var(--amarillo); }
.barra-nav a.activo:hover::before { background: var(--amarillo); }
.barra-nav a.activo::after { transform: translateY(101%); height: auto; }
.barra-nav a.activo:hover::after { transform: translateY(0); }
@media (max-width: 900px) {
  .barra-nav a { padding: 1rem 0; border-radius: 0; font-size: .95rem; color: #000; border-bottom: 1px solid var(--papel); }
  .barra-nav a::after, .barra-nav a.activo::after { display: none; }
  .barra-nav a:hover { color: var(--marca); }
  .barra-nav a.activo::before { left: auto; right: 0; top: 50%; bottom: auto; margin: -2.5px 0 0; }
}

/* menú, versión discreta: texto negro y una línea fina bajo el texto que se dibuja al pasar el ratón */
.barra-nav { gap: 2.4rem; }
.barra-nav a { overflow: visible; isolation: auto; padding: .85rem 0; border-radius: 0; color: #000; transition: opacity .25s; }
.barra-nav a::before { content: none !important; }
.barra-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .45rem; inset: auto 0 .45rem 0; z-index: auto; height: 2px; border-radius: 2px; background: var(--amarillo); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); display: block; }
.barra-nav a:hover { color: #000; }
.barra-nav a:hover::after { transform: scaleX(1); height: 2px; }
.barra-nav a.activo { color: #000; }
.barra-nav a.activo::after { transform: scaleX(1); background: var(--marca); height: 2px; }
.barra-nav a.activo:hover::after { background: var(--amarillo); }
.barra-nav:hover a:not(:hover) { opacity: .55; }
@media (max-width: 900px) {
  .barra-nav a { padding: 1rem 0; font-size: .95rem; border-bottom: 1px solid var(--papel); }
  .barra-nav a::after { display: none; }
  .barra-nav a.activo { color: var(--marca); }
  .barra-nav:hover a:not(:hover) { opacity: 1; }
}
.barra-nav a, .barra-nav a:hover, .barra-nav a.activo, .barra-nav a.activo:hover { color: #000; }
.barra-nav a::after { height: 3px; bottom: .4rem; }
.barra-nav a:hover::after, .barra-nav a.activo::after, .barra-nav a.activo:hover::after { height: 3px; }
@media (max-width: 900px) { .barra-nav a.activo, .barra-nav a.activo:hover { color: var(--marca); } }
/* menú: letra más grande y rayas solo en azul */
.barra-nav { font-size: 1.02rem; letter-spacing: .07em; gap: 2.6rem; }
.barra-nav a::after { background: var(--marca-clara); }
.barra-nav a.activo::after, .barra-nav a.activo:hover::after { background: var(--marca); }
@media (max-width: 900px) { .barra-nav a { font-size: 1.05rem; } }


/* ---------- menú móvil a pantalla completa: entra desde la derecha con fundido, enlaces enormes y WhatsApp a mano ---------- */
.menu-cerrar, .menu-pie { display: none; }
@media (max-width: 900px) {
    .barra { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .menu-boton { position: relative; z-index: 1; }
    .barra-nav, .barra.abierta .barra-nav {
        display: flex; position: fixed; inset: 0; z-index: 500; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
        margin: 0; padding: 5.5rem 1.8rem 2rem; overflow-y: auto; border: 0; box-shadow: none;
        background: linear-gradient(160deg, var(--marca-osc) 0%, var(--tinta) 78%);
        visibility: hidden; opacity: 0; transform: translateX(45%);
        transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, visibility 0s linear .55s;
    }
    .barra.abierta .barra-nav { visibility: visible; opacity: 1; transform: none; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, visibility 0s; }
    .barra-nav > a {
        display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); border-radius: 0; background: transparent; overflow: visible; white-space: nowrap;
        font-family: 'Inter', system-ui, sans-serif; font-size: clamp(1.3rem, 5.9vw, 2.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; text-transform: none; white-space: normal;
        color: #fff; text-decoration: none; transition: color .2s, transform .3s cubic-bezier(.2, .8, .2, 1);
    }
    .barra-nav > a::after, .barra-nav > a.activo::after { display: none; }
    .barra-nav > a:hover, .barra-nav > a:focus-visible { color: var(--amarillo); transform: translateX(.4rem); }
    .barra .barra-nav > a.activo { color: var(--amarillo); }
    .barra .barra-nav > a.activo::before { display: none; }
    .barra.abierta .barra-nav > a, .barra.abierta .barra-nav > .menu-pie { animation: menu-entra .6s cubic-bezier(.2, .8, .2, 1) both; }
    .barra.abierta .barra-nav > a:nth-of-type(1) { animation-delay: .12s; }
    .barra.abierta .barra-nav > a:nth-of-type(2) { animation-delay: .18s; }
    .barra.abierta .barra-nav > a:nth-of-type(3) { animation-delay: .24s; }
    .barra.abierta .barra-nav > a:nth-of-type(4) { animation-delay: .30s; }
    .barra.abierta .barra-nav > a:nth-of-type(5) { animation-delay: .36s; }
    .barra.abierta .menu-pie { animation-delay: .46s; }
    @keyframes menu-entra { from { opacity: 0; transform: translateX(3rem); } to { opacity: 1; transform: none; } }
    .menu-cerrar { display: flex; position: absolute; top: 1rem; right: 1rem; width: 3.4rem; height: 3.4rem; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
    .menu-cerrar:hover, .menu-cerrar:focus-visible { background: var(--amarillo); color: var(--tinta); transform: rotate(90deg); }
    .menu-pie { display: block; margin-top: 2.2rem; }
    .menu-pie p { margin: 0 0 .8rem; text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
    .barra .barra-nav .menu-pie a.menu-wa { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; min-height: 64px; padding: 0 1.4rem; border: 0; border-radius: 999px; text-transform: none; white-space: nowrap; background: #25d366; color: #073b1c; font-size: 1.2rem; font-weight: 800; letter-spacing: 0; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55); }
    .barra .barra-nav .menu-pie a.menu-wa::before { display: none; }
    .barra .barra-nav .menu-pie a.menu-wa:hover, .barra .barra-nav .menu-pie a.menu-wa:focus-visible { color: #073b1c; background: #3ee07f; transform: translateY(-2px); }
    body.menu-abierto { overflow: hidden; }
    body.menu-abierto .wa { display: none; }
}
@media (prefers-reduced-motion: reduce) { .barra-nav, .barra.abierta .barra-nav { transition: opacity .2s, visibility 0s; transform: none; } .barra.abierta .barra-nav > a, .barra.abierta .barra-nav > .menu-pie { animation: none; } }

@media (max-width: 900px) {
    .barra-nav > .menu-pie { margin-top: 2rem; }
    .barra .barra-nav > a:first-of-type { border-top: 1px solid rgba(255, 255, 255, .18); }
    .barra-nav > a .menu-n { flex: none; min-width: 3.1rem; font-size: 2.3rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5); transition: -webkit-text-stroke-color .2s; }
    .barra-nav > a.activo .menu-n, .barra-nav > a:hover .menu-n { -webkit-text-stroke-color: var(--amarillo); }
    .barra-nav > a .menu-t { min-width: 0; white-space: nowrap; }
}
@media (min-width: 901px) { .menu-n { display: none; } }

/* móvil: los párrafos van alineados a la izquierda y sin guiones; el justificado en pantallas estrechas deja huecos y corta palabras */
@media (max-width: 900px) {
    .entradilla, .subtitulo, .pantallas-intro, .tile p, .ventaja p, .ruta p, .faq p, .tucentro-texto p, .contacto-texto > p, .contacto-texto li, .contacto-wa, .paso-d, .demo-nota, .e-texto p, .ben p, .necesita p {
        text-align: left; text-justify: auto; hyphens: none; -webkit-hyphens: none; text-wrap: pretty;
    }
}

/* móvil: el titular fluye de borde a borde en vez de cortarse en líneas sueltas */
@media (max-width: 760px) {
    h1 { font-size: clamp(1.3rem, 6.35vw, 2rem); line-height: 1.12; text-wrap: pretty; }
    h1 .h1-l:not(.h1-pregunta) { display: inline; white-space: normal; text-wrap: initial; }
    h1 .h1-l:not(.h1-pregunta)::after { content: " "; }
    h1 .h1-pregunta { margin-bottom: .6rem; font-size: .93em; white-space: nowrap; }
}

/* caso de Coín */
.caso-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.caso-texto p { font-size: var(--f-texto); line-height: 1.55; max-width: 30em; margin: 0 0 1.6rem; color: var(--suave); }
.caso-img { display: block; border-radius: 22px; overflow: hidden; border: 1px solid var(--linea); box-shadow: 0 18px 40px -22px rgba(15, 44, 63, .45); }
.caso-img img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.caso-img:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .caso-in { grid-template-columns: 1fr; } .caso-img { order: -1; } }

/* enlaces legales del pie y de la casilla del formulario */
.pie-legal { display: flex; flex-wrap: wrap; justify-content: inherit; gap: .3rem 1.6rem; margin: 0 0 .9rem; }
.pie-legal a { color: rgba(255, 255, 255, .9); font-weight: 600; padding: .4rem 0; text-decoration: none; }
.pie-legal a:hover { color: var(--amarillo); }
.consentimiento a { color: var(--marca-osc); font-weight: 600; text-decoration: none; }
.caso-texto .titulo { margin-bottom: 1.1rem; }

/* portada en escritorio: el titular llena la columna de texto (la medida sigue la anchura de la columna) */
@media (min-width: 761px) {
    h1 { font-size: clamp(1.8rem, 3.7vw, 3.05rem); }
    .portada-texto .entradilla { font-size: 1.22rem; max-width: 36em; }
    .portada-texto .demo-nota { font-size: 1rem; max-width: 34em; }
}


/* pie en tres bloques: marca, más información y legal */
.pie { padding: 3.2rem 0 2rem; }
.pie-in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .7fr); gap: 2.4rem 3.5rem; align-items: start; justify-items: stretch; }
.pie-marca { display: grid; gap: 1.4rem; }
.pie-marca .pie-logos { gap: 2.2rem; }
.pie-marca .pie-logo-wc { width: 230px; }
.pie-marca .pie-logo-oia { width: 165px; }
.pie-marca .pie-texto { white-space: normal; max-width: 32em; font-size: .98rem; line-height: 1.6; }
.pie-col { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.pie-t { margin: 0 0 .7rem; color: rgba(255, 255, 255, .5); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pie-col a { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: .98rem; line-height: 1.4; padding: .38rem 0; text-decoration: none; }
.pie-col a:hover { color: var(--amarillo); }
.pie-copy { grid-column: 1 / -1; margin: .4rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); text-align: left; }
@media (max-width: 900px) {
    .pie-in { grid-template-columns: 1fr 1fr; gap: 2rem 2rem; }
    .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .pie-in { grid-template-columns: 1fr; gap: 1.8rem; }
    .pie-marca .pie-logo-wc { width: 210px; }
    .pie-marca .pie-logo-oia { width: 150px; }
}
@media (max-width: 560px) { .pie { padding-bottom: 5.5rem; } }

/* enlaces dentro de párrafos: en negrita, sin subrayado */
.caso-texto p a { color: var(--marca-osc); font-weight: 700; text-decoration: none; }
.caso-texto p a:hover { color: var(--tinta); }
.pie-marca .pie-texto { text-align: left; hyphens: none; color: rgba(255, 255, 255, .85); }
.pie-marca .pie-texto a { color: #fff; font-weight: 600; text-decoration: none; }
.pie-marca .pie-texto a:hover { color: var(--amarillo); }
