body {

    background: #F7F8F2;

}

/* ===============================
RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--font-text);

    color: var(--dark);

    background: var(--white);

    overflow-x: hidden;

}

img {

    max-width: 100%;

    display: block;

}

/* ===============================
TIPOGRAFÍA DE TÍTULOS
Fuente grande y llamativa para toda la web (Baloo 2),
pensada para destacar frente al público agricultor.
================================= */

h1,
h2,
h3,
.section-header h2,
.about-content h2,
.products-header h2,
.category-card h3,
.product-info h3,
.modal-right h2 {

    font-family: var(--font-title);

    font-weight: 700;

    letter-spacing: .2px;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

section {

    padding: var(--section-padding) 0;

}


.container-custom {

    width: 90%;

    max-width: 1280px;

    margin: auto;

}

.contenedor-custom {

    width: 90%;

    max-width: 1200px;

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

}

/*==============================
NAVBAR
==============================*/

.navbar-custom {

    padding: 10px 0;

    transition: .35s;

    background: rgba(247, 248, 242, .85);

    backdrop-filter: blur(10px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);

}

.navbar-custom.scrolled {

    background: #fff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);

    padding: 12px 0;

}

.logo {

    height: 70px;

    width: auto;

    object-fit: contain;
    transition: height .35s;

}

.nav-link {

    color: #5c5c5c;

    font-family: var(--font-title);

    font-weight: 600;

    transition: .25s ease;

    padding: 8px 16px !important;

    border-radius: 30px;

    position: relative;

}

.nav-link:hover {

    color: var(--accent-green, #3c8d2f);

    background: rgba(60, 141, 47, .10);

}

.nav-link.nav-active {

    color: #fff;

    background: var(--accent-green, #3c8d2f);

    font-weight: 700;

    box-shadow: 0 6px 16px rgba(60, 141, 47, .30);

}

.nav-link.nav-active:hover {

    color: #fff;

    background: var(--accent-green-dark, #2a6a22);

}

.nav-link.nav-active::after {

    content: none;

}


.navbar-custom.scrolled .nav-link {

    color: var(--dark);

}

.navbar-custom.scrolled .nav-link.nav-active {

    color: #fff;

}

.btn-contacto {

    background: var(--primary-color);

    color: white;

    padding: 12px 26px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.btn-contacto:hover {

    background: #246528;

    color: white;

}

.navbar-toggler {

    margin-left: auto;

    color: black;

}

.navbar-custom.scrolled .navbar-toggler i {

    color: var(--dark);

}

/*==============================
DROPDOWN
==============================*/

.dropdown-menu {

    border: none;

    border-radius: 18px;

    box-shadow: 0 20px 45px rgba(15, 60, 20, .16);

    padding: 14px;

    min-width: 300px;

    margin-top: 14px;

    background: #fff;

    border-top: 4px solid var(--accent-green, #3c8d2f);

}

.dropdown-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 11px 14px;

    border-radius: 12px;

    font-weight: 500;

    color: var(--dark);

    border-left: 3px solid transparent;

    transition: .22s ease;

}

.dropdown-item .cat-icon {

    width: 34px;

    height: 34px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(60, 141, 47, .12);

    color: var(--accent-green, #3c8d2f);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 16px;

    transition: .22s ease;

}

.dropdown-item:hover,
.dropdown-item:focus {

    background: rgba(60, 141, 47, .08);

    color: var(--accent-green-dark, #2a6a22);

    border-left-color: var(--accent-green, #3c8d2f);

    transform: translateX(4px);

}

.dropdown-item:hover .cat-icon {

    background: var(--accent-green, #3c8d2f);

    color: #fff;

    transform: scale(1.12);

}

.dropdown-item.dropdown-item-all {

    margin-top: 6px;

    border-top: 1px solid #eee;

    padding-top: 14px;

    font-weight: 700;

    color: var(--accent-green-dark, #2a6a22);

}

/* Desktop */

@media(min-width:992px) {

    .dropdown:hover>.dropdown-menu {

        display: block;

    }

}

/*==============================
HERO
==============================*/

.hero {

    padding: 150px 0 70px;

    background: linear-gradient(135deg,
            #F7F8FA 0%,
            #FFFFFF 100%);

    overflow: hidden;

}

.hero::before,
.hero::after {

    content: "";

    position: absolute;

    border-radius: 50%;

    filter: blur(10px);

    z-index: -1;

    pointer-events: none;

}

.hero::before {

    width: 420px;

    height: 420px;

    background: radial-gradient(circle, rgba(60, 141, 47, .10) 0%, transparent 70%);

    top: -140px;

    right: -80px;

}

.hero::after {

    width: 340px;

    height: 340px;

    background: radial-gradient(circle, rgba(249, 168, 37, .14) 0%, transparent 70%);

    bottom: -120px;

    left: 8%;

}

.hero .row {

    align-items: center;

}

.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #E8F5E9;

    color: var(--primary-color);

    padding: 9px 20px;

    border-radius: 50px;

    font-weight: 700;

    font-size: 13.5px;

    letter-spacing: .3px;

    text-transform: uppercase;

    margin-bottom: 22px;

}

.hero h1 {

    font-family: var(--font-title);

    font-size: clamp(2.6rem, 4.2vw, 3.8rem);

    font-weight: 700;

    line-height: 1.18;

    margin-bottom: 25px;

}

.hero p {

    color: var(--gray);

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 35px;

}

.hero-buttons {

    display: flex;
    gap: 20px;
    margin-top: 0;
    margin-bottom: 45px;

}

/* Franja de valores numerados, estilo editorial */

.hero-highlights {

    display: grid;

    gap: 18px;

    padding-top: 30px;

    border-top: 1px solid rgba(0, 0, 0, .08);

}

.hero-highlight {

    display: flex;

    align-items: flex-start;

    gap: 16px;

}

.hero-highlight-num {

    font-family: var(--font-title);

    font-size: 15px;

    font-weight: 700;

    color: var(--accent-green, #3c8d2f);

    background: rgba(60, 141, 47, .10);

    width: 34px;

    height: 34px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}

.hero-highlight strong {

    display: block;

    font-size: 15px;

    margin-bottom: 2px;

    color: var(--dark);

}

.hero-highlight p {

    margin: 0;

    font-size: 13.5px;

    color: var(--gray);

    line-height: 1.5;

}

/* Marco de la imagen + insignia flotante */

.hero-media {

    position: relative;

}

.hero-badge {

    position: absolute;

    left: -18px;

    bottom: -22px;

    background: #fff;

    border-radius: 16px;

    padding: 14px 20px;

    display: flex;

    align-items: center;

    gap: 12px;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);

    z-index: 2;

}

.hero-badge i {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: var(--accent-green, #3c8d2f);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;

    flex-shrink: 0;

}

.hero-badge strong {

    display: block;

    font-family: var(--font-title);

    font-size: 14.5px;

    color: var(--dark);

}

.hero-badge span {

    font-size: 12px;

    color: var(--gray);

}

.hero-image {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow);

    /* La flotación sutil ahora la controla assets/js/animations.js (GSAP) */

}

.btn-primary-custom {

    background: var(--primary-color);

    color: white;

    padding: 15px 30px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.btn-primary-custom:hover {

    background: #246528;

    color: white;

}

.btn-outline-custom {

    border: 2px solid var(--primary-color);

    color: var(--primary-color);

    padding: 15px 30px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}

.btn-outline-custom:hover {

    background: var(--primary-color);

    color: white;

}



@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

    100% {

        transform: translateY(0);

    }

}

/* ==============================
   PARTÍCULAS DEL HERO (polen / semillas)
   Generadas por assets/js/animations.js, solo dentro del hero.
================================ */

.hero-particles {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    z-index: 0;

}

.hero,
.products-hero {

    position: relative;

    z-index: 0;

}

.hero .container-custom,
.hero .contenedor-custom {

    position: relative;

    z-index: 1;

}

/* ==============================
   ELEMENTOS ORGÁNICOS SVG (hojas / raíces)
   Se "dibujan" sutilmente al entrar al viewport (ver animations.js)
================================ */

.organic-svg {

    position: absolute;

    pointer-events: none;

    z-index: -1;

    opacity: .5;

}

.organic-svg path,
.organic-svg .leaf-path {

    fill: none;

    stroke: var(--primary-light, #66BB6A);

    stroke-width: 1.6;

    stroke-linecap: round;

}

/* Ancla para poder colocar una .organic-svg dentro de cualquier
   sección sin alterar su "position" ni su flujo (height:0). */

.organic-svg-anchor {

    position: relative;

    height: 0;

}

/* ==============================
   ACCESIBILIDAD: prefers-reduced-motion
   Anula animaciones CSS/GSAP para quienes las desactivaron.
================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;

    }

    .hero-particles,
    .organic-svg {

        display: none;

    }

}

/* ==============================
   BANNER PROMOCIONAL (SORTEO)
   Ubicado entre el navbar y el hero del home.
================================ */

.promo-banner {

    margin-top: 96px;

    background: linear-gradient(100deg,
            var(--primary-color, #2E7D32) 0%,
            var(--accent-green, #3c8d2f) 45%,
            var(--accent-teal-dark, #0a6567) 100%);

    color: #fff;

    position: relative;

    z-index: 5;

    overflow: hidden;

}

.promo-banner::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .14) 0, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(249, 168, 37, .22) 0, transparent 50%);

    pointer-events: none;

}

/* Cinta de premios en movimiento continuo (marquee) */

.promo-ticker {

    overflow: hidden;

    background: rgba(0, 0, 0, .14);

    padding: 6px 0;

    position: relative;

}

.promo-ticker-track {

    display: flex;

    gap: 36px;

    width: max-content;

    white-space: nowrap;

    padding-left: 20px;

}

.promo-ticker-track span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    font-size: 12.5px;

    font-weight: 600;

    letter-spacing: .3px;

    color: rgba(255, 255, 255, .92);

}

.promo-ticker-track span i {

    color: var(--secondary-color, #F9A825);

    font-size: 12px;

}

.promo-banner-inner {

    width: 92%;

    max-width: 1320px;

    margin: auto;

    padding: 16px 0;

    display: flex;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    position: relative;

}

.promo-banner-badge {

    flex-shrink: 0;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .16);

    border: 2px solid rgba(255, 255, 255, .35);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    color: var(--secondary-color, #F9A825);

}

.promo-banner-text {

    display: flex;

    flex-direction: column;

    gap: 2px;

    flex: 1 1 240px;

    min-width: 200px;

}

.promo-banner-text strong {

    font-family: var(--font-title);

    font-size: 17px;

    font-weight: 700;

}

.promo-banner-text span {

    font-size: 13.5px;

    color: rgba(255, 255, 255, .88);

}

/* Cuenta regresiva en cajas */

.promo-banner-countdown {

    display: flex;

    align-items: center;

    gap: 10px;

}

.promo-countdown-box {

    background: rgba(255, 255, 255, .16);

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 14px;

    padding: 10px 16px;

    text-align: center;

    min-width: 62px;

    line-height: 1.1;

}

.promo-countdown-box span {

    display: block;

    font-family: var(--font-title);

    font-size: 26px;

    font-weight: 700;

    color: var(--secondary-color, #F9A825);

}

.promo-countdown-box small {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .5px;

    color: rgba(255, 255, 255, .78);

}

.promo-banner-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: auto;

    flex-wrap: wrap;

}

.promo-banner-btn {

    border: none;

    padding: 11px 22px;

    border-radius: 30px;

    font-weight: 700;

    font-size: 13.5px;

    cursor: pointer;

    white-space: nowrap;

    text-decoration: none;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    transition: .25s ease;

}

.promo-banner-btn-primary {

    background: var(--secondary-color, #F9A825);

    color: #1F2937;

    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);

}

.promo-banner-btn-primary:hover {

    background: #fff;

    color: #1F2937;

    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);

}

.promo-banner-btn-ghost {

    background: rgba(255, 255, 255, .14);

    color: #fff;

    border: 1.5px solid rgba(255, 255, 255, .5);

}

.promo-banner-btn-ghost:hover {

    background: rgba(255, 255, 255, .26);

    transform: translateY(-2px);

}

.promo-banner-close {

    border: none;

    background: rgba(255, 255, 255, .14);

    color: #fff;

    width: 30px;

    height: 30px;

    border-radius: 50%;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: .2s ease;

}

.promo-banner-close:hover {

    background: rgba(255, 255, 255, .3);

    transform: rotate(90deg);

}

/* Modal con el afiche completo del sorteo */

.promo-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .72);

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

    z-index: 10001;

}

.promo-modal.show {

    display: flex;

}

.promo-modal-content {

    position: relative;

    max-width: 480px;

    width: 100%;

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    gap: 14px;

    overflow-y: auto;

    padding: 4px;

}

.promo-modal-content img {

    width: 100%;

    height: auto;

    max-height: 55vh;

    object-fit: contain;

    border-radius: 16px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);

}

/* Miniatura de la foto del sorteo dentro del banner promocional */

.promo-banner-photo {

    flex-shrink: 0;

    border: none;

    padding: 0;

    background: none;

    cursor: pointer;

    width: 64px;

    height: 64px;

    border-radius: 12px;

    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, .5);

    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);

    transition: transform .25s ease, box-shadow .25s ease;

}

.promo-banner-photo:hover {

    transform: translateY(-2px) scale(1.03);

    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);

}

.promo-banner-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}

@media (max-width: 575.98px) {

    .promo-banner-photo {

        width: 50px;

        height: 50px;

    }

}

.promo-modal-cta {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: var(--secondary-color, #F9A825);

    color: #1F2937;

    font-weight: 700;

    padding: 13px 20px;

    border-radius: 40px;

    text-decoration: none;

    transition: .25s ease;

}

.promo-modal-cta:hover {

    background: #fff;

    color: #1F2937;

    transform: translateY(-2px);

}

.promo-modal-close {

    position: absolute;

    top: -18px;

    right: -18px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: none;

    background: #fff;

    color: #1F2937;

    font-size: 22px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);

    transition: .25s ease;

}

.promo-modal-close:hover {

    background: var(--secondary-color, #F9A825);

    transform: rotate(90deg);

}

@media (max-width: 768px) {

    .promo-banner {

        margin-top: 90px;

    }

    .promo-banner-inner {

        padding: 14px 0;

        gap: 12px;

    }

    .promo-banner-actions {

        margin-left: 0;

        width: 100%;

        justify-content: space-between;

    }

    .promo-banner-countdown {

        order: 3;

        width: 100%;

        justify-content: center;

    }

    .promo-countdown-box {

        min-width: 50px;

        padding: 8px 10px;

    }

    .promo-countdown-box span {

        font-size: 20px;

    }

    .promo-modal-close {

        top: -14px;
        right: 0;

    }

}

/* Compensa el espacio del hero del home cuando ya existe el banner encima */

#hero .hero {

    padding-top: 30px;

}

/* ==============================
   ABOUT PREVIEW
================================ */

.about-preview {
    background: #ffffff;
}

/* ==============================
   ALIADOS — cinta de logos en movimiento continuo
   (inspirada en las secciones de "alianzas" de sitios agro premium)
================================ */

.aliados-section {

    background: #f7f9f7;

    padding: 40px 0 34px;

    overflow: hidden;

}

.aliados-label {

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    font-size: 12.5px;

    font-weight: 700;

    color: var(--gray);

    margin-bottom: 26px;

}

.aliados-track-wrap {

    overflow: hidden;

    width: 100%;

}

.aliados-track {

    display: flex;

    align-items: center;

    gap: 46px;

    width: max-content;

}

.aliado-logo {

    flex-shrink: 0;

    width: 210px;

    height: 125px;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 7px;

}

.aliado-logo img {
   
    width: 100%;
    
    height: 100%;
    
    max-width: none;
    
    max-height: none;
    
    object-fit: cover;
    
    filter: none;
    
    opacity: 1;
    
    transition: .3s ease;
}

.aliado-logo:hover img {

    filter: grayscale(0);

    opacity: 1;

    transform: scale(1.05);

}

/* ==============================
   PREGUNTAS FRECUENTES
================================ */

.faq-section {

    padding: var(--section-padding, 100px) 0;

    background: #fff;

}

.faq-accordion {

    max-width: 860px;

    margin: 40px auto 0;

}

.faq-item {

    border: none;

    background: #f7f9f7;

    border-radius: 16px !important;

    margin-bottom: 16px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);

}

.faq-item .accordion-button {

    font-family: var(--font-title);

    font-weight: 600;

    font-size: 16px;

    color: var(--dark);

    background: transparent;

    padding: 20px 24px;

    box-shadow: none !important;

}

.faq-item .accordion-button:not(.collapsed) {

    color: var(--accent-green-dark, #2a6a22);

    background: #eef7ea;

}

.faq-item .accordion-button::after {

    filter: brightness(0) saturate(100%) invert(38%) sepia(66%) saturate(482%) hue-rotate(67deg) brightness(93%) contrast(92%);

}

.faq-item .accordion-body {

    padding: 4px 24px 24px;

    color: #555;

    line-height: 1.7;

}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}


.about-image {
    position: relative;
}


.about-image img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: var(--shadow);
    margin-top: 50px;
    margin-bottom: 50px;
}


.section-tag {
    display: inline-block;
    color: #363837;
    font-weight: 600;
    margin-bottom: 15px;
}


.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}


.about-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}


