:root {
    --color-fondo: #FDFBF7;
    --color-primario: #9A2A2A;
    --color-secundario: #D46A50;
    --color-claro: #F5EFEB;
    --color-texto-oscuro: #3A302F;
    --color-gris-texto: #877A76;
    --color-borde: #EAE3DE;
    --color-blanco: #FFFFFF;
    --color-whatsapp: #25D366;
    --radio-tarjetas: 1.5rem;
    --sombra-amigable: 0 12px 24px -6px rgba(154, 42, 42, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-fondo);
    color: var(--color-texto-oscuro);
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Nunito', sans-serif;
    letter-spacing: -0.02em;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    outline: none;
}

.aplicacion {
    display: flex;
    transition: background-color 0.3s;
}

.barra-lateral {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-claro);
    border-right: 1px solid var(--color-borde);
    flex-shrink: 0;
    z-index: 20;
}

.area-principal {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
}

.cabecera {
    min-height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    background-color: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-borde);
}

.area-contenido {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem;
    padding-bottom: 100px;
}

.contenedor-centrado {
    max-width: 1050px;
    margin: 0 auto;
    width: 100%;
}

.logotipo {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem 0.5rem;
    cursor: pointer;
}

.imagen-logo-lateral {
    width: min(100%, 240px);
    height: auto;
    display: block;
    object-fit: contain;
}

.texto-logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
}

.punto-rojo {
    color: var(--color-secundario);
}

.menu-navegacion {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.titulo-menu {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gris-texto);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.boton-menu-lateral {
    text-align: left;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gris-texto);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.boton-menu-lateral:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(4px);
}

.boton-menu-lateral.activo {
    background-color: var(--color-blanco);
    color: var(--color-primario);
    box-shadow: var(--sombra-amigable);
    font-weight: 700;
}

.con-contador {
    justify-content: space-between;
}

.etiqueta-contador {
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--color-fondo);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
}

.emoji-nav {
    font-size: 1.2rem;
}

.pie-lateral {
    padding: 2rem;
}

.tarjeta-mini-info {
    background-color: var(--color-blanco);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--sombra-amigable);
}

.pie-titulo {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primario);
}

.pie-subtitulo {
    font-size: 0.8rem;
    color: var(--color-gris-texto);
    line-height: 1.4;
}

.logo-movil {
    display: flex;
    align-items: center;
    min-width: 0;
    cursor: pointer;
}

.imagen-logo-movil {
    width: clamp(135px, 24vw, 210px);
    height: auto;
    display: block;
    object-fit: contain;
}

.texto-superior-centro {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.boton-alerta-demo {
    background-color: #FEE2E2;
    color: #B91C1C;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(185, 28, 28, 0.1);
}

.boton-alerta-demo:hover {
    background-color: #B91C1C;
    color: var(--color-blanco);
    transform: scale(1.05);
}

.indicador-ia {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gris-texto);
    background: var(--color-claro);
    padding: 0.4rem 1rem;
    border-radius: 999px;
}

.punto-estado {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
}

.rutas-navegacion {
    font-size: 0.85rem;
    color: var(--color-gris-texto);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rutas-navegacion span {
    margin: 0 0.5rem;
    color: var(--color-borde);
}

.subtitulo {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secundario);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.titulo-gigante {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-primario);
}

.titulo-mediano {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-texto-oscuro);
}

.titulo-pequeno {
    font-size: 1.2rem;
    font-weight: 800;
}

.texto-descriptivo {
    font-size: 1rem;
    color: var(--color-gris-texto);
    line-height: 1.5;
}

