*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:#fff;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 10%;
    border-bottom:1px solid #1e293b;
}

.logo{
    font-size:2rem;
    font-weight:700;
    color:#38bdf8;
}

.logo i{
    margin-right:10px;
}

.tagline{
    color:#94a3b8;
    font-size:.9rem;
}

nav a{
    text-decoration:none;
    color:white;
    margin-left:25px;
}

nav a:hover{
    color:#38bdf8;
}

.hero{
    min-height:85vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
}

.badge{
    border:1px solid #38bdf8;
    color:#38bdf8;
    padding:10px 20px;
    border-radius:50px;
    margin-bottom:30px;
}

.hero h1{
    font-size:4rem;
    max-width:900px;
    margin-bottom:25px;
}

.hero p{
    max-width:800px;
    line-height:1.8;
    color:#cbd5e1;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    gap:15px;
}

.btn{
    background:#38bdf8;
    color:black;
    padding:15px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

.btn-secondary{
    border:1px solid #38bdf8;
    color:#38bdf8;
    padding:15px 30px;
    border-radius:10px;
    text-decoration:none;
}

.services,
.benefits,
.contact{
    padding:90px 10%;
}

.services h2,
.benefits h2,
.contact h2{
    text-align:center;
    margin-bottom:50px;
}

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

.card{
    background:#1e293b;
    padding:30px;
    border-radius:20px;
    transition:.3s;
}

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

.service-icon{
    font-size:2.5rem;
    color:#38bdf8;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#cbd5e1;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    text-align:center;
}

.benefits-grid p{
    color:#cbd5e1;
    margin-top:10px;
}

.contact{
    text-align:center;
}

.contact p{
    margin-bottom:30px;
    color:#cbd5e1;
}

footer{
    border-top:1px solid #1e293b;
    text-align:center;
    padding:40px;
}

footer p{
    color:#94a3b8;
    margin:10px 0;
}

small{
    color:#64748b;
}

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:20px;
    }

    nav{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero-buttons{
        flex-direction:column;
    }


}


.modal{
    display:none;
    position:fixed;
    z-index:1000;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);

    justify-content:center;
    align-items:center;
}

.modal-content{
    background:#1e293b;
    padding:30px;
    border-radius:20px;
    width:90%;
    max-width:600px;
    position:relative;
}

.cerrar{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    cursor:pointer;
}

.modal-content h2{
    margin-bottom:20px;
}

.modal-content form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

