/*==================================================
                ESTILOS GENERALES
==================================================*/

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

html{
    scroll-behavior:smooth;
}


/*==================================================
                    BANNER
==================================================*/

.banner{
    width:100%;
    height:300px;
    overflow:hidden;
}

.banner img{
    width:100%;
    height:300px;
    display:block;
}


/*==================================================
                 MENÚ SUPERIOR
==================================================*/

.menu-superior{
    background-color:#0055aa;
    padding:12px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.links-menu a{
    color:white;
    text-decoration:none;
    margin-right:25px;
    font-weight:bold;
    font-size:15px;
}

.links-menu a:hover{
    color:rgb(32, 32, 31);
}


/*==================================================
                    BUSCADOR
==================================================*/

.buscador{
    display:flex;
    gap:8px;
}

.buscador input{
    width:260px;
    height:35px;
    padding-left:10px;
    border:1px solid #999;
    border-radius:6px;
    font-size:14px;
}

.buscador input:focus{
    border:1px solid #003d7a;
    outline:none;
}

.buscador button{
    height:38px;
    padding:0 18px;
    background-color:#003d7a;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.buscador button:hover{
    background-color:#002b55;
}


/*==================================================
                ESTRUCTURA GENERAL
==================================================*/

.contenedor{
    display:flex;
    width:100%;
    align-items:stretch;
}

.contenido-principal{
    flex:1;
    padding:25px;
    padding-bottom:30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
}


/*==================================================
                    INDEX
==================================================*/

.destacados h2{
    color:#0055aa;
    margin-top:0;
}

.columna-derecha img{
    width:100%;
    margin-bottom:20px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.20);
}


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

.aviso{
    background:white;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.20);
    text-align:center;
}

.aviso img{
    width:100%;
    height:auto;
    display:block;
}

.aviso a{
    display:inline-block;
    background:#0055aa;
    color:white;
    text-decoration:none;
    padding:8px 18px;
    border-radius:5px;
    font-weight:bold;
    margin:10px 0 12px 0;
}


/*==================================================
                    CONTACTO
==================================================*/

.contacto{
    width:100%;
    background:#0055aa;
    color:white;
    display:grid;
    grid-template-columns:330px 780px;
    justify-content:center;
    gap:45px;
    padding:25px 40px;
    box-sizing:border-box;
    align-items:start;
    clear:both;
}

.contacto-info{
    padding-top:5px;
}

.contacto-info h2{
    font-size:28px;
    margin:0 0 22px 0;
}

.contacto-info p{
    font-size:16px;
    line-height:1.4;
    margin:10px 0;
    display:flex;
    align-items:center;
    gap:10px;
}

.dato-contacto{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    margin-bottom:14px;
    white-space:nowrap;
}

.icono-contacto{
    width:24px;
    height:24px;
    display:inline-block;
    flex-shrink:0;
}

.boton-whatsapp-contacto{
    display:inline-block;
    background:#12c44c;
    color:#fff;
    text-decoration:none;
    padding:10px 20px;
    border-radius:6px;
    font-weight:bold;
    margin-top:2px;
    margin-bottom:15px;
}

.boton-whatsapp-contacto:hover{
    background:#099b40;
}

.redes{
    display:flex;
    gap:15px;
    margin-top:0;
}

.redes img{
    width:40px;
    height:40px;
    display:block;
}

.redes img:hover{
    transform:scale(1.10);
}

.texto-redes{
    margin-top:25px;
    margin-bottom:8px;
    font-size:18px;
    font-weight:bold;
}

.contacto-info .texto-redes{
    margin-top:15px !important;
    margin-bottom:8px !important;
    font-size:16px;
    font-weight:bold;
}

.contacto-formulario form{
    width:780px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.contacto-formulario input{
    height:38px;
    padding:0 10px;
    font-size:15px;
    border:none;
    border-radius:5px;
}

.contacto-formulario textarea{
    grid-column:1 / 3;
    height:90px;
    padding:10px;
    font-size:15px;
    border:none;
    border-radius:5px;
    resize:none;
}

.contacto-formulario button{
    grid-column:2;
    justify-self:end;
    background:#ffffff;
    color:#0055aa;
    border:none;
    padding:12px 35px;
    font-size:16px;
    font-weight:bold;
    border-radius:5px;
    cursor:pointer;
}

.contacto-formulario button:hover{
    background:#e6e6e6;
}


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

.footer{
    width:100%;
    background:#0055aa;
    color:#fff;
    display:flex;
    justify-content:space-around;
    align-items:flex-start;
    padding:30px 20px;
    box-sizing:border-box;
}

.footer-columna{
    width:30%;
    text-align:center;
}

.footer-columna h3{
    margin:0 0 15px 0;
    font-size:26px;
}

.footer-columna p{
    margin:8px 0;
    font-size:18px;
    line-height:1.5;
}

.footer-redes{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:15px;
}

.footer-redes a{
    display:inline-block;
}

.footer-redes img{
    width:40px;
    height:40px;
}

footer{
    background-color:#0055aa;
    color:white;
    text-align:center;
    padding:15px;
    margin-top:20px;
}

.copyright{
    width:100%;
    background:#003d7a;
    color:white;
    text-align:center;
    padding:15px;
    font-size:15px;
    box-sizing:border-box;
}

