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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f8fc;
    color:#222;
    line-height:1.6;
}

header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    z-index:1000;
}

.contenedor{
    width:90%;
    max-width:1200px;
    margin:auto;
}

header .contenedor{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:5px 0;
}
.logo{
    height:230px;
    width:auto;
    display:block;
    margin-left:-25px;
    margin-top:-35px;
    margin-bottom:-35px;
    transition:0.3s;
}
nav a{
    text-decoration:none;
    color:#0b3f8c;
    margin-left:30px;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#56a4ff;
}
.hero{
height:100vh;
background:
linear-gradient(rgba(7,30,65,.50),rgba(7,30,65,.70)),
url("hero-refrimasters.jpg");
background-size:cover;
background-position:left center;
background-repeat:no-repeat;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
}

.overlay{
    width:90%;
    max-width:900px;
}

.hero h1{

font-size:64px;

font-weight:800;

line-height:1.1;

margin-bottom:25px;

text-shadow:0 5px 18px rgba(0,0,0,.35);

}

.hero p{

font-size:24px;

margin-bottom:40px;

opacity:.95;

}

.boton{
    display:inline-block;
    background:#2cb742;
    color:white;
    padding:20px 48px;
    text-decoration:none;
    border-radius:50px;
    font-size:20px;
    font-weight:700;
    box-shadow:0 12px 30px rgba(44,183,66,.35);
    transition:all .35s ease;
}

.boton:hover{
    background:#25a53a;
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(44,183,66,.45);
}

section{
    padding:100px 0;
}

section h2{
    text-align:center;
    color:#0b3f8c;
    margin-bottom:40px;
    font-size:38px;
}

#nosotros p{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:19px;
}

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

.tarjeta{
    background:white;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-10px);
}

.tarjeta h3{
    color:#0b3f8c;
}

#contacto{
    background:#0b3f8c;
    color:white;
}

#contacto h2{
    color:white;
}

#contacto p{
    text-align:center;
    margin-bottom:15px;
    font-size:18px;
}
.contacto-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    max-width:1000px;
    margin:50px auto 0;
}

.contacto-item{
    background:white;
    color:#222;
    padding:35px 25px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    transition:.3s;
}

.contacto-item:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.18);
}

.contacto-icono{
    font-size:45px;
    margin-bottom:15px;
}

.contacto-item h3{
    color:#0b3f8c;
    font-size:22px;
    margin-bottom:15px;
}

.contacto-item p{
    color:#555;
    font-size:16px;
    line-height:1.7;
}

.boton-contacto{
    display:inline-block;
    margin-top:15px;
    background:#2cb742;
    color:white;
    padding:12px 22px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.boton-contacto:hover{
    background:#25a53a;
    transform:translateY(-2px);
}
#porque{
background:#ffffff;
padding:100px 0;
}

.beneficios{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:50px;
}

.beneficio{
background:white;
padding:35px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s;
}

.beneficio:hover{
transform:translateY(-10px);
box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.icono{
font-size:55px;
margin-bottom:20px;
}

.beneficio h3{
color:#0b3f8c;
margin-bottom:15px;
font-size:24px;
}

.beneficio p{
font-size:17px;
color:#555;
}
#porque{
padding:100px 0;
background:#f7f9fc;
}

.beneficios{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:50px;
}

.beneficio{
background:white;
padding:40px 30px;
border-radius:18px;
text-align:center;
box-shadow:0 12px 35px rgba(0,0,0,.08);
transition:.35s;
border-top:5px solid #0b3f8c;
}

.beneficio:hover{
transform:translateY(-10px);
box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.icono{
font-size:60px;
margin-bottom:20px;
}

.beneficio h3{
color:#0b3f8c;
margin-bottom:15px;
font-size:24px;
}

.beneficio p{
font-size:17px;
color:#555;
line-height:1.7;
}
#proyectos{
    padding:100px 0;
    background:#eef4fb;
}

.subtitulo{
    text-align:center;
    font-size:20px;
    color:#666;
    margin-bottom:50px;
}

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

.galeria img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    transition:.35s;
    cursor:pointer;
}

.galeria img:hover{
    transform:scale(1.05);
}

@media(max-width:768px){
.contacto-info{
    grid-template-columns:1fr;
    gap:20px;
    padding:0 15px;
}
.trabajo{
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:70px;
}

.trabajo-imagen img{
    height:400px;
}

.trabajo-texto{
    text-align:center;
}

.trabajo.invertido .trabajo-imagen{
    order:1;
}

.trabajo.invertido .trabajo-texto{
    order:2;
}  
    .galeria{
        grid-template-columns:1fr;
    }
}
#proyectos{
    background:#eef5fb;
    padding:100px 0;
}

