/* ===========================
        VARIABLES
=========================== */

:root{

    --primary:#8c5e3c;

    --primary-dark:#5a4633;

    --cream:#f8f4ee;

    --white:#ffffff;

    --text:#3e2e22;

    --text-light:#6d5a4c;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --shadow-hover:0 25px 50px rgba(0,0,0,.12);

    --radius:22px;

    --transition:.35s;

}
/* ===========================
        CONTENEDOR
=========================== */

.container{

    width:min(1280px,90%);

    margin:auto;

}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Poppins,sans-serif;

    background:#f8f4ee;

    color:#5a4633;

}

.home-navbar{

    width:100%;

    height:90px;

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 80px;

    position:fixed;

    top:0;

    left:0;

    z-index:999;

    box-shadow:0 4px 20px rgba(0,0,0,.05);

}

.brand-logo{

    font-size:2rem;

    font-weight:700;

    letter-spacing:3px;

    color:var(--primary);

}

.home-menu{

    display:flex;

    list-style:none;

    gap:40px;

}

.home-menu a{

    text-decoration:none;

    color:#5a4633;

    font-weight:500;

    transition:.3s;

}

.home-menu a:hover{

    color:#8c5e3c;

}
/* ===========================
            HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:70px;

    padding:140px 8% 80px;

    background:var(--cream);

}

.hero-left{

    flex:1;

}

.hero-right{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:100%;

    max-width:620px;

}

.hero-tag{

    color:var(--primary);

    letter-spacing:4px;

    font-weight:700;

}

.hero h1{

    font-size:4.5rem;

    line-height:1.05;

    color:var(--text);

    margin:25px 0;

}

.hero p{

    font-size:1.2rem;

    color:var(--text-light);

    line-height:1.8;

    max-width:600px;

}

.hero-buttons{

    margin-top:45px;

}

.hero-button{

    display:inline-block;

    padding:18px 38px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    border-radius:50px;

    transition:var(--transition);

}

.hero-button:hover{

    background:var(--primary-dark);

}

.hero-info{

    display:flex;

    gap:35px;

    margin-top:60px;

}

.hero-info-item{

    display:flex;

    flex-direction:column;

}

.hero-info-item strong{

    color:var(--text);

}

.hero-info-item span{

    color:var(--text-light);

    font-size:.9rem;

}
/* ===========================
        CATEGORÍAS
=========================== */

.categories{

    padding:120px 8%;

}

.section-header{

    text-align:center;

    margin-bottom:70px;

}

.section-tag{

    color:#8c5e3c;

    letter-spacing:3px;

    font-size:.9rem;

    font-weight:700;

}

.section-header h2{

    margin-top:20px;

    font-size:3rem;

    color:#3e2e22;

    line-height:1.2;

}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.category-card{

    background:white;

    border-radius:22px;

    overflow:hidden;

    text-decoration:none;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.category-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,0,0,.12);

}

.category-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.4s;

}

.category-card:hover img{

    transform:scale(1.06);

}

.category-content{

    padding:30px;

}

.category-content h3{

    color:#8c5e3c;

    font-size:2rem;

    margin-bottom:15px;

}

.category-content p{

    color:#6d5a4c;

    line-height:1.7;

    margin-bottom:30px;

}

.category-button{

    color:#8c5e3c;

    font-weight:700;

}
/*==========================
        BENEFICIOS
==========================*/

.benefits{

    padding:120px 8%;

    background:white;

}

.benefits-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    margin-top:60px;

}

.benefit-card{

    background:var(--cream);

    padding:40px 30px;

    border-radius:var(--radius);

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.benefit-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.benefit-card h3{

    color:var(--primary);

    margin-bottom:20px;

    font-size:1.4rem;

}

.benefit-card p{

    color:var(--text-light);

    line-height:1.7;

}
.hero-left{

    animation:fadeLeft 1s ease;

}

.hero-right{

    animation:fadeRight 1s ease;

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}
.about-home{

    padding:140px 0;

    text-align:center;

}

.about-home h2{

    margin:25px 0;

    font-size:3rem;

    color:var(--text);

}

.about-home p{

    max-width:750px;

    margin:auto;

    line-height:1.9;

    color:var(--text-light);

    font-size:1.15rem;

}
.btn-primary{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:35px;

    padding:16px 34px;

    background:#8c5e3c;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

    box-shadow:0 12px 30px rgba(140,94,60,.18);

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:#6f482f;

}
.footer{

    margin-top:120px;

    background:#2d2119;

    color:#fff;

}

.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    padding:70px 8%;

}

.footer h2{

    color:#fff;

    margin-bottom:15px;

}

.footer h4{

    margin-bottom:18px;

}

.footer p{

    color:#d8d8d8;

    line-height:1.8;

}

.footer a{

    display:block;

    color:#d8d8d8;

    text-decoration:none;

    margin-bottom:12px;

}

.footer a:hover{

    color:#fff;

}

.footer-copy{

    border-top:1px solid rgba(255,255,255,.12);

    text-align:center;

    padding:25px;

    color:#bdbdbd;

}
/* ===========================================
        RESPONSIVE CELULAR
===========================================*/

@media (max-width:768px){

html,
body{
    overflow-x:hidden;
}

*{
    max-width:100%;
}

.home-navbar{

    height:auto;
    padding:18px 20px;
    flex-direction:column;
    gap:15px;

}

.brand-logo{

    font-size:2rem;

}

.home-menu{

    gap:18px;
    flex-wrap:wrap;
    justify-content:center;

}

.hero{

    flex-direction:column;
    text-align:center;
    padding:140px 25px 70px;
    min-height:auto;
    gap:40px;

}

.hero-left,
.hero-right{

    width:100%;

}

.hero-right img{

    width:100%;
    max-width:360px;
    margin:auto;

}

.hero h1{

    font-size:3rem;
    line-height:1.1;

}

.hero p{

    font-size:1rem;
    margin:auto;

}

.hero-buttons{

    display:flex;
    justify-content:center;

}

.hero-info{

    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
    margin-top:40px;

}

/* Categorías */

.categories{

    padding:70px 20px;

}

.section-header h2{

    font-size:2.4rem;

}

.categories-grid{

    grid-template-columns:1fr;
    gap:25px;

}

.category-card{

    max-width:400px;
    margin:auto;

}

.category-card img{

    height:260px;

}

/* Beneficios */

.benefits{

    padding:70px 20px;

}

.benefits-grid{

    grid-template-columns:1fr;
    gap:20px;

}

.benefit-card{

    max-width:420px;
    margin:auto;

}

/* Filosofía */

.about-home{

    padding:70px 20px;

}

.about-home h2{

    font-size:2.4rem;

}

/* Footer */

.footer-container{

    grid-template-columns:1fr;
    gap:35px;
    text-align:center;

}

}