.margen-inferior {
    margin-bottom: 2.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.indicador-pasos {
    display: flex;
    gap: 2rem;
    border-bottom: 2px solid var(--color-claro);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.paso-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.paso-item.activo {
    font-weight: 700;
    color: var(--color-primario);
}

.paso-item.inactivo {
    font-weight: 600;
    color: var(--color-gris-texto);
    opacity: 0.6;
}

.circulo-paso {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

.activo .circulo-paso {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    box-shadow: 0 4px 10px rgba(154, 42, 42, 0.3);
}

.inactivo .circulo-paso {
    background-color: var(--color-borde);
    color: var(--color-gris-texto);
}

.cuadricula-principal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.columna-formularios {
    flex: 1;
}

.tarjeta-amigable {
    background-color: var(--color-blanco);
    border-radius: var(--radio-tarjetas);
    box-shadow: var(--sombra-amigable);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cuerpo-tarjeta {
    padding: 2.5rem;
}

.imagen-tarjeta {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.imagen-banner {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.imagen-tarjeta-pequena {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.imagen-circular-pequena {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-claro);
}

.tarjeta-destacada {
    background-color: var(--color-primario);
    border-radius: var(--radio-tarjetas);
    padding: 2.5rem;
    color: var(--color-blanco);
    box-shadow: var(--sombra-amigable);
}

.tarjeta-destacada .subtitulo {
    color: var(--color-claro);
    opacity: 0.8;
}

.titulo-destacado {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-blanco);
}

.lista-info .item-info {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.emoji-info {
    font-size: 1.5rem;
}

.etiqueta-formulario {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-texto-oscuro);
}

.texto-ayuda {
    font-size: 0.8rem;
    color: var(--color-gris-texto);
    font-weight: 500;
}

.caja-entrada {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-borde);
    border-radius: 1rem;
    font-size: 1rem;
    background-color: var(--color-fondo);
    color: var(--color-texto-oscuro);
    outline: none;
    transition: 0.3s;
    margin-top: 0.5rem;
    font-weight: 500;
}

.caja-entrada:focus {
    border-color: var(--color-primario);
    background-color: var(--color-blanco);
    box-shadow: 0 0 0 4px rgba(154, 42, 42, 0.1);
}

.fila-entrada {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-borde);
    margin-bottom: 1.25rem;
}

.fila-entrada.sin-borde {
    border: none;
    padding-bottom: 0;
}

.caja-numero {
    width: 90px;
    text-align: center;
    padding: 0.8rem;
    border: 2px solid var(--color-borde);
    border-radius: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: var(--color-fondo);
    outline: none;
}

.caja-numero:focus {
    border-color: var(--color-primario);
}

.pie-formulario {
    border-top: 1px solid var(--color-borde);
    padding-top: 2rem;
    display: flex;
}

.pie-formulario.derecha {
    justify-content: flex-end;
}

.pie-formulario.entre {
    justify-content: space-between;
    align-items: center;
}

.pie-formulario.centro {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.boton-primario {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(154, 42, 42, 0.2);
}

.boton-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(154, 42, 42, 0.3);
}

.boton-secundario {
    color: var(--color-texto-oscuro);
    background-color: var(--color-claro);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 1rem;
    transition: 0.3s;
}

.boton-secundario:hover {
    background-color: #E3DCD2;
}

.boton-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-blanco);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: 0.3s;
}

.boton-whatsapp:hover {
    transform: translateY(-3px);
}

.boton-enlace {
    display: inline-block;
    background-color: var(--color-claro);
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    color: var(--color-primario);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: 0.3s;
}

.boton-enlace:hover {
    background-color: var(--color-primario);
    color: var(--color-blanco);
}

.boton-icono {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-texto-oscuro);
    background-color: var(--color-claro);
    padding: 0.6rem 1.2rem;
    border-radius: 1rem;
    transition: 0.2s;
}

.boton-icono:hover {
    background-color: var(--color-borde);
}

.cabecera-mochila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-claro);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.etiqueta-redonda {
    font-size: 0.9rem;
    font-weight: 800;
    background-color: var(--color-primario);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    color: var(--color-blanco);
}

.lista-verificacion {
    display: flex;
    flex-direction: column;
}

.item-casilla {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-claro);
    cursor: pointer;
}

.casilla-verificacion {
    width: 1.6rem;
    height: 1.6rem;
    accent-color: var(--color-primario);
    cursor: pointer;
    margin-top: 0.2rem;
}

.texto-casilla span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-texto-oscuro);
}

.texto-casilla p {
    font-size: 0.9rem;
    color: var(--color-gris-texto);
    margin-top: 0.2rem;
}

.flex-columna {
    display: flex;
    flex-direction: column;
}

.tarjeta-chat {
    background-color: var(--color-blanco);
    border-radius: var(--radio-tarjetas);
    box-shadow: var(--sombra-amigable);
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cabecera-chat {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-borde);
    display: flex;
    gap: 1rem;
    align-items: center;
    background-color: var(--color-blanco);
}

.avatar-ia {
    background-color: var(--color-claro);
    font-size: 1.8rem;
    padding: 0.5rem;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cabecera-chat h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-texto-oscuro);
}

.cabecera-chat p {
    font-size: 0.85rem;
    color: var(--color-gris-texto);
    font-weight: 600;
}

.area-mensajes {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--color-fondo);
    overflow-y: auto;
}

.contenedor-burbuja {
    display: flex;
    gap: 1rem;
    max-width: 85%;
}

.contenedor-burbuja.ia {
    align-self: flex-start;
}

.avatar-mensaje {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--color-blanco);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.burbuja-ia {
    background-color: var(--color-blanco);
    border-radius: 1.2rem;
    border-top-left-radius: 0;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: var(--color-texto-oscuro);
}

.burbuja-usuario {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    border-radius: 1.2rem;
    border-top-right-radius: 0;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    align-self: flex-end;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(154, 42, 42, 0.2);
}

.area-escritura {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-borde);
    background-color: var(--color-blanco);
}