/* Cards */

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}


.about-card {
    padding: 25px;
    background: #f7f9f7;
    border-radius: 18px;
    border-left: 4px solid var(--accent-green);
    transition: .3s ease;
}


.about-card:hover {
    transform: translateY(-8px);
}


.about-card:nth-child(2) {
    background: #fff8ea;
    border-left-color: var(--accent-gold);
}

.about-card:nth-child(3) {
    background: #eefbfa;
    border-left-color: var(--accent-teal);
}

.about-card:nth-child(2) i {
    color: var(--accent-gold-dark);
}

.about-card:nth-child(3) i {
    color: var(--accent-teal-dark);
}


.about-card span {
    font-size: 30px;
}


.about-card h3 {
    margin: 15px 0 10px;
}


.about-card p {
    font-size: 14px;
}

/* ==============================
   CATEGORIES SECTION
================================ */


.categories-section {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: #f8faf8;
}



.section-header {
    text-align: center;
    max-width: 750px;
    margin: auto;
}


.section-header h2 {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    margin: 15px 0;
}


.section-header p {
    color: #666;
    line-height: 1.7;
}



/* GRID */

.categories-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}



.category-card {

    background: var(--white);

    padding: 35px 30px;

    border-radius: 20px;

    border-top: 5px solid var(--primary-color);

    box-shadow: var(--shadow);

    transition: var(--transition);

    display: flex;

    flex-direction: column;

    height: 100%;

}


