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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', Arial, sans-serif;
    color:#333;
    background:#fff;
}

/* HEADER */

header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
    z-index:100;
}

.logo{
    color:white;
    font-size:2rem;
    font-weight:bold;
    letter-spacing:2px;
}

.menu a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:#00BFFF;
}

/* HERO */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    display:none;
}

.slide.active{
    display:block;
    animation:fadein 1s;
}

@keyframes fadein{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

.overlay{
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);

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

    text-align:center;
    color:white;
    padding:20px;
}

.overlay h1{
    font-size:4rem;
    margin-bottom:20px;
}

.overlay p{
    max-width:800px;
    font-size:1.4rem;
    line-height:1.6;
}

.btn{
    display:inline-block;
    margin-top:30px;
    padding:15px 35px;

    background:#007BFF;
    color:white;

    text-decoration:none;
    border-radius:8px;

    transition:.3s;
}

.btn:hover{
    background:#0056b3;
}

/* INDICADORES */

.indicators{
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.indicators span{
    width:40px;
    height:4px;
    background:white;
    opacity:.4;
}

.indicators span.active{
    opacity:1;
}

/* SERVICIOS */

.services{
    background:#f5f7fa;
    padding:80px 10%;
}

.services h2{
    text-align:center;
    margin-bottom:50px;
    color:#0A2540;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:12px;
    padding:30px;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:15px;
    color:#0A2540;
}

/* CONTACTO */

.contact{
    background:#0A2540;
    color:white;
    text-align:center;
    padding:80px 20px;
}

.contact h2{
    margin-bottom:20px;
}

.contact p{
    margin:10px 0;
}

/* BOTÓN WHATSAPP */

.whatsapp{
    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    border-radius:50%;

    background:#25D366;

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

    color:white;
    text-decoration:none;
    font-size:30px;

    box-shadow:0 0 15px rgba(0,0,0,.25);

    z-index:999;
}

/* RESPONSIVE */

@media(max-width:768px){

    header{
        padding:15px 20px;
    }

    .logo{
        font-size:1.5rem;
    }

    .menu a{
        margin-left:10px;
        font-size:.9rem;
    }

    .overlay h1{
        font-size:2.2rem;
    }

    .overlay p{
        font-size:1rem;
    }

    .services{
        padding:50px 20px;
    }

}
