/* RESET */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, sans-serif;
    background: #fff;
    color: #1c1c1c;
}

/* NAVBAR */

.navbar{
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 45px 110px;

    background: white;

    border-bottom: 2px solid #0066b3;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;
}

.logo img{
    width: 380px;
}

nav ul{
    display: flex;
    gap: 40px;

    list-style: none;
}

nav a{
    text-decoration: none;
    color: #1c1c1c;

    font-weight: bold;

    transition: 0.3s;
}

nav a:hover{
    color: #0066b3;
}

/* HERO */

.hero{
    position: relative;

    width: 100%;
    height: 100vh;

    overflow: hidden;
}

/* SLIDER */

.slider{
    width: 100%;
    height: 100%;

    position: absolute;
}

.slide{
    position: absolute;

    width: 100%;
    height: 100%;

    opacity: 0;

    transition: opacity 1.5s ease-in-out;
}

.slide.active{
    opacity: 1;
}

.slide img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* FILTRO OSCURO */

.overlay{
    position: absolute;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.55);

    z-index: 1;
}

/* CONTENIDO HERO */

.hero-content{
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 20px;
}

.hero h1{
    font-size: 78px;

    max-width: 1100px;

    line-height: 1.05;

    margin-bottom: 30px;

    font-weight: 800;
}

.hero p{
    font-size: 28px;

    color: #e0e0e0;

    margin-bottom: 40px;
}

/* BOTÓN */

.btn{
    background: #0066b3;

    color: white;

    text-decoration: none;

    padding: 18px 42px;

    border-radius: 10px;

    font-size: 18px;

    font-weight: bold;

    transition: 0.3s;
}

.btn:hover{
    background: #004b82;

    transform: scale(1.05);
}

/* SERVICIOS */

.servicios{
    padding: 120px 20px;

    background: #f5f5f5;
}

.servicios h2{
    text-align: center;

    font-size: 50px;

    color: #0066b3;

    margin-bottom: 70px;
}

.servicios-container{
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 35px;
}

.servicio-card{
    background: white;

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.servicio-card:hover{
    transform: translateY(-10px);
}

.servicio-card h3{
    color: #0066b3;

    margin-bottom: 20px;

    font-size: 28px;
}

.servicio-card p{
    color: #555;

    line-height: 1.7;

    margin-bottom: 20px;
}

.servicio-card ul{
    padding-left: 20px;
}

.servicio-card li{
    margin-bottom: 12px;

    line-height: 1.6;
}

/* NOSOTROS */

.nosotros{
    padding: 120px 20px;

    background: white;
}

.nosotros-container{
    max-width: 1200px;

    margin: auto;
}

.nosotros h2{
    text-align: center;

    font-size: 50px;

    color: #0066b3;

    margin-bottom: 40px;
}

.nosotros p{
    font-size: 20px;

    line-height: 1.9;

    color: #444;

    margin-bottom: 25px;
}

.mision-vision{
    display: flex;

    gap: 30px;

    margin-top: 50px;

    flex-wrap: wrap;
}

.card{
    flex: 1;

    background: #f5f5f5;

    padding: 35px;

    border-radius: 18px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card h3{
    color: #0066b3;

    font-size: 30px;

    margin-bottom: 20px;
}

/* CONTACTO */

.contacto{
    padding: 120px 20px;

    background: #f5f5f5;

    text-align: center;
}

.contacto h2{
    font-size: 50px;

    color: #0066b3;

    margin-bottom: 50px;
}

.contacto-item{
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

    font-size: 24px;
}

.contacto-item a{
    text-decoration: none;

    color: #1c1c1c;

    transition: 0.3s;
}

.contacto-item a:hover{
    color: #0066b3;
}

/* RESPONSIVE */

@media(max-width: 900px){

    .hero h1{
        font-size: 50px;
    }

    .hero p{
        font-size: 20px;
    }

    .navbar{
        padding: 15px 20px;
    }

    nav ul{
        gap: 20px;
    }

}
/* ========================= */
/* MAPA */
/* ========================= */

.mapa-container{
    max-width: 1000px;

    margin: 60px auto 0 auto;

    background: white;

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mapa-container h3{
    color: #0066b3;

    font-size: 32px;

    margin-bottom: 15px;
}

.mapa-container p{
    margin-bottom: 25px;

    font-size: 18px;

    color: #555;
}

.mapa-container iframe{
    border-radius: 15px;
}