.category-icon {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: rgba(46, 125, 50, .10);

    color: var(--primary-color);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 32px;

    margin-bottom: 25px;

}

.category-card:hover {

    border-top-color: var(--secondary-color);

}

/* Rotación de color: verde / dorado / turquesa, cada 3 tarjetas */

.category-card:nth-child(3n+2) {

    background: #fff8ea;

    border-top-color: var(--accent-gold);

}

.category-card:nth-child(3n+2) .category-icon {

    background: rgba(249, 168, 37, .16);

    color: var(--accent-gold-dark);

}

.category-card:nth-child(3n+2):hover {

    border-top-color: var(--accent-green);

}

.category-card:nth-child(3n+3) {

    background: #eefbfa;

    border-top-color: var(--accent-teal);

}

.category-card:nth-child(3n+3) .category-icon {

    background: rgba(15, 139, 141, .14);

    color: var(--accent-teal-dark);

}

.category-card:nth-child(3n+3):hover {

    border-top-color: var(--accent-gold);

}

.category-card h3 {

    margin-bottom: 15px;

    font-size: 22px;

}

.category-card p {

    color: var(--gray);

    line-height: 1.7;

    margin-bottom: 25px;

    flex-grow: 1;

}

.category-card a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--primary-color);

    font-weight: 600;

    transition: var(--transition);

}

