/* =====================================================
   DISADEC
   ESTILOS PRINCIPALES
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --verde-musgo: #395121;
    --verde-manzana: #8EA532;
    --bistre: #2F1C12;

    --blanco: #FFFFFF;
    --gris: #666666;
    --gris-claro: #F3F4F0;
    --gris-borde: #E5E7E1;

    --titulo: 'Poppins', sans-serif;
    --texto: 'Montserrat', sans-serif;

    --container: 1400px;

    --transition: .35s ease;

    --shadow: 0 15px 40px rgba(0,0,0,.10);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--texto);
    font-weight: 300;
    color: var(--bistre);
    background: var(--blanco);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}


/* =====================================================
   CONTENEDOR
===================================================== */

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* =====================================================
   TIPOGRAFÍA
===================================================== */

h1,
h2,
h3,
h4 {
    font-family: var(--titulo);
    font-weight: 600;
}

p {
    font-family: var(--texto);
    font-weight: 300;
    line-height: 1.8;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 110px;

    background: rgba(255,255,255,.97);

    z-index: 9999;

    box-shadow: 0 3px 20px rgba(0,0,0,.06);
}

.header-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    width: 190px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    margin-inline: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    height: 106px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-family: var(--titulo);
    font-size: 15px;
    font-weight: 600;

    color: var(--verde-musgo);

    transition: var(--transition);
}

.menu > li > a:hover {
    color: var(--verde-manzana);
}

.dropdown-link i {
    font-size: 10px;

    transition: var(--transition);
}

.dropdown:hover .dropdown-link i {
    transform: rotate(180deg);
}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 270px;

    background: var(--blanco);

    border-top: 3px solid var(--verde-manzana);

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--gris-borde);
}

.dropdown-menu li:last-child {
    border-bottom: 0;
}

.dropdown-menu a {
    display: block;

    padding: 16px 20px;

    font-family: var(--texto);
    font-size: 14px;
    font-weight: 300;

    color: var(--bistre);

    transition: var(--transition);
}

.dropdown-menu a:hover {
    color: var(--blanco);
    background: var(--verde-musgo);
    padding-left: 28px;
}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta {
    padding: 13px 22px;

    font-family: var(--titulo);
    font-size: 12px;
    font-weight: 600;

    color: var(--blanco);
    background: var(--verde-musgo);

    transition: var(--transition);
}

.header-cta:hover {
    background: var(--verde-manzana);
}

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    color: var(--verde-musgo);

    font-size: 22px;
}


/* ==================================================
   HERO
================================================== */

.page-hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.page-hero-image {

    position: absolute;

    inset: 0;

}


.page-hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


.page-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(47, 28, 18, .72),
            rgba(47, 28, 18, .25)
        );

}


.page-hero-content {

    position: relative;

    z-index: 2;

    color: var(--blanco);

}


.hero-tag {

    display: inline-block;

    margin-bottom: 15px;

    color: var(--verde-manzana);

    font-family: var(--titulo);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

}


.page-hero h1 {

    max-width: 800px;

    font-size: clamp(42px, 6vw, 78px);

    line-height: 1.05;

    margin-bottom: 18px;

}


.page-hero p {

    max-width: 620px;

    font-size: 17px;

    line-height: 1.8;

}


/* ==================================================
   SECTION HEADER
================================================== */

.section-header {

    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;

}


.section-tag {

    display: block;

    margin-bottom: 12px;

    color: var(--verde-manzana);

    font-family: var(--titulo);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

}


.section-header h2 {

    margin-bottom: 16px;

    color: var(--bistre);

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.15;

}


.section-header p {

    color: var(--gris);

    font-size: 15px;

}


/* ==================================================
   CATEGORÍAS
================================================== */

.categories {

    padding: 110px 0;

    background: var(--blanco);

}


.categories-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.category-card {

    position: relative;

    height: 360px;

    overflow: hidden;

    background: var(--gris-claro);

}


.category-card img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform .7s ease;

}


.category-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(47, 28, 18, .05),
            rgba(47, 28, 18, .80)
        );

}


.category-card:hover img {

    transform: scale(1.05);

}


.category-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 30px;

    color: var(--blanco);

}


.category-overlay h3 {

    margin-bottom: 10px;

    font-family: var(--titulo);

    font-size: 26px;

    font-weight: 600;

}


.category-overlay span {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-family: var(--titulo);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

}


.category-overlay i {

    transition:
        transform .35s ease;

}


.category-card:hover .category-overlay i {

    transform: translateX(6px);

}


/* ==================================================
   PRODUCTOS
================================================== */

.products {

    padding: 110px 0;

    background: var(--gris-claro);

}


.products-slider {

    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

}


.products-viewport {

    width: 100%;

    overflow: hidden;

}


.products-track {

    display: flex;

    gap: 22px;

    transition:
        transform .55s ease;

}


.product-card {

    flex: 0 0 calc(
        (100% - 66px) / 4
    );

    min-width: 0;

    background: var(--blanco);

    border: 1px solid var(--gris-borde);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}


