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

body{

font-family:Arial, Helvetica, sans-serif;

background:white;

color:#333;

}

header{
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}
.team .container{
    display:flex;
    flex-direction:column;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:20px 0;
}

.logo img{

height:70px;

}

nav{

display:flex;

gap:35px;

}

nav a{

text-decoration:none;

color:#233D7B;

font-weight:bold;

transition:.3s;

}

nav a:hover{

color:#0f62fe;

}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:120px 20px 60px;
    background:#F8FAFC;
}

.hero-text{

max-width:700px;

}

.hero h1{

font-size:60px;

color:#233D7B;

margin-bottom:25px;

line-height:1.2;

}

.hero p{

font-size:22px;

line-height:1.7;

margin-bottom:40px;

}

.btn{

background:#233D7B;

color:white;

padding:18px 35px;

text-decoration:none;

border-radius:8px;

font-weight:bold;

transition:.3s;

}

.btn:hover{

background:#1B2F61;

}
.hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    width:100%;
}

.hero-left{
    flex:1;
}

.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-badge{
    display:inline-block;
    background:#E8EEF9;
    color:#233D7B;
    padding:8px 16px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:20px;
}

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

.btn-outline{
    padding:18px 35px;
    border:2px solid #233D7B;
    border-radius:8px;
    text-decoration:none;
    color:#233D7B;
    font-weight:bold;
    transition:.3s;
}

.btn-outline:hover{
    background:#233D7B;
    color:white;
}

.hero-card{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    max-width:360px;
}

.hero-card h3{
    color:#233D7B;
    margin-bottom:20px;
}

.hero-card ul{
    list-style:none;
    line-height:2;
}

/* ===========================
   QUIÉNES SOMOS
=========================== */

.about{

    padding:100px 0;

    background:#fff;

}

.about .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

}

.about-text{

    flex:1;

}

.section-tag{

    color:#233D7B;

    font-weight:bold;

    letter-spacing:2px;

}

.about h2{

    font-size:42px;

    margin:20px 0;

    color:#233D7B;

}

.about p{

    font-size:18px;

    line-height:1.8;

    margin-bottom:20px;

}

.about-card{

    width:360px;

    background:#f8f9fc;

    padding:35px;

    border-radius:20px;

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

}

.about-card h3{

    color:#233D7B;

    margin-bottom:20px;

}

.about-card ul{

    list-style:none;

}

.about-card li{

    margin-bottom:15px;

    font-size:17px;

}
/* ===== SERVICIOS ===== */

.services{
    padding:20px 0 80px;
    background:#f8fafc;
}

.services h2{
    text-align:center;
    font-size:42px;
    color:#223f83;
    margin-bottom:60px;
}

.services .container{
    display:flex;
    align-items:center;
    gap:60px;
}

.services-header{
    flex:1;
}

.services-header h2{
    font-size:56px;
    color:#233D7B;
    line-height:1.1;
    margin-bottom:25px;
}
.services-header h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#233D7B;
    border-radius:10px;
    margin-top:18px;
}

.services-header p{
    font-size:22px;
    color:#555;
    line-height:1.7;
}

.services-grid{
    flex:2;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.service-card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .35s ease;
    cursor:pointer;
    border-top:4px solid transparent;
    transition: all .35s ease;
cursor: pointer;
}
.service-icon{
    font-size:32px;
    color:#233D7B;
    margin-bottom:18px;
    display:block;
}
.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
    border-top:4px solid #233D7B;
}

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

.service-card h3{
    color:#223f83;
    margin-bottom:15px;
    font-size:24px;
}

.service-card p{
    color:#555;
    line-height:1.7;
}
/* ===== POR QUÉ ELEGIRNOS ===== */

.why-us{
    padding:100px 0;
    background:#f8f9fc;
}

.section-header{
    max-width:750px;
    margin:0 auto 60px;
    text-align:center;
}

.section-header h2{
    font-size:42px;
    color:#233D7B;
    margin:20px 0;
}

.section-header p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.why-card{
    background:#fff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.why-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.why-icon{
    font-size:42px;
    color:#233D7B;
    margin-bottom:20px;
}

