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;

}

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: 55px;

    width: auto;

    object-fit: contain;

}

.nav-link {

    color: #5c5c5c;

    font-weight: 500;

    transition: .3s;

    padding-left: 14px !important;

    padding-right: 14px !important;

}

.nav-link:hover {

    color: var(--color-primary);

}

.nav-link.nav-active {

    color: var(--color-primary);

    font-weight: 700;

    position: relative;

}

.nav-link.nav-active::after {

    content: "";

    position: absolute;

    left: 14px;

    right: 14px;

    bottom: -6px;

    height: 3px;

    border-radius: 20px;

    background: var(--color-primary);

}


.navbar-custom.scrolled .nav-link {

    color: var(--dark);

}

.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: 16px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .10);

    padding: 12px;

    min-width: 280px;

    margin-top: 18px;

}

.dropdown-item i {
    width: 22px;
    color: #4b8f3b;
}


.dropdown-item:hover i {
    transform: scale(1.15);
}

/* 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%);

}

.hero .row {

    align-items: center;

}

.hero-tag {

    display: inline-block;

    background: #E8F5E9;

    color: var(--primary-color);

    padding: 8px 18px;

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 20px;

}

.hero h1 {

    font-family: var(--font-title);

    font-size: 3.4rem;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 25px;

}

.hero p {

    color: var(--gray);

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 35px;

}

.hero-buttons {

    display: flex;

    gap: 18px;

}

.hero-image {

    width: 100%;

    border-radius: 20px;

    box-shadow: var(--shadow);

    animation: float 5s ease-in-out infinite;

}

.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);

    }

}

/* ==============================
   ABOUT PREVIEW
================================ */

.about-preview {
    background: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}


.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;
    transition: .3s ease;
}


.about-card:hover {
    transform: translateY(-8px);
}


.about-card span {
    font-size: 30px;
}


.about-card h3 {
    margin: 15px 0 10px;
}


.about-card p {
    font-size: 14px;
}

/* ==============================
   CATEGORIES SECTION
================================ */


.categories-section {
    background: #f8faf8;
}



.section-header {
    text-align: center;
    max-width: 750px;
    margin: auto;
}


.section-header h2 {
    font-size: 42px;
    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 {

    transform: translateY(-10px);

    border-top-color: var(--secondary-color);

}

.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;

}



.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(46, 125, 50, .90),
            rgba(30, 90, 35, .90));

}

.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(rgba(0, 80, 40, .75),
            rgba(0, 80, 40, .75)),

        url("../img/empresa/generales/productos.jpeg");


    background-size: cover;

    background-position: center;

}



.products-hero h1 {

    font-size: 48px;

    max-width: 800px;

}



.products-hero span {

    font-weight: 600;

}



.products-page {

    padding: 80px 8%;

}



/* 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%;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

}



.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);

    transition: .3s;

}



.value-item:hover {

    transform: translateY(-8px);

}



.value-item i {

    font-size: 2.2rem;
    color: #4b934b;
    margin-bottom: 15px;

}



.value-item h3 {

    font-size: 1.1rem;
    color: #333;

}

/* ================================
   UBICACION
================================ */


.location-section {

    padding: 80px 0;

    background: #f7faf6;

}



.map-container {

    overflow: hidden;
    border-radius: 25px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}



.map-container iframe {

    width: 100%;
    height: 450px;

    border: 0;

}

/* ===================================
   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;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

    transition: all .4s ease;

}




.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;

    }



}