/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #0b2d63;
    background-color: #ffffff;
}


/* =========================================
   BARRA DE NAVEGACIÓN
========================================= */

.navegacion {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;
    min-height: 95px;
    padding: 10px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background:
        linear-gradient(
            110deg,
            rgba(225, 245, 252, 0.96) 0%,
            rgba(255, 255, 255, 0.94) 45%,
            rgba(235, 250, 244, 0.96) 100%
        );

    border-bottom:
        1px solid rgba(0, 112, 192, 0.16);

    box-shadow:
        0 8px 30px rgba(11, 45, 99, 0.08);

    backdrop-filter: blur(14px);
}


/* Línea azul y verde debajo del menú */
.navegacion::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 112, 192, 0.7) 35%,
            rgba(106, 168, 79, 0.65) 65%,
            transparent 100%
        );

    pointer-events: none;
}


/* Logo del menú */
.marca {
    display: flex;
    align-items: center;

    color: #0b2d63;
    text-decoration: none;
}

.marca-logo {
    display: block;

    width: auto;
    height: 70px;

    object-fit: contain;

    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.marca:hover .marca-logo {
    transform: scale(1.05);

    filter:
        drop-shadow(
            0 5px 8px rgba(0, 112, 192, 0.18)
        );
}


/* Enlaces del menú */
.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    position: relative;

    color: #0b2d63;
    text-decoration: none;
    font-weight: 600;

    transition: color 0.25s ease;
}

.menu a:hover {
    color: #0070c0;
}

.menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background-color: #0070c0;

    transition: width 0.25s ease;
}

.menu a:hover::after {
    width: 100%;
}


/* Botón de contacto del menú */
.boton-contacto {
    display: inline-block;

    padding: 11px 20px;

    color: #ffffff;
    background-color: #0070c0;

    border-radius: 999px;

    text-decoration: none;
    font-weight: bold;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.boton-contacto:hover {
    background-color: #0b2d63;
    transform: translateY(-2px);
}


/* =========================================
   PORTADA
========================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;
    padding: 125px 20px 45px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 112, 192, 0.15),
            transparent 55%
        ),
        #eaf7fb;
}


/* Canvas de hexágonos */
#fondo-interactivo {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;

    width: 100%;
    height: 100%;

    pointer-events: none;
}


/* Contenido central */
.hero-contenido {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 900px;

    text-align: center;
}


/* Logo de la portada */
.hero-logo {
    display: block;

    width: clamp(120px, 10vw, 165px);
    height: auto;

    margin: 0 auto 18px;

    object-fit: contain;
}


/* Etiqueta superior */
.hero-etiqueta {
    display: inline-block;

    margin-bottom: 20px;
    padding: 8px 16px;

    color: #0070c0;
    background-color: rgba(255, 255, 255, 0.8);

    border:
        1px solid rgba(0, 112, 192, 0.25);

    border-radius: 999px;
}


/* Título */
.hero h1 {
    margin-bottom: 24px;

    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.hero h1 span {
    display: block;
    color: #0070c0;
}


/* Descripción */
.hero-descripcion {
    max-width: 700px;
    margin: 0 auto 30px;

    color: #444444;
    font-size: 1.15rem;
    line-height: 1.6;
}


/* Botón de la portada */
.boton-principal {
    display: inline-block;

    padding: 14px 28px;

    color: #ffffff;
    background-color: #0070c0;

    border-radius: 999px;

    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.boton-principal:hover {
    background-color: #0b2d63;
    transform: translateY(-3px);
}


/* =========================================
   QUIÉNES SOMOS
========================================= */

#nosotros {
    position: relative;

    isolation: isolate;
    overflow: hidden;

    width: 100%;
    margin: 0;
    padding: 110px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #f7fcfe 0%,
            #eaf7fb 48%,
            #eef9ed 100%
        );

    border-top:
        1px solid rgba(0, 112, 192, 0.12);
}


