-/* ===========================
   CONFIGURACIÓN GENERAL
=========================== */

html{

    scroll-behavior:smooth;

}

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

body{
    font-family:Arial, Helvetica, sans-serif;
    color:white;
}

/* ===========================
   HEADER
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 40px;

    background:rgba(11,61,145,.95);

    backdrop-filter:blur(8px);

    z-index:1000;

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

}

.logo{

    display:flex;

    align-items:center;

}

.logo a{

    display:flex;

    align-items:center;

    text-decoration:none;

    gap:14px;

}

.logo img{
    display:block;
    width:230px;
    height:auto;
    max-height:76px;
    object-fit:contain;
}

.logo span{

    font-size:30px;

    font-weight:700;

    color:#ffffff;

    letter-spacing:1px;

}

.logo span strong{

    color:#F57C00;

}

/*=====================================
BOTÓN MÁS INFORMACIÓN
=====================================*/

.servicios-boton{

    text-align:center;

    margin-top:50px;

}

.btn-servicios{

    display:inline-block;

    background:#F57C00;

    color:#ffffff;

    padding:14px 35px;

    border-radius:8px;

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

.btn-servicios:hover{

    background:#d96d00;

    transform:translateY(-3px);

    box-shadow:0 8px 18px rgba(0,0,0,.20);

}

nav a{

    color:white;

    text-decoration:none;

    margin-left:30px;

    font-weight:bold;

    transition:.3s;

}

nav a:hover{

    color:#F57C00;

}

/* ===========================
   HERO
=========================== */

.hero{

    height:100vh;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../assets/images/hero.png");

    background-size:cover;

    background-position:center;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:40px;

}

.hero h2{

    font-size:60px;

    color:#F57C00;

    margin-bottom:20px;

}

.hero h3{

    font-size:40px;

    max-width:900px;

    margin-bottom:25px;

}

.hero p{

    max-width:850px;

    line-height:1.8;

    font-size:20px;

    margin-bottom:40px;

}

.btn-principal{

    background:#F57C00;

    color:white;

    border:none;

    padding:18px 45px;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:all .3s ease;

    box-shadow:0 8px 20px rgba(245,124,0,.35);

}

.btn-principal:hover{

    background:#d66a00;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(245,124,0,.45);

}

/* ===========================
   BENEFICIOS
=========================== */

.beneficios{

    background:#f5f7fa;

    color:#222;

    padding:80px 40px;

    text-align:center;

}

.beneficios h2{

    font-size:38px;

    color:#0B3D91;

    margin-bottom:50px;

}

.cards{

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}

.card{

    background:white;

    width:320px;

    padding:30px;

    border-radius:10px;

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

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    margin-bottom:20px;

    color:#F57C00;

}

.card p{

    line-height:1.7;

}

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

.servicios{

    padding:90px 40px;

    background:white;

    text-align:center;

}

.servicios h2{

    color:#0B3D91;

    font-size:40px;

    margin-bottom:60px;

}

.servicios-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    max-width:1200px;

    margin:auto;

}

.servicio{

    background:white;

    padding:35px;

    border-radius:15px;

    text-align:center;

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

    transition:all .3s ease;

    border-top:5px solid #F57C00;

}

.servicio:hover{

    transform:translateY(-10px) scale(1.03);

    box-shadow:0 20px 40px rgba(0,0,0,.18);

}

.servicio h3{

    color:#F57C00;

    margin-bottom:20px;

}

.servicio p{

    color:#444;

    line-height:1.7;

}

/* ===========================
   BOTONES HERO
=========================== */

.botones{

    display:flex;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

    justify-content:center;

}

.btn-secundario{

    display:inline-block;

    background:transparent;

    color:white;

    border:2px solid white;

    padding:18px 45px;

    border-radius:50px;

    text-decoration:none;

    font-size:18px;

    font-weight:bold;

    transition:all .3s ease;

}

.btn-secundario:hover{

    background:white;

    color:#0B3D91;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(255,255,255,.35);

}

/* ===========================
   NOSOTROS
=========================== */

.nosotros{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    padding:90px 10%;

    background:#f5f7fa;

    color:#222;

    flex-wrap:wrap;

}

.nosotros-texto{

    flex:1;

    min-width:320px;

}

.nosotros-texto h2{

    color:#0B3D91;

    font-size:40px;

    margin-bottom:25px;

}

.nosotros-texto p{

    line-height:1.9;

    margin-bottom:20px;

    font-size:18px;

}

.nosotros-imagen{

    flex:1;

    min-width:320px;

    text-align:center;

}

.nosotros-imagen img{

    width:100%;

    max-width:500px;

    border-radius:15px;

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

}

/* ===========================
   EMPRESAS E INSTITUCIONES
=========================== */

.clientes{

    background:#f5f7fa;

    padding:90px 40px;

    text-align:center;

    color:#222;

}

