*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f9fc;
    color:#333;
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* NAVBAR */

header{
    background:white;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
    color:#4f46e5;
}

.menu{
    display:flex;
    list-style:none;
    gap:25px;
}

.menu a{
    text-decoration:none;
    color:#444;
    font-weight:500;
    transition:0.3s;
}

.menu a:hover{
    color:#4f46e5;
}

/* HERO */

.hero{
    min-height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:linear-gradient(
        135deg,
        #4f46e5,
        #7c3aed
    );
    color:white;
    padding:20px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:15px;
}

.hero span{
    color:#c4b5fd;
}

.hero p{
    max-width:700px;
    margin:auto;
    font-size:1.2rem;
}

.btn{
    display:inline-block;
    margin-top:30px;
    padding:14px 30px;
    background:white;
    color:#4f46e5;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

/* SECCIONES */

section{
    padding:90px 0;
}

h2{
    text-align:center;
    margin-bottom:40px;
    font-size:2.5rem;
    color:#4f46e5;
}

.about p{
    text-align:center;
    max-width:800px;
    margin:auto;
    font-size:1.1rem;
}

/* CARDS */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
}

.card h3{
    margin-bottom:15px;
    color:#4f46e5;
}

/* CONTACTO */

.contact form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact input,
.contact textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:1rem;
}

.contact button{
    padding:15px;
    border:none;
    border-radius:12px;
    background:#4f46e5;
    color:white;
    font-size:1rem;
    cursor:pointer;
    transition:0.3s;
}

.contact button:hover{
    background:#4338ca;
}

/* FOOTER */

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:20px;
}

/* RESPONSIVE */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero p{
        font-size:1rem;
    }
}