/* Iluminación azul */
#nosotros::before {
    content: "";

    position: absolute;
    top: -180px;
    left: -180px;
    z-index: -1;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 112, 192, 0.13),
            transparent 68%
        );
}


/* Iluminación verde */
#nosotros::after {
    content: "";

    position: absolute;
    right: -170px;
    bottom: -200px;
    z-index: -1;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(106, 168, 79, 0.14),
            transparent 68%
        );
}


/* Título */
#nosotros h2 {
    position: relative;

    margin-bottom: 40px;

    color: #0b2d63;
    font-size: clamp(2rem, 4vw, 3rem);
}

#nosotros h2::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -16px;

    width: 85px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #0070c0,
            #00a8e8,
            #6aa84f
        );

    transform: translateX(-50%);
}


/* Tarjeta de presentación */
#nosotros p {
    position: relative;

    max-width: 800px;
    margin: 0 auto;
    padding: 30px 38px;

    color: #3f4b58;
    background-color: rgba(255, 255, 255, 0.68);

    border:
        1px solid rgba(0, 112, 192, 0.13);

    border-radius: 22px;

    box-shadow:
        0 18px 50px rgba(11, 45, 99, 0.08);

    backdrop-filter: blur(10px);

    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================
   SERVICIOS
========================================= */

.servicios {
    position: relative;

    width: 100%;
    padding: 110px 5%;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5fbfe 100%
        );
}

.servicios-encabezado {
    max-width: 760px;
    margin: 0 auto 55px;

    text-align: center;
}


/* Etiqueta reutilizable */
.seccion-etiqueta {
    display: inline-block;

    margin-bottom: 16px;
    padding: 7px 14px;

    color: #0070c0;
    background-color: #eaf7fb;

    border:
        1px solid rgba(0, 112, 192, 0.16);

    border-radius: 999px;

    font-size: 0.92rem;
    font-weight: bold;
}

.servicios-encabezado h2 {
    margin-bottom: 18px;

    color: #0b2d63;
    font-size: clamp(2rem, 4vw, 3rem);
}

.servicios-introduccion {
    color: #52606d;
    font-size: 1.08rem;
    line-height: 1.7;
}


/* Cuadrícula */
.servicios-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );

    gap: 24px;
}


