/* Importar Calibri si la tenés localmente */
@font-face {
    font-family: 'Calibri';
    src: url('fonts/calibri.ttf') format('truetype'); /* Ajustá la ruta según tu carpeta */
    font-weight: normal;
    font-style: normal;
}

:root {
    --|negro: #000000;
    --azul-oscuro: #002347;
    --azul-claro: #005bb5;
    --naranja: #ff8c00;
    --naranja-claro: #ffa500;
    --blanco: #ffffff;
}

* {
    margin: 1;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Calibri', 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
}

.navbar {
    background: linear-gradient(90deg, #003366, #ff8c00);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    color: var(--blanco);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.escudito img {
    height: 50px;
    width: auto;
}

/* --- MENU DESKTOP --- */
#check {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 20px 15px;
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--naranja);
}

/* Submenús Desktop */
.submenu {
    display: none;
    position: absolute;
    background: var(--azul-claro);
    list-style: none;
    min-width: 200px;
    top: 100%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.submenu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown:hover > .submenu {
    display: block;
}

/* --- BOTÓN HAMBURGUESA --- */
.checkbtn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.checkbtn span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    margin-bottom: 5px;
    transition: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .checkbtn {
        display: block;
    }

    .nav-links {
        position: fixed;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--azul-oscuro);
        top: 80px;
        left: -100%;
        flex-direction: column;
        transition: all 0.5s;
        overflow-y: auto; /* Permite scroll si hay muchos links */
        padding-bottom: 50px;
    }

    #check:checked ~ nav .nav-links {
        left: 0;
    }

    /* Animación hamburguesa a "X" */
    #check:checked ~ .checkbtn .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    #check:checked ~ .checkbtn .line2 { opacity: 0; }
    #check:checked ~ .checkbtn .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        font-size: 18px;
        padding: 20px;
    }

    /* Submenús en Mobile: se muestran siempre o al tocar */
    .submenu {
        position: static;
        display: none; /* Se puede alternar con JS, o dejar block */
        background: #001a33;
        width: 100%;
        box-shadow: none;
    }

    /* Mostrar submenú al hacer click en el padre (en mobile) */
    .dropdown:hover .submenu {
        display: block;
    }
}


/* ------ introducción ------ */

.intro p{
    text-align: justify;    

}
.intro{
    text-align: center;
}

.escudo{
    margin-top: 20px;
    filter: drop-shadow(8px 8px 5px #0510a1);
}
.intro h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff8c00;
}

.intro p {
    font-size: 1.1em;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    margin: 45px;
    margin-bottom: 20px;
    color: #003366;
}

/* imagen somos */

.somos_img img {
    width: 40%;
    text-align: center;
    align-items: center;
}


/* ------ contacto ------ */

/* --- Estilos para centrar el Formulario --- */

.contenedor-contacto {
    max-width: 600px;      /* Ancho máximo del formulario */
    margin: 40px auto;     /* Centra horizontalmente y da espacio arriba/abajo */
    padding: 30px;
    background-color: var(--blanco);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra suave */
    text-align: center;    /* Centra el texto del título y párrafo */
}

.contenedor-contacto h2 {
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

.grupo {
    text-align: left;      /* Alinea las etiquetas e inputs a la izquierda */
    margin-bottom: 15px;
}

.grupo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--azul-oscuro);
}

.grupo input, 
.grupo select, 
.grupo textarea {
    width: 100%;           /* Ocupa todo el ancho del contenedor */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Evita que el padding ensanche el input */
}

.btn-enviar {
    background-color: var(--naranja);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;           /* Botón ancho completo */
}

.btn-enviar:hover {
    background-color: var(--azul-oscuro);
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    .contenedor-contacto {
        margin: 20px;      /* Menos margen en pantallas chicas */
        padding: 20px;
    }
}


/* Footer */
footer {
    background: linear-gradient(115deg, #001a33, #438dd6);
    color: white;
    padding: 30px;
    text-align: center;
    border-top: 5px solid #ff8c00;
}