.category-card a:hover {

    color: var(--secondary-color);

}

.category-card a i {

    transition: var(--transition);

}

.category-card:hover a i {

    transform: translateX(5px);

}

/* ==============================
   Productos
================================ */


.featured-products {


    background: white;

}



.products-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}



.product-card {

    background: var(--white);

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: var(--transition);

    display: flex;

    flex-direction: column;

    height: 100%;

}



.product-card:hover {

    transform: translateY(-10px);

}



.product-image {

    height: 260px;

    background: var(--light);

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}



.product-image img {

    max-width: 80%;

    max-height: 80%;

    object-fit: contain;

    transition: var(--transition);

}

.product-card:hover .product-image img {

    transform: scale(1.08);

}


.product-info {

    padding: 25px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



.product-category {

    color: var(--primary-color);

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

}



.product-info h3 {

    margin: 15px 0;

    font-size: 24px;

}


.product-info p {

    color: var(--gray);

    line-height: 1.7;

    flex-grow: 1;

}



.product-actions {

    display: flex;

    gap: 12px;

    margin-top: 25px;

}



.product-actions a {

    flex: 1;

    text-align: center;

    padding: 12px 16px;

    border-radius: 30px;

    font-weight: 600;

    transition: var(--transition);

}

.product-actions a:first-child {

    border: 2px solid var(--primary-color);

    color: var(--primary-color);

}



.btn-product {

    background: var(--primary-color);

    color: var(--white) !important;

}

.btn-product:hover {

    background: #246528;

}



.products-button {

    display: flex;
    justify-content: center;

}



.products-button a {

    display: inline-block;

    background: var(--primary-color);

    color: var(--white);

    padding: 16px 36px;

    margin-top: 25px;

    border-radius: 40px;

    font-weight: 600;

    transition: var(--transition);

}

.products-button a:hover {

    background: #246528;

}



/* ==============================
   POR QUÉ AGRODISER
================================ */


.why-section {


    background: #f8faf8;

}



.why-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

}



.why-card {

    background: white;

    padding: 35px 25px;

    border-radius: 20px;

    text-align: center;

    transition: .3s ease;

}



.why-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow);

}



.why-icon {

    width: 80px;

    height: 80px;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: rgba(46, 125, 50, .12);

    color: var(--primary-color);

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 36px;

    transition: .3s ease;

}

/* Tarjetas con color sólido, alternadas, para romper el blanco */

.why-card:nth-child(odd) {

    background: linear-gradient(150deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);

    color: #fff;

}

.why-card:nth-child(odd) .why-icon {

    background: rgba(255, 255, 255, .18);

    color: #fff;

}

.why-card:nth-child(odd) h3 {

    color: #fff;

}

.why-card:nth-child(odd) p {

    color: rgba(255, 255, 255, .85);

}

