/* =========================
   HERO
========================= */

.mun-hero{
height:75vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;

background:
linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
url("https://picsum.photos/1200/700?landscape");

background-size:cover;
background-position:center;
color:white;
}

.mun-hero-content h1{
font-size:50px;
margin-bottom:10px;
}

.mun-hero-content p{
margin-bottom:20px;
opacity:.9;
}

.mun-btn{
background:#ff6a00;
color:white;
padding:12px 25px;
border-radius:25px;
text-decoration:none;
font-weight:bold;
transition:.3s;
}

.mun-btn:hover{
background:#e65c00;
transform:translateY(-2px);
}

/* =========================
   INFO
========================= */

.mun-info{
padding:60px 20px;
}

.mun-info-container{
display:flex;
gap:40px;
flex-wrap:wrap;
align-items:center;
justify-content:space-between;
}

.mun-text{
max-width:500px;
}

.mun-text h2{
font-size:32px;
margin-bottom:10px;
}

.mun-icons{
display:flex;
gap:20px;
margin-top:20px;
}

.icon-box{
background:#fff;
padding:15px;
border-radius:12px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.icon-box span{
font-size:22px;
display:block;
margin-bottom:5px;
}

/* STATS */

.mun-stats{
display:flex;
gap:20px;
}

.stat-card{
background:#ff6a00;
color:white;
padding:20px;
border-radius:15px;
text-align:center;
min-width:120px;
box-shadow:0 10px 25px rgba(255,106,0,.3);
}

.stat-card h3{
font-size:28px;
}

/* =========================
   GRID MUNICIPIOS
========================= */

.mun-grid{
padding:40px 20px;
}

.section-title{
text-align:center;
font-size:28px;
margin-bottom:30px;
}

.mun-cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

/* TARJETAS */

.mun-card{
position:relative;
border-radius:20px;
overflow:hidden;
cursor:pointer;
}

.mun-card img{
width:100%;
height:350px;
object-fit:cover;
transition:.4s;
}

/* OVERLAY */

.mun-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:20px;

background:linear-gradient(
to top,
rgba(0,0,0,.7),
transparent
);

color:white;
}

.mun-card:hover img{
transform:scale(1.1);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

.mun-hero-content h1{
font-size:32px;
}

.mun-info-container{
flex-direction:column;
}

.mun-stats{
justify-content:center;
}

}