/* =========================
RESET GENERAL
========================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
scroll-behavior:smooth;
}

body{
background:#f4f6fb;
color:#333;
line-height:1.6;
}

/* =========================
TOP BAR
========================= */
.top-bar{
background:#0d6efd;
color:white;
font-size:13px;
padding:8px 0;
}

.top-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
gap:10px;
padding:0 15px;
flex-wrap:wrap;
}

.social-top a{
color:white;
margin-left:10px;
text-decoration:none;
font-size:12px;
}

.social-top a:hover{
text-decoration:underline;
}

/* =========================
HEADER / NAVBAR
========================= */
header{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:1000;
}

.navbar{
display:flex;
align-items:center;   /* 🔥 esto alinea todo en la misma línea */
justify-content:space-between;
flex-wrap:nowrap;     /* 🔥 evita que el logo se vaya arriba */
}

.logo-img{
margin-top:20px;   /* 🔥 lo baja un poquito */
width:120px;        /* 🔥 MÁS PEQUEÑO */
height:auto;
object-fit:contain;
display:inline-block;

background:white;
padding:4px;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.12);
border:1px solid rgba(13,110,253,0.15);
}

.badge-info{
position:relative;
top:-5px;   /* 🔥 lo sube un poquito */
display:inline-block;
vertical-align:middle;
}

.nav-links{

list-style:none;
display:flex;
gap:15px;
flex-wrap:wrap;
}

.nav-links a{
text-decoration:none;
color:#0d6efd;
font-size:13px;
padding:6px 10px;
border-radius:20px;
border:1px solid #0d6efd;
transition:0.3s;
}

.nav-links a:hover{
background:#0d6efd;
color:white;
}

/* =========================
HERO
========================= */
.hero{
position:relative;
height:85vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;

/* 👇 IMAGEN MÁS PROFESIONAL */
background:url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?q=80&w=1400&auto=format&fit=crop')
center/cover no-repeat;
}
.hero h1{
font-size:34px;
font-weight:700;
text-shadow:0 2px 10px rgba(0,0,0,0.5);
}

.hero p{
text-shadow:0 2px 10px rgba(0,0,0,0.5);
}
.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
top:0;
left:0;
}

.hero-content{
position:relative;
max-width:800px;
padding:20px;
z-index:2;
}

.hero h1{
font-size:34px;
margin-bottom:15px;
}

.hero p{
font-size:15px;
opacity:0.9;
}

.hero-buttons{
margin-top:20px;
display:flex;
gap:10px;
justify-content:center;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
display:inline-block;
padding:10px 16px;
font-size:13px;
border-radius:25px;
text-decoration:none;
transition:0.3s;
}

.btn-primary{
background:#0d6efd;
color:white;
}

.btn-primary:hover{
background:#084298;
}

.btn-secondary{
background:white;
color:#0d6efd;
border:1px solid #0d6efd;
}

.btn-secondary:hover{
background:#0d6efd;
color:white;
}

/* =========================
IMPACTO
========================= */
.impacto-lab{
padding:60px 20px;
background:white;
}

.impacto-container{
max-width:1200px;
margin:auto;
display:flex;
gap:30px;
align-items:center;
flex-wrap:wrap;
}

.impacto-texto{
flex:1;
min-width:300px;
}

.impacto-img{
flex:1;
min-width:300px;
}

.impacto-img img{
width:100%;
border-radius:15px;
}

.impacto-boxes{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:15px;
margin:20px 0;
}

.mini-box{
background:#f4f6fb;
padding:15px;
border-radius:12px;
font-size:13px;
}

/* =========================
SERVICIOS
========================= */
.servicios{
padding:60px 20px;
text-align:center;
}

.servicios h2{
margin-bottom:20px;
}

.grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
background:white;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
transition:0.3s;
}

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

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

.card-content{
padding:15px;
font-size:13px;
}

/* =========================
NOSOTROS
========================= */
.nosotros{
padding:60px 20px;
text-align:center;
background:#f4f6fb;
}

.nosotros p{
max-width:700px;
margin:auto;
}

/* =========================
CONTACTO
========================= */
.contacto{
padding:60px 20px;
background:#0d6efd;
color:white;
}

.contacto-container{
max-width:1200px;
margin:auto;
display:flex;
gap:30px;
flex-wrap:wrap;
}