.why-card:nth-child(even) {

    background: linear-gradient(150deg, #fff6e3 0%, #ffe6b3 100%);

}

.why-card:nth-child(even) .why-icon {

    background: rgba(249, 168, 37, .28);

    color: var(--accent-gold-dark);

}

.why-card:nth-child(even) h3 {

    color: var(--accent-gold-dark);

}

.why-card:hover .why-icon {

    transform: scale(1.1) rotate(-6deg);

}



.why-card h3 {

    font-size: 20px;

    margin-bottom: 15px;

}



.why-card p {

    color: #666;

    line-height: 1.6;

    font-size: 15px;

}

/* ==============================
   CTA SECTION
================================ */

.cta-section {

    padding: 70px 0;

    background:
        linear-gradient(rgba(13, 45, 16, .85),
            rgba(10, 35, 13, .88)),
        url("../img/empresa/galeria/hero-campo.jpg") center/cover no-repeat;

}

.cta-container {

    max-width: 900px;

    margin: auto;

}

.cta-content {

    text-align: center;

    color: var(--white);

}

.cta-content span {

    display: inline-block;

    padding: 8px 20px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .12);

    font-weight: 600;

    margin-bottom: 25px;

}

.cta-content h2 {

    font-size: 42px;

    line-height: 1.25;

    margin-bottom: 25px;

}

.cta-content p {

    max-width: 700px;

    margin: 0 auto 40px;

    font-size: 18px;

    line-height: 1.8;

    color: rgba(255, 255, 255, .90);

}

.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.cta-buttons a {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 220px;

    padding: 16px 30px;

    border-radius: 50px;

    font-weight: 600;

    transition: var(--transition);

}

.cta-primary {

    background: var(--white);

    color: var(--primary-color);

}

.cta-primary:hover {

    transform: translateY(-4px);

    background: #f2f2f2;

}

.cta-secondary {

    border: 2px solid var(--white);

    color: var(--white);

}

.cta-secondary:hover {

    background: var(--white);

    color: var(--primary-color);

    transform: translateY(-4px);

}

/* ==============================
   FOOTER
================================ */

.footer {

    background: #12311b;

    color: var(--white);

    padding: 80px 0 25px;

}

.footer-container {

    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr 1.2fr;

    gap: 50px;

}

.footer-brand img {

    width: 180px;

    margin-bottom: 20px;

}

.footer-column h3 {

    margin-bottom: 20px;

    font-size: 20px;

}

.footer-column p {

    color: rgba(255, 255, 255, .75);

    line-height: 1.8;

    margin-bottom: 12px;

}

.footer-column a {

    display: block;

    color: rgba(255, 255, 255, .75);

    margin-bottom: 14px;

    transition: var(--transition);

}

.footer-column a:hover {

    color: var(--secondary-color);

    padding-left: 5px;

}

.footer-social {

    display: flex;

    gap: 15px;

    margin-top: 25px;

}

.footer-social a {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .10);

    display: flex;

    justify-content: center;

    align-items: center;

    color: var(--white);

    font-size: 18px;

}

.footer-social a:hover {

    background: var(--primary-color);

}

.footer-bottom {

    margin-top: 60px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, .10);

    text-align: center;

}

.footer-bottom p {

    color: rgba(255, 255, 255, .60);

    margin: 0;

}



/* WhatsApp */

.whatsapp-button {

    position: fixed;

    right: 30px;

    bottom: 30px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    background: #25D366;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    color: white;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

    z-index: 100;

}

/* ==============================
   Productos pagina
================================ */


.products-hero {

    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    background:
        linear-gradient(180deg,
            rgba(0, 60, 30, .78) 0%,
            rgba(0, 80, 40, .45) 55%,
            rgba(0, 60, 30, .78) 100%),

        url("../img/empresa/generales/Majes.jpeg");

    background-size: cover;
    background-position: center 40%;
}



.products-hero h1 {

    font-size: 48px;

    max-width: 800px;

}



.products-hero span {

    font-weight: 600;

}



.products-page {

    padding: 0;
}



/* filtros */


.products-filter {

    display: flex;

    gap: 20px;

    margin-bottom: 50px;

}



.products-filter input,
.products-filter select {


    width: 100%;

    padding: 15px 20px;

    border-radius: 10px;

    border: 1px solid #ddd;

    font-size: 16px;

}

.category-image {

    width: 100%;

    height: 220px;

    overflow: hidden;

}

.category-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .4s ease;

}

.category-card:hover .category-image img {

    transform: scale(1.08);

}

.category-content {

    padding: 25px;

}

.category-content h3 {

    margin-bottom: 15px;

}

.category-content p {

    color: var(--gray);

    line-height: 1.7;

}

.category-content a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    color: var(--primary-color);

    font-weight: 600;

}

.category-content a i {

    transition: .3s;

}

.category-card:hover .category-content a i {

    transform: translateX(5px);

}

/*Carrusel*/
.hero-carousel {
    border-radius: 25px;
    overflow: hidden;
}


.hero-image {

    width: 100%;
    height: 450px;
    object-fit: cover;

}



.carousel-indicators button {

    width: 10px;
    height: 10px;
    border-radius: 50%;

}

/*carrusel about-preview*/
.about-carousel {
    border-radius: 25px;
    overflow: hidden;
}


.about-carousel .carousel-item img {

    width: 100%;
    height: auto;
    display: block;

}



.about-card i {

    font-size: 2rem;
    color: #3c8d40;
    margin-bottom: 10px;

}


/* ================================
   HERO NOSOTROS
================================ */