.subtitulo{
    text-align:center;
    color:#666;
    font-size:19px;
    margin-bottom:50px;
}

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

.foto{
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.12);
}

.foto img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.foto:hover img{
    transform:scale(1.08);
}

@media(max-width:900px){

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

}
#estadisticas{
    background:#0b3f8c;
    color:white;
    padding:70px 0;
}

.numeros{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
    gap:30px;
}

.numeros h2{
    color:white;
    font-size:55px;
    margin-bottom:10px;
}

.numeros p{
    font-size:18px;
}

@media(max-width:900px){

.numeros{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

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

}
.whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

text-decoration:none;

color:white;

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

z-index:999;

transition:.35s;

}

.whatsapp:hover{

transform:scale(1.12);

}
#trabajos{
    background:#eef5fb;
    padding:100px 0;
}

#trabajos h2{
    margin-bottom:50px;
}

.trabajo{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
    max-width:1100px;
    margin:0 auto 100px auto;
}

.trabajo-imagen{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.trabajo-imagen img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
    transition:.4s;
}

.trabajo-imagen:hover img{
    transform:scale(1.03);
}

.trabajo-texto h3{
    color:#0b3f8c;
    font-size:32px;
    margin-bottom:20px;
}

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

.trabajo.invertido .trabajo-imagen{
    order:2;
}

.trabajo.invertido .trabajo-texto{
    order:1;
}

@media(max-width:768px){

    .trabajo{
        grid-template-columns:1fr;
        gap:30px;
    }

    .trabajo-imagen img{
        height:400px;
    }

    .trabajo-texto{
        text-align:center;
    }

}
footer{
background:#082752;
color:white;
padding:60px 0 20px;
}

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

.footer-grid h3{
margin-bottom:20px;
font-size:22px;
}

.footer-grid p{
line-height:1.8;
opacity:.9;
}

.copyright{
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.2);
text-align:center;
font-size:15px;
opacity:.8;
}

@media(max-width:768px){

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

}
@media(max-width:768px){

header .contenedor{
flex-direction:column;
}

nav{
margin-top:20px;
}

nav a{
display:block;
margin:10px 0;
}

.hero h1{
font-size:36px;
}

.hero p{
font-size:18px;
}

.logo {
    height:180px;
    width:auto;
    display:block;
}

}
/* ==============================
   CONTACTO - DISEÑO PROFESIONAL
   ============================== */

#contacto .contacto-info{
    display:grid !important;
    grid-template-columns:repeat(3, 1fr) !important;
    gap:30px !important;
    max-width:1100px !important;
    margin:50px auto 0 !important;
    align-items:stretch !important;
}

#contacto .contacto-item{
    background:#ffffff !important;
    color:#222 !important;
    padding:35px 25px !important;
    border-radius:18px !important;
    text-align:center !important;
    box-shadow:0 10px 30px rgba(0,0,0,.15) !important;
    transition:transform .3s ease, box-shadow .3s ease !important;
}

#contacto .contacto-item:hover{
    transform:translateY(-6px) !important;
    box-shadow:0 18px 40px rgba(0,0,0,.20) !important;
}

#contacto .contacto-icono{
    font-size:42px !important;
    margin-bottom:15px !important;
}

#contacto .contacto-item h3{
    color:#0b3f8c !important;
    font-size:22px !important;
    margin:0 0 15px !important;
}

#contacto .contacto-item p{
    color:#555 !important;
    font-size:16px !important;
    line-height:1.7 !important;
    margin:10px 0 !important;
}

#contacto .boton-contacto{
    display:inline-block !important;
    margin-top:15px !important;
    padding:13px 24px !important;
    background:#25D366 !important;
    color:#ffffff !important;
    border-radius:30px !important;
    text-decoration:none !important;
    font-weight:700 !important;
    transition:transform .3s ease, background .3s ease !important;
}

#contacto .boton-contacto:hover{
    background:#1ebe5d !important;
    color:#ffffff !important;
    transform:translateY(-2px) !important;
}


/* ==============================
   CONTACTO - CELULAR
   ============================== */

@media(max-width:768px){

    #contacto .contacto-info{
        grid-template-columns:1fr !important;
        gap:20px !important;
        padding:0 20px !important;
    }

    #contacto .contacto-item{
        width:auto !important;
    }

}
/* =========================
   NUESTRA IDENTIDAD
========================= */

#identidad{
    background:#f5f8fc;
    padding:80px 0;
}

#identidad h2{
    text-align:center;
    color:#0b3f8c;
    font-size:42px;
    margin-bottom:55px;
}