.clientes h2{

    color:#0B3D91;

    font-size:40px;

    margin-bottom:20px;

}

.clientes-texto{

    max-width:850px;

    margin:0 auto 45px;

    line-height:1.8;

    font-size:18px;

    color:#555;

}

.clientes-grid{

    display:flex;

    justify-content:center;

    align-items:center;

    margin-top:40px;

}

.cliente{

    width:100%;

    max-width:1100px;

}

.cliente img{

    width:100%;

    height:auto;

    display:block;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.12);

    transition:.3s;

}

.cliente img:hover{

    transform:scale(1.02);

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#0B3D91;

    color:white;

    padding-top:60px;

}

.footer-contenedor{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

    padding:0 40px 50px;

}

.footer-columna h3{

    margin-bottom:20px;

    color:#F57C00;

}

.footer-columna p{

    margin-bottom:12px;

    line-height:1.7;

}

.copyright{

    text-align:center;

    padding:20px;

    background:#072d6b;

    font-size:14px;

}

/* ===========================
   WHATSAPP
=========================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    z-index:9999;

}

.whatsapp img{

    width:65px;

    transition:.3s;

}

.whatsapp img:hover{

    transform:scale(1.1);

}

/* ===========================
   BOTÓN VOLVER ARRIBA
=========================== */

.volver-arriba{

    position:fixed;

    bottom:100px;

    right:30px;

    width:45px;

    height:45px;

    background:#0B3D91;

    color:white;

    text-decoration:none;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    font-weight:bold;

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

    transition:.3s;

}

.volver-arriba:hover{

    background:#F57C00;

}

/* ===========================
   DISEÑO RESPONSIVO
=========================== */

@media (max-width: 768px){

    header{

        flex-direction:column;

        padding:15px;

    }

    nav{

        margin-top:15px;

        display:flex;

        flex-wrap:wrap;

        justify-content:center;

        gap:15px;

    }

    nav a{

        margin:0;

    }

    .hero h2{

        font-size:40px;

    }

    .hero h3{

        font-size:28px;

    }

    .hero p{

        font-size:18px;

    }

    .botones{

        flex-direction:column;

        align-items:center;

    }

    .nosotros{

        flex-direction:column;

    }

}



header .logo img:hover{

    transform:scale(1.05);

}

/* ===========================
   MENÚ ACTIVO
=========================== */

nav a.activo{

    color:#F57C00;

    border-bottom:3px solid #F57C00;

    padding-bottom:6px;

}

/* ===========================
   POR QUÉ ELEGIRNOS
=========================== */

.porque{

    padding:80px 10%;

    background:#ffffff;

    color:#222222;

}

.porque h2{

    text-align:center;

    color:#0B3D91;

    margin-bottom:50px;

}

.porque-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.porque-item{

    background:#f8f9fa;

    padding:30px;

    border-radius:12px;

    border-left:5px solid #F57C00;

    color:#222222;

}

.porque-item h3{

    color:#0B3D91;

    margin-bottom:15px;

}

.porque-item p{

    color:#444444;

    line-height:1.7;

}

/* ===========================
   SECTORES
=========================== */

.sectores{

    padding:80px 10%;

    background:#f5f7fa;

    text-align:center;

}

.sectores h2{

    color:#0B3D91;

    margin-bottom:20px;

}

.sectores-intro{

    color:#555;

    margin-bottom:40px;

    line-height:1.7;

}

