/* ===========================
   SERCOIN V4
   Hoja de estilos principal
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

header{
    background:#1b1b1b;
    color:#fff;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.25);
}

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    height:70px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#00b7ff;
}



.hero{
    min-height:30vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
    color:#fff;

    background:
    linear-gradient(rgba(0,0,0,.60),rgba(0,0,0,.60)),
    url("../img/hero.jpg");

    background-size:cover;
    background-position:center;
}

.logo{
    width:180px;
    margin-bottom:25px;
}

.hero h1{
    font-size:3rem;
    margin-bottom:20px;
}

.hero p{
    max-width:750px;
    margin:auto;
    font-size:1.2rem;
    line-height:1.7;
}

.botones{
    margin-top:35px;
}

.btn,
.btn-whatsapp{

    display:inline-block;

    padding:15px 35px;

    margin:10px;

    border-radius:6px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;
}

.btn{
    background:#0057A8;
    color:white;
}

.btn-whatsapp{
    background:#25D366;
    color:white;
}

.btn:hover,
.btn-whatsapp:hover{
    transform:translateY(-3px);
}




.nosotros{

    padding:90px 8%;

    background:#f7f7f7;

}

.contenedor{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:50px;

    flex-wrap:wrap;

}

.texto{

    flex:1;

    min-width:320px;

}

.texto h2{

    color:#0057A8;

    font-size:2.2rem;

    margin-bottom:25px;

}

.texto p{

    margin-bottom:18px;

    line-height:1.8;

    color:#444;

}

.texto ul{

    margin-top:25px;

}

.texto li{

    list-style:none;

    margin-bottom:12px;

    font-weight:600;

}

.imagen{

    flex:1;

    text-align:center;

}

.imagen img{

    width:100%;

    max-width:520px;

    border-radius:12px;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}





.servicios{

    padding:90px 8%;

    background:#ffffff;

}

.titulo-seccion{

    text-align:center;

    margin-bottom:60px;

}

.titulo-seccion h2{

    color:#0057A8;

    font-size:2.3rem;

    margin-bottom:15px;

}

.titulo-seccion p{

    color:#666;

    max-width:760px;

    margin:auto;

    line-height:1.8;

}

.grid-servicios{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

    background:#fff;

    padding:35px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    text-align:center;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.icono{

    font-size:3rem;

    margin-bottom:20px;

}

.card h3{

    color:#0057A8;

    margin-bottom:15px;

}

.card p{

    color:#555;

    line-height:1.7;

}




.sectores{

    padding:90px 8%;

    background:#f7f9fc;

}

.grid-sectores{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

    margin:40px 0 70px;

}

.sector{

    background:#0057A8;

    color:#fff;

    padding:12px 22px;

    border-radius:25px;

    font-weight:600;

    transition:.3s;

}

.sector:hover{

    background:#003f7d;

    transform:scale(1.05);

}

.estadisticas{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

    gap:30px;

    text-align:center;

}

.stat{

    background:#fff;

    padding:30px;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.stat h3{

    font-size:2.5rem;

    color:#0057A8;

    margin-bottom:10px;

}

.stat p{

    color:#555;

    font-weight:500;

}




.contacto{

    padding:90px 8%;

    background:#ffffff;

}

.contacto-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:40px;

    margin-top:40px;

}

.formulario{

    background:#f7f7f7;

    padding:30px;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.formulario input,
.formulario textarea{

    width:100%;

    margin-bottom:15px;

    padding:12px;

    border:1px solid #ccc;

    border-radius:6px;

    font-size:1rem;

}

.formulario button{

    width:100%;

    padding:15px;

    background:#0057A8;

    color:white;

    border:none;

    border-radius:6px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;
}

.formulario button:hover{

    background:#003f7d;

}

.info-contacto{

    padding:20px;

}

.info-contacto h3{

    color:#0057A8;

    margin-bottom:20px;

}

.info-contacto p{

    margin-bottom:12px;

    color:#444;

}

.whatsapp-float{

    position:fixed;

    bottom:25px;

    right:25px;

    background:#25D366;

    color:white;

    font-size:28px;

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 10px 20px rgba(0,0,0,.25);

    text-decoration:none;

}





section{
    width:90%;
    max-width:1200px;
    margin:70px auto;
}

section h2{
    text-align:center;
    color:#003366;
    margin-bottom:30px;
    font-size:2rem;
}

.tarjetas{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.tarjeta{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-8px);
}

.tarjeta h3{
    color:#005fa3;
    margin-bottom:15px;
}

#contacto{
    text-align:center;
}

footer{
    background:#1b1b1b;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:60px;
}

@media(max-width:768px){

.contenedor{
    flex-direction:column;
}

nav{
    margin-top:15px;
}

nav a{
    display:block;
    margin:12px 0;
}

.hero h1{
    font-size:2.1rem;
}

.hero{
    padding:80px 20px;
}

.logo{
    height:55px;
}

}