/* ===========================
   ESTILOS GENERALES
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f8f9f7;
    color:#444;
    line-height:1.7;
}

/* ===========================
   CONTENEDOR
=========================== */

.container{
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

header{
    background:#ffffff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    color:#6d8d7d;
    font-size:28px;
    font-weight:700;
}

nav a{
    text-decoration:none;
    color:#555;
    margin-left:25px;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#6d8d7d;
}

/* ===========================
   HERO
=========================== */

.hero{
    background:linear-gradient(135deg,#edf7f1,#ffffff);
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:48px;
    color:#567364;
    margin-bottom:20px;
}

.hero p{
    max-width:650px;
    margin:auto;
    font-size:18px;
    margin-bottom:35px;
}

.boton{
    display:inline-block;
    background:#6d8d7d;
    color:#fff;
    padding:15px 35px;
    border-radius:40px;
    text-decoration:none;
    transition:.3s;
}

.boton:hover{
    background:#4d6f60;
    transform:translateY(-3px);
}

/* ===========================
   SECCIONES
=========================== */

section{
    padding:80px 0;
}

section h2{
    text-align:center;
    color:#567364;
    margin-bottom:30px;
    font-size:34px;
}

.info p{
    text-align:center;
    max-width:850px;
    margin:auto;
}

/* ===========================
   TARJETAS
=========================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-top:40px;
}

.card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    color:#6d8d7d;
    margin-bottom:15px;
}

.card p{
    font-size:15px;
}

/* ===========================
   CONSEJOS
=========================== */

.consejos{
    background:#edf7f1;
}

.consejos ul{
    max-width:700px;
    margin:auto;
    list-style:none;
}

.consejos li{
    background:#fff;
    margin:15px 0;
    padding:18px;
    border-left:5px solid #6d8d7d;
    border-radius:10px;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#567364;
    color:#fff;
    text-align:center;
    padding:25px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

header .container{
    flex-direction:column;
}

nav{
    margin-top:15px;
}

nav a{
    margin:0 10px;
}

.hero{
    padding:70px 20px;
}

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:16px;
}

section{
    padding:60px 0;
}

section h2{
    font-size:28px;
}

}