.pildoras {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.pildoras button {
    border: 2px solid var(--color-claro);
    background-color: var(--color-blanco);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gris-texto);
    white-space: nowrap;
    transition: 0.2s;
}

.pildoras button:hover {
    border-color: var(--color-secundario);
    color: var(--color-secundario);
}

.contenedor-input-chat {
    position: relative;
    display: flex;
}

.entrada-chat {
    padding-right: 8rem;
    background-color: var(--color-fondo);
    border-radius: 1.5rem;
}

.boton-enviar-chat {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    background-color: var(--color-primario);
    color: var(--color-blanco);
    padding: 0.6rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.2s;
}

.boton-enviar-chat:hover {
    background-color: var(--color-secundario);
    transform: scale(1.05);
}

.cabecera-resultado {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--color-claro);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.cabecera-resultado .con-linea {
    border: none;
    padding: 0;
    margin: 0;
}

.controles-audio {
    display: flex;
    gap: 0.75rem;
}

.formato-texto-ia h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--color-primario);
}

.formato-texto-ia p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.formato-texto-ia li {
    margin-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
}

.formato-texto-ia strong {
    color: var(--color-texto-oscuro);
    font-weight: 800;
    background-color: var(--color-claro);
    padding: 0 0.2rem;
    border-radius: 0.2rem;
}