.sectores-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.sector{

    background:white;

    padding:25px;

    border-radius:12px;

    font-size:18px;

    font-weight:bold;

    color:#333;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/* =====================================
   PÁGINA NOSOTROS
===================================== */

.hero-pagina{

    background: linear-gradient(rgba(11,61,145,.85), rgba(11,61,145,.85)),
                url("../assets/images/hero.jpg") center/cover;

    color:white;

    text-align:center;

    padding:170px 20px 90px;

}

.hero-pagina h1{

    font-size:48px;

    margin-bottom:20px;

}

.hero-pagina p{

    font-size:20px;

    max-width:800px;

    margin:auto;

    line-height:1.8;

}

.nosotros-contenido{

    padding:70px 10%;

}

.contenedor{

    max-width:1100px;

    margin:auto;

}

.nosotros-contenido h2{

    color:#0B3D91;

    font-size:34px;

    margin-bottom:25px;

}

.nosotros-contenido p{

    color:#444;

    font-size:18px;

    line-height:1.9;

    margin-bottom:20px;

    text-align:justify;

}

.nosotros-contenido ul{

    margin-top:25px;

    padding-left:25px;

}

.nosotros-contenido li{

    margin-bottom:15px;

    font-size:18px;

    color:#444;

}

/*=====================================
   CTA NOSOTROS
=====================================*/

.cta-nosotros{

    background:#0B3D91;

    color:white;

    text-align:center;

    padding:80px 10%;

}

.cta-nosotros h2{

    color:white;

    margin-bottom:20px;

}

.cta-nosotros p{

    max-width:850px;

    margin:0 auto 35px;

    line-height:1.8;

    color:white;

}

/*=====================================
  CONTACTO
=====================================*/

.contacto-info{

    padding:80px 10%;

    background:#ffffff;

    color:#333333;

}

.contacto-info h2{

    text-align:center;

    color:#0B3D91;

    margin-bottom:20px;

}

.intro-contacto{

    text-align:center;

    color:#555555;

    max-width:800px;

    margin:0 auto 50px;

    line-height:1.8;

}

.contacto-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.contacto-card{

    background:#f8f9fa;

    padding:30px;

    border-radius:12px;

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

}

.contacto-card h3{

    color:#0B3D91;

    margin-bottom:15px;

}

.contacto-card p{

    color:#444444;

    line-height:1.7;

}

/*=====================================
  FORMULARIO DE CONTACTO
=====================================*/

.formulario-contacto{

    background:#f5f7fa;

    padding:80px 10%;

}

.formulario-contacto h2{

    text-align:center;

    color:#0B3D91;

    margin-bottom:20px;

}

.formulario-contacto form{

    max-width:800px;

    margin:40px auto 0;

}

.formulario-contacto input,
.formulario-contacto select,
.formulario-contacto textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #dcdcdc;

    border-radius:8px;

    font-size:16px;

    box-sizing:border-box;

}

.formulario-contacto input:focus,
.formulario-contacto select:focus,
.formulario-contacto textarea:focus{

    outline:none;

    border-color:#0B3D91;

}

.formulario-contacto textarea{

    resize:vertical;

}

.formulario-contacto button{

    background:#F57C00;

    color:white;

    border:none;

    padding:15px 35px;

    border-radius:8px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.formulario-contacto button:hover{

    background:#d96b00;

    transform:translateY(-2px);

}

/*=====================================
 BLOG
=====================================*/

.blog-construccion{

    padding:80px 10%;

    text-align:center;

    background:#ffffff;

}

.blog-imagen{

    width:280px;

    max-width:100%;

    margin-bottom:35px;

}

.blog-construccion h2{

    color:#0B3D91;

    margin-bottom:20px;

}

.blog-construccion p{

    max-width:850px;

    margin:0 auto 20px;

    font-size:18px;

    line-height:1.8;

    color:#444;

}

/*=====================================
SERVICIOS - DETALLE
=====================================*/

.servicio-detalle{

    display:flex;

    align-items:center;

    gap:70px;

    padding:90px 10%;

    background:#ffffff;

}


.servicio-imagen{

    flex:1;

}


.servicio-imagen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


.servicio-contenido{

    flex:1;

}


/* Título principal */

.servicio-contenido h2{

    color:#0B3D91; /* Azul oscuro */

    margin-bottom:20px;

    font-size:32px;

}


/* Subtítulos */

.servicio-contenido h3{

    margin-top:30px;

    margin-bottom:15px;

    color:#E65100; /* Naranja fuerte para contraste */

    font-size:22px;

}


/* Texto general */

.servicio-contenido p{

    line-height:1.8;

    color:#333333; /* Gris oscuro para fondo blanco */

    font-size:16px;

}


/* Lista */

.servicio-contenido ul{

    margin-bottom:25px;

    padding-left:20px;

}


.servicio-contenido li{

    margin-bottom:10px;

    line-height:1.7;

    color:#444444;

}

/* Pequeña mejora para las imágenes */

.servicio-imagen img{

    transition:0.4s;

}

.servicio-imagen img:hover{

    transform:scale(1.03);

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

}

/* Separación entre servicios */

.servicio-detalle{

    border-bottom:1px solid #e6e6e6;

}

.servicio-detalle:last-child{

    border-bottom:none;

}


.hidden-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
@media (max-width: 768px){
    header{padding:10px 18px;}
    .logo img{width:170px;max-height:60px;}
    nav a{margin-left:14px;font-size:14px;}
}

/* ===== CONTROLES FLOTANTES: WHATSAPP + VOLVER ARRIBA ===== */
.whatsapp {
    position: fixed !important;
    right: 22px !important;
    bottom: 22px !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.whatsapp img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    display: block !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

.back-to-top {
    position: fixed !important;
    right: 28px !important;
    bottom: 92px !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 25px !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    z-index: 9998 !important;
}

@media (max-width: 600px) {
    .whatsapp {
        right: 14px !important;
        bottom: 14px !important;
        width: 52px !important;
        height: 52px !important;
    }
    .whatsapp img {
        width: 52px !important;
        height: 52px !important;
    }
    .back-to-top {
        right: 19px !important;
        bottom: 76px !important;
        width: 38px !important;
        height: 38px !important;
    }
}