.page-hero {
    margin-top: 90px;
    min-height: 420px;
    background-image:
        linear-gradient(rgba(0, 0, 0, .45),
            rgba(0, 0, 0, .45)),
        url("../img/empresa/banners/banner1.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.pages-hero {
    margin-top: 90px;
    min-height: 420px;
    background-image:
        linear-gradient(rgba(0, 0, 0, .45),
            rgba(0, 0, 0, .45)),
        url("../img/empresa/banners/banner2.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}



.page-hero-content {


    max-width: 750px;

    color: white;

    position: relative;

    z-index: 2;


}



.page-hero-content h1 {


    font-size: clamp(2.2rem, 5vw, 4rem);

    font-weight: 800;

    margin: 20px 0;


}



.page-hero-content p {


    font-size: 1.15rem;

    line-height: 1.8;

    max-width: 650px;


}

/* ================================
   ABOUT COMPANY
================================ */


.about-company {

    padding: 90px 0;

}



.about-company img {

    width: 100%;
    object-fit: cover;

}



.about-company h2 {

    font-size: 2.2rem;
    color: #245c2a;
    margin-bottom: 25px;

}



.about-company p {

    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;

}

/* ================================
   MISION VISION
================================ */


.mission-section {

    padding: 80px 0;
    background: #f7faf6;

}



.info-card {

    background: #ffffff;
    padding: 40px;
    border-radius: 25px;
    height: 100%;
    border-top: 5px solid var(--accent-green);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

    transition: .3s ease;

}

.info-card:hover {

    transform: translateY(-8px);

}

.info-card:nth-child(2) {

    border-top-color: var(--accent-gold);

}

.info-card:nth-child(2) i {

    color: var(--accent-gold-dark);

}



.info-card i {

    font-size: 2.5rem;
    color: #4b934b;
    margin-bottom: 20px;

}



.info-card h3 {

    color: #245c2a;
    margin-bottom: 15px;

}



.info-card p {

    color: #555;
    line-height: 1.8;

}

/* ================================
   VALORES
================================ */


.values-section {

    padding: 90px 0;

}



.section-header {

    text-align: center;
    margin-bottom: 50px;

}



.section-header h2 {

    color: #245c2a;
    font-size: 2.3rem;

}



.values-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(200px, 1fr));

    gap: 25px;

}



.value-item {

    background: white;

    padding: 30px 20px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

    border-bottom: 4px solid var(--accent-green);

    transition: .3s;

}



.value-item:hover {

    transform: translateY(-8px) scale(1.03);

}

.value-item:nth-child(4n+2) {

    border-bottom-color: var(--accent-gold);

}

.value-item:nth-child(4n+2) i {

    color: var(--accent-gold-dark);

}

.value-item:nth-child(4n+3) {

    border-bottom-color: var(--accent-teal);

}

.value-item:nth-child(4n+3) i {

    color: var(--accent-teal-dark);

}

.value-item:nth-child(4n+4) {

    border-bottom-color: var(--accent-earth);

}

.value-item:nth-child(4n+4) i {

    color: var(--accent-earth-dark);

}



.value-item i {

    font-size: 2.2rem;
    color: #4b934b;
    margin-bottom: 15px;
    transition: .3s ease;

}



.value-item h3 {

    font-size: 1.1rem;
    color: #333;

}

/* ================================
   UBICACION
================================ */


.location-section {

    padding: 80px 0;

    background: #f7faf6;

}



/* ===================================
   PRESENCIA COMERCIAL
=================================== */


.commercial-section,
.technical-section,
.clients-section {

    padding: 100px 0;

}



.commercial-section h2,
.technical-section h2,
.clients-section h2 {

    font-family: var(--font-title);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;

}



.commercial-section p,
.technical-section p,
.clients-section p {

    color: #555;
    line-height: 1.8;

}



/* Imagen mapa */

.commercial-image img,
.technical-section img {

    width: 100%;
    transition: all .4s ease;

}



.commercial-image img:hover,
.technical-section img:hover {

    transform: scale(1.03);

}





/* ===================================
   CLIENTES
=================================== */


.clients-section {

    background: #f8faf7;

}



.clients-section .section-header {

    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;

}




.client-card {


    height: 220px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    padding: 15px;
    border-top: 4px solid var(--accent-green);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: all .4s ease;

}

.client-card:nth-child(3n+2) {

    border-top-color: var(--accent-gold);

}

.client-card:nth-child(3n+3) {

    border-top-color: var(--accent-teal);

}




.client-card img {


    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 15px;

    transition: transform .5s ease;


}




.client-card:hover {

    transform: translateY(-10px) scale(1.03);

    animation-play-state: paused;

}



.client-card:hover img {


    transform: scale(1.08);


}



/* Animación suave automática */


.client-card {


    animation: floatingClient 4s ease-in-out infinite;


}



.client-card:nth-child(2) {

    animation-delay: .5s;

}



.client-card:nth-child(3) {

    animation-delay: 1s;

}



.client-card:nth-child(4) {

    animation-delay: 1.5s;

}



@keyframes floatingClient {


    0%,
    100% {

        transform: translateY(0);

    }


    50% {

        transform: translateY(-8px);

    }


}

/* ==========================
   RED COMERCIAL
========================== */


.red-comercial {
    background: #f8f9f7;
}



.red-grid {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;

    margin-top: 50px;

}



.red-card {

    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .3s ease;

}



.red-card:hover {

    transform: translateY(-8px);

}



.red-image {

    height: 220px;
    overflow: hidden;

}



.red-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;

}



.red-card:hover img {

    transform: scale(1.1);

}



.red-content {

    padding: 20px;

}



.red-content h3 {

    font-size: 20px;
    color: #1d5f2b;

    margin-bottom: 10px;

}



.red-content i {

    margin-right: 8px;

}



.red-content p {

    color: #666;
    font-size: 15px;

}




@media(max-width:992px) {

    .red-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media(max-width:576px) {

    .red-grid {

        grid-template-columns: 1fr;

    }

}

/* ===================================
   MENU MOVIL DESPLEGABLE
=================================== */


@media(max-width:991px) {


    .navbar-custom {

        padding: 12px 0;

    }



    .navbar-custom .menu-mobile {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        background: white;

        padding: 25px;

        border-radius: 0 0 20px 20px;

        box-shadow: 0 15px 30px rgba(0, 0, 0, .12);

    }



    .navbar-custom .navbar-nav {

        align-items: flex-start !important;

    }



    .navbar-custom .nav-item {

        width: 100%;

    }



    .navbar-custom .nav-link {

        padding: 12px 0;

        width: 100%;

    }



    .navbar-custom .dropdown-menu {

        position: static;

        border: none;

        box-shadow: none;

        padding-left: 15px;

    }



}


/* ==========================================================================
   HERO · COLLAGE DE FOTOS (reemplaza al carrusel)
   Grilla de 6x6: columna izquierda (campo + capacitación) y columna
   derecha (planta + aplicación + distribuidores). Al pasar el mouse la
   foto se acerca y aparece una etiqueta.
========================================================================== */

.hero-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 14px;
    height: 540px;
}