.why-card h3{
    margin-bottom:15px;
    color:#233D7B;
}

.why-card p{
    line-height:1.8;
    color:#555;
}
/* ===== EQUIPO ===== */

.team{
    padding:80px 0 160px;
    background:#ffffff;
}

.team-header{
    text-align:center;
    max-width:800px;
    margin:0 auto 70px;
}

.team-header h2{
    font-size:48px;
    color:#233D7B;
    margin:20px 0;
}

.team-header p{
    font-size:20px;
    color:#666;
    line-height:1.8;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.team-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
    transition:.35s;
}

.team-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(35,61,123,.15);
}

.team-card img{
    width:100%;
    height:340px;
    object-fit:cover;
}

.team-card h3{
    color:#233D7B;
    margin:25px 0 10px;
    font-size:28px;
}

.team-card span{
    display:block;
    margin-bottom:30px;
    color:#666;
    font-size:18px;
}
/* ================= CONTACTO ================= */

.contact{
    padding:60px 0;
    background:#f8f9fc;
}

.contact .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.contact-info{
    flex:1;
}

.contact-info h2{
    font-size:48px;
    color:#233d7b;
    margin:15px 0 25px;
}

.contact-info p{
    font-size:18px;
    line-height:1.8;
    color:#555;
}

.contact-card{
    flex:1;
    background:#fff;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}
.contact-details{
    margin-top:35px;
    padding-top:25px;
    border-top:1px solid #e5e5e5;
}
.contact-item{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
    font-size:18px;
    color:#444;
}

.contact-item i{
    color:#233d7b;
    font-size:22px;
    width:25px;
}

.btn-contact{
    display:inline-block;
    margin-top:20px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.btn-contact:hover{
    background:#1fa851;
    transform:translateY(-3px);
}
/*======================
        FOOTER
=======================*/

.footer{

    background:#233D7B;

    color:#fff;

    padding:60px 0 20px;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-logo img{

    width:120px;

    margin-bottom:20px;

}

.footer-logo p{

    color:#d6def3;

    line-height:1.8;

}

.footer h4{

    margin-bottom:20px;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer-links a{

    color:#d6def3;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:white;

    padding-left:6px;

}

.footer-contact p{

    color:#d6def3;

    margin-bottom:12px;

}

.footer-bottom{

    margin-top:40px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

    padding-top:20px;

    color:#d6def3;

    font-size:14px;

}
.footer-contact p{
    display:flex;
    align-items:center;
    gap:10px;
}
/*=========================
      RESPONSIVE
==========================*/

@media (max-width:768px){
    
    .logo img{
    height:50px;
}nav{
    gap:10px;
}

nav a{
    font-size:15px;
}
    .team-grid{
    grid-template-columns:1fr;
}

    .container{
        width:95%;
    }

    header .container{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        padding:120px 20px 60px;
        height:auto;
    }

    .hero-content{
        flex-direction:column;
        text-align:center;
    }

    .hero-card{
        max-width:100%;
    }

    .about .container,
    .contact .container{
        flex-direction:column;
        text-align:center;
    }

    .services .container{
        flex-direction:column;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

    .team-grid{
        grid-template-columns:1fr;
    }

    .team-card img{
        height:auto;
    }

    .contact-card{
        width:100%;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    h1{
        font-size:38px;
    }

    h2{
        font-size:32px;
    }

    p{
        font-size:16px;
    }

}
.contact-card form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-card input,
.contact-card textarea{

    width:100%;

    padding:15px;

    font-size:16px;

    border-radius:10px;

    border:1px solid #d9d9d9;

    border:1px solid #d9d9d9;
    border-radius:10px;

    font-size:16px;

    font-family:inherit;

    transition:.3s;
}

.contact-card input:focus,
.contact-card textarea:focus{

    outline:none;

    border-color:#233D7B;

    box-shadow:0 0 0 3px rgba(35,61,123,.12);
}

.contact-card textarea{
    resize:vertical;
    min-height:160px;
}

.contact-card button{
    align-self:flex-start;
}
.contact-card{
    flex:1;
    min-width:420px;
}

.contact-card form{
    width:100%;
}