/* =====================================================
   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;
}

/* =========================================================
   MAPA
========================================================= */

.map-section {

    padding-top:
        88px;

    background:
        var(--gris-claro);
}

.map-wrapper {

    position: relative;

    width: 100%;

    height: 500px;

    overflow: hidden;
}

.map-wrapper iframe {

    width: 100%;
    height: 100%;

    border: 0;

    filter:
        saturate(.7);
}

.map-label {

    position: absolute;

    top: 30px;
    left: 5%;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        15px 22px;

    background:
        rgba(255, 255, 255, .96);

    box-shadow:
        var(--shadow);

    border-left:
        4px solid var(--verde-manzana);
}

.map-label > i {

    color:
        var(--verde-manzana);

    font-size:
        22px;
}

.map-label strong {

    display: block;

    font-family:
        var(--font-title);

    font-size:
        14px;
}

.map-label span {

    display: block;

    color:
        var(--gris-texto);

    font-size:
        11px;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {

    padding:
        100px 0;

    background:
        var(--blanco);
}

.contact-grid {

    display: grid;

    grid-template-columns:
        .95fr 1.05fr;

    gap:
        90px;

    align-items:
        start;
}


/* =========================================================
   TEXTOS
========================================================= */

.section-tag,
.form-tag {

    display: inline-block;

    margin-bottom:
        12px;

    color:
        var(--verde-manzana);

    font-family:
        var(--font-title);

    font-size:
        11px;

    letter-spacing:
        1.5px;
}

.contact-information h1 {

    margin-bottom:
        20px;

    color:
        var(--bistre);

    font-family:
        var(--font-title);

    font-size:
        clamp(35px, 4vw, 50px);

    line-height:
        1.15;
}

.contact-intro {

    max-width:
        540px;

    margin-bottom:
        40px;

    color:
        var(--gris-texto);

    font-size:
        15px;
}


/* =========================================================
   CONTACT ITEMS
========================================================= */

.contact-item {

    display: flex;

    align-items:
        flex-start;

    gap:
        18px;

    margin-bottom:
        28px;
}

.contact-icon {

    width:
        48px;

    height:
        48px;

    flex-shrink:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        rgba(142, 165, 50, .12);

    color:
        var(--verde-musgo);

    border-radius:
        50%;

    transition:
        var(--transition);
}

.contact-item:hover .contact-icon {

    background:
        var(--verde-musgo);

    color:
        var(--blanco);

    transform:
        translateY(-3px);
}

.contact-item h3 {

    margin-bottom:
        3px;

    color:
        var(--bistre);

    font-family:
        var(--font-title);

    font-size:
        14px;
}

.contact-item p {

    color:
        var(--gris-texto);

    font-size:
        12px;

    line-height:
        1.6;
}

.contact-item a {

    display:
        inline-block;

    margin-top:
        5px;

    color:
        var(--verde-musgo);

    font-family:
        var(--font-title);

    font-size:
        9px;

    letter-spacing:
        .8px;
}

.contact-item a:hover {
    color:
        var(--verde-manzana);
}


/* =========================================================
   FORMULARIO
========================================================= */

.contact-form-wrapper {

    padding:
        45px;

    background:
        var(--gris-claro);

    border-top:
        4px solid var(--verde-manzana);

    box-shadow:
        var(--shadow);
}

.contact-form-wrapper h2 {

    margin-bottom:
        10px;

    font-family:
        var(--font-title);

    font-size:
        clamp(24px, 3vw, 32px);

    line-height:
        1.25;
}

.contact-form-wrapper > p {

    margin-bottom:
        30px;

    color:
        var(--gris-texto);

    font-size:
        13px;
}


/* FORM ROW */

.form-row {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        18px;
}

.form-group {

    margin-bottom:
        20px;
}

.form-group label {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--bistre);

    font-family:
        var(--font-title);

    font-size:
        10px;

    letter-spacing:
        .4px;
}

.form-group input,
.form-group textarea,
.form-group select {

    width:
        100%;

    padding:
        13px 15px;

    border:
        1px solid var(--gris-medio);

    outline:
        none;

    background:
        var(--blanco);

    color:
        var(--bistre);

    font-family:
        var(--font-body);

    font-size:
        12px;

    transition:
        var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-color:
        var(--verde-manzana);

    box-shadow:
        0 0 0 3px rgba(142, 165, 50, .12);
}

.form-group textarea {

    min-height:
        130px;

    resize:
        vertical;
}


/* =========================================================
   BOTÓN FORMULARIO
========================================================= */

.form-button {

    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    padding:
        15px 20px;

    background:
        var(--verde-manzana);

    color:
        var(--blanco);

    font-family:
        var(--font-title);

    font-size:
        10px;

    letter-spacing:
        .8px;

    transition:
        var(--transition);
}

.form-button:hover {

    background:
        var(--verde-musgo);

    transform:
        translateY(-2px);
}

.form-button i {

    transition:
        transform .3s ease;
}

.form-button:hover i {
    transform:
        translateX(5px);
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.form-message {

    margin-top:
        15px;

    text-align:
        center;

    font-size:
        11px;
}

.form-message.success {
    color:
        var(--verde-musgo);
}

.form-message.error {
    color:
        #a33a2b;
}


/* =========================================================
   GALERÍA
========================================================= */

.contact-gallery {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    height:
        230px;

    overflow:
        hidden;
}

.gallery-item {
    overflow:
        hidden;
}

.gallery-item img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    transition:
        transform .6s ease;
}

.gallery-item:hover img {
    transform:
        scale(1.08);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp {

    position:
        fixed;

    right:
        25px;

    bottom:
        25px;

    width:
        58px;

    height:
        58px;

    z-index:
        999;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        #25D366;

    color:
        var(--blanco);

    border-radius:
        50%;

    font-size:
        27px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .18);

    transition:
        var(--transition);
}

.whatsapp:hover {

    transform:
        scale(1.1);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .25);
}


/* =====================================================
   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;
}