.product-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}


.product-image {

    height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background: var(--blanco);

}


.product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.product-info {

    padding: 25px;

}


.product-category {

    display: block;

    margin-bottom: 8px;

    color: var(--verde-manzana);

    font-family: var(--titulo);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

}


.product-info h3 {

    margin-bottom: 18px;

    font-size: 18px;

}


.product-info a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--verde-musgo);

    font-family: var(--titulo);

    font-size: 10px;

    font-weight: 600;

}


.product-info a i {

    transition:
        transform var(--transition);

}


.product-info a:hover i {

    transform: translateX(5px);

}


/* ==================================================
   SLIDER BUTTONS
================================================== */

.slider-button {

    flex: 0 0 45px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: var(--verde-musgo);

    color: var(--blanco);

    cursor: pointer;

    transition: var(--transition);

}


.slider-button:hover {

    background: var(--verde-manzana);

    transform: scale(1.05);

}


.slider-button:disabled {

    opacity: .35;

    cursor: not-allowed;

    transform: none;

}


/* ==================================================
   PRODUCTS ACTION
================================================== */

.products-action {

    margin-top: 45px;

    text-align: center;

}


.btn-primary {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 28px;

    background: var(--verde-musgo);

    color: var(--blanco);

    font-family: var(--titulo);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .6px;

    transition: var(--transition);

}


.btn-primary:hover {

    background: var(--verde-manzana);

    transform: translateY(-2px);

}


/* ==================================================
   CTA
================================================== */

.cta {

    position: relative;

    padding: 110px 0;

    /* ==================================================
       IMAGEN DE FONDO
    ================================================== */

    background-image:
        linear-gradient(
            135deg,
            rgba(47, 28, 18, 0.68),
            rgba(47, 28, 18, 0.68)
        ),
        url("../img/de2596b7-72cb-442e-afa5-7962953f4059.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    color: var(--blanco);

    text-align: center;

}


/* ==================================================
   CONTENIDO CTA
================================================== */

.cta-content {

    max-width: 760px;

    margin: 0 auto;

    position: relative;

    z-index: 2;
    

}


/* ==================================================
   ETIQUETA DE SECCIÓN
================================================== */

.cta .section-tag {

    color: var(--verde-manzana);

}


/* ==================================================
   TÍTULO CTA
================================================== */

.cta h2 {

    margin-bottom: 18px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.15;

}


/* ==================================================
   TEXTO CTA
================================================== */

.cta p {

    max-width: 600px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.85);

}


/* ==================================================
   BOTÓN CTA
================================================== */

.btn-light {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 28px;

    background: var(--verde-manzana);

    color: var(--verde-musgo);

    font-family: var(--titulo);

    font-size: 11px;

    font-weight: 600;

    transition: var(--transition);

}


/* ==================================================
   HOVER BOTÓN
================================================== */

.btn-light:hover {

    background: var(--verde-manzana);

    color: var(--blanco);

    transform: translateY(-2px);

}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9998;

    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #25D366;

    color: var(--blanco);

    font-size: 26px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    transition: var(--transition);

}


.whatsapp:hover {

    transform: scale(1.08);

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    width: 100%;

    padding:
        70px 0 0;

    background:
        var(--blanco);

    border-top:
        1px solid var(--gris-borde);
}


/* =====================================================
   FOOTER GRID
===================================================== */

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 70px;

    padding-bottom: 60px;
}


/* =====================================================
   FOOTER BRAND
===================================================== */

.footer-brand img {

    width: 220px;

    margin-bottom: 20px;
}


.footer-brand p {

    max-width: 370px;

    color:
        var(--bistre);

    font-size: 18px;

    line-height: 1.7;
}


/* =====================================================
   FOOTER COLUMN
===================================================== */

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.footer-column h3 {

    margin-bottom: 25px;

    font-family: var(--titulo);

    font-size: 18px;

    font-weight: 600;

    color:
        var(--verde-musgo);
}