.identidad-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.identidad-bloque{
    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.identidad-bloque h3{
    color:#0b3f8c;
    font-size:27px;
    margin-bottom:18px;
}

.identidad-bloque p{
    font-size:17px;
    line-height:1.8;
    color:#333;
    margin:0;
}

.valores{
    grid-column:1 / -1;
}

.valores-lista{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.valores-lista div{
    background:#f5f8fc;
    padding:22px;
    border-radius:12px;
}

.valores-lista strong{
    display:block;
    color:#0b3f8c;
    font-size:18px;
    margin-bottom:10px;
}

.valores-lista span{
    display:block;
    color:#444;
    font-size:15px;
    line-height:1.6;
}


/* =========================
   DISEÑO PARA CELULAR
========================= */

@media (max-width:768px){

    #identidad{
        padding:60px 20px;
    }

    #identidad h2{
        font-size:32px;
        margin-bottom:35px;
    }

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

    .valores{
        grid-column:auto;
    }

    .valores-lista{
        grid-template-columns:1fr;
    }

}
/* =========================================
   CONTACTO - DISEÑO PROFESIONAL
   ========================================= */

.contacto-encabezado{
    background:#12468f;
    color:white;
    text-align:center;
    padding:55px 20px 35px;
}

.contacto-encabezado h2{
    color:white;
    font-size:42px;
    margin:0 0 10px;
}

.contacto-encabezado p{
    color:white;
    font-size:18px;
    margin:6px 0;
}

.contacto-linea{
    width:50px;
    height:3px;
    background:#29a9ff;
    margin:15px auto 18px;
}


/* CONTENEDOR */

.contacto-contenido{
    padding:35px 0 45px;
}


/* TARJETAS */

.contacto-tarjetas{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:32px;
    align-items:stretch;
}

.contacto-tarjeta{
    background:white;
    border-radius:15px;
    padding:25px 28px 30px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.contacto-tarjeta h3{
    color:#12468f;
    font-size:24px;
    margin:12px 0 10px;
}

.contacto-tarjeta p{
    color:#444;
    font-size:16px;
    line-height:1.7;
    margin:10px 0;
}


/* ICONOS */

.contacto-icono{
    width:64px;
    height:64px;
    margin:0 auto 12px;
    border-radius:50%;
    background:#12468f;
    display:flex;
    align-items:center;
    justify-content:center;
}

.contacto-icono svg{
    width:32px !important;
    height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
    display:block;
    fill:none;
    stroke:white;
    stroke-width:1.8;
}


/* LINEA DEBAJO DEL TITULO */

.contacto-linea-card{
    width:50px;
    height:2px;
    background:#247cff;
    margin:0 auto 18px;
}


/* WHATSAPP */

.boton-whatsapp{
    display:inline-block;
    background:#12468f;
    color:white;
    text-decoration:none;
    font-weight:700;
    padding:13px 25px;
    border-radius:8px;
    margin-top:12px;
    transition:.3s;
}

.boton-whatsapp:hover{
    background:#0b3772;
}

.texto-boton{
    display:block;
    color:#555;
    margin-top:12px;
    font-size:14px;
}


/* CORREO */

.correo-separador{
    height:1px;
    background:#ddd;
    margin:25px 0;
}


/* ASESORIA */

.contacto-asesoria{
    margin-top:25px;
    background:#eef5fc;
    border:1px solid #dce8f5;
    border-radius:15px;
    padding:25px 35px;
    display:flex;
    align-items:center;
    gap:25px;
}

.asesoria-icono{
    width:70px;
    min-width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.asesoria-icono svg{
    width:55px !important;
    height:55px !important;
    max-width:55px !important;
    max-height:55px !important;
    display:block;
    fill:none;
    stroke:#12468f;
    stroke-width:1.7;
}

.asesoria-texto{
    flex:1;
}

.asesoria-texto h3{
    color:#12468f;
    font-size:24px;
    margin:0 0 5px;
}

.asesoria-texto p{
    color:#444;
    font-size:17px;
    margin:0;
    line-height:1.5;
}

.boton-asesoria{
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:13px 25px;
    border:2px solid #12468f;
    border-radius:8px;
    color:#12468f;
    background:white;
    text-decoration:none;
    font-weight:700;
    white-space:nowrap;
    transition:.3s;
}

.boton-asesoria span{
    font-size:25px;
    line-height:1;
}

.boton-asesoria:hover{
    background:#12468f;
    color:white;
}


/* =========================================
   CORRECCIÓN PARA EVITAR SVG GIGANTES
   ========================================= */

.contacto-icono svg,
.asesoria-icono svg{
    position:static !important;
    transform:none !important;
}


/* CELULAR */

@media (max-width:800px){

    .contacto-tarjetas{
        grid-template-columns:1fr;
    }

    .contacto-asesoria{
        flex-direction:column;
        text-align:center;
    }

    .boton-asesoria{
        white-space:normal;
    }

    .contacto-encabezado h2{
        font-size:34px;
    }

}
