*{

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


body{

    background-image: url(../img/fondo.png);
    font-family: 'Century Gothic';
    background-size: cover;

}

/* ======================================================
   HEADER
   ====================================================== */

header{
    
    background-color: rgb(22, 32, 66);
    margin-right: 35px;
    margin-left: 35px;
    min-height: 100px;
    padding: 15px 30px;
    border-radius: 20px 20px 0 0;

    display: flex;
    align-items: center;
    
}

.head-logo{
    flex-shrink: 0;
}

.head-logo a{
    display: block;
}

.head-logo img{
    width: 85px;
    height: 85px;

    display: block;
    object-fit: cover;

    border-radius: 50%;
}

.nv{
    flex: 1;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.menu li{
    margin: 0;
}

.menu a{
    display: block;

    padding: 10px 5px;

    color: white;

    font-size: 16px;
    text-align: center;
    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.menu a:hover{
    color: #a9c4ff;
    transform: translateY(-2px);
}

.perfil{
    flex-shrink: 0;
}

.perfil-enlace{
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid white;
    border-radius: 50%;

    color: white;
    font-size: 23px;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.perfil-enlace:hover{
    background-color: white;
    color: #172345;
    transform: scale(1.06);
}

/* Oculto en escritorio */

.menu-toggle{
    display: none;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    margin-left: auto;

    border: 2px solid white;
    border-radius: 12px;

    background-color: transparent;
    color: white;

    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 950px){

    .header{
        flex-wrap: wrap;
        gap: 12px;

        min-height: auto;
        padding: 12px 18px;
    }

    .head-logo img{
        width: 68px;
        height: 68px;
    }

    .menu-toggle{
        display: flex;
    }

    .perfil{
        margin-left: 0;
    }

    .perfil-enlace{
        width: 46px;
        height: 46px;
    }

    .nv{
        width: 100%;
        flex-basis: 100%;

        max-height: 0;
        overflow: hidden;

        opacity: 0;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease;
    }

    .nv.activo{
        max-height: 420px;
        opacity: 1;
    }

    .menu{
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding-top: 8px;
    }

    .menu li{
        width: 100%;
    }

    .menu a{
        width: 100%;

        padding: 14px 12px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.16);

        text-align: left;
    }

    .menu li:last-child a{
        border-bottom: none;
    }
}

@media (max-width: 480px){

    .header{
        width: calc(100% - 16px);
        padding: 10px 12px;

        border-radius: 16px 16px 0 0;
    }

    .head-logo img{
        width: 57px;
        height: 57px;
    }

    .menu-toggle,
    .perfil-enlace{
        width: 42px;
        height: 42px;
    }

    .menu-toggle{
        font-size: 19px;
    }

    .perfil-enlace{
        font-size: 19px;
    }

    .menu a{
        padding: 12px 10px;
        font-size: 14px;
    }
}

.conte{

    background-color: rgba(200, 217, 230, 0.918);
    margin-right: 35px;
    margin-left: 35px;
    min-height: 100px;
    padding: 15px 30px;
    
}

.conte h1{
    text-align: center;
    font-size: 30px;
    color: rgb(22, 32, 66);
    margin-bottom: 20px;
}

.inf{

    /*border: 1px solid rgb(27, 41, 102);*/
    margin-right: 40%;
    display: flex;
    text-align: justify;
    font-size: 20px;
    color: rgb(30, 33, 128);

}

.perfil{
    margin-left: 25px;
}

.perfil-enlace{
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 24px;
    text-decoration: none;

    border: 2px solid white;
    border-radius: 50%;

    transition: 0.3s ease;
}

.perfil-enlace:hover{
    color: #172345;
    background-color: white;
    transform: scale(1.08);
}

.boton-chat{
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #172345;
    color: white;

    border-radius: 50%;
    text-decoration: none;
    font-size: 28px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);

    z-index: 1000;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.boton-chat:hover{
    background-color: #2b427a;
    transform: scale(1.1);
}

.notificacion-chat{
    position: absolute;
    top: -3px;
    right: -3px;

    width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #e63946;
    color: white;

    border: 2px solid white;
    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
}

.texto-chat{
    position: absolute;
    right: 78px;

    width: max-content;
    padding: 8px 13px;

    background-color: #172345;
    color: white;

    border-radius: 8px;

    font-size: 14px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

.boton-chat:hover .texto-chat{
    opacity: 1;
    visibility: visible;
}

.chat-burbuja{
    position: fixed;
    right: 28px;
    bottom: 28px;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: #172345;
    color: white;

    font-size: 27px;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    z-index: 1100;

    transition: 0.3s ease;
}

.chat-burbuja:hover{
    transform: scale(1.08);
    background-color: #294077;
}

.chat-ventana{
    position: fixed;
    right: 28px;
    bottom: 105px;

    width: 380px;
    height: 540px;

    display: none;
    flex-direction: column;

    overflow: hidden;

    border-radius: 18px;
    background-color: #f4f8fc;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);

    z-index: 1099;
}

.chat-ventana.activo{
    display: flex;
}

.chat-header{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 18px;

    background-color: #172345;
    color: white;
}

.chat-identidad{
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar{
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: white;
    color: #172345;

    font-size: 21px;
}

.chat-identidad h3{
    margin: 0;
    font-size: 17px;
}

.chat-identidad span{
    font-size: 12px;
    opacity: 0.8;
}

.cerrar-chat{
    border: none;
    background: transparent;
    color: white;

    font-size: 22px;
    cursor: pointer;
}

.chat-mensajes{
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 18px;
    overflow-y: auto;
}

.mensaje{
    max-width: 80%;
    padding: 11px 14px;

    border-radius: 14px;

    font-size: 14px;
    line-height: 1.4;
}

.mensaje.recibido{
    align-self: flex-start;

    background-color: white;
    color: #252525;

    border-bottom-left-radius: 4px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mensaje.enviado{
    align-self: flex-end;

    background-color: #93b4ff;
    color: #10204d;

    border-bottom-right-radius: 4px;
}

.mensaje img{
    width: 100%;
    max-width: 220px;

    display: block;

    border-radius: 10px;
    margin-top: 8px;
}

.chat-herramientas{
    display: flex;
    gap: 10px;

    padding: 8px 15px 0;
}

.chat-opcion{
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: #dce8ff;
    color: #172345;

    font-size: 17px;
    cursor: pointer;

    transition: 0.2s ease;
}

.chat-opcion:hover{
    background-color: #bfd2ff;
}

.chat-formulario{
    display: flex;
    align-items: flex-end;
    gap: 10px;

    padding: 12px 15px 15px;
}

.chat-formulario textarea{
    flex: 1;
    min-height: 45px;
    max-height: 100px;

    resize: none;

    padding: 12px 14px;

    border: 1px solid #ccd5e0;
    border-radius: 14px;

    font-family: inherit;
    font-size: 14px;

    outline: none;
}

.chat-formulario textarea:focus{
    border-color: #6c96ef;
}

.enviar-mensaje{
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: #172345;
    color: white;

    font-size: 18px;
    cursor: pointer;
}

.vista-previa,
.ubicacion-seleccionada{
    display: none;
    align-items: center;
    gap: 10px;

    margin: 8px 15px 0;
    padding: 8px 10px;

    border-radius: 10px;
    background-color: #e8f0ff;
}

.vista-previa.activo,
.ubicacion-seleccionada.activo{
    display: flex;
}

.vista-previa img{
    width: 60px;
    height: 60px;

    object-fit: cover;
    border-radius: 8px;
}

.vista-previa button,
.ubicacion-seleccionada button{
    margin-left: auto;

    border: none;
    background: transparent;

    color: #a00000;
    cursor: pointer;
}

@media (max-width: 480px){

    .chat-ventana{
        right: 10px;
        bottom: 90px;

        width: calc(100% - 20px);
        height: 70vh;
    }

    .chat-burbuja{
        right: 18px;
        bottom: 18px;
    }
}

.pie{

    background-color: rgb(22, 32, 66);
    margin-right: 35px;
    margin-left: 35px;
    min-height: 100px;
    padding: 15px 30px;
    border-radius: 0 0 20px 20px;
    color: #fff;

    display: flex;
    align-items: center;

}

/* ======================================================
   PÁGINA DE UBICACIÓN
   ====================================================== */


.encabezado-ubicacion{
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
}

.subtitulo{
    display: inline-block;
    margin-bottom: 8px;

    color: #315eae;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.encabezado-ubicacion h1{
    margin: 0 0 15px;
    font-size: clamp(35px, 5vw, 52px);
}

.encabezado-ubicacion p,
.informacion-mapa > p,
.informacion-alcance > p{
    color: #4e5e78;
    font-size: 17px;
    line-height: 1.7;
}


/* ======================================================
   CARRUSEL
   ====================================================== */

.seccion-instalaciones{
    margin-bottom: 65px;
}

.titulo-con-controles{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.titulo-con-controles h2{
    margin: 0;
}

.controles-carrusel{
    display: flex;
    gap: 10px;
}

.boton-carrusel{
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background-color: #172345;
    color: white;

    font-size: 17px;
    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.boton-carrusel:hover{
    background-color: #315eae;
    transform: translateY(-2px);
}

.carrusel{
    position: relative;
    overflow: hidden;

    border-radius: 25px;
    background-color: #cbddeb;

    box-shadow: 0 12px 35px rgba(23, 35, 69, 0.18);
}

.carrusel-pista{
    display: flex;

    transition: transform 0.55s ease;
}

.diapositiva{
    position: relative;

    min-width: 100%;
    height: 560px;
}

.diapositiva img{
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.diapositiva::after{
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 21, 52, 0.85),
            transparent 58%
        );
}

.descripcion-imagen{
    position: absolute;
    left: 40px;
    bottom: 50px;

    max-width: 570px;

    color: white;
    z-index: 2;
}

.descripcion-imagen span{
    display: inline-block;

    margin-bottom: 8px;
    padding: 6px 12px;

    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);

    font-size: 13px;
}

.descripcion-imagen h3{
    margin: 0 0 8px;
    font-size: clamp(27px, 4vw, 40px);
}

.descripcion-imagen p{
    margin: 0;
    font-size: 16px;
}

.indicadores-carrusel{
    position: absolute;
    left: 50%;
    bottom: 18px;

    display: flex;
    gap: 8px;

    transform: translateX(-50%);
    z-index: 3;
}

.indicador{
    width: 10px;
    height: 10px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    transition: width 0.25s ease;
}

.indicador.activo{
    width: 28px;

    border-radius: 10px;
    background-color: white;
}


/* ======================================================
   MAPA
   ====================================================== */

.seccion-mapa{
    display: grid;
    grid-template-columns: 40% 60%;

    margin-bottom: 65px;
    overflow: hidden;

    border-radius: 25px;
    background-color: rgba(203, 221, 235, 0.95);

    box-shadow: 0 12px 35px rgba(23, 35, 69, 0.15);
}

.informacion-mapa{
    padding: 45px;
}

.informacion-mapa h2,
.informacion-alcance h2{
    margin: 0 0 15px;
    font-size: 32px;
}

.dato-contacto{
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 21px;
}

.icono-contacto{
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: #172345;
    color: white;
}

.dato-contacto strong,
.dato-contacto span{
    display: block;
}

.dato-contacto strong{
    margin-bottom: 3px;
}

.dato-contacto span{
    color: #4e5e78;
    font-size: 14px;
}

.boton-ubicacion{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 28px;
    padding: 13px 22px;

    border: none;
    border-radius: 12px;

    background-color: #172345;
    color: white;

    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.boton-ubicacion:hover{
    background-color: #315eae;
    transform: translateY(-2px);
}

.mapa{
    min-height: 500px;
}

.mapa iframe{
    width: 100%;
    height: 100%;

    display: block;

    border: none;
}


/* ======================================================
   ALCANCE
   ====================================================== */

.seccion-alcance{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;

    align-items: stretch;
}

.informacion-alcance,
.tarjeta-alcance{
    padding: 42px;

    border-radius: 25px;

    background-color: rgba(203, 221, 235, 0.95);

    box-shadow: 0 12px 35px rgba(23, 35, 69, 0.14);
}

.aviso-alcance{
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin: 25px 0;
    padding: 18px;

    border-left: 5px solid #315eae;
    border-radius: 10px;

    background-color: rgba(255, 255, 255, 0.65);
}

.aviso-alcance i{
    margin-top: 3px;

    color: #315eae;
    font-size: 20px;
}

.aviso-alcance p{
    margin: 0;

    color: #30405e;
    line-height: 1.6;
}

.informacion-alcance h3{
    margin-top: 25px;
}

.requisitos-reporte{
    margin: 18px 0 0;
    padding: 0;

    list-style: none;
}

.requisitos-reporte li{
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 13px;

    color: #30405e;
}

.requisitos-reporte i{
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: #172345;
    color: white;

    font-size: 12px;
}

.tarjeta-alcance{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-color: #172345;
    color: white;
}

.icono-alcance{
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background-color: white;
    color: #172345;

    font-size: 37px;
}

.tarjeta-alcance > span{
    margin-bottom: 8px;

    color: #adc9ff;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.tarjeta-alcance h3{
    margin: 0 0 15px;
    font-size: 28px;
}

.tarjeta-alcance p{
    margin: 0;

    color: #dce8ff;
    line-height: 1.6;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px){

    .seccion-mapa,
    .seccion-alcance{
        grid-template-columns: 1fr;
    }

    .mapa{
        min-height: 420px;
    }

    .diapositiva{
        height: 480px;
    }
}

@media (max-width: 600px){

    .conte{
        width: 92%;
        margin-top: 25px;
    }

    .titulo-con-controles{
        align-items: center;
    }

    .titulo-con-controles h2{
        font-size: 23px;
    }

    .diapositiva{
        height: 390px;
    }

    .descripcion-imagen{
        left: 22px;
        right: 22px;
        bottom: 42px;
    }

    .descripcion-imagen p{
        font-size: 14px;
    }

    .informacion-mapa,
    .informacion-alcance,
    .tarjeta-alcance{
        padding: 28px 22px;
    }

    .mapa{
        min-height: 350px;
    }
}

.solo-admin{
    display: none;
}

.solo-admin.visible{
    display: block;
}