.hero-tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
    background: #e5efe3;
    isolation: isolate;
    transition: box-shadow .4s ease;
}

.hero-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.hero-tile:hover {
    box-shadow: 0 22px 46px rgba(31, 92, 36, .28);
    z-index: 3;
}

.hero-tile:hover img {
    transform: scale(1.09);
}

/* Etiqueta que sube al pasar el mouse */
.hero-tile figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--primary-dark, #1F5C24);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}

.hero-tile figcaption i {
    color: var(--accent-green, #3c8d2f);
}

.hero-tile:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

/* La insignia flotante pasa a la esquina superior para no tapar las caras del collage */
.hero-collage+.hero-badge {
    left: -18px;
    top: -18px;
    bottom: auto;
}

@media (max-width: 991px) {

    .hero-collage+.hero-badge {
        left: 10px;
        top: -16px;
        bottom: auto;
    }

}

/* Ubicación de cada foto en la grilla */
.hero-tile--campo {
    grid-column: 1 / 4;
    grid-row: 1 / 5;
    border-radius: 26px 22px 22px 60px;
}

.hero-tile--capacitacion {
    grid-column: 1 / 4;
    grid-row: 5 / 7;
}

.hero-tile--laboratorio {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
    border-radius: 22px 60px 22px 22px;
}

.hero-tile--aplicacion {
    grid-column: 4 / 7;
    grid-row: 3 / 5;
}

.hero-tile--aplicacion img {
    object-position: 50% 30%;
}

.hero-tile--distribuidor {
    grid-column: 4 / 7;
    grid-row: 5 / 7;
}

.hero-tile--distribuidor img {
    object-position: 50% 35%;
}

@media (max-width: 991px) {

    .hero-collage {
        height: 460px;
        margin-top: 46px;
    }

}

@media (max-width: 576px) {

    .hero-collage {
        height: 380px;
        gap: 10px;
    }

    .hero-tile {
        border-radius: 16px;
    }

    .hero-tile--campo {
        border-radius: 18px 16px 16px 40px;
    }

    .hero-tile--laboratorio {
        border-radius: 16px 40px 16px 16px;
    }

    /* En pantallas táctiles la etiqueta se muestra siempre */
    .hero-tile figcaption {
        opacity: 1;
        transform: none;
        font-size: 11.5px;
        padding: 5px 10px;
        left: 8px;
        bottom: 8px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .hero-tile img,
    .hero-tile figcaption {
        transition: none;
    }

}


/* ==========================================================================
   NOSOTROS · UBICACIÓN (reemplaza al mapa de Google)
   Panel con información de la planta + mosaico de fotos.
========================================================================== */

.visit-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(31, 92, 36, .12);
}

.visit-info {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-eyebrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(60, 141, 47, .12);
    color: var(--accent-green-dark, #2a6a22);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 18px;
}

.visit-info h3 {
    font-family: var(--font-title);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--dark, #1F2937);
    margin-bottom: 14px;
}

.visit-info>p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 22px;
}

.visit-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    gap: 12px;
}

.visit-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 500;
}

.visit-points li i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f7ef;
    color: var(--accent-green, #3c8d2f);
    font-size: 15px;
}

