*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: "Segoe UI", Arial, sans-serif;
}
#hero {
  scroll-margin-top: 90px;
}
body{
background:#f5f7fb;
color:#333;
line-height:1.6;
}

/* HEADER */

header{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:100;
}

.container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
}

.logo h1{
font-size:20px;
color:#0f4c81;
}

/* MENU */

#menu{
display:flex;
gap:20px;
}

#menu li{
list-style:none;
}

#menu a{
text-decoration:none;
color:#333;
font-weight:500;
transition:0.5s;
}

#menu a:hover{
color:#0f4c81;
}

/* HERO */

.hero{
display:flex;
align-items:center;
justify-content:space-between;
max-width:1200px;
margin:auto;
padding:50px 20px;
gap:40px;
}

.hero-text{
flex:1;
text-align: center;
}

.hero-text h1{
font-size:40px;
margin-bottom:20px;
color:#0f4c81;
}

.hero-text p{
font-size:18px;
color:#555;
}

.hero-image{
flex:1;
text-align:center;
}

.hero-image img{
max-width:350px;
width:100%;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* SERVICIOS */

.MisServicios{
max-width:1200px;
margin:auto;
padding:80px 10px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.MisServicios h1{
font-size:40px;
margin-bottom:20px;
color:#0f4c81;
}
.servicio{
background:white;
padding:30px;
margin:30px;
border-radius:15px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
transition:0.5s;
}

.servicio:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.servicio h2{
color:#0f4c81;
margin-bottom:10px;
font-size:20px;
}

.servicio h3{
font-size:15px;
font-weight:400;
color:#666;
}

/* CONTACTO */

.contacto{
text-align:center;
padding:60px 20px;
background:#0f4c81;
color:white;
}

.contacto h3{
font-size:22px;
}

/* MENU MOBILE */

.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
background:#333;
height:3px;
width:25px;
margin:4px 0;
display:block;
}
.btn-primary,
.btn-secondary{
padding:14px 24px;
border-radius:12px;
text-decoration:none;
font-weight:600;
transition:0.5s;
display:inline-block;
}

.btn-primary{
background:#0f4c81;
color:white;
box-shadow:0 8px 20px rgba(15,76,129,0.25);
}

.btn-primary:hover{
background:#0c3c66;
transform:translateY(-2px);
}

.btn-secondary{
background:white;
color:#0f4c81;
border:1px solid #0f4c81;
}

.btn-secondary:hover{
background:#f0f6fc;
transform:translateY(-2px);
}

.hero-buttons{
margin-top:25px;
flex-wrap:wrap;
}

.mapa{
max-width:1200px;
margin:auto;
padding:80px 20px;
display:grid;
grid-template-columns:1fr 1.3fr;
gap:30px;
align-items:center;
}

.mapa-info h2{
font-size:32px;
color:#0f4c81;
margin-bottom:15px;
}

.mapa-info p{
font-size:17px;
color:#555;
margin-bottom:10px;
}

.mapa-frame iframe{
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.whatsapp-float{
position:fixed;
right:20px;
bottom:20px;
width:60px;
height:60px;
border-radius:50%;
background:#25d366;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
z-index:999;
transition:0.5s;
text-decoration:none;
}

.whatsapp-float:hover{
transform:scale(1.08);
}
/* RESPONSIVE */

@media(max-width:900px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-text h1{
font-size:30px;
}

#menu{
display:none;
flex-direction:column;
background:white;
position:absolute;
top:70px;
right:0;
width:200px;
padding:20px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

#menu.active{
display:flex;
}

.menu-toggle{
display:flex;
}

.hero-buttons{
display:flex;
gap:15px;
margin-top:25px;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
padding:14px 24px;
border-radius:12px;
text-decoration:none;
font-weight:600;
transition:0.5s;
display:inline-block;
}

.btn-primary{
background:#0f4c81;
color:white;
box-shadow:0 8px 20px rgba(15,76,129,0.25);
}

.btn-primary:hover{
background:#0c3c66;
transform:translateY(-2px);
}

.btn-secondary{
background:white;
color:#0f4c81;
border:1px solid #0f4c81;
}

.btn-secondary:hover{
background:#f0f6fc;
transform:translateY(-2px);
}

.mapa{
max-width:1200px;
margin:auto;
padding:80px 20px;
display:grid;
grid-template-columns:1fr 1.3fr;
gap:30px;
align-items:center;
}

.mapa-info h2{
font-size:32px;
color:#0f4c81;
margin-bottom:15px;
}

.mapa-info p{
font-size:17px;
color:#555;
margin-bottom:10px;
}

.mapa-frame iframe{
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.whatsapp-float{
position:fixed;
right:20px;
bottom:20px;
width:60px;
height:60px;
border-radius:50%;
background:#25d366;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
z-index:999;
transition:0.5s;
text-decoration:none;
}

.whatsapp-float:hover{
transform:scale(1.08);
}

@media(max-width:900px){

.hero-buttons{
justify-content:center;
}

.mapa{
grid-template-columns:1fr;
}

.mapa-info{
text-align:center;
}

}