.footer-column a {

    margin-bottom: 11px;

    font-family: var(--texto);

    font-size: 18px;

    font-weight: 300;

    color:
        var(--bistre);

    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-column a:hover {

    color:
        var(--verde-manzana);

    transform:
        translateX(6px);
}


.footer-column p {

    margin-bottom: 12px;

    font-size: 18px;

    color:
        var(--bistre);
}


/* =====================================================
   REDES SOCIALES
===================================================== */

.social-links {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}


.social-links a {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0;

    border-radius: 50%;

    background:
        var(--verde-manzana);

    color:
        var(--blanco);

    font-size: 17px;

    transition:
        background var(--transition),
        transform var(--transition);
}


.social-links a:hover {

    background:
        var(--verde-musgo);

    color:
        var(--blanco);

    transform:
        translateY(-4px);
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {

    padding:
        23px 0;

    border-top:
        1px solid var(--gris-borde);

    text-align: center;
}


.footer-bottom p {

    font-family:
        var(--titulo);

    font-size: 13px;

    font-weight: 600;

    color:
        var(--verde-musgo);
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 9px;
}


::-webkit-scrollbar-track {

    background:
        #eeeeee;
}


::-webkit-scrollbar-thumb {

    background:
        var(--verde-musgo);

    border-radius:
        20px;
}


::-webkit-scrollbar-thumb:hover {

    background:
        var(--verde-manzana);
}


/* =====================================================
   SELECCIÓN
===================================================== */

::selection {

    background:
        var(--verde-musgo);

    color:
        var(--blanco);
}


/* =====================================================
   TABLET GRANDE
===================================================== */

@media (max-width: 1200px) {

    .menu {
        gap: 25px;
    }


    .menu > li > a {
        font-size: 14px;
    }


    .logo {
        width: 170px;
    }


    .productos-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .footer-grid {
        gap: 40px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .header {
        height: 95px;
    }


    .logo {
        width: 175px;
    }


    /* HEADER MOBILE */

    .menu-button {
        display: flex;
    }


    .header-cta {

        padding:
            11px 17px;

        font-size: 11px;
    }


    .navbar {

        position: fixed;

        top: 95px;
        left: -100%;

        width: 300px;

        height:
            calc(100vh - 95px);

        padding:
            25px;

        margin: 0;

        background:
            var(--blanco);

        box-shadow:
            10px 0 30px
            rgba(0, 0, 0, .10);

        transition:
            left var(--transition);

        overflow-y: auto;
    }


    .navbar.active {
        left: 0;
    }


    .menu {

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;
    }


    .menu > li {
        width: 100%;
    }


    .menu > li > a {

        width: 100%;

        height: auto;

        min-height: 55px;

        justify-content:
            space-between;

        border-bottom:
            1px solid var(--gris-borde);
    }


    /* DROPDOWN MOBILE */

    .dropdown-menu {

        position: static;

        width: 100%;

        border-top: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        display: none;
    }


    .dropdown:hover
    .dropdown-menu {

        display: none;
    }


    .dropdown.active
    .dropdown-menu {

        display: block;
    }


    .dropdown-menu a {

        padding:
            13px 15px;

        background:
            var(--gris-claro);
    }


    .dropdown-menu a:hover {

        padding-left:
            20px;
    }


    /* PRODUCTOS */

    .productos-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 50px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .header {
        height: 85px;
    }


    .logo {
        width: 155px;
    }


    .header-cta {
        display: none;
    }


    .navbar {

        top: 85px;

        height:
            calc(100vh - 85px);
    }


    /* CATEGORY */

    .category-header {

        padding-top: 85px;

        min-height: 280px;
    }


    .category-header-content {

        padding:
            55px 0;
    }


    .category-header h1 {
        font-size: 38px;
    }


    .category-header p {
        font-size: 15px;
    }


    /* PRODUCTOS */

    .productos-section {

        padding-top: 55px;
    }


    .productos-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;
    }


    .producto-image {

        height: 220px;

        padding: 18px;
    }


    .producto-info {

        padding:
            18px 14px 20px;
    }


    .producto-info h2 {

        font-size: 15px;
    }


    /* FOOTER */

    .footer {
        padding-top: 55px;
    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

        padding-bottom: 45px;
    }


    .footer-brand img {
        width: 200px;
    }


    .footer-brand p {
        max-width: 100%;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }


    .category-header h1 {
        font-size: 32px;
    }


    .category-header p {
        font-size: 14px;
    }


    .productos-grid {

        grid-template-columns:
            1fr;

        gap: 20px;
    }


    .producto-image {
        height: 260px;
    }


    .producto-info h2 {
        font-size: 17px;
    }


    .pagination {
        padding-bottom: 55px;
    }


    .whatsapp {

        width: 50px;
        height: 50px;

        right: 18px;
        bottom: 18px;

        font-size: 25px;
    }


    .footer-bottom p {
        font-size: 11px;
    }

}


/* =====================================================
   ANIMACIÓN PRODUCTOS
===================================================== */

@keyframes productFade {

    from {

        opacity: 0;

        transform:
            translateY(20px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


.producto-card {

    animation:
        productFade .6s ease both;
}


.producto-card:nth-child(2) {
    animation-delay: .05s;
}


.producto-card:nth-child(3) {
    animation-delay: .10s;
}


.producto-card:nth-child(4) {
    animation-delay: .15s;
}


.producto-card:nth-child(5) {
    animation-delay: .20s;
}


.producto-card:nth-child(6) {
    animation-delay: .25s;
}


.producto-card:nth-child(7) {
    animation-delay: .30s;
}


.producto-card:nth-child(8) {
    animation-delay: .35s;
}


.producto-card:nth-child(9) {
    animation-delay: .40s;
}


.producto-card:nth-child(10) {
    animation-delay: .45s;
}


.producto-card:nth-child(11) {
    animation-delay: .50s;
}


.producto-card:nth-child(12) {
    animation-delay: .55s;
}