.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.btn-visit--primary {
    background: var(--accent-green, #3c8d2f);
    color: #fff;
    border: 2px solid var(--accent-green, #3c8d2f);
}

.btn-visit--primary:hover {
    background: var(--accent-green-dark, #2a6a22);
    border-color: var(--accent-green-dark, #2a6a22);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(42, 106, 34, .3);
}

.btn-visit--ghost {
    color: var(--accent-green-dark, #2a6a22);
    border: 2px solid rgba(60, 141, 47, .35);
}

.btn-visit--ghost:hover {
    background: rgba(60, 141, 47, .08);
    border-color: var(--accent-green, #3c8d2f);
    color: var(--accent-green-dark, #2a6a22);
    transform: translateY(-3px);
}

/* Mosaico */
.visit-gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    min-height: 460px;
}

.visit-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #dfeadb;
}

.visit-photo--main {
    grid-row: 1 / 3;
}

.visit-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.visit-photo:hover img {
    transform: scale(1.08);
}

.visit-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 16px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(to top, rgba(8, 28, 12, .75), rgba(8, 28, 12, 0));
    transform: translateY(6px);
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
}

.visit-photo:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {

    .visit-panel {
        grid-template-columns: 1fr;
    }

    .visit-info {
        padding: 36px 28px;
    }

    .visit-gallery {
        min-height: 380px;
    }

}

@media (max-width: 575px) {

    .visit-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 150px;
        min-height: 0;
    }

    .visit-photo--main {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .visit-photo figcaption {
        opacity: 1;
        transform: none;
        font-size: 12.5px;
    }

}


/* ========================================================================== 
   ACTUALIZACIÓN VISUAL · SORTEO, NAVEGACIÓN Y NOSOTROS
   Refuerza la lectura de títulos y las imágenes sin cambiar contenido ni lógica.
========================================================================== */

/* Navegación con mayor presencia y un acceso de contacto más visible. */
.navbar-custom .nav-link {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .1px;
}

.navbar-custom .btn-contacto {
    background: linear-gradient(135deg, #d99918, #b97609);
    padding: 13px 28px;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .2px;
    box-shadow: 0 8px 18px rgba(151, 91, 7, .25);
}

.navbar-custom .btn-contacto:hover {
    background: linear-gradient(135deg, #edb13c, #ca850d);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(151, 91, 7, .3);
}

/* Banner del sorteo: jerarquía más clara y afiche más fácil de reconocer. */
.promo-banner-inner {
    max-width: 1380px;
    padding: 22px 0;
    gap: 22px;
}

.promo-banner-photo {
    width: 84px;
    height: 84px;
    border-radius: 16px;
    border-width: 3px;
}

.promo-banner-badge {
    width: 60px;
    height: 60px;
    font-size: 27px;
}

.promo-banner-text {
    gap: 5px;
}

.promo-banner-text strong {
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    font-weight: 800;
    letter-spacing: .1px;
}

.promo-banner-text span {
    font-size: 15px;
    font-weight: 600;
}

.promo-countdown-box {
    min-width: 70px;
    padding: 12px 16px;
    border-radius: 16px;
}

.promo-countdown-box span {
    font-size: 29px;
    font-weight: 800;
}

.promo-banner-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 800;
}

/* Cinta de clientes: fotografías más grandes y con color natural. */
.aliados-section {
    padding: 46px 0 40px;
}

.aliados-label {
    margin-bottom: 30px;
    color: #496043;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.aliados-track {
    gap: 34px;
}

.aliado-logo {
    width: 164px;
    height: 92px;
    padding: 8px;
    border: 1px solid rgba(54, 116, 51, .08);
    box-shadow: 0 10px 24px rgba(23, 52, 25, .09);
}

.aliado-logo img {
    filter: grayscale(.12) saturate(1.05);
    opacity: .96;
}

/* El tono dorado cosecha resalta el hero de Nosotros sin perder contraste. */
.page-hero {
    background-image:
        linear-gradient(105deg, rgba(30, 61, 22, .82) 0%, rgba(42, 67, 20, .68) 58%, rgba(91, 69, 15, .42) 100%),
        url("../img/empresa/banners/banner1.jpg");
}

.page-hero-content h1 {
    color: #ffe3a0;
    font-size: clamp(2.6rem, 5.3vw, 4.45rem);
    font-weight: 800;
    line-height: 1.12;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .35);
}

.page-hero-content p {
    font-size: 1.18rem;
    font-weight: 600;
}

/* Títulos y sección de clientes con una jerarquía más marcada. */
.section-header .section-tag,
.clients-section .section-tag {
    font-weight: 800;
    font-size: .98rem;
    color: #a66b0a;
    letter-spacing: .5px;
}

.about-content .section-tag {
    color: #a66b0a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .35px;
}

.about-content h2 {
    font-size: clamp(2.45rem, 4.1vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.35px;
    line-height: 1.14;
}

.section-header h2 {
    font-weight: 800;
    letter-spacing: -.25px;
}

.clients-section .section-header h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.3px;
    margin-top: 10px;
}

.clients-section .section-header p {
    font-size: 1.1rem;
    font-weight: 500;
}

.clients-section {
    padding: 112px 0;
}

.client-card {
    height: 270px;
    padding: 14px;
    border-top-width: 5px;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(20, 55, 25, .12);
}

.client-card img {
    border-radius: 17px;
}

@media (max-width: 991px) {
    .promo-banner-inner {
        padding: 18px 0;
    }

    .promo-banner-photo {
        width: 70px;
        height: 70px;
    }

    .promo-banner-badge {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    .client-card {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .navbar-custom .nav-link {
        font-size: 1.05rem;
        font-weight: 700;
    }

    .promo-banner-inner {
        padding: 16px 0;
        gap: 12px;
    }

    .promo-banner-photo {
        width: 62px;
        height: 62px;
    }

    .promo-banner-badge {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .promo-banner-text strong {
        font-size: 1.12rem;
    }

    .promo-banner-text span {
        font-size: 13.5px;
    }

    .aliado-logo {
        width: 138px;
        height: 82px;
    }

    .page-hero-content h1 {
        font-size: clamp(2.2rem, 10vw, 3.1rem);
    }

    .about-content h2 {
        font-size: 2.25rem;
    }

    .clients-section {
        padding: 78px 0;
    }

    .client-card {
        height: 260px;
    }
}


/* ==========================================================================
   SOBRE NOSOTROS (home) · insignia flotante y CTA hacia la página Nosotros
========================================================================== */

.about-badge {
    position: absolute;
    left: 24px;
    bottom: -22px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.about-badge i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-green, #3c8d2f);
    color: #fff;
    font-size: 17px;
}

.about-badge strong {
    display: block;
    font-family: var(--font-title);
    font-size: 15px;
    color: var(--dark, #1F2937);
    line-height: 1.2;
}

.about-badge span {
    display: block;
    font-size: 12.5px;
    color: #667;
}

.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--accent-green-dark, #2a6a22);
    font-weight: 600;
    text-decoration: none;
    transition: gap .3s ease, color .3s ease;
}

.about-more-link i {
    font-size: 15px;
    transition: transform .3s ease;
}

.about-more-link:hover {
    gap: 14px;
    color: var(--accent-green, #3c8d2f);
}

.about-more-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 991px) {

    .about-badge {
        left: 16px;
        bottom: 28px;
        padding: 11px 16px;
    }

}

@media (max-width: 575px) {

    .about-badge strong {
        font-size: 13.5px;
    }

    .about-badge span {
        font-size: 11px;
    }

}

.aliados-section .aliado-logo {
    width: 210px !important;
    height: 125px !important;
    padding: 7px !important;
}

.aliados-section .aliado-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    filter: none !important;
    opacity: 1 !important;
}

.aliados-section {
    padding: 60px 0 58px;
}

.aliados-label {
    font-size: 15px;
    margin-bottom: 34px;
}

.aliados-track {
    gap: 48px;
}

.aliados-section .aliado-logo {
    width: 290px !important;
    height: 175px !important;
    padding: 8px !important;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(23, 52, 25, .13);
}