.tarjeta-centro {
    background-color: var(--color-blanco);
    border-radius: var(--radio-tarjetas);
    box-shadow: var(--sombra-amigable);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.animacion-cargando {
    width: 4rem;
    height: 4rem;
    border: 5px solid var(--color-claro);
    border-top-color: var(--color-secundario);
    border-radius: 50%;
    animation: girar 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin-bottom: 2rem;
}

.cuadricula-fuentes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.tag-fuente {
    font-size: 0.75rem;
    font-weight: 800;
    background-color: var(--color-claro);
    color: var(--color-primario);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    letter-spacing: 0.05em;
    display: inline-block;
}

.texto-tarjeta {
    font-size: 1rem;
    color: var(--color-gris-texto);
    margin-top: 0.5rem;
    line-height: 1.6;
}

.boton-sos {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #EF4444;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    z-index: 100;
    animation: pulsoSOS 2s infinite;
    border: 4px solid white;
}

.modal-sos {
    position: fixed;
    bottom: 175px;
    right: 20px;
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    width: 280px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 2px solid #EF4444;
    z-index: 100;
}

.titulo-sos {
    font-size: 1.2rem;
    font-weight: 800;
    color: #EF4444;
    margin-bottom: 0.5rem;
}

.texto-sos {
    font-size: 0.9rem;
    color: var(--color-gris-texto);
    margin-bottom: 1.5rem;
}

.enlace-llamada {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FEF2F2;
    color: #B91C1C;
    font-weight: 700;
    padding: 1rem;
    border-radius: 1rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: 0.2s;
}

.enlace-llamada:hover {
    background-color: #FEE2E2;
    transform: scale(1.02);
}

.emoji-sos {
    font-size: 1.2rem;
}

.boton-cerrar-sos {
    width: 100%;
    padding: 1rem;
    font-weight: 700;
    color: var(--color-blanco);
    margin-top: 0.5rem;
    background: var(--color-gris-texto);
    border-radius: 1rem;
    transition: 0.2s;
}

.boton-cerrar-sos:hover {
    background: var(--color-texto-oscuro);
}

.aparecer {
    animation: desvanecerArriba 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ocultar-scroll::-webkit-scrollbar {
    display: none;
}

.ocultar-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.oculto {
    display: none !important;
}

@keyframes desvanecerArriba {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulsoSOS {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@keyframes parpadeoRojo {
    0% {
        background-color: rgba(239, 68, 68, 0.3);
    }

    50% {
        background-color: rgba(239, 68, 68, 0.6);
    }

    100% {
        background-color: rgba(239, 68, 68, 0.3);
    }
}

.pantalla-alerta {
    animation: parpadeoRojo 1s infinite !important;
}

.barra-navegacion-movil {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-color: var(--color-blanco);
    border-top: 1px solid var(--color-borde);
    z-index: 50;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.03);
}

.boton-nav-movil {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gris-texto);
    line-height: 1.4;
}

.boton-nav-movil.activo {
    color: var(--color-primario);
}

.boton-nav-movil.activo::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 4px;
    background: var(--color-primario);
    border-radius: 0 0 4px 4px;
}

.etiqueta-flotante {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background-color: var(--color-primario);
    color: var(--color-blanco);
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-weight: 800;
}

@media print {
    body * {
        visibility: hidden;
    }

    .area-impresion,
    .area-impresion * {
        visibility: visible;
    }

    .area-impresion {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .no-imprimir,
    .boton-sos,
    .modal-sos {
        display: none !important;
    }
}

@media (min-width: 900px) {
    .barra-lateral {
        display: flex;
    }

    .barra-navegacion-movil {
        display: none;
    }

    .logo-movil {
        display: none;
    }

    .texto-superior-centro {
        display: block;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-alerta-demo {
        min-width: 214px;
    }

    .area-contenido {
        padding: 3rem 4rem;
    }

    .titulo-gigante {
        font-size: 4rem;
    }

    .cuadricula-principal {
        grid-template-columns: 1.3fr 0.7fr;
    }

    .cuadricula-fuentes {
        grid-template-columns: 1fr 1fr;
    }

    .boton-sos {
        bottom: 40px;
        right: 40px;
        width: 75px;
        height: 75px;
        font-size: 1.4rem;
    }

    .modal-sos {
        bottom: 130px;
        right: 40px;
    }
}

/* =========================================================
   RESPONSIVO: celulares y tablets (menos de 900px)
   ========================================================= */
html,
body {
    height: 100dvh;
}

img {
    max-width: 100%;
}

.columna-formularios,
.columna-info,
.area-principal {
    min-width: 0;
}

.boton-nav-movil {
    position: relative;
}

@media (max-width: 899px) {
    .cabecera {
        min-height: 64px;
        display: grid;
        grid-template-columns: minmax(118px, auto) 1fr auto;
        padding: 0.6rem 1rem;
        gap: 0.6rem;
    }

    .logo-movil {
        min-width: 0;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .imagen-logo-movil {
        width: clamp(118px, 28vw, 170px);
    }

    /* Boton de emergencia visible tambien en celular, compacto */
    .texto-superior-centro {
        display: flex;
        position: static;
        transform: none;
        margin-left: 0;
        justify-self: center;
    }

    .boton-alerta-demo {
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .indicador-ia {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
        flex-shrink: 0;
        justify-self: end;
    }

    .area-contenido {
        padding: 1.25rem 1rem;
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
        -webkit-overflow-scrolling: touch;
    }

    .titulo-gigante {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.08;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .margen-inferior {
        margin-bottom: 1.25rem;
    }

    .titulo-mediano {
        font-size: 1.3rem;
    }

    .titulo-destacado {
        font-size: 1.6rem;
    }

    .rutas-navegacion {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .subtitulo {
        font-size: 0.75rem;
    }

    .indicador-pasos {
        gap: 0.75rem;
        justify-content: space-between;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .paso-item {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .circulo-paso {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    .cuadricula-principal {
        gap: 1.5rem;
    }

    .cuerpo-tarjeta {
        padding: 1.5rem 1.25rem;
    }

    .tarjeta-destacada {
        padding: 1.75rem 1.25rem;
    }

    .imagen-tarjeta {
        height: 160px;
    }

    .imagen-banner {
        height: 160px;
    }

    .tarjeta-centro {
        padding: 2.5rem 1.25rem;
    }

    .fila-entrada {
        gap: 1rem;
    }

    .caja-numero {
        width: 76px;
        flex-shrink: 0;
    }

    .caja-entrada,
    .caja-numero {
        font-size: 16px;
    }

    /* evita zoom automatico en iPhone */

    .pie-formulario {
        padding-top: 1.5rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .pie-formulario .boton-primario,
    .pie-formulario .boton-secundario,
    .pie-formulario .boton-whatsapp {
        flex: 1 1 140px;
        padding: 0.9rem 0.75rem;
        text-align: center;
        white-space: nowrap;
        font-size: 0.95rem;
    }

    .cabecera-resultado {
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }

    .controles-audio {
        flex-wrap: wrap;
    }

    .cabecera-mochila {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .texto-casilla span {
        font-size: 1rem;
    }

    /* ---------- Chat a pantalla completa ---------- */
    #vista-chat {
        height: calc(100dvh - 64px - 1.25rem - 110px - env(safe-area-inset-bottom)) !important;
        min-height: 420px;
    }

    #vista-chat .rutas-navegacion {
        display: none;
    }

    #vista-chat .titulo-gigante {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .tarjeta-chat {
        min-height: 0;
    }

    .cabecera-chat {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    .avatar-ia {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .cabecera-chat h3 {
        font-size: 1rem;
    }

    .cabecera-chat p {
        font-size: 0.75rem;
    }

    .area-mensajes {
        padding: 1rem;
        gap: 1rem;
    }

    .contenedor-burbuja {
        max-width: 92%;
        gap: 0.5rem;
    }

    .avatar-mensaje {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .burbuja-ia,
    .burbuja-usuario {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .burbuja-usuario {
        max-width: 85%;
    }

    .area-escritura {
        padding: 0.75rem 1rem;
    }

    .pildoras {
        margin-bottom: 0.6rem;
        gap: 0.5rem;
    }

    .entrada-chat {
        padding: 0.85rem 6.2rem 0.85rem 1rem;
    }

    .boton-enviar-chat {
        top: 0.4rem;
        right: 0.4rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }

    /* ---------- Fuentes ---------- */
    .cuadricula-fuentes {
        gap: 1.25rem;
    }

    .imagen-tarjeta-pequena {
        height: 130px;
    }

    /* ---------- SOS y barra inferior ---------- */
    .boton-sos {
        width: 56px;
        height: 56px;
        font-size: 0.95rem;
        right: 14px;
        bottom: calc(92px + env(safe-area-inset-bottom));
        border-width: 3px;
    }

    body[data-vista="vista-chat"] .boton-sos {
        bottom: auto;
        top: 76px;
        width: 46px;
        height: 46px;
        font-size: 0.75rem;
    }

    body[data-vista="vista-chat"] .modal-sos {
        bottom: auto;
        top: 130px;
    }

    .modal-sos {
        right: 14px;
        left: 14px;
        width: auto;
        max-width: 360px;
        margin-left: auto;
        bottom: calc(160px + env(safe-area-inset-bottom));
        padding: 1.5rem;
    }

    .barra-navegacion-movil {
        height: calc(72px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    .etiqueta-flotante {
        top: 0.5rem;
        right: calc(50% - 30px);
    }

    .boton-nav-movil.activo::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Tablets: dos columnas en fuentes */
@media (min-width: 600px) and (max-width: 899px) {
    .cabecera {
        grid-template-columns: minmax(160px, auto) 1fr auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .imagen-logo-movil {
        width: clamp(155px, 26vw, 190px);
    }

    .boton-alerta-demo {
        padding: 0.5rem 1rem;
        font-size: 0.78rem;
    }

    .area-contenido {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .cuadricula-fuentes {
        grid-template-columns: 1fr 1fr;
    }

    .cuerpo-tarjeta {
        padding: 2rem;
    }
}

/* Celulares muy angostos (iPhone SE, Android chicos) */
@media (max-width: 380px) {
    .cabecera {
        grid-template-columns: minmax(104px, auto) 1fr auto;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .indicador-ia {
        font-size: 0;
        padding: 0.45rem;
        gap: 0;
    }

    .indicador-ia .punto-estado {
        margin: 0;
    }

    .imagen-logo-movil {
        width: 104px;
    }

    .boton-alerta-demo {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
    }

    .paso-item {
        font-size: 0.78rem;
    }

    .pildoras button {
        font-size: 0.78rem;
        padding: 0.4rem 0.8rem;
    }
}

/* En celulares el boton de emergencia queda solo con el icono */
@media (max-width: 520px) {
    .texto-alerta {
        display: none;
    }

    .boton-alerta-demo {
        padding: 0.45rem 0.65rem;
        font-size: 1rem;
        line-height: 1;
    }
}

/* =========================================================
   ACCESIBILIDAD - agregado independiente
   ========================================================= */
.accesibilidad-contenedor {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 60;
}

.boton-accesibilidad {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-texto-oscuro);
    color: var(--color-blanco);
    padding: 0.78rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(58, 48, 47, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.boton-accesibilidad:hover,
.boton-accesibilidad:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(58, 48, 47, 0.28);
}

.panel-accesibilidad {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: min(260px, 82vw);
    padding: 0.95rem;
    background: var(--color-blanco);
    border: 1px solid var(--color-borde);
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(58, 48, 47, 0.18);
}

.titulo-accesibilidad {
    margin: 0 0 0.35rem;
    font-weight: 800;
    color: var(--color-texto-oscuro);
}

.texto-accesibilidad-ayuda,
.nota-accesibilidad {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--color-gris-texto);
}

.nota-accesibilidad {
    margin-top: 0.6rem;
}

.panel-accesibilidad button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0.75rem;
    margin-top: 0.45rem;
    border-radius: 0.7rem;
    background: var(--color-claro);
    color: var(--color-texto-oscuro);
    font-weight: 700;
}

.panel-accesibilidad button:hover,
.panel-accesibilidad button:focus-visible,
.panel-accesibilidad button.activo {
    background: var(--color-primario);
    color: var(--color-blanco);
}

body.accesibilidad-texto-grande {
    font-size: 118.75%;
}

body.accesibilidad-texto-grande .titulo-gigante {
    line-height: 1.15;
}

body.accesibilidad-texto-grande .caja-entrada,
body.accesibilidad-texto-grande .caja-numero,
body.accesibilidad-texto-grande button,
body.accesibilidad-texto-grande a {
    font-size: 1rem;
}

body.accesibilidad-alto-contraste {
    --color-fondo: #000000;
    --color-primario: #FFD400;
    --color-secundario: #FFD400;
    --color-claro: #111111;
    --color-texto-oscuro: #FFFFFF;
    --color-gris-texto: #F2F2F2;
    --color-borde: #FFFFFF;
    --color-blanco: #000000;
}

body.accesibilidad-alto-contraste img {
    filter: contrast(1.15) saturate(0.95);
}

body.accesibilidad-alto-contraste .boton-alerta-demo,
body.accesibilidad-alto-contraste .boton-sos,
body.accesibilidad-alto-contraste .modal-sos,
body.accesibilidad-alto-contraste .burbuja-usuario,
body.accesibilidad-alto-contraste .burbuja-ia {
    border: 1px solid #FFFFFF;
}

body :focus-visible {
    outline: 3px solid #2563EB;
    outline-offset: 3px;
}

body.accesibilidad-alto-contraste :focus-visible {
    outline-color: #00FFFF;
}

@media (max-width: 899px) {
    .accesibilidad-contenedor {
        left: 12px;
        bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .boton-accesibilidad {
        width: 52px;
        height: 52px;
        justify-content: center;
        padding: 0;
        font-size: 1.2rem;
    }

    .texto-accesibilidad {
        display: none;
    }

    .panel-accesibilidad {
        width: min(240px, calc(100vw - 24px));
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    .texto-accesibilidad {
        display: inline;
    }

    .boton-accesibilidad {
        width: auto;
        height: auto;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}


/* =========================================================
   LANDING NOBATHACK - VERSION HACKATHON
   ========================================================= */
html { overflow: auto; scroll-behavior: smooth; }
body.aplicacion { display: block; }
body.modo-landing { overflow-y: auto; height: auto; min-height: 100%; background: #f8f5f0; }
body.modo-app { overflow: hidden; height: 100dvh; }
.app-shell { display: flex; min-height: 100dvh; }
.landing-nobathack { min-height: 100vh; background: #f8f5f0; color: #23312b; overflow: hidden; }
.landing-header { position: sticky; top: 0; z-index: 80; height: 82px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 2rem; padding: 0 5vw; background: rgba(248,245,240,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(35,49,43,.08); }
.landing-brand img { width: 190px; display: block; mix-blend-mode: multiply; }
.landing-nav { display: flex; justify-content: center; gap: 2rem; }
.landing-nav a { color: #39463f; text-decoration: none; font-weight: 700; font-size: .92rem; }
.landing-nav a:hover { color: #ad1116; }
.landing-cta-mini, .btn-hero-primary, .btn-hero-secondary, .feature-card button, .sources-copy button, .whatsapp-section button, .landing-footer button { border-radius: 999px; font-weight: 800; transition: .25s ease; }
.landing-cta-mini { background: #ad1116; color: white; padding: .8rem 1.25rem; box-shadow: 0 10px 25px rgba(173,17,22,.18); }
.landing-cta-mini:hover, .btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(173,17,22,.25); }
.hero-nobathack { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 4rem; max-width: 1280px; margin: 0 auto; padding: 5.5rem 5vw 4rem; }
.hero-copy { max-width: 650px; }
.hero-kicker, .section-heading > span, .sources-copy > span, .whatsapp-section > div > span, .final-cta > span { display: inline-flex; align-items: center; gap: .5rem; color: #0b5d3d; font-size: .78rem; letter-spacing: .12em; font-weight: 900; text-transform: uppercase; }
.hero-kicker::before { content: ''; width: 34px; height: 2px; background: #0b5d3d; }
.hero-copy h1 { font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: .96; letter-spacing: -.055em; margin: 1.1rem 0 1.5rem; color: #1d2b25; }
.hero-copy h1 span { color: #ad1116; }
.hero-copy > p { max-width: 610px; color: #647067; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.4rem; }
.btn-hero-primary { background: #ad1116; color: #fff; padding: 1rem 1.5rem; box-shadow: 0 12px 28px rgba(173,17,22,.2); }
.btn-hero-secondary { background: white; color: #23312b; padding: 1rem 1.5rem; border: 1px solid #ded9d1; box-shadow: 0 8px 20px rgba(35,49,43,.06); }
.btn-hero-secondary:hover { transform: translateY(-2px); border-color: #0b5d3d; color: #0b5d3d; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; color: #6d756f; font-size: .84rem; font-weight: 700; }
.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ''; position: absolute; inset: 7% 0 4% 5%; border-radius: 42% 58% 48% 52% / 43% 41% 59% 57%; background: linear-gradient(145deg,#b8b88e 0%,#d8d4b6 45%,#f0d8ce 100%); opacity: .8; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb-1 { width: 150px; height: 150px; background: #ad1116; right: 4%; top: 12%; opacity: .92; }
.hero-orb-2 { width: 96px; height: 96px; background: #0b5d3d; left: 3%; bottom: 14%; opacity: .9; }
.phone-mockup { position: relative; z-index: 3; width: min(390px, 86%); background: #fff; border: 10px solid #222d28; border-radius: 38px; padding: 1.25rem; box-shadow: 0 34px 65px rgba(35,49,43,.22); transform: rotate(2deg); }
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: #7b847f; margin-bottom: 1rem; }
.dot-red { width: 9px; height: 9px; border-radius: 50%; background: #ad1116; }
.phone-alert { background: #f8f1ed; border: 1px solid #ead8cf; border-radius: 20px; padding: 1rem; margin-bottom: .9rem; }
.phone-alert small { color: #ad1116; font-weight: 900; letter-spacing: .08em; }
.phone-alert strong { display: block; margin: .3rem 0; font-size: 1.1rem; }
.phone-alert p { font-size: .85rem; color: #6b746f; }
.phone-step { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: .75rem; padding: .8rem; border: 1px solid #ebe6df; border-radius: 15px; margin-top: .6rem; }
.phone-step > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #f1eee8; color: #0b5d3d; font-weight: 900; }
.phone-step div { display: flex; flex-direction: column; }
.phone-step small { color: #7a837e; margin-top: .15rem; }
.phone-step em { color: #0b5d3d; font-style: normal; font-weight: 900; }
.phone-step.active { border-color: #ad1116; box-shadow: 0 6px 18px rgba(173,17,22,.08); }
.phone-mockup > button { width: 100%; margin-top: 1rem; background: #ad1116; color: white; padding: .9rem; border-radius: 14px; font-weight: 800; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; padding: .75rem .9rem; box-shadow: 0 18px 35px rgba(35,49,43,.16); }
.floating-card div { display: flex; flex-direction: column; }
.floating-card small { color: #78817c; }
.card-source { left: 0; top: 18%; }
.card-source > span { color: #0b5d3d; }
.card-whatsapp { right: 0; bottom: 18%; }
.problem-strip { max-width: 1180px; margin: 0 auto 6rem; display: grid; grid-template-columns: repeat(3,1fr); background: #1f2e28; color: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px rgba(31,46,40,.13); }
.problem-strip div { padding: 1.8rem 2rem; border-right: 1px solid rgba(255,255,255,.12); }
.problem-strip div:last-child { border-right: none; }
.problem-strip strong { color: #d4d0a9; font-size: 1rem; }
.problem-strip p { color: #dfe5e1; line-height: 1.55; margin-top: .45rem; font-size: .92rem; }
.landing-section { max-width: 1180px; margin: 0 auto; padding: 6rem 0; }
.section-soft { max-width: none; padding-left: calc((100% - 1180px)/2); padding-right: calc((100% - 1180px)/2); background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 2.8rem; }
.section-heading h2, .sources-copy h2, .whatsapp-section h2, .final-cta h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.04em; color: #22312a; margin: .7rem 0 1rem; }
.section-heading p { color: #6c766f; line-height: 1.7; }
.steps-grid, .features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.steps-grid article, .feature-card { position: relative; background: #fff; border: 1px solid #e9e5de; border-radius: 24px; padding: 1.6rem; box-shadow: 0 12px 28px rgba(35,49,43,.055); }
.step-number { position: absolute; right: 1.2rem; top: 1.1rem; color: #c3c5b4; font-weight: 900; font-size: 1.2rem; }
.step-icon, .feature-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #f3eee8; margin-bottom: 1.2rem; font-size: 1.35rem; }
.steps-grid h3, .feature-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.steps-grid p, .feature-card p { color: #707a74; line-height: 1.6; font-size: .9rem; }
.features-grid { grid-template-columns: repeat(3,1fr); }
.feature-card { min-height: 230px; }
.feature-card.feature-main { background: #ad1116; color: white; border-color: #ad1116; }
.feature-main h3, .feature-main p { color: white; }
.feature-main .feature-icon { background: rgba(255,255,255,.18); }
.feature-card button { margin-top: 1rem; padding: .7rem 1rem; background: white; color: #ad1116; }
.sources-section { max-width: 1180px; margin: 6rem auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3.5rem; background: #dedfca; border-radius: 32px; }
.sources-copy p { color: #5f6b64; line-height: 1.7; }
.sources-copy button { margin-top: 1.5rem; padding: .85rem 1.2rem; background: #22312a; color: white; }
.sources-list { display: grid; gap: .8rem; }
.sources-list div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.85); padding: 1rem 1.2rem; border-radius: 16px; }
.sources-list b { color: #ad1116; }
.sources-list span { color: #59655e; text-align: right; font-size: .9rem; }
.whatsapp-section { max-width: 1180px; margin: 0 auto 6rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2.2rem 2.5rem; border: 1px solid #dce5df; background: #f3faf6; border-radius: 28px; }
.whatsapp-bubble { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: #25d366; font-size: 2rem; box-shadow: 0 12px 25px rgba(37,211,102,.18); }
.whatsapp-section h2 { font-size: clamp(1.8rem,3vw,3rem); margin-bottom: .5rem; }
.whatsapp-section p { color: #657068; line-height: 1.65; }
.whatsapp-section button { background: #25d366; color: #0d3c20; padding: 1rem 1.4rem; }
.final-cta { text-align: center; padding: 7rem 5vw; background: #1f2e28; color: white; }
.final-cta > span { color: #d6d1aa; }
.final-cta h2 { color: white; max-width: 900px; margin-left: auto; margin-right: auto; }
.final-cta > div { display: flex; justify-content: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.landing-footer { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 2rem; padding: 2rem 5vw; background: #f8f5f0; border-top: 1px solid #e4ded6; }
.landing-footer img { width: 175px; mix-blend-mode: multiply; }
.landing-footer p { color: #67716b; }
.landing-footer button { padding: .75rem 1rem; background: #eee7df; color: #22312a; }

/* Ajustes de la app interna */
.app-shell .barra-lateral { box-shadow: 12px 0 30px rgba(35,49,43,.04); }
.app-shell .cabecera { background: rgba(253,251,247,.96); }
.app-shell .boton-menu-lateral { min-height: 50px; }
.app-shell .tarjeta-amigable, .app-shell .tarjeta-destacada { border: 1px solid rgba(58,48,47,.06); }
.app-shell .imagen-logo-lateral { max-height: 74px; object-fit: contain; }

@media (max-width: 1050px) {
  .landing-header { grid-template-columns: 190px 1fr auto; padding: 0 3vw; }
  .landing-nav { gap: 1rem; }
  .hero-nobathack { grid-template-columns: 1fr; padding-top: 4rem; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-kicker { justify-content: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .landing-section, .problem-strip, .sources-section, .whatsapp-section { margin-left: 3vw; margin-right: 3vw; }
  .section-soft { padding-left: 3vw; padding-right: 3vw; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .landing-header { height: 68px; grid-template-columns: 1fr auto; }
  .landing-brand img { width: 145px; }
  .landing-nav { display: none; }
  .landing-cta-mini { padding: .65rem .9rem; font-size: .82rem; }
  .hero-nobathack { min-height: auto; padding: 3.5rem 1.1rem 3rem; gap: 2rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions button { width: 100%; }
  .hero-trust { font-size: .76rem; }
  .hero-visual { min-height: 450px; }
  .phone-mockup { width: min(340px, 90%); padding: 1rem; border-width: 8px; }
  .floating-card { font-size: .78rem; }
  .card-source { left: 0; top: 8%; }
  .card-whatsapp { right: 0; bottom: 6%; }
  .problem-strip { grid-template-columns: 1fr; margin-bottom: 3rem; }
  .problem-strip div { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .landing-section { padding: 4rem 0; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .sources-section { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.25rem; margin-top: 3rem; margin-bottom: 3rem; }
  .sources-list div { align-items: flex-start; flex-direction: column; }
  .sources-list span { text-align: left; }
  .whatsapp-section { grid-template-columns: 1fr; padding: 1.8rem 1.25rem; }
  .whatsapp-section button { width: 100%; }
  .final-cta { padding: 5rem 1.1rem; }
  .final-cta > div { flex-direction: column; }
  .final-cta button { width: 100%; }
  .landing-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
body.modo-landing .accesibilidad-contenedor { bottom: 18px; }
body.modo-landing .panel-accesibilidad { max-height: min(520px, calc(100vh - 100px)); overflow-y: auto; }
@media (max-width: 899px) { body.modo-landing .accesibilidad-contenedor { bottom: 14px; } }

/* Alto contraste también en la landing */
body.accesibilidad-alto-contraste .landing-nobathack,
body.accesibilidad-alto-contraste .landing-header,
body.accesibilidad-alto-contraste .landing-footer,
body.accesibilidad-alto-contraste .section-soft {
    background: #000 !important;
    color: #fff !important;
}
body.accesibilidad-alto-contraste .hero-copy h1,
body.accesibilidad-alto-contraste .section-heading h2,
body.accesibilidad-alto-contraste .sources-copy h2,
body.accesibilidad-alto-contraste .whatsapp-section h2,
body.accesibilidad-alto-contraste .landing-nav a,
body.accesibilidad-alto-contraste .landing-footer p {
    color: #fff !important;
}
body.accesibilidad-alto-contraste .hero-copy h1 span,
body.accesibilidad-alto-contraste .hero-kicker,
body.accesibilidad-alto-contraste .section-heading > span,
body.accesibilidad-alto-contraste .sources-copy > span {
    color: #ffd400 !important;
}
body.accesibilidad-alto-contraste .steps-grid article,
body.accesibilidad-alto-contraste .feature-card,
body.accesibilidad-alto-contraste .phone-mockup,
body.accesibilidad-alto-contraste .floating-card,
body.accesibilidad-alto-contraste .sources-list div,
body.accesibilidad-alto-contraste .whatsapp-section {
    background: #111 !important;
    color: #fff !important;
    border-color: #fff !important;
}