/* Tarjetas */
.servicio-tarjeta {
    position: relative;

    padding: 32px 28px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background-color:
        rgba(255, 255, 255, 0.9);

    border:
        1px solid rgba(0, 112, 192, 0.12);

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(11, 45, 99, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.servicio-tarjeta:hover {
    transform: translateY(-8px);

    border-color:
        rgba(0, 112, 192, 0.3);

    box-shadow:
        0 24px 55px rgba(11, 45, 99, 0.13);
}


/* Iconos */
.servicio-icono {
    width: 58px;
    height: 58px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    color: #0070c0;
    background-color: #eaf7fb;

    border-radius: 18px;
}

.servicio-icono-verde {
    color: #4d8f38;
    background-color: #eef9ed;
}

.servicio-icono svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.servicio-tarjeta h3 {
    margin-bottom: 14px;

    color: #0b2d63;
    font-size: 1.25rem;
}

.servicio-tarjeta p {
    margin-bottom: 25px;

    color: #52606d;
    line-height: 1.7;
}

.servicio-enlace {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #0070c0;

    text-decoration: none;
    font-weight: bold;
}

.servicio-enlace span {
    transition: transform 0.25s ease;
}

.servicio-enlace:hover span {
    transform: translateX(5px);
}


/* =========================================
   IDENTIDAD INSTITUCIONAL
========================================= */

.identidad {
    position: relative;

    isolation: isolate;
    overflow: hidden;

    width: 100%;
    padding: 110px 5%;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 168, 232, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(106, 168, 79, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071e43 0%,
            #0b2d63 55%,
            #073763 100%
        );
}

.identidad::before {
    content: "";

    position: absolute;
    top: -200px;
    right: -180px;
    z-index: -1;

    width: 500px;
    height: 500px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}

.identidad-contenido {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.identidad-encabezado {
    max-width: 800px;
    margin: 0 auto 60px;

    text-align: center;
}

.identidad-etiqueta {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 15px;

    color: #8edcff;
    background-color:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(142, 220, 255, 0.25);

    border-radius: 999px;

    font-size: 0.92rem;
    font-weight: bold;
}

.identidad-encabezado h2 {
    margin-bottom: 20px;

    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.identidad-introduccion {
    max-width: 690px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.75;
}


/* Cuadrícula */
.identidad-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 25px;
}


/* Tarjetas */
.identidad-tarjeta {
    position: relative;
    overflow: hidden;

    padding: 35px 30px;

    background-color:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 24px;

    backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.identidad-tarjeta::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #0070c0,
            #00a8e8
        );
}

.identidad-tarjeta-verde::before {
    background:
        linear-gradient(
            90deg,
            #00a8e8,
            #6aa84f
        );
}

.identidad-tarjeta:hover {
    transform: translateY(-8px);

    background-color:
        rgba(255, 255, 255, 0.11);

    border-color:
        rgba(142, 220, 255, 0.3);
}


/* Iconos */
.identidad-icono {
    width: 58px;
    height: 58px;

    margin-bottom: 25px;

    display: grid;
    place-items: center;

    color: #8edcff;
    background-color:
        rgba(0, 168, 232, 0.12);

    border-radius: 18px;
}

.identidad-icono svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.identidad-numero {
    position: absolute;
    top: 30px;
    right: 30px;

    color: rgba(255, 255, 255, 0.16);
    font-size: 2rem;
    font-weight: bold;
}

.identidad-tarjeta h3 {
    margin-bottom: 16px;

    color: #ffffff;
    font-size: 1.4rem;
}

.identidad-tarjeta > p:last-child {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}


/* =========================================
   AVISOS A LA COMUNIDAD
========================================= */

.avisos {
    position: relative;

    width: 100%;
    padding: 110px 5%;

    background:
        linear-gradient(
            135deg,
            #f7fcfe 0%,
            #ffffff 50%,
            #f2faef 100%
        );
}

.avisos-contenido {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}


/* Encabezado */
.avisos-encabezado {
    margin-bottom: 50px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.avisos-encabezado > div {
    max-width: 720px;
}

.avisos-encabezado h2 {
    margin-bottom: 16px;

    color: #0b2d63;
    font-size: clamp(2rem, 4vw, 3rem);
}

.avisos-introduccion {
    color: #52606d;
    font-size: 1.08rem;
    line-height: 1.7;
}


/* Botón superior */
.avisos-contacto {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;

    color: #0070c0;
    background-color: #ffffff;

    border:
        1px solid rgba(0, 112, 192, 0.18);

    border-radius: 999px;

    box-shadow:
        0 10px 30px rgba(11, 45, 99, 0.07);

    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.avisos-contacto:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(11, 45, 99, 0.12);
}


/* Cuadrícula */
.avisos-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.8fr);

    gap: 25px;
}


/* =========================================
   AVISO PRINCIPAL
========================================= */

.aviso-principal {
    position: relative;
    overflow: hidden;

    min-height: 430px;
    padding: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(0, 168, 232, 0.28),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b2d63,
            #073763
        );

    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(11, 45, 99, 0.18);
}

.aviso-principal::after {
    content: "";

    position: absolute;
    right: -100px;
    bottom: -140px;

    width: 340px;
    height: 340px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;
}

.aviso-principal-contenido {
    position: relative;
    z-index: 1;

    max-width: 610px;
}


/* Estado */
.aviso-estado {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;
    padding: 7px 13px;

    color: #bdeaff;
    background-color:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(189, 234, 255, 0.22);

    border-radius: 999px;

    font-size: 0.88rem;
    font-weight: bold;
}

.aviso-estado-punto {
    width: 8px;
    height: 8px;

    background-color: #6aa84f;
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(106, 168, 79, 0.15);
}


