@charset "UTF-8";
/* CSS Document */

/* ==========================================
   VARIABLES
========================================== */

:root {
    --azul: #125794;
    --gris-texto: #444444;
    --blanco: #ffffff;
    --gris-fondo: #f5f5f5;
    --ancho-contenido: 1200px;
}


/* ==========================================
   RESET
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gris-texto);
    background-color: var(--blanco);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    text-align: center;
}

a {
    text-decoration: none;
}


/* ==========================================
   CONTENEDOR
========================================== */

.contenedor {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================
   HEADER
========================================== */

.header {
    width: 100%;
    height: 130px;
    background-color: #125794;
}

.header-contenido {
    width: min(1400px, calc(100% - 50px));
    height: 100%;
    margin: 0 auto;

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


/* LOGOTIPO */

.logo-link {
    display: block;
    max-height: 90px;
}

.logo-link img {
    width: auto;
    max-width: 260px;
    max-height: 90px;
    object-fit: contain;
}


/* ICONOS */

.menu-iconos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-iconos a {
    width: 40px;
    height: 40px;

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

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

.menu-iconos a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.menu-iconos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* ==========================================
   VIDEO PRINCIPAL
========================================== */

.video-principal {
    width: 100%;
    height: 900px;
    overflow: hidden;
    background-color: #000;
}

.video-hero {
    display: block;
    width: 100%;
    height: 900px;
    object-fit: cover;
}


/* ==========================================
   BOTONES CON IMÁGENES
========================================== */

.botones-imagenes {
    padding: 60px 0;
    background-color: var(--gris-fondo);
}

.grid-botones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.boton-imagen {
    display: block;
    overflow: hidden;
    border-radius: 4px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);

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

.boton-imagen:hover {
    transform: translateY(-6px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.20);
}

.boton-imagen img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.boton-imagen:hover img {
    transform: scale(1.05);
}


/* ==========================================
   TIPOGRAFÍA
========================================== */

.contenido-texto {
    padding: 80px 0;
    background-color: #ffffff;
}

.cuerpo-texto {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 30px;
}

h1 {
    color: #ac5618;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 30px;
}

h2 {
    color: #;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 25px;
}

h3 {
    color: var(--azul);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.4;
    font-weight: 600;
    margin: 40px 0 20px;
}


/* TESTIMONIOS */

.testimonio {
    margin: 35px 0;
    padding: 30px 35px;

    border-left: 5px solid var(--azul);

    background-color: #f5f5f5;

    color: #444444;

    font-size: 21px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.7;
}


/* PIE DE TEXTO */

.pie-texto {
    margin-top: 20px;

    font-size: 13px;
    line-height: 1.5;

    color: #777777;
}


/* ==========================================
   VIDEOS VIMEO
========================================== */

.videos-vimeo {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.grid-vimeo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.vimeo-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;

    background-color: #000;

    overflow: hidden;
}

.vimeo-wrapper iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================
   PARTICIPACIÓN
========================================== */

.participa {
    padding: 90px 0;
    text-align: center;
    background-color: #ffffff;
}

.participa-contenido {
    max-width: 850px;
}

.participa h2 {
    margin-bottom: 25px;
}

.boton-correo {
    display: inline-block;

    margin-top: 20px;
    padding: 14px 35px;

    background-color: var(--azul);
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    border-radius: 4px;

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

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


/* ==========================================
   VISOR DE IMAGEN
========================================== */

.visor-imagen {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.visor {
    display: flex;

    width: 100%;
    min-height: 500px;

    background-color: #222;

    overflow: hidden;
}


/* ÁREA DE IMAGEN */

.imagen-contenedor {
    position: relative;

    flex: 1;

    min-width: 0;
    min-height: 500px;

    overflow: hidden;

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

.imagen-contenedor img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transform: scale(1);
    transform-origin: center center;

    transition: transform 0.15s ease;
}


/* CONTROL */

.control-zoom {
    width: 70px;

    display: flex;
    flex-direction: column;

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

    background-color: #ffffff;
}

.control-zoom label {
    margin-bottom: 20px;

    color: #444444;

    font-size: 13px;
    font-weight: 600;

    writing-mode: vertical-rl;
    transform: rotate(180deg);
}


/* SLIDER VERTICAL */

#zoom {
    width: 220px;
    height: 30px;

    transform: rotate(-90deg);

    cursor: pointer;

    accent-color: var(--azul);
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    width: 100%;

    padding: 25px 0;

    background-color: #125794;

    color: #ffffff;

    text-align: center;
}

.footer p {
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.5;
}


/* ==========================================
   TABLETS
========================================== */

@media (max-width: 900px) {

    .header {
        height: 110px;
    }

    .logo-link img {
        max-width: 210px;
        max-height: 75px;
    }

    .menu-iconos {
        gap: 10px;
    }

    .video-principal,
    .video-hero {
        height: 500px;
    }

    .grid-botones {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .visor {
        min-height: 450px;
    }

    .imagen-contenedor {
        min-height: 450px;
    }
}


/* ==========================================
   MÓVILES
========================================== */

@media (max-width: 600px) {

    .contenedor {
        width: min(100% - 30px, 1200px);
    }


    /* HEADER */

    .header {
        height: auto;
        min-height: 100px;
        padding: 15px 0;
    }

    .header-contenido {
        width: calc(100% - 30px);

        flex-direction: column;
        justify-content: center;

        gap: 15px;
    }

    .logo-link img {
        max-width: 180px;
        max-height: 55px;
    }

    .menu-iconos {
        gap: 8px;
    }

    .menu-iconos a,
    .menu-iconos img {
        width: 34px;
        height: 34px;
    }


    /* VIDEO */

    .video-principal {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .video-hero {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    /* BOTONES */

    .botones-imagenes {
        padding: 40px 0;
    }

    .grid-botones {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }


    /* TEXTO */

    .contenido-texto {
        padding: 55px 0;
    }

    .cuerpo-texto {
        font-size: 16px;
    }

    .testimonio {
        padding: 20px;

        font-size: 17px;
    }


    /* VIDEOS */

    .videos-vimeo {
        padding: 55px 0;
    }

    .grid-vimeo {
        gap: 20px;
    }


    /* PARTICIPACIÓN */

    .participa {
        padding: 60px 0;
    }


    /* VISOR */

    .visor-imagen {
        padding: 55px 0;
    }

    .visor {
        min-height: 350px;
    }

    .imagen-contenedor {
        min-height: 350px;
    }

    .control-zoom {
        width: 55px;
    }


    /* FOOTER */

    .footer {
        padding: 20px 15px;
    }

    .footer p {
        font-size: 12px;
    }
}


/* ==========================================
   MÓVILES MUY PEQUEÑOS
========================================== */

@media (max-width: 380px) {

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

    .menu-iconos a,
    .menu-iconos img {
        width: 30px;
        height: 30px;
    }

    .visor {
        min-height: 280px;
    }

    .imagen-contenedor {
        min-height: 280px;
    }

    .control-zoom {
        width: 48px;
    }
	
	
/* ==========================================
   RESET PARA EVITAR ESPACIOS LATERALES
========================================== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}


/* ==========================================
   IMAGEN 100% DEL ANCHO DE LA PANTALLA
========================================== */

.imagen-full {
    width: 100%;
    min-height: 900px;

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

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.imagen-full img {
    display: block;

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

    object-fit: contain;
}
}
