/* =====================================================
   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 SLIDER
===================================================== */

.hero {
    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;

    overflow: hidden;

    isolation: isolate;
}


/* =====================================================
   CONTENEDOR DE SLIDES
===================================================== */

.hero-slider {
    position: absolute;

    inset: 0;

    z-index: -3;
}


/* =====================================================
   SLIDE
===================================================== */

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;

    visibility: visible;
}


/* =====================================================
   IMAGEN
===================================================== */

.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* =====================================================
   OVERLAY
===================================================== */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(47,28,18,.80),
            rgba(47,28,18,.35),
            rgba(47,28,18,.10)
        );
}


/* =====================================================
   CONTENIDO
===================================================== */

.hero-content {
    margin-top: 15rem;
    
    padding-left: 5rem;

    position: relative;

    z-index: 3;

    width: min(92%, var(--container));

    padding-top: 80px;

    color: var(--blanco);
}


/* =====================================================
   FLECHAS
===================================================== */

.hero-slider-button {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--blanco);

    background: rgba(47,28,18,.55);

    border: 1px solid rgba(255,255,255,.35);

    transform: translateY(-50%);

    cursor: pointer;

    transition:
        background-color .35s ease,
        transform .35s ease;
}

.hero-slider-button:hover {
    background: var(--verde-manzana);

    transform:
        translateY(-50%)
        scale(1.05);
}

.hero-slider-prev {
    left: 30px;
}

.hero-slider-next {
    right: 30px;
}


/* =====================================================
   INDICADORES
===================================================== */

.hero-slider-dots {
    position: absolute;

    left: 50%;
    bottom: 35px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.55);

    cursor: pointer;

    transition:
        width .35s ease,
        background-color .35s ease;
}

.hero-dot.active {
    width: 30px;

    border-radius: 10px;

    background: var(--verde-manzana);
}


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 992px) {

    .hero {
        min-height: 650px;
    }

    .hero-slider-button {
        width: 45px;
        height: 45px;
    }

    .hero-slider-prev {
        left: 20px;
    }

    .hero-slider-next {
        right: 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 768px) {

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-slider-button {
        width: 40px;
        height: 40px;

        font-size: 13px;
    }

    .hero-slider-prev {
        left: 12px;
    }

    .hero-slider-next {
        right: 12px;
    }

    .hero-slider-dots {
        bottom: 25px;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media screen and (max-width: 480px) {

    .hero {
        min-height: 570px;
    }

    .hero-slider-button {
        width: 36px;
        height: 36px;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

}


/* =====================================================
   BOTONES
===================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    font-family: var(--titulo);
    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    color: var(--blanco);
    background: var(--verde-manzana);
}

.btn-primary:hover {
    background: var(--verde-musgo);
    transform: translateY(-3px);
}

.btn-outline {
    color: var(--blanco);
    border: 1px solid rgba(255,255,255,.8);
}

.btn-outline:hover {
    color: var(--bistre);
    background: var(--blanco);
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    padding: 110px 0;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    height: 520px;
    overflow: hidden;
}

.about-image img {
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 600px;
}

.section-tag {
    color: var(--verde-manzana);
}

.about h2,
.section-header h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;

    color: var(--verde-musgo);

    margin-bottom: 25px;
}

.about p {
    color: var(--gris);
    margin-bottom: 18px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 15px;

    font-family: var(--titulo);
    font-size: 12px;

    color: var(--verde-musgo);

    transition: var(--transition);
}

.text-link:hover {
    color: var(--verde-manzana);
    gap: 15px;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.section-header {
    max-width: 750px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-header p {
    color: var(--gris);
}


/* =====================================================
   CATEGORÍAS
===================================================== */

.categories {
    padding: 110px 0;

    background: var(--gris-claro);
}

.categories-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.category-card {
    position: relative;

    height: 370px;

    overflow: hidden;

    background: var(--verde-musgo);
}

.category-card img {
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 30px;

    color: var(--blanco);

    background: linear-gradient( transparent 30%, rgba(47, 28, 18, 0.85) );
}

.category-overlay h3 {
    font-size: 25px;

    margin-bottom: 10px;
}

.category-overlay span {
    font-family: var(--titulo);
    font-size: 11px;

    letter-spacing: 1px;
}

.category-overlay i {
    margin-left: 8px;
}


/* =====================================================
   SLIDER DE PRODUCTOS
===================================================== */
.products {

    padding: 110px 0;

    background: var(--qs-blanco);

}
.products-slider {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;

    width: 100%;
}

.products-track {
    width: 100%;

    display: flex;

    gap: 20px;

    overflow-x: hidden;
    overflow-y: visible;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 calc((100% - 40px) / 3);

    min-width: 0;

    background: var(--blanco);

    border: 1px solid var(--gris-borde);

    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-info {
    padding: 25px;
}

.product-info > span {
    font-family: var(--titulo);
    font-size: 10px;

    color: var(--verde-manzana);

    letter-spacing: 1px;
}

.product-info h3 {
    margin: 8px 0 18px;

    font-size: 18px;

    color: var(--verde-musgo);
}

.product-info a {
    font-family: var(--titulo);
    font-size: 10px;

    color: var(--bistre);
}

.product-info a:hover {
    color: var(--verde-manzana);
}


/* =====================================================
   FLECHAS DEL SLIDER
===================================================== */

.slider-button {
    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--blanco);

    background: var(--verde-musgo);

    cursor: pointer;

    transition:
        background-color .35s ease,
        transform .35s ease,
        opacity .35s ease;
}

.slider-button:hover {
    background: var(--verde-manzana);
    transform: translateY(-2px);
}

.slider-button:active {
    transform: translateY(0);
}

.slider-button:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}


/* =====================================================
   BENEFICIOS
===================================================== */

.benefits {
    padding: 100px 0;

    color: var(--blanco);

    background: var(--verde-musgo);
}

.section-header.light h2 {
    color: var(--blanco);
}

.section-header.light p {
    color: rgba(255,255,255,.75);
}

.benefits-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 50px;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 100px;
    height: 100px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--blanco);

    background: var(--verde-manzana);

    font-size: 25px;
}

.benefit h3 {
    margin-bottom: 15px;

    font-size: 30px;
}

.benefit p {
    color: rgba(255,255,255,.75);
}


/* =====================================================
   CTA
===================================================== */

.cta {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;
    padding-top: 1rem;
    text-align: center;

    color: var(--blanco);

    background:
        linear-gradient(
            rgba(47,28,18,.65),
            rgba(47,28,18,.65)
        ),
        url("../img/14440d8d-1744-4ce9-907e-8402cefe25c9.png") center/cover no-repeat;
}

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
}

.cta h2 {
    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.1;

    margin-bottom: 25px;
}

.cta p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.85);
}


/* =====================================================
   WHATSAPP
===================================================== */

.whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--blanco);

    background: #25D366;

    font-size: 27px;

    box-shadow: 0 8px 25px rgba(0,0,0,.2);

    z-index: 9990;

    transition: var(--transition);
}

.whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
}


/* =====================================================
   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;
}