:root{
--rojo:#8f0909;
--naranja:#f58a00;
--oscuro:#171717;
--gris:#f5f5f5;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
color:#222;
overflow-x:hidden;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

header{
position:fixed;
width:100%;
background:white;
z-index:999;
box-shadow:0 2px 15px rgba(0,0,0,.08);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
height:85px;
}

.logo{
height:60px;
}

nav{
display:flex;
gap:25px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:600;
}

.hero{
height:100vh;
position:relative;
display:flex;
align-items:center;
justify-content:center;
}

.hero-bg{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
}

.hero-content{
position:relative;
color:white;
text-align:center;
max-width:850px;
padding:20px;
}

.hero h1{
font-size:4rem;
margin-bottom:20px;
}

.hero p{
font-size:1.2rem;
line-height:1.7;
}

.hero-buttons{
margin-top:30px;
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.btn{
padding:14px 24px;
border-radius:50px;
text-decoration:none;
font-weight:600;
display:flex;
align-items:center;
gap:10px;
}

.btn img{
width:24px;
}

.whatsapp-btn{
background:#25D366;
color:white;
}

.primary-btn{
background:var(--naranja);
color:white;
}

.section{
padding:100px 0;
}

.section h2{
margin-bottom:25px;
font-size:2rem;
}

.stats{
background:var(--rojo);
color:white;
padding:50px 0;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.stat-box{
text-align:center;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{
background:white;
border-radius:15px;
padding:30px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:15px;
}

.gallery img{
width:100%;
height:250px;
object-fit:cover;
border-radius:12px;
cursor:pointer;
transition:.3s;
}

.gallery img:hover{
transform:scale(1.03);
}

.contact-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

form{
display:flex;
flex-direction:column;
gap:15px;
}

input,
textarea{
padding:15px;
border:1px solid #ddd;
border-radius:10px;
}

textarea{
min-height:150px;
}

button{
background:var(--rojo);
color:white;
padding:15px;
border:none;
border-radius:10px;
cursor:pointer;
font-weight:600;
}

.map-section iframe{
width:100%;
height:450px;
border:none;
}

footer{
background:#111;
color:white;
text-align:center;
padding:30px;
}

.whatsapp-float{
position:fixed;
right:25px;
bottom:25px;
width:70px;
height:70px;
background:#25D366;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
box-shadow:0 8px 25px rgba(0,0,0,.25);
}

.whatsapp-float img{
width:35px;
}

.lightbox{
display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.95);
z-index:9999;
justify-content:center;
align-items:center;
}

.lightbox img{
max-width:90%;
max-height:90%;
}

#closeLightbox{
position:absolute;
top:20px;
right:30px;
font-size:45px;
color:white;
cursor:pointer;
}

.menu-toggle{
display:none;
width:40px;
height:30px;
flex-direction:column;
justify-content:space-between;
background:none;
border:none;
}

.menu-toggle span{
height:4px;
background:var(--rojo);
border-radius:4px;
}

@media(max-width:768px){

.hero h1{
font-size:2.5rem;
}

.stats-grid{
grid-template-columns:1fr 1fr;
}

.contact-grid{
grid-template-columns:1fr;
}

.menu-toggle{
display:flex;
}

nav{
display:none;
position:absolute;
top:85px;
left:0;
width:100%;
background:white;
flex-direction:column;
padding:20px;
text-align:center;
}

nav.active{
display:flex;
}

}