/* =============================== */
/*   RESET BÁSICO Y TIPOGRAFÍA    */
/* =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* =============================== */
/*   TIPOGRAFÍAS CONSISTENTES     */
/* =============================== */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #222;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =============================== */
/*          head paginas.          */
/* =============================== */

    .head {
        width: 100%;
        height: 40vh; /* 40% del alto de la pantalla */
        background: url('img/head.webp') center/cover no-repeat;
        display: flex;
        align-items: center;
        top: 120px;
        justify-content: center;
        position: relative;
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    .head h1 {
        color: #fff;
        position: relative;
        z-index: 1; /* Para que el texto esté por encima del difuminado */
    }
    
        

    /* Responsivo */
    @media screen and (max-width: 768px) {
        .head {
            font-size: 1.5rem;
            height: 25vh; /* Ajusta el alto en móviles */
        }
    }

/* =============================== */
/*      CONTENEDOR PRINCIPAL      */
/* =============================== */
main {
    flex: 1;
}

/* =============================== */
/* BANNER PRINCIPAL (fuera módulo) */
/* =============================== */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.banner-image:first-child {
    display: block;
}

/* Logo centrado sobre el banner */
.logo-container {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.5s ease-in-out;
}

/* =============================== */
/*        VARIABLES OPCIONALES    */
/* =============================== */
:root {
    --color-principal: #f28a19;
    --color-texto: #575756;
    --color-fondo: #ffffff;
    --max-width: 1200px;
}

/* =============================== */
/*     RESPONSIVE GENERAL         */
/* =============================== */
@media (max-width: 768px) {
    /* Podés dejar vacío o mantener reglas globales si las hubiera */
}