body{
font-family:Arial, Helvetica, sans-serif;
margin:0;
background:#f4f6f9;
line-height:1.6;
}

/* MENU */

nav{
background:#0b3d91;
padding:15px 30px;
display:flex;
justify-content:space-between;
align-items:center;
}

nav ul{
list-style:none;
display:flex;
margin:0;
padding:0;
}

nav li{
margin-left:25px;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

nav a:hover{
color:#00e0ff;
}

/* HERO / SLIDER */

.hero{
position:relative;
height:520px;
overflow:hidden;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s;
}

.slide img{
width:100%;
height:520px;
object-fit:cover;
}

.slide.active{
opacity:1;
}

.hero-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
color:white;
text-align:center;
background:rgba(0,0,0,0.5);
padding:30px;
}

.hero-text h1{
font-size:40px;
margin:0;
}

.btn{
background:#28a745;
padding:14px 30px;
color:white;
text-decoration:none;
display:inline-block;
margin-top:20px;
}

/* SECCIONES */

.container{
max-width:1100px;
margin:auto;
padding:40px;
background:white;
margin-top:20px;
}

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

.card{
background:#f8f8f8;
padding:25px;
border-radius:5px;
}

/* CLIENTES */

.clients{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.clients img{
width:200px;
border-radius:5px;
}

/* FORMULARIO */

form{
display:flex;
flex-direction:column;
max-width:500px;
}

input, textarea{
padding:12px;
margin-bottom:10px;
border:1px solid #ccc;
}

button{
background:#0b3d91;
color:white;
border:none;
padding:12px;
cursor:pointer;
}

footer{
background:#222;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

/* NAVBAR */

.navbar{
background:#0b3d91;
color:white;
display:flex;
align-items:center;
padding:45px 60px;
position:relative;
}

/* LOGO */

.logo{
position:absolute;
left:30px;
font-size:22px;
font-weight:bold;
}

/* MENU CENTRADO */

.menu{
list-style:none;
display:flex;
justify-content:center;
margin:0 auto;
padding:0;
}

.menu li{
margin:0 20px;
}

.menu a{
color:white;
text-decoration:none;
font-weight:bold;
font-size:18px;
}

.menu a:hover{
color:#00e0ff;
}

/* BOTON MOVIL */

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
position:absolute;
right:30px;
}

/* BOTON MENU MOVIL */

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
}

/* RESPONSIVE */

@media (max-width:768px){

.menu{
display:none;
flex-direction:column;
width:100%;
background:#0b3d91;
position:absolute;
top:60px;
left:0;
}

.menu li{
text-align:center;
padding:15px;
border-top:1px solid rgba(255,255,255,0.2);
}

.menu-toggle{
display:block;
}

.menu.active{
display:flex;
}

}

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

.service-card{
background:#f8f8f8;
padding:25px;
border-radius:5px;
text-align:center;
}

.service-card img{
width:100%;
height:180px;
object-fit:cover;
border-radius:5px;
margin-bottom:15px;
}

/* RESPONSIVE MOVIL */

@media (max-width:768px){

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

.about-grid img{
margin-top:20px;
}

.hero-small h1{
font-size:28px;
padding:15px 20px;
}

}


/* RESPONSIVE QUIENES SOMOS */

@media (max-width:768px){

.about-grid{
display:block !important;
}

.about-grid div{
width:100%;
}

.about-grid img{
width:100%;
margin-top:20px;
}

}


.service-box img{

width:100%;
height:200px;
object-fit:cover;
border-radius:8px;
margin-bottom:15px;

}

.logo img{

height:115px;
width:auto;

}

@media (max-width:768px){

.logo img{

height:40px;

}

}

.menu a{
position:relative;
text-decoration:none;
color:white;
padding-bottom:5px;
}

.menu a::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:0;
height:3px;
background:#1e73be;
transition:width 0.3s;
}

.menu a:hover::after{
width:100%;
}


.footer{

background:#2b2b2b;
color:white;
margin-top:60px;
padding:50px 0 0 0;
-webkit-box-shadow: 3px 1px 15px 5px #000000; 
box-shadow: 3px 1px 15px 5px #000000;

}

.footer-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
background-color:#515151;
border-radius:13px

}

.footer-col h3{

margin-bottom:15px;

}

.footer-col ul{

list-style:none;
padding:0;

}

.footer-col li{

margin-bottom:8px;

}

.footer-col a{

color:white;
text-decoration:none;

}

.footer-col a:hover{

text-decoration:underline;

}

.footer-copy{

text-align:center;
margin-top:40px;
padding:20px 0;
border-top:1px solid rgba(255,255,255,0.15);
font-size:14px;

}


/* responsive */

@media (max-width:768px){

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

}



.whatsapp-float{

position:fixed;
width:60px;
height:60px;
bottom:25px;
right:25px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
z-index:999;

}

.whatsapp-float img{

width:35px;

}

.whatsapp-float:hover{

transform:scale(1.1);

}