/* Fecha */
.aviso-fecha {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* Título */
.aviso-principal h3 {
    max-width: 650px;
    margin-bottom: 18px;

    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}


/* Descripción */
.aviso-principal-contenido > p:not(.aviso-fecha) {
    max-width: 600px;
    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}


/* Enlace */
.aviso-enlace {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;

    text-decoration: none;
    font-weight: bold;
}

.aviso-enlace span {
    transition: transform 0.25s ease;
}

.aviso-enlace:hover span {
    transform: translateX(5px);
}


/* Icono grande */
.aviso-principal-icono {
    position: relative;
    z-index: 1;

    flex-shrink: 0;

    width: 115px;
    height: 115px;

    display: grid;
    place-items: center;

    color: #8edcff;
    background-color:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 30px;

    transform: rotate(5deg);
}

.aviso-principal-icono svg {
    width: 55px;
    height: 55px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   AVISOS SECUNDARIOS
========================================= */

.avisos-secundarios {
    display: grid;
    gap: 25px;
}

.aviso-secundario {
    padding: 30px;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    background-color:
        rgba(255, 255, 255, 0.86);

    border:
        1px solid rgba(0, 112, 192, 0.12);

    border-radius: 24px;

    box-shadow:
        0 16px 40px rgba(11, 45, 99, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.aviso-secundario:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 50px rgba(11, 45, 99, 0.12);
}


/* Iconos secundarios */
.aviso-secundario-icono {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    color: #0070c0;
    background-color: #eaf7fb;

    border-radius: 16px;
}

.aviso-icono-verde {
    color: #4d8f38;
    background-color: #eef9ed;
}

.aviso-secundario-icono svg {
    width: 26px;
    height: 26px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aviso-tipo {
    margin-bottom: 7px;

    color: #0070c0;
    font-size: 0.82rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.aviso-secundario h3 {
    margin-bottom: 10px;

    color: #0b2d63;
    font-size: 1.2rem;
}

.aviso-secundario div > p:last-child {
    color: #52606d;
    line-height: 1.65;
}


/* =========================================
   DOCUMENTOS
========================================= */

.documentos {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 110px 5%;
    background:
        radial-gradient(circle at 10% 90%, rgba(0, 112, 192, 0.1), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(106, 168, 79, 0.1), transparent 28%),
        #f5fbfe;
}

.documentos-contenido {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.documentos-encabezado {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.documentos-encabezado > div:first-child { max-width: 720px; }

.documentos-encabezado h2 {
    margin-bottom: 16px;
    color: #0b2d63;
    font-size: clamp(2rem, 4vw, 3rem);
}

.documentos-introduccion {
    color: #52606d;
    font-size: 1.08rem;
    line-height: 1.7;
}

.documentos-icono-principal {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    color: #0070c0;
    background-color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 112, 192, 0.14);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(11, 45, 99, 0.1);
    transform: rotate(4deg);
}

.documentos-icono-principal svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.documento-tarjeta {
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(0, 112, 192, 0.12);
    border-radius: 24px;
    box-shadow: 0 16px 45px rgba(11, 45, 99, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.documento-tarjeta:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 112, 192, 0.28);
    box-shadow: 0 25px 55px rgba(11, 45, 99, 0.13);
}

.documento-disponible::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0070c0, #00a8e8, #6aa84f);
}

.documento-superior {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.documento-icono {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #0070c0;
    background-color: #eaf7fb;
    border-radius: 17px;
}

.documento-icono-verde {
    color: #4d8f38;
    background-color: #eef9ed;
}

.documento-icono svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.documento-estado {
    padding: 6px 11px;
    color: #677481;
    background-color: #f0f3f5;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: bold;
}

.documento-estado.disponible {
    color: #38761d;
    background-color: #eef9ed;
}

.documento-tipo {
    margin-bottom: 9px;
    color: #0070c0;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.documento-tarjeta h3 {
    margin-bottom: 14px;
    color: #0b2d63;
    font-size: 1.35rem;
}

.documento-tarjeta > p:last-of-type {
    margin-bottom: 28px;
    color: #52606d;
    line-height: 1.7;
}

.documento-boton {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 18px;
    color: #ffffff;
    background-color: #0070c0;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.documento-boton:hover {
    background-color: #0b2d63;
    transform: translateY(-2px);
}

.documento-boton svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.documento-boton-inactivo {
    color: #7c8792;
    background-color: #edf1f4;
    cursor: not-allowed;
}

.documento-boton-inactivo:hover {
    background-color: #edf1f4;
    transform: none;
}
/* =========================================
   CONTACTO
========================================= */

.contacto {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding: 96px 5%;

    background:
        radial-gradient(
            circle at 16% 24%,
            rgba(0, 168, 232, 0.16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071e43,
            #0b2d63 58%,
            #06446b
        );
}

.contacto-contenido {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(360px, 0.75fr);

    align-items: center;
    gap: clamp(48px, 6vw, 84px);
}


/* Etiqueta */
.contacto-etiqueta {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 14px;

    color: #8edcff;
    background-color:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(142, 220, 255, 0.22);

    border-radius: 999px;

    font-size: 0.92rem;
    font-weight: bold;
}


/* Título */
.contacto-informacion h2 {
    max-width: 650px;
    margin-bottom: 20px;

    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}


/* Introducción */
.contacto-introduccion {
    max-width: 680px;
    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.75;
}


/* Lista de contacto */
.contacto-lista {
    margin-bottom: 32px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


/* Tarjeta de contacto */
.contacto-item {
    min-height: 98px;
    padding: 20px 22px;

    display: flex;
    align-items: center;
    gap: 16px;

    color: #ffffff;
    background-color:
        rgba(255, 255, 255, 0.07);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 19px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease;
}

.contacto-item:hover {
    transform: translateY(-4px);

    background-color:
        rgba(255, 255, 255, 0.11);
}


/* Iconos */
.contacto-icono {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    color: #8edcff;
    background-color:
        rgba(0, 168, 232, 0.12);

    border-radius: 15px;
}

.contacto-icono-verde {
    color: #9ed889;
    background-color:
        rgba(106, 168, 79, 0.14);
}

.contacto-icono svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Textos de contacto */
.contacto-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacto-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.contacto-item strong {
    color: #ffffff;
    font-size: 1rem;
}

.contacto-item small {
    color: rgba(255, 255, 255, 0.65);
}


/* WhatsApp */
.boton-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    min-height: 56px;
    padding: 7px 24px 7px 8px;

    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #1dad52);

    border-radius: 999px;

    box-shadow:
        0 14px 35px rgba(37, 211, 102, 0.24);

    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.boton-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.32);
}

.boton-whatsapp-icono {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    color: #20b85a;
    background-color: #ffffff;
    border-radius: 50%;
}

.boton-whatsapp-icono svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================
   PANEL DERECHO
========================================= */

.contacto-panel {
    padding: 44px 40px;

    color: #0b2d63;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(234, 247, 251, 0.92)
        );

    border:
        1px solid rgba(255, 255, 255, 0.4);

    border-radius: 28px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.2);

    text-align: center;

    transform: none;
}

.contacto-logo {
    display: block;

    width: 145px;
    height: auto;

    margin: 0 auto 22px;
}

.contacto-panel h3 {
    margin-bottom: 16px;

    color: #0b2d63;
    font-size: 1.35rem;
    line-height: 1.35;
}

.contacto-panel > p {
    color: #52606d;
    line-height: 1.7;
}

.contacto-panel-linea {
    width: 75px;
    height: 4px;

    margin: 25px auto;

    background:
        linear-gradient(
            90deg,
            #0070c0,
            #6aa84f
        );

    border-radius: 999px;
}

.contacto-panel-nota {
    font-size: 0.92rem;
}


/* =========================================
   PIE DE PÁGINA
========================================= */

.pie-pagina {
    padding: 35px 5%;

    background:
        linear-gradient(
            110deg,
            #e6f6fc 0%,
            #ffffff 50%,
            #edf9eb 100%
        );

    border-top:
        2px solid rgba(0, 112, 192, 0.18);

    box-shadow:
        0 -8px 30px rgba(11, 45, 99, 0.06);
}

.pie-contenido {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Marca del pie de página */
.pie-marca {
    display: flex;
    align-items: center;
    gap: 14px;

    color: #0b2d63;
    text-decoration: none;
}

.pie-logo,
.pie-marca-logo,
.pie-marca img {
    display: block;
    flex-shrink: 0;

    width: 58px;
    max-width: 58px;
    height: 58px;
    max-height: 58px;

    object-fit: contain;
}

.pie-marca-texto {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pie-marca-texto strong {
    color: #0b2d63;
    font-size: 1.08rem;
}

.pie-marca-texto small {
    color: #52606d;
}


/* Enlaces del pie de página */
.pie-enlaces {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.pie-enlaces a {
    color: #0b2d63;
    text-decoration: none;
    font-weight: 600;

    transition: color 0.25s ease;
}

.pie-enlaces a:hover {
    color: #0070c0;
}


/* Información legal */
.pie-legal {
    color: #52606d;
    font-size: 0.86rem;
    line-height: 1.6;
    text-align: right;
}


/* =========================================
   TABLETAS
========================================= */

@media (max-width: 850px) {
    .menu {
        display: none;
    }

    .navegacion {
        min-height: 85px;
    }

    .marca-logo {
        height: 62px;
    }

    .hero {
        padding-top: 115px;
    }

    .hero-logo {
        width: 130px;
    }

    .identidad-grid {
        grid-template-columns: 1fr;
    }

    .identidad-tarjeta {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .avisos-encabezado {
        align-items: flex-start;
        flex-direction: column;
    }

    .avisos-grid {
        grid-template-columns: 1fr;
    }

    .aviso-principal {
        min-height: auto;
    }

    .documentos-encabezado {
        align-items: flex-start;
    }

    .documentos-grid {
        grid-template-columns: 1fr;
    }

    .documento-tarjeta {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .contacto-contenido {
        grid-template-columns: 1fr;
    }

    .contacto-panel {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;

        transform: none;
    }

    .pie-contenido {
        flex-direction: column;
        text-align: center;
    }

    .pie-legal {
        text-align: center;
    }
}


/* =========================================
   CELULARES
========================================= */

@media (max-width: 600px) {
    .navegacion {
        padding: 8px 18px;
    }

    .marca-logo {
        height: 55px;
    }

    .boton-contacto {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 105px 18px 40px;
    }

    .hero-logo {
        width: 115px;
        margin-bottom: 14px;
    }

    .hero-etiqueta {
        border-radius: 16px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    .hero-descripcion {
        font-size: 1rem;
    }

    #nosotros {
        padding: 80px 18px;
    }

    #nosotros p {
        padding: 24px 20px;

        font-size: 1rem;
        line-height: 1.7;

        border-radius: 18px;
    }

    .servicios {
        padding: 80px 18px;
    }

    .servicios-encabezado {
        margin-bottom: 40px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-tarjeta {
        padding: 28px 24px;
    }

    .identidad {
        padding: 80px 18px;
    }

    .identidad-encabezado {
        margin-bottom: 42px;
    }

    .identidad-tarjeta {
        padding: 30px 24px;
    }

    .avisos {
        padding: 80px 18px;
    }

    .avisos-encabezado {
        margin-bottom: 40px;
    }

    .aviso-principal {
        padding: 32px 24px;
    }

    .aviso-principal-icono {
        display: none;
    }

    .aviso-secundario {
        padding: 25px 22px;
    }

    .documentos {
        padding: 80px 18px;
    }

    .documentos-encabezado {
        margin-bottom: 40px;
    }

    .documentos-icono-principal {
        display: none;
    }

    .documento-tarjeta {
        padding: 26px 22px;
    }

    .contacto {
        padding: 80px 18px;
    }

    .contacto-contenido {
        gap: 50px;
    }

    .contacto-lista {
        grid-template-columns: 1fr;
    }

    .contacto-panel {
        padding: 32px 24px;
    }

    .contacto-logo {
        width: 125px;
    }

    .pie-pagina {
        padding: 32px 18px;
    }

    .pie-enlaces {
        gap: 14px 18px;
    }

    .pie-logo,
    .pie-marca-logo,
    .pie-marca img {
        width: 52px;
        max-width: 52px;
        height: 52px;
        max-height: 52px;
    }
}


/* =========================================
   PÁGINAS INTERNAS
========================================= */

.navegacion-interna {
    position: relative;
}

.menu a.menu-activo {
    color: #0070c0;
}

.menu a.menu-activo::after {
    width: 100%;
}

.pagina-encabezado {
    min-height: 390px;
    padding: 90px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 112, 192, 0.15),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #f7fcfe,
            #eaf7fb 55%,
            #eef9ed
        );
}

.pagina-encabezado h1 {
    margin-bottom: 18px;

    color: #0b2d63;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    line-height: 1.05;
}

.pagina-encabezado > p:last-child {
    max-width: 720px;

    color: #52606d;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Imagen principal de la página Nosotros */
.pagina-encabezado-nosotros {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 820px;

    background-image:
        linear-gradient(
            135deg,
            rgba(5, 32, 67, 0.68),
            rgba(0, 83, 123, 0.42)
        ),
        url("Img/planta-asdar-principal.png");
    background-position: center 36%;
    background-size: cover;
    background-repeat: no-repeat;
}

.pagina-encabezado-nosotros .seccion-etiqueta,
.pagina-encabezado-nosotros h1,
.pagina-encabezado-nosotros > p:not(.seccion-etiqueta) {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 20, 40, 0.42);
}

.pagina-encabezado-nosotros .seccion-etiqueta {
    padding: 9px 20px;
    color: #ffffff;
    background: #25865d;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(0, 45, 33, 0.3);
}

.pagina-encabezado-nosotros > p:not(.seccion-etiqueta) {
    color: #f2fbff;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 20, 38, 0.85);
}

.hero-quienes {
    position: relative;
    z-index: 1;
    width: min(720px, 92%);
    margin-top: 34px;
    padding: 24px 30px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(3, 45, 73, 0.88),
        rgba(18, 75, 72, 0.84)
    );
    border: 1px solid rgba(157, 226, 222, 0.42);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 23, 43, 0.24);
    backdrop-filter: blur(9px);
}

.hero-quienes h2 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.hero-quienes p {
    margin: 0;
    color: #effcf9;
    font-size: 1rem;
    line-height: 1.65;
}

/* Recorrido comunitario: del nacimiento del agua a los hogares */
.recorrido-agua {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 24px;
    background:
        radial-gradient(circle at 10% 18%, rgba(0, 126, 190, 0.15), transparent 28%),
        radial-gradient(circle at 92% 72%, rgba(64, 157, 102, 0.12), transparent 30%),
        linear-gradient(180deg, #f5fbff 0%, #edf7f6 100%);
}

.recorrido-contenido {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.recorrido-presentacion {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
}

.recorrido-etiqueta {
    margin-bottom: 14px;
    color: #0879b9;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recorrido-texto h2 {
    margin-bottom: 24px;
    color: #0b2d63;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.05;
}

.recorrido-texto > p:not(.recorrido-etiqueta) {
    margin-bottom: 18px;
    color: #425466;
    font-size: 1.06rem;
    line-height: 1.8;
}

.recorrido-destacada {
    position: relative;
    margin: 0;
}

.recorrido-destacada img {
    display: block;
    width: 100%;
    height: clamp(430px, 50vw, 650px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(5, 48, 79, 0.2);
}

.recorrido-destacada figcaption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 17px 20px;
    color: #ffffff;
    background: rgba(4, 42, 69, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(8px);
}

.galeria-recorrido {
    margin-top: 110px;
}

.galeria-encabezado {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.galeria-encabezado h3 {
    color: #0b2d63;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.galeria-controles {
    display: flex;
    gap: 10px;
}

.galeria-flecha {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0 0 2px;
    color: #ffffff;
    background: #0879b9;
    border: 0;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.galeria-flecha:hover {
    background: #075e91;
    transform: translateY(-2px);
}

.galeria-flecha:focus-visible,
.galeria-indicadores button:focus-visible {
    outline: 3px solid #74c9ed;
    outline-offset: 3px;
}

.galeria-ventana {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(5, 48, 79, 0.18);
}

.galeria-foto {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.45s ease, transform 0.6s ease, visibility 0.45s;
}

.galeria-foto.activa {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.galeria-foto img {
    display: block;
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.galeria-foto figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 70px 34px 30px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(2, 27, 47, 0.9));
}

.galeria-foto figcaption strong {
    font-size: 1.35rem;
}

.galeria-foto figcaption span {
    line-height: 1.5;
}

.galeria-indicadores {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.galeria-indicadores button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: #9bb7c3;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.galeria-indicadores button.activo {
    width: 30px;
    background: #0879b9;
}

/* Memoria de la emergencia causada por las lluvias */
.memoria-emergencia {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 24px;
    background:
        radial-gradient(circle at 88% 16%, rgba(0, 126, 190, 0.13), transparent 27%),
        radial-gradient(circle at 8% 80%, rgba(64, 157, 102, 0.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
}

.emergencia-presentacion {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
}

.emergencia-destacada {
    position: relative;
    margin: 0;
}

.emergencia-destacada img {
    display: block;
    width: 100%;
    height: clamp(470px, 52vw, 690px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 28px 65px rgba(45, 37, 18, 0.18);
}

.emergencia-destacada figcaption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 17px 20px;
    color: #ffffff;
    background: rgba(67, 48, 21, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(8px);
}

.emergencia-datos {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.emergencia-datos span {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    color: #344b3e;
    background: #f0f7f2;
    border-left: 4px solid #3d8b5b;
    border-radius: 9px;
    font-weight: 700;
}

.emergencia-datos strong {
    color: #1678ad;
    font-size: 0.82rem;
}

.galeria-emergencia .galeria-flecha,
.galeria-emergencia .galeria-indicadores button.activo {
    background: #3d8b5b;
}

.galeria-emergencia .galeria-flecha:hover {
    background: #2d6d45;
}

@media (max-width: 850px) {
    .recorrido-agua {
        padding: 85px 20px;
    }

    .recorrido-presentacion {
        grid-template-columns: 1fr;
    }

    .memoria-emergencia {
        padding: 85px 20px;
    }

    .emergencia-presentacion {
        grid-template-columns: 1fr;
    }

    .galeria-recorrido {
        margin-top: 80px;
    }

    .galeria-ventana,
    .galeria-foto img {
        min-height: 520px;
        height: 520px;
    }
}

@media (max-width: 600px) {
    .galeria-encabezado {
        align-items: flex-start;
    }

    .galeria-controles {
        flex-shrink: 0;
    }

    .galeria-flecha {
        width: 44px;
        height: 44px;
    }

    .galeria-ventana,
    .galeria-foto img {
        min-height: 430px;
        height: 430px;
    }

    .galeria-foto figcaption {
        padding: 64px 22px 22px;
    }
}

.pagina-contacto {
    min-height: calc(100vh - 95px);
    display: flex;
    align-items: center;
}

@media (max-width: 850px) {
    .navegacion-interna {
        position: relative;
    }

    .pagina-encabezado {
        min-height: 330px;
        padding: 75px 20px;
    }

    .pagina-encabezado-nosotros {
        min-height: 700px;
        background-position: 58% 38%;
    }
}

@media (max-width: 600px) {
    .pagina-encabezado {
        min-height: 300px;
        padding: 65px 18px;
    }

    .pagina-encabezado h1 {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .pagina-encabezado-nosotros {
        min-height: 650px;
        background-position: 62% 40%;
    }

    .hero-quienes {
        margin-top: 26px;
        padding: 20px;
    }
}