.contacto-info{
flex:1;
min-width:300px;
}

.contacto-datos{
margin-top:20px;
display:grid;
gap:15px;
}

.dato{
background:rgba(255,255,255,0.1);
padding:15px;
border-radius:10px;
font-size:13px;
}

.contacto-botones{
margin-top:20px;
display:flex;
gap:10px;
flex-wrap:wrap;
}

/* BOTONES CONTACTO */
.contacto .btn-primary{
background:white;
color:#0d6efd;
}

.contacto .btn-secondary{
background:transparent;
border:1px solid white;
color:white;
}

/* MAPA */
.mapa{
flex:1;
min-width:300px;
}

.mapa iframe{
width:100%;
height:350px;
border:0;
border-radius:15px;
}

/* =========================
FOOTER
========================= */
footer{
background:#111;
color:white;
text-align:center;
padding:20px;
font-size:13px;
}

/* =========================
BOTONES FLOTANTES (ARREGLADO)
========================= */
.float-whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25d366;
color:white;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
z-index:9999;
text-decoration:none;
}

.float-call{
position:fixed;
bottom:90px;
right:20px;
background:#0d6efd;
color:white;
width:55px;
height:55px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:20px;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
z-index:9999;
text-decoration:none;
}

/* =========================
RESPONSIVE (MÓVIL)
========================= */
@media(max-width:768px){

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

.hero{
height:70vh;
}

.nav-links{
justify-content:center;
}

.top-container{
justify-content:center;
text-align:center;
}

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

.mapa iframe{
height:250px;
}

}
/* ===================================================
RESPONSIVE PREMIUM PROXIDEN
CELULARES - TABLETS - IPHONE - LAPTOP
=================================================== */

@media(max-width:992px){

/* NAVBAR */
.navbar{
flex-direction:column;
align-items:center;
gap:15px;
padding:15px;
}

/* LOGO + TEXTO */
.logo-area{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}

.logo-img{
width:95px;
}

/* TEXTO LOGO */
.badge-info{
font-size:12px;
line-height:1.4;
text-align:center;
}

/* MENU */
.nav-links{
justify-content:center;
flex-wrap:wrap;
gap:10px;
margin-left:0;
}

.nav-links a{
font-size:13px;
padding:8px 14px;
}

/* HERO */
.hero{
height:auto;
padding:100px 20px;
}

.hero-content{
padding:10px;
}

.hero h1{
font-size:32px;
line-height:1.2;
}

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

/* BOTONES HERO */
.hero-buttons{
flex-direction:column;
align-items:center;
}

.btn-primary,
.btn-secondary{
width:220px;
text-align:center;
}

/* IMPACTO */
.impacto-container{
flex-direction:column;
}

.impacto-texto,
.impacto-img{
width:100%;
}

/* GRID SERVICIOS */
.grid{
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

/* CONTACTO */
.contacto-container{
flex-direction:column;
}

.contacto-info,
.mapa{
width:100%;
}

/* MAPA */
.mapa iframe{
height:300px;
}

/* FOOTER */
footer{
padding:30px 20px;
text-align:center;
}

}

/* ===================================================
CELULARES PEQUEÑOS
=================================================== */

@media(max-width:576px){

.top-bar{
font-size:11px;
text-align:center;
}

.top-container{
justify-content:center;
}

.logo-img{
width:85px;
}

.hero{
padding:90px 15px;
}

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

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

.nav-links{
gap:8px;
}

.nav-links a{
font-size:12px;
padding:7px 12px;
}

/* CARDS */
.card img{
height:200px;
}

.card-content{
font-size:13px;
}

/* BOTONES */
.btn-primary,
.btn-secondary{
width:100%;
max-width:260px;
}

/* DATOS CONTACTO */
.dato{
font-size:12px;
padding:12px;
}

/* BOTONES FLOTANTES */
.float-whatsapp,
.float-call{
width:50px;
height:50px;
font-size:18px;
}

}

/* ===================================================
IPHONE / PANTALLAS MUY PEQUEÑAS
=================================================== */

@media(max-width:390px){

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

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

.logo-img{
width:78px;
}

.badge-info{
font-size:11px;
}

.nav-links a{
font-size:11px;
padding:6px 10px;
}

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

.logo-img{
position:relative;
top:-10px;   /* 🔥 sube el logo */
}

}