
/* BASE */
body{
margin:0;
font-family:system-ui;
color:#111;
}

/* HERO */
.hero{
height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
background:url('../img/hero.jpg') center/cover;
color:#fff;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,.5);
}

.hero-content{
position:relative;
z-index:2;
max-width:700px;
}

.hero h1{font-size:3rem}

/* BOTONES */
.btn{
background:#008A1E;
color:#fff;
padding:12px 25px;
display:inline-block;
text-decoration:none;
border-radius:4px;
}

/* CONTAINER */
.container{
max-width:1100px;
margin:auto;
padding:60px 20px;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

/* CARD */
.card{
text-decoration:none;
color:#111;
box-shadow:0 5px 20px rgba(0,0,0,.1);
border-radius:10px;
overflow:hidden;
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card-body{padding:15px}

/* PROYECTOS */
.page-header{
text-align:center;
padding:80px 20px 20px;
}

/* FILTROS */
.filters{
display:flex;
gap:10px;
justify-content:center;
margin-bottom:20px;
}

.filters button{
padding:10px 15px;
border:1px solid #ccc;
background:#fff;
cursor:pointer;
}

/* FICHA */
.project-hero{
height:60vh;
position:relative;
}

.project-hero img{
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
bottom:0;
width:100%;
padding:40px;
color:#fff;
background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
}

.project-content{
max-width:1100px;
margin:auto;
padding:60px 20px;
display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
}

/* GALERIA */
.gallery{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
}

.gallery img{
width:100%;
height:150px;
object-fit:cover;
}

/* BOX */
.box{
background:#f5f5f5;
padding:20px;
border-radius:8px;
}

/* HIDDEN */
.hidden{display:none !important;}