:root{
--verdeOscuro:#0B3D2E;
--verde:#2E7D32;
--verdeClaro:#4CAF50;
--fondo:#f4fff6;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:var(--fondo);
color:#1e293b;
}

header{
height:75px;
background:white;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 40px;
box-shadow:0 2px 15px rgba(0,0,0,.05);
position:sticky;
top:0;
z-index:100;
}

.logo img{
height:50px;
}

nav{
display:flex;
gap:20px;
}

nav a{
text-decoration:none;
color:#475569;
font-weight:500;
}

nav a.active{
color:var(--verde);
}

.hero{
text-align:center;
padding:70px 20px;
}

.hero h1{
font-size:3rem;
color:var(--verdeOscuro);
margin-bottom:15px;
}

.hero p{
color:#64748b;
margin-bottom:30px;
}

.search-box{
max-width:600px;
margin:auto;
position:relative;
}

.search-box i{
position:absolute;
left:20px;
top:50%;
transform:translateY(-50%);
color:var(--verde);
}

.search-box input{
width:100%;
padding:18px 20px 18px 50px;
border:none;
border-radius:20px;
background:white;
box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.categorias{
padding:40px;
}

.categorias h2{
margin-bottom:20px;
}

.categorias-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
}

.categorias-grid button{
padding:15px;
border:none;
border-radius:15px;
background:white;
cursor:pointer;
font-weight:600;
transition:.3s;
}

.categorias-grid button:hover{
background:var(--verde);
color:white;
}

.destacadas,
.todas,
.logros{
padding:40px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
margin-top:20px;
}

.card{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card img{
width:100%;
height:200px;
object-fit:cover;
}

.card h3{
padding:15px;
}

.card p{
padding:0 15px;
color:#64748b;
}

.card span{
display:block;
padding:10px 15px;
font-size:.9rem;
color:var(--verde);
}

.card button{
margin:15px;
padding:12px;
width:calc(100% - 30px);
border:none;
border-radius:12px;
background:var(--verde);
color:white;
cursor:pointer;
}

.lista-guias{
display:flex;
flex-direction:column;
gap:15px;
margin-top:20px;
}

.guia{
background:white;
padding:20px;
border-radius:16px;
display:flex;
justify-content:space-between;
align-items:center;
box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.guia button{
padding:10px 20px;
border:none;
border-radius:10px;
background:var(--verde);
color:white;
cursor:pointer;
}

.logros-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:20px;
}

.logro{
background:white;
padding:30px;
text-align:center;
border-radius:20px;
box-shadow:0 10px 20px rgba(0,0,0,.06);
}

.logro{
font-size:3rem;
}

.logro h3{
font-size:1.2rem;
margin-top:10px;
}

.mentita-btn{
position:fixed;
right:25px;
bottom:25px;
border:none;
padding:18px 25px;
border-radius:50px;
background:linear-gradient(
135deg,
#2E7D32,
#4CAF50
);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 10px 30px rgba(76,175,80,.3);
}

@media(max-width:768px){

header{
padding:15px;
}

nav{
display:none;
}

.hero h1{
font-size:2rem;
}

.guia{
flex-direction:column;
gap:15px;
text-align:center;
}

}