/* Hero Section Styles - Componente Unificado */

/* Hero Section Base - Para páginas internas (contact, brands, products) */
.page-hero {
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 60px 0 40px 0; /* Altura uniforme más generosa */
    text-align: center;
    height: 230px; /* Altura fija para uniformidad visual */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Títulos unificados */
.page-hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color, #698C8C);
    margin: 0;
    font-family: var(--montserrat-font), Arial, sans-serif;
    line-height: 1.2;
    text-align: center;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    margin: 0;
    font-family: var(--poppins-font), Arial, sans-serif;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
}

/* Variantes de color para diferentes páginas */
.page-hero.contact-hero .page-hero-title {
    color: var(--primary-color, #698C8C);
}

.page-hero.brands-hero .page-hero-title {
    color: var(--primary-color, #698C8C);
    font-weight: 600;
    font-size: 2.5rem;
}

.page-hero.products-hero .page-hero-title {
    color: #3B564D;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 48px 0 32px 0;
        height: 200px; /* Altura fija en tablet */
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero.brands-hero .page-hero-title {
        font-size: 2.2rem;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 24px 0;
        height: 170px; /* Altura fija en mobile */
    }
    
    .page-hero-title {
        font-size: 1.8rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .page-hero.brands-hero .page-hero-title {
        font-size: 2rem;
        font-weight: 600;
    }
}

/* Compatibilidad con clases existentes - DEPRECATED */
/* Estas clases se mantendrán temporalmente para compatibilidad */
.contact-header-section,
.brands-hero,
.products-header-section {
    /* Redirigir a la nueva clase unificada */
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    height: 230px; /* Altura fija para uniformidad */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-title,
.brands-title,
.products-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color, #698C8C);
    margin: 0 0 16px 0;
    font-family: var(--montserrat-font), Arial, sans-serif;
    line-height: 1.2;
}

.contact-subtitle,
.brands-hero-desc,
.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    margin: 0;
    font-family: var(--poppins-font), Arial, sans-serif;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes específicos para brands */
.brands-title {
    font-weight: 600;
    font-size: 2.5rem;
}

/* Ajustes específicos para products */
.products-title {
    color: #3B564D;
}

/* Hero Section Styles - Solo Hero Estático */

/* Hero Estático */
.hero-static {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-height: 750px;
}

.hero-image-container {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
}

.hero-static-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 750px;
}

.hero-static .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--light-gray);
    text-align: center;
    padding: 0 20px;
    transform: translateX(10%);
}

/* Estilos de tipografía del hero estático */
.hero-static .hero-title {
    font-family: var(--montserrat-font);
    font-size: 6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    color: #311309;
    line-height: 1.1;
    display: block !important;
    width: 100%;
    pointer-events: auto;
    user-select: text;
    cursor: text;
}

.hero-static .hero-subtitle {
    font-family: var(--poppins-font);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #311309;
    line-height: 1.4;
    display: block !important;
    width: 100%;
    pointer-events: auto;
    user-select: text;
    cursor: text;
}

.hero-highlight {
    color: var(--secondary-color);
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-static .hero-content {
        align-items: center;
        text-align: center;
        padding: 0 5%;
        transform: translateX(5%);
    }
    
    .hero-static .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
        max-width: none;
    }
    
    .hero-static .hero-subtitle {
        font-size: 1.3rem;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero-static {
        max-height: 600px;
    }
    
    .hero-static-img {
        height: auto;
        max-height: 600px;
        object-fit: cover;
    }
    
    /* Sobrescribir style.css línea 950 - Hero específico con mayor especificidad */
    .hero-static .hero-title {
        font-size: 2rem !important;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }
    
    .hero-static .hero-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-static .hero-content {
        padding: 0 1.5rem;
        align-items: center;
        text-align: center;
        transform: translateX(10%) !important;
    }
}

@media (max-width: 480px) {
    /* Asegurar especificidad sobre cualquier regla genérica */
    .hero-static .hero-title {
        font-size: 2rem !important;
        letter-spacing: 1px;
    }
    
    .hero-static .hero-subtitle {
        font-size: 0.8rem !important;
    }

    .hero-static .hero-content {
        padding: 0 1rem;
        align-items: center;
        text-align: center;
        transform: translateX(10%) !important;
    }
}

/* Contenedor específico del hero - Sin limitaciones de .container */
.hero-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
} /* About Section Styles */
.about-preview {
    padding: 5rem 0; /* 80px */
    background-color: white;
}

.about-flex {
    display: flex;
    gap: 3.75rem; /* 60px */
    align-items: flex-start;
}

.about-text {
    flex: 0 0 50%;
    padding-right: 1.25rem; /* 20px */
}

.about-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.875rem; /* 30px */
}

.about-title {
    color: var(--primary-color);
    font-size: 2.8em;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.about-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
    margin-left: 1.25rem; /* 20px */
    opacity: 0.7;
}

.about-text p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1.875rem; /* 30px */
    text-align: justify;
}

.about-btn {
    display: inline-block;
    padding: 0.75rem 2.5rem; /* 12px 40px */
    background-color: var(--primary-color);
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 0.25rem; /* 4px */
    font-weight: 500;
    transition: background-color 0.3s;
}

.about-btn:hover {
    background-color: var(--hover-color);
}

.about-images-row {
    flex: 0 0 45%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem; /* 20px */
}

.about-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem; /* 8px */
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 64rem) { /* 1024px */
    .about-flex {
        flex-direction: column;
        gap: 2.5rem; /* 40px */
    }

    .about-text {
        flex: 1;
        padding-right: 0;
    }

    .about-images-row {
        width: 100%;
    }
}

@media (max-width: 48rem) { /* 768px */
    .about-preview {
        padding: 5rem 0 2.5rem 0; /* 80px 0 40px 0 - reducir padding-bottom para móvil */
    }

    .about-title {
        font-size: 2.2em;
    }

    .about-text p {
        font-size: 1em;
    }

    .about-images-row {
        grid-template-columns: 1fr;
    }
}

/* Breakpoint adicional para móviles más específico */
@media (max-width: 768px) {
    .about-preview {
        padding: 5rem 0 2.5rem 0 !important; /* 80px 0 40px 0 - forzar para móvil */
    }
} /* Commitment Section Styles */
.container-commitment {
    width: 100%;
    max-width: 112.5rem; /* 1800px */
    margin: 0 auto;
    padding: 0 2.5rem; /* 40px */
    box-sizing: border-box;
}

.commitment-section {
    padding: 5rem 0 3.125rem 0; /* 80px 0 50px 0 */
    background-color: white;
    margin-bottom: 1.875rem; /* 30px */
}

.commitment-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 3.125rem; /* 50px */
}

.commitment-title {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    margin: 0 1.25rem; /* 20px */
    white-space: nowrap;
}

.commitment-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

.commitment-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); /* 200px */
    gap: 1.875rem; /* 30px */
    text-align: center;
}

.pillar-card {
    padding: 1.25rem; /* 20px */
    background-color: var(--light-gray);
    border-radius: 0.5rem; /* 8px */
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
}

.pillar-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 0.9375rem; /* 15px */
}

.pillar-title {
    color: var(--text-color);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 48rem) { /* 768px */
    .commitment-section {
        padding: 2.5rem 0 3.125rem 0; /* 40px 0 50px 0 - reducir padding-top para móvil */
    }
}

/* Breakpoint adicional para móviles más específico */
@media (max-width: 768px) {
    .commitment-section {
        padding: 2.5rem 0 3.125rem 0 !important; /* 40px 0 50px 0 - forzar para móvil */
    }
} /* Products/Offer Section Styles */
.offer-section,
.offer-products-enhanced {
    padding: 5rem 0; /* 80px */
    background-color: var(--light-gray);
    position: relative;
}

.offer-products-enhanced {
    padding-top: 3.75rem; /* 60px */
    margin-top: 0;
}

.offer-products-enhanced .container,
.offer-section .container,
.offer-carousel-wrapper {
    width: 100%;
    max-width: 100rem; /* 1600px */
    margin: 0 auto 2.5rem; /* 40px */
    position: relative;
    padding: 0 1rem; /* 16px - padding reducido de 40px a 16px */
    box-sizing: border-box;
}

.offer-title-row,
.offer-products-title {
    display: flex;
    align-items: center;
    margin-bottom: 3.125rem; /* 50px */
}

.offer-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 1.25rem; /* 20px */
    white-space: nowrap;
}

.offer-divider,
.offer-products-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

/* Swiper container y slides */
.offer-carousel-wrapper swiper-container,
.offer-products-enhanced .offer-enhanced-swiper {
    width: 100%;
    padding: 1.25rem 0; /* 20px */
}

.offer-carousel-wrapper swiper-slide,
.offer-products-enhanced .swiper-slide {
    margin-top: 1.5rem; /* 24px */
    margin-bottom: 1.5rem; /* 24px */
    max-width: none; /* Sin límite de ancho - las tarjetas pueden usar todo el espacio */
    min-width: 16.25rem; /* 260px */
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

/* Tarjeta clásica */
.offer-product-card {
    width: 100%;
    max-width: 26.25rem; /* 420px */
    background-color: white;
    border-radius: 0.75rem; /* 12px */
    padding: 1.875rem; /* 30px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); /* 4px 12px */
}

.offer-product-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1); /* 8px 24px */
}

.offer-product-img-wrap {
    width: 100%;
    height: 17.5rem; /* 280px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem; /* 20px */
    overflow: hidden;
    background: #fff;
    border-radius: 0.75rem; /* 12px */
}

.offer-product-img {
    max-width: 98%;
    max-height: 17.5rem; /* 280px */
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 0.125rem 0.625rem rgba(59, 86, 77, 0.07); /* 2px 10px */
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
}

.offer-product-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    margin-bottom: 0;
    padding-bottom: 0.625rem; /* 10px */
}

/* Tarjeta mejorada */
.offer-product-enhanced {
    padding: 1.125rem 0.625rem; /* 18px 10px */
    width: 100%; /* Usar todo el ancho disponible del slide */
    max-width: none; /* Sin límite máximo */
    min-width: 16.25rem; /* 260px */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border-radius: 1.125rem; /* 18px */
    box-shadow: 0 0.375rem 1.5rem rgba(59, 86, 77, 0.09); /* 6px 24px */
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    margin: 0; /* Sin margen - el spacing lo maneja Swiper */
    gap: 0.75rem; /* 12px - gap interno reducido de 18px a 12px */
    --swiper-navigation-color: #F8F7F2;
}

.offer-product-enhanced:hover {
    box-shadow: 0 1rem 2.5rem rgba(59, 86, 77, 0.13); /* 16px 40px */
    transform: scale(1.025) translateY(-0.25rem); /* -4px */
}

.offer-product-enhanced .organic-badge {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 0;
    align-self: flex-start;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 1rem; /* 16px */
    padding: 0.1875rem 1rem; /* 3px 16px */
    letter-spacing: 0.03125rem; /* 0.5px */
    box-shadow: 0 0.0625rem 0.25rem rgba(59, 86, 77, 0.06); /* 1px 4px */
    text-transform: capitalize;
    z-index: 2;
    height: 1.5625rem; /* 25px - altura fija para el badge */
    min-height: 1.5625rem; /* 25px - altura mínima */
}

/* Espacio reservado para productos sin badge orgánico */
.offer-product-enhanced .organic-badge-placeholder {
    height: 1.5625rem; /* 25px - misma altura que el badge */
    min-height: 1.5625rem; /* 25px - altura mínima */
    align-self: flex-start;
}

.offer-product-enhanced .offer-product-img-wrap {
    width: 100%;
    height: 22rem; /* 352px - imagen más grande */
    margin-bottom: 1rem; /* 16px - margen reducido */
    background: #fff;
    border-radius: 0.75rem; /* 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.offer-product-enhanced .offer-product-img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 0.125rem 0.625rem rgba(59, 86, 77, 0.07); /* 2px 10px */
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
}

.offer-product-enhanced:hover .offer-product-img {
    transform: scale(1.04) translateY(-0.125rem); /* -2px */
    box-shadow: 0 0.5rem 1.5rem rgba(59, 86, 77, 0.13); /* 8px 24px */
}

.offer-product-enhanced .offer-product-name {
    color: var(--primary-color);
    font-size: 1.48rem;
    font-weight: 700;
    margin: 1rem 0 0 0; /* 16px - margen reducido */
    text-align: center;
    letter-spacing: 0.03125rem; /* 0.5px */
    width: 100%;
    align-self: center;
}

.offer-more-btn,
.offer-products-enhanced .offer-more-btn {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0; /* 40px */
    padding: 0.75rem 1.875rem; /* 12px 30px */
    background-color: var(--primary-color);
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 0.25rem; /* 4px */
    transition: background-color 0.3s;
}

.offer-more-btn:hover,
.offer-products-enhanced .offer-more-btn:hover {
    background-color: var(--hover-color);
}

.offer-products-enhanced .swiper-wrapper {
    align-items: stretch;
}

.offer-products-enhanced .offer-more-btn {
    margin-top: 1.25rem; /* 20px */
}

/* Responsive */
@media (max-width: 106.25rem) { /* 1700px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        max-width: 98vw;
    }
}

@media (max-width: 85.375rem) { /* 1366px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        max-width: 75rem; /* 1200px */
    }
    
    .offer-product-enhanced {
        max-width: 23.125rem; /* 370px */
    }
}

@media (max-width: 62rem) { /* 992px */
    .offer-product-enhanced {
        max-width: 20rem; /* 320px */
    }
}

@media (max-width: 48rem) { /* 768px */
    .offer-products-enhanced,
    .offer-section {
        padding: 3.75rem 0; /* 60px */
    }

    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        padding: 0 1.25rem; /* 20px */
    }

    .offer-products-enhanced .offer-products-title {
        flex-direction: column;
        gap: 0.625rem; /* 10px */
        margin-bottom: 1.5rem; /* 24px - reducir de 50px a 24px para móvil */
    }

    .offer-product-enhanced {
        max-width: 98vw;
        min-width: 0;
        padding: 1.125rem 0.5rem; /* 18px 8px */
    }

    .offer-products-enhanced .offer-carousel-wrapper {
        padding-top: 1rem; /* 16px */
        padding-bottom: 1rem; /* 16px */
    }

    .offer-products-enhanced .swiper-slide {
        margin-top: 0.75rem; /* 12px */
        margin-bottom: 0.75rem; /* 12px */
    }

    .offer-products-enhanced .offer-product-img-wrap {
        margin-top: 0.75rem; /* 12px */
        margin-bottom: 0.75rem; /* 12px */
    }
}

/* Breakpoint adicional para móviles más específico */
@media (max-width: 768px) {
    .offer-products-title {
        margin-bottom: 1.5rem !important; /* 24px - forzar para móvil */
    }
}

@media (max-width: 30rem) { /* 480px */
    .offer-products-enhanced .container,
    .offer-section .container,
    .offer-carousel-wrapper {
        padding: 0 0.625rem; /* 10px */
    }
}

@media (max-width: 36rem) { /* 576px */
    .offer-products-enhanced,
    .offer-section {
        padding: 2.5rem 0; /* 40px */
    }

    .offer-product-enhanced {
        max-width: 99vw;
        padding: 0.625rem 0.125rem; /* 10px 2px */
    }
}

/* Products Page Styles - Sistema Modular */

.products-page {
    padding: 0;
}

/* Header Section */
.products-header-section {
    background: linear-gradient(90deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 48px 0 24px 0;
    text-align: center;
}

.products-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #3B564D;
    margin-bottom: 12px;
    font-family: var(--montserrat-font), Arial, sans-serif;
}

.products-subtitle {
    font-size: 1.2rem;
    color: var(--text-color, #40403F);
    max-width: 100%;
    margin: 0 auto;
    font-family: var(--poppins-font), Arial, sans-serif;
}

/* Products Section Layout - Nuevos colores */
.products-section {
    display: flex;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
    background: var(--products-bg); /* #ffffff */
    min-height: 600px;
}

.products-filter {
    flex: 0 0 280px;
    background: var(--products-filter-bg); /* #f3f3f3 */
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(59, 86, 77, 0.1);
    padding: 32px 28px;
    min-width: 220px;
    height: fit-content;
    border: 1px solid #E0E0D4;
    position: relative;
    overflow: hidden;
}

.products-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.products-filter h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.products-filter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.products-filter label {
    display: block;
    margin-bottom: 14px;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.products-filter label:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.products-filter input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--primary-color);
    transform: scale(1.2);
}

.superfood-content {
    flex: 1 1 0%;
}

.superfood-header {
    margin-bottom: 20px;
    text-align: left; /* Alineado a la izquierda */
}

/* Títulos específicos de productos con especificidad alta */
.products-page .superfood-title,
.superfood-content .superfood-title,
h2.superfood-title {
    font-family: var(--main-title-font);
    font-size: 3rem !important;
    font-weight: 700;
    color: var(--products-accent); /* #9ac324 */
    margin-bottom: 0;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.2;
}

.products-page .superfood-subtitle,
.superfood-content .superfood-subtitle,
h3.superfood-subtitle {
    font-family: var(--hero-subtitle-font);
    font-size: 1.4rem !important;
    color: var(--products-subtitle); /* #6b7671 */
    font-weight: 600;
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.3;
}

.superfood-description {
    font-family: var(--body-text-font);
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    text-align: left; /* Alineado a la izquierda */
    margin-bottom: 40px;
    max-width: 800px;
}

.superfood-main-content {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    align-items: stretch;
    min-height: 500px;
}

.superfood-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 595px;
    height: 595px;
    max-height: 595px;
}

.superfood-image img {
    width: 595px;
    height: 595px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(59, 86, 77, 0.15);
    background: #fff;
}

.superfood-info-columns {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.superfood-presentations,
.superfood-benefits,
.superfood-applications {
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.superfood-presentations:last-child,
.superfood-benefits:last-child,
.superfood-applications:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-section-title {
    font-family: var(--section-title-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--products-accent); /* #9ac324 */
    margin-bottom: 18px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.info-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--products-accent), var(--secondary-color));
    border-radius: 2px;
}

.info-section-content {
    font-family: var(--body-text-font);
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
}

.info-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-section-content li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    transition: color 0.2s ease;
}

.info-section-content li:hover {
    color: var(--primary-color);
}

.info-section-content li::before {
    content: '▶';
    color: var(--secondary-color);
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 8px;
    transition: transform 0.2s ease;
}

.info-section-content li:hover::before {
    transform: translateX(2px);
    color: var(--primary-color);
}

.superfood-products {
    margin-bottom: 60px;
}

.products-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(59, 86, 77, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
    flex: 1;
    max-width: 280px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 86, 77, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h4 {
    font-family: var(--section-title-font);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    padding: 20px 16px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.superfood-certifications {
    text-align: center;
    border-radius: 20px;
    padding: 40px 32px;
    margin-top: 40px;
}

.superfood-certifications h3 {
    font-family: var(--section-title-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--products-accent);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.certifications-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.certification-card {
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 125px;
    width: 130px;
    flex-shrink: 0;
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 86, 77, 0.12);
}

.certification-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Call to Action Section */
.superfood-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 40px auto 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(59, 86, 77, 0.18);
    max-width: 600px;
    width: 100%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--hero-title-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light-gray);
    margin-bottom: 14px;
    letter-spacing: 0.8px;
}

.cta-subtitle {
    font-family: var(--hero-subtitle-font);
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    color: var(--primary-color);
    font-family: var(--hero-title-font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    background: rgba(248, 247, 242, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.cta-circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.cta-circle-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .products-section {
        flex-direction: column;
        gap: 32px;
        padding: 40px 16px 60px 16px;
    }

    .products-filter {
        width: 100%;
        min-width: unset;
        margin-bottom: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px 16px;
        box-shadow: 0 6px 24px rgba(59, 86, 77, 0.08);
        justify-content: flex-start;
        align-items: stretch;
        padding: 24px 20px;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .products-filter h3 {
        grid-column: 1 / -1;
        margin-bottom: 16px;
        font-size: 1.2rem;
        text-align: center;
    }

    .products-filter label {
        margin-bottom: 0;
        margin-right: 0;
        padding: 8px 10px;
        font-size: 0.95rem;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: #fff;
        transition: all 0.3s ease;
        overflow: hidden;
        white-space: nowrap;
    }

    .products-filter label:hover {
        background: var(--secondary-color);
        color: var(--primary-color);
        transform: scale(1.02);
        border-color: var(--primary-color);
    }

    .products-filter input[type="radio"] {
        margin-right: 8px;
        margin-left: 0;
        transform: scale(1.1);
        flex-shrink: 0;
    }

    .products-filter input[type="radio"]:checked + * {
        font-weight: 600;
    }

    .products-filter label:has(input:checked) {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

    /* Fallback para navegadores que no soportan :has() */
    .products-filter input[type="radio"]:checked {
        accent-color: #fff;
    }

    .products-filter label:hover,
    .products-filter label.selected {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
        transform: scale(1.02);
    }

    /* Optimizar hero section para móvil */
    .page-hero.products-hero {
        min-height: 200px;
        padding: 50px 0 40px 0;
    }

    .page-hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .superfood-main-content {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
        align-items: center;
    }

    .superfood-image {
        max-width: 100%;
        align-self: center;
        display: block;
        width: 400px;
        height: 400px;
        min-height: 400px;
    }

    .superfood-image img {
        height: 400px;
        width: 400px;
        object-fit: contain;
        background: #fff;
    }

    .superfood-info-columns {
        max-width: 100%;
        gap: 24px;
    }

    .products-grid {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .product-card {
        max-width: 48%;
        flex: 1 1 48%;
    }

    .product-card img {
        height: 160px;
    }

    .product-card h4 {
        padding: 16px 12px;
        font-size: 1.1rem;
    }

    /* Optimizar títulos para móvil */
    .superfood-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 8px;
    }

    .superfood-subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Títulos específicos con mayor especificidad para móvil */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2.2rem !important;
        text-align: center;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.4rem !important;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .superfood-description {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .info-section-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .info-section-content {
        font-size: 1rem;
        text-align: left;
    }
}

/* Breakpoint adicional para pantallas muy pequeñas */
@media (max-width: 600px) {
    .products-section {
        padding: 30px 12px 50px 12px;
    }

    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px 12px;
        padding: 20px 16px;
    }

    .products-filter label {
        padding: 6px 8px;
        font-size: 0.9rem;
        min-height: 40px;
    }

    /* Títulos responsive para móvil pequeño */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2rem !important;
        margin-bottom: 6px;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.3rem !important;
        margin-bottom: 18px;
    }

    .superfood-image {
        width: 360px;
        height: 360px;
        min-height: 360px;
    }

    .superfood-image img {
        height: 360px;
        width: 360px;
    }

    .superfood-description {
        font-size: 0.95rem;
        padding: 0 8px;
    }

    .product-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .products-grid {
        flex-direction: column;
        align-items: center;
    }

    .product-card img {
        height: 180px;
    }
}

/* Breakpoint para tablets */
@media (max-width: 768px) and (min-width: 601px) {
    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }

    /* Títulos responsive para tablet */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 2.1rem !important;
    }

    .superfood-image {
        width: 380px;
        height: 380px;
    }

    .superfood-image img {
        height: 380px;
        width: 380px;
    }
}

/* Breakpoint específico para móviles muy pequeños */
@media (max-width: 480px) {
    .products-filter {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 6px 10px;
        padding: 18px 14px;
    }

    .products-filter label {
        padding: 5px 6px;
        font-size: 0.85rem;
        min-height: 38px;
    }

    .products-filter input[type="radio"] {
        margin-right: 6px;
        transform: scale(1.0);
    }

    /* Títulos responsive para móviles muy pequeños */
    .products-page .superfood-title,
    .superfood-content .superfood-title,
    h2.superfood-title {
        font-size: 1.8rem !important;
        margin-bottom: 6px;
    }

    .products-page .superfood-subtitle,
    .superfood-content .superfood-subtitle,
    h3.superfood-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 16px;
    }
} /* Certifications Section Styles */
.certifications-section {
    background: var(--light-gray);
    padding: 5rem 0; /* 80px */
    text-align: center;
}

/* Variante específica para home */
.home-certifications-section {
    background: none;
}

.certifications-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 3.125rem; /* 50px */
    text-transform: uppercase;
    letter-spacing: 0.0625rem; /* 1px */
    color: var(--primary-color);
}

/* Variante específica para home */
.home-certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* 40px */
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

/* Cuando solo hay 2 certificaciones (USDA oculto temporalmente) */
.home-certifications-grid:has(.home-certification-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 50rem; /* 800px - más estrecho para centrar mejor */
    justify-content: center;
}

/* Fallback para navegadores que no soportan :has() */
@supports not selector(:has(*)) {
    .home-certifications-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
    
    .home-certification-card {
        flex: 0 0 calc(33.333% - 1.67rem); /* Para 3 elementos */
        max-width: 20rem; /* 320px */
    }
}

.home-certification-card {
    background: white;
    padding: 1.875rem; /* 30px */
    border-radius: 0.625rem; /* 10px */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.25rem 1.5rem rgba(44, 198, 63, 0.08), 0 0.125rem 0.75rem rgba(44, 62, 80, 0.08);
}

.home-certification-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: 0 0.5rem 2rem rgba(44, 62, 80, 0.13);
}

.home-certification-image {
    height: 7.5rem; /* 120px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-certification-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.home-certification-card:hover .home-certification-img {
    transform: scale(1.05);
}

/* Estilos originales para otras páginas */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* 40px */
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

.certification-card {
    background: white;
    padding: 1.875rem; /* 30px */
    border-radius: 0.625rem; /* 10px */
    transition: transform 0.3s ease;
    box-shadow: 0 0.25rem 1.5rem rgba(44, 198, 63, 0.08), 0 0.125rem 0.75rem rgba(44, 62, 80, 0.08); /* 4px 24px, 2px 12px */
}

.certification-card:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: 0 0.5rem 2rem rgba(44, 62, 80, 0.13); /* 8px 32px */
}

.certification-image {
    height: 7.5rem; /* 120px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certification-card:hover .certification-img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 62rem) { /* 992px */
    .certifications-grid,
    .home-certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Para certificaciones con solo 2 elementos en pantallas medianas */
    .home-certifications-grid:has(.home-certification-card:nth-child(2):last-child) {
        max-width: 40rem; /* 640px - aún más estrecho en pantallas medianas */
    }
}

@media (max-width: 36rem) { /* 576px */
    .certifications-grid,
    .home-certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem; /* 20px */
    }
    
    /* En móvil, mantener centrado con una sola columna */
    .home-certifications-grid:has(.home-certification-card:nth-child(2):last-child) {
        max-width: 25rem; /* 400px */
    }

    .certifications-title {
        font-size: 2em;
        margin-bottom: 1.875rem; /* 30px */
    }
}

/* Mobile adjustments for spacing */
@media (max-width: 48rem) { /* 768px */
    .certifications-section {
        padding: 1.25rem 0 5rem 0; /* 20px 0 80px 0 - reducir padding-top para móvil */
    }
}

/* Breakpoint adicional para móviles más específico */
@media (max-width: 768px) {
    .certifications-section {
        padding-top: 1.25rem !important; /* 20px - forzar padding-top para móvil */
    }
} /* Parallax Components Styles */

/* Landscape Parallax */
.landscape-parallax {
    position: relative;
    height: 31.25rem; /* 500px */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.parallax-container img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
    position: absolute;
    top: -10%;
    left: 0;
}

.parallax-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.parallax-title {
    color: var(--light-gray);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.5); /* 2px 10px */
    margin: 0;
    padding: 0 1.25rem; /* 20px */
    max-width: 50rem; /* 800px */
    font-family: 'Magnetik', sans-serif;
}

/* Cacao Parallax */
.cacao-parallax-section {
    position: relative;
    height: 40.625rem; /* 650px */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.cacao-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/pages/home/cacao2.webp') center center/cover no-repeat;
    will-change: transform;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(.19, 1, .22, 1);
}

.cacao-parallax-overlay {
    display: none;
}

/* Responsive */
@media (max-width: 48rem) { /* 768px */
    .landscape-parallax {
        height: 21.875rem; /* 350px */
    }

    .parallax-title {
        font-size: 2rem;
    }
}

@media (max-width: 43.75rem) { /* 700px */
    .cacao-parallax-section {
        height: 20rem; /* 320px */
    }
} /* Value Chain Section Styles */
.value-chain-section {
    background: white;
    padding: 3.75rem 0 10% 0; /* 60px */
    text-align: center;
}

.value-chain-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.125rem; /* 18px */
    margin-bottom: 0; /* Eliminamos el margen de aquí */
}

.value-chain-title {
    color: var(--primary-color);
    font-size: 2.5em;
    font-weight: 800;
    letter-spacing: 0.0625rem; /* 1px */
    text-transform: uppercase;
    margin: 0 0 1.5625rem 0; /* 0 0 25px 0 */
    line-height: 1.1;
}

.value-chain-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
    min-width: 3.75rem; /* 60px */
}

.value-chain-note {
    color: var(--text-color);
    font-size: 1.08em;
    margin-bottom: 2rem; /* 32px */
    font-weight: 500;
}

.value-chain-steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 1.875rem; /* 30px */
    position: relative;
}

.value-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 10rem; /* 160px */
    min-width: 8.75rem; /* 140px */
    max-width: 12.5rem; /* 200px */
    margin: 0;
    position: relative;
}

.value-step-box {
    background: var(--primary-color);
    color: var(--light-gray);
    font-size: 2.1em;
    font-weight: 700;
    border-radius: 0 0 0 0;
    width: 100%;
    min-width: 5.625rem; /* 90px */
    min-height: 4.375rem; /* 70px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem; /* 8px */
    box-shadow: 0 0.125rem 0.5rem rgba(105, 140, 140, 0.2); /* 2px 8px */
    transition: background-color 0.3s ease;
}

.value-step:hover .value-step-box {
    background: var(--hover-color);
}

.value-step-num {
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: 0.0625rem; /* 1px */
}

.value-step-title {
    color: var(--text-color);
    font-size: 1.08em;
    font-weight: 700;
    margin-top: 0.5rem; /* 8px */
    margin-bottom: 0.625rem; /* 10px */
    text-align: center;
    letter-spacing: 0.03125rem; /* 0.5px */
}

.value-step-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 0.25rem; /* 4px */
    margin-top: 0.125rem; /* 2px */
    transition: color 0.3s ease;
}

.value-step:hover .value-step-icon {
    color: var(--hover-color);
}

/* Escalera visual */
.value-step:not(:first-child) .value-step-box {
    margin-top: 2rem; /* 32px */
}

.value-step:nth-child(3) .value-step-box {
    margin-top: 4rem; /* 64px */
}

.value-step:nth-child(4) .value-step-box {
    margin-top: 6rem; /* 96px */
}

.value-step:nth-child(5) .value-step-box {
    margin-top: 8rem; /* 128px */
}

.value-step:nth-child(6) .value-step-box {
    margin-top: 10rem; /* 160px */
}

.value-chain-steps-desktop {
    display: block !important;
}

.value-chain-steps-mobile {
    display: none !important;
}

/* Value Chain Propuesta */
.value-chain-propuesta-flex {
    width: 100vw;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4.375rem 0 7.5rem 0; /* 70px 120px */
    background: #fff;
}

.value-chain-propuesta-inner {
    width: 100%;
    max-width: 112.5rem; /* 1800px */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-chain-title-propuesta {
    font-family: 'Magnetik', sans-serif;
    font-size: 2.3em;
    color: var(--primary-color, #698C8C);
    font-weight: 800;
    margin-bottom: 1.5625rem; /* 25px */
    letter-spacing: 0.0625rem; /* 1px */
    text-align: center;
}

.value-chain-img-responsive {
    width: 83%;
    max-width: 112.5rem; /* 1800px */
    height: auto;
    display: block;
    border-radius: 1.125rem; /* 18px */
    box-shadow: 0 0.25rem 1.5rem rgba(44, 62, 80, 0.08); /* 4px 24px */
    margin: 0 auto;
    padding: 0.625rem; /* 10px */
}

/* Mobile Carousel - Hidden by default */
.value-chain-mobile-carousel {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.value-chain-swiper {
    width: 100%;
    height: 200px;
    border-radius: 1.125rem; /* 18px */
    overflow: hidden;
    box-shadow: 0 0.25rem 1.5rem rgba(44, 62, 80, 0.08);
}

.value-chain-slide {
    width: 100%;
    height: 100%;
    background-size: 300% auto; /* Zoom 3x para mostrar 1/3 */
    background-repeat: no-repeat;
    background-position-y: center;
    border-radius: 1.125rem;
}

/* Configuración de cada slide para mostrar 1/3 de la imagen */
.value-slide-1[data-lang="es"] {
    background-image: url('/assets/images/pages/home/es-value.webp');
    background-position-x: 0%; /* Primera sección (0-33.33%) */
}

.value-slide-2[data-lang="es"] {
    background-image: url('/assets/images/pages/home/es-value.webp');
    background-position-x: 50%; /* Segunda sección (33.33-66.66%) */
}

.value-slide-3[data-lang="es"] {
    background-image: url('/assets/images/pages/home/es-value.webp');
    background-position-x: 100%; /* Tercera sección (66.66-100%) */
}

.value-slide-1[data-lang="en"] {
    background-image: url('/assets/images/pages/home/en-value.webp');
    background-position-x: 0%;
}

.value-slide-2[data-lang="en"] {
    background-image: url('/assets/images/pages/home/en-value.webp');
    background-position-x: 50%;
}

.value-slide-3[data-lang="en"] {
    background-image: url('/assets/images/pages/home/en-value.webp');
    background-position-x: 100%;
}

/* Swiper customization for value chain */
.value-chain-swiper .swiper-pagination {
    bottom: 10px;
}

.value-chain-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.value-chain-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 68.75rem) { /* 1100px */
    .value-chain-steps {
        flex-wrap: wrap;
    }

    .value-step {
        min-width: 7.5rem; /* 120px */
        max-width: 10rem; /* 160px */
    }

    .value-step-box {
        min-width: 4.375rem; /* 70px */
        min-height: 3.375rem; /* 54px */
        font-size: 1.2em;
    }

    .value-step-icon {
        font-size: 1.5em;
    }
}

@media (max-width: 48rem) { /* 768px */
    .value-chain-steps-desktop {
        display: none !important;
    }

    .value-chain-steps-mobile {
        display: block !important;
    }

    .value-chain-steps {
        flex-direction: column;
        align-items: center;
    }

    .value-step {
        max-width: 100%;
    }

    .value-step-box {
        margin-top: 0 !important;
    }

    .value-chain-title {
        font-size: 2em;
    }

    .value-chain-img-responsive {
        width: 90%;
    }

    .value-chain-propuesta-flex {
        padding: 3rem 0 5rem 0;
    }

    /* Mobile Carousel Activation */
    .value-chain-desktop {
        display: none !important; /* Ocultar imagen desktop en móvil */
    }

    .value-chain-mobile-carousel {
        display: block !important; /* Mostrar carrusel en móvil */
    }

    .value-chain-title-propuesta {
        font-size: 2em;
        margin-bottom: 1.25rem; /* 20px */
    }
}

@media (max-width: 43.75rem) { /* 700px */
    .value-chain-steps {
        flex-direction: column;
        align-items: center;
    }

    .value-step {
        max-width: 100%;
    }

    .value-step-box {
        margin-top: 0 !important;
    }

    .value-chain-title {
        font-size: 1.8em;
    }
} /* Live Naturally Section */
.live-naturally-section {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    margin: 60px 0;
}

.live-naturally-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/pages/home/live-naturally-bg.webp');
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-out;
}

.live-naturally-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.live-naturally-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.live-naturally-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.live-naturally-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: var(--roboto-font);
    display: none;
}

/* PROPUESTA MEJORADA - Variante Centered con efectos hover */
.live-naturally-centered {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    margin: 60px 0 0 0;
    cursor: pointer;
    transition: all 0.4s ease;
}

.live-naturally-centered:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.live-naturally-centered .live-naturally-bg {
    background-image: url('/assets/images/pages/home/live-naturally-bg.webp');
    filter: brightness(0.7) contrast(1.2);
    transition: all 0.5s ease;
}

.live-naturally-centered:hover .live-naturally-bg {
    transform: scale(1.08);
    filter: brightness(0.8) contrast(1.3);
}

.live-naturally-centered .live-naturally-overlay {
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    transition: all 0.4s ease;
}

.live-naturally-centered:hover .live-naturally-overlay {
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.live-naturally-centered .live-naturally-content {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s ease;
}

.live-naturally-centered:hover .live-naturally-content {
    transform: translateY(-10px);
}

.live-naturally-centered .live-naturally-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.live-naturally-centered:hover .live-naturally-title {
    color: #B9C5B1;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

.live-naturally-centered .live-naturally-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    font-weight: 300;
    font-family: var(--body-text-font);
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.live-naturally-centered:hover .live-naturally-subtitle {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .live-naturally-section {
        height: 500px;
        margin: 40px 0;
    }

    .live-naturally-title {
        font-size: 2.5rem;
    }

    .live-naturally-centered {
        height: 300px; /* Reducir altura para móvil - mejor apreciación de imagen */
        margin: 0; /* Eliminar margin-top para evitar espacio excesivo */
    }

    .live-naturally-centered .live-naturally-title {
        font-size: 2.6rem;
    }

    .live-naturally-centered:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .live-naturally-centered:hover .live-naturally-content {
        transform: translateY(-5px);
    }

    /* Imagen móvil específica */
    .live-naturally-centered .live-naturally-bg {
        background-image: url('/assets/images/pages/home/live-naturally-bg-mobile.webp');
    }
}

@media (max-width: 480px) {
    .live-naturally-section {
        height: 300px;
    }

    .live-naturally-title {
        font-size: 2em;
    }
} /* Swiper Component Styles */

/* Swiper Navigation: Forzar estilos globales para los botones next/prev */
.swiper-button-next,
.swiper-button-prev {
    background: var(--primary-color, #698C8C);
    border-radius: 0.5rem; /* 8px */
    width: 2.75rem; /* 44px */
    height: 2.75rem; /* 44px */
    color: #fff;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08); /* 2px 8px */
    border: 0.125rem solid #fff; /* 2px */
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #3a5a5a;
    color: #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem; /* 24px */
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #c2e2d6;
    opacity: 1;
    width: 0.75rem; /* 12px */
    height: 0.75rem; /* 12px */
    margin: 0 0.25rem !important; /* 4px */
    border: 0.125rem solid var(--primary-color, #698C8C); /* 2px */
    transition: background 0.2s, border 0.2s;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color, #698C8C);
    border-color: #3a5a5a;
}

.swiper-pagination-progressbar {
    top: 0 !important;
    bottom: auto !important;
    height: 0.25rem !important; /* 4px */
    background: rgba(0, 0, 0, 0.08) !important;
    border-radius: 0.125rem; /* 2px */
    width: 80vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Responsive adjustments */
@media (max-width: 48rem) { /* 768px */
    .swiper-pagination-progressbar {
        top: 0 !important;
        bottom: auto !important;
        height: 0.25rem !important; /* 4px */
        background: rgba(0, 0, 0, 0.08) !important;
        border-radius: 0.125rem; /* 2px */
        width: 80vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
} .hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block !important; /* Forzar visualización */
}

.hero-slide.active {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--light-gray);
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: var(--hero-title-font);
}

.hero-title .hero-highlight {
    color: var(--hover-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-preview {
    padding: 80px 0;
    background-color: white;
}

.about-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 0 0 50%;
    padding-right: 20px;
}

.about-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.about-title {
    color: var(--primary-color);
    font-size: 2.8em;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--main-title-font);
}

.about-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
    margin-left: 20px;
    opacity: 0.7;
}

.about-text p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.about-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--primary-color);
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.about-btn:hover {
    background-color: var(--hover-color);
}

.about-images-row {
    flex: 0 0 45%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        flex: 1;
        padding-right: 0;
    }

    .about-images-row {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.2em;
    }

    .about-text p {
        font-size: 1em;
    }

    .about-images-row {
        grid-template-columns: 1fr;
    }
}

/* Commitment Section */
.commitment-section {
    padding: 80px 0;
    background-color: white;
}

.commitment-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.commitment-title {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    margin: 0 20px;
    white-space: nowrap;
    font-family: var(--main-title-font);
}

.commitment-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

.commitment-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.pillar-card {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pillar-title {
    color: var(--text-color);
    font-weight: 600;
}

/* Offer Section */
.offer-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    overflow: hidden;
}

.offer-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.offer-title {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    margin: 0 20px;
    white-space: nowrap;
    font-family: var(--main-title-font);
}

.offer-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
}

.offer-carousel-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 40px;
    position: relative;
    padding: 0 40px;
}

swiper-container {
    width: 100%;
    padding: 20px 0;
}

swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.offer-product-card {
    width: 100%;
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.offer-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.offer-product-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.offer-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.offer-product-name {
    color: var(--text-color);
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--light-gray) !important;
    background: rgba(0, 0, 0, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--light-gray);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Estilos específicos para offer-enhanced-swiper */
.offer-products-enhanced .offer-enhanced-swiper .swiper-button-next,
.offer-products-enhanced .offer-enhanced-swiper .swiper-button-prev {
    background: var(--primary-color, #698C8C) !important;
    border-radius: 8px !important;
    width: 44px !important;
    height: 44px !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #fff !important;
    transition: background 0.2s, color 0.2s !important;
    margin-top: -22px !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.offer-products-enhanced .offer-enhanced-swiper .swiper-button-next:hover,
.offer-products-enhanced .offer-enhanced-swiper .swiper-button-prev:hover {
    background: #3a5a5a !important;
    color: #fff !important;
    opacity: 1 !important;
}

.offer-products-enhanced .offer-enhanced-swiper .swiper-button-next:after,
.offer-products-enhanced .offer-enhanced-swiper .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #fff !important;
}

.offer-products-enhanced .offer-enhanced-swiper .swiper-pagination-bullet {
    background: #c2e2d6 !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 4px !important;
    border: 2px solid var(--primary-color, #698C8C) !important;
    transition: background 0.2s, border 0.2s !important;
    border-radius: 50% !important;
}

.offer-products-enhanced .offer-enhanced-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color, #698C8C) !important;
    border-color: #3a5a5a !important;
}

/* Responsive */
@media (max-width: 1366px) {
    .offer-carousel-wrapper {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .offer-carousel-wrapper {
        padding: 0 30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .offer-carousel-wrapper {
        padding: 0 25px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
}

.offer-more-btn {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.offer-more-btn:hover {
    background-color: var(--hover-color);
}

.certifications-section {
    background: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.certifications-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-family: var(--main-title-font);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.certification-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 24px rgba(44, 198, 63, 0.08), 0 2px 12px rgba(44, 62, 80, 0.08);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.13);
}

.certification-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certification-card:hover .certification-img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certifications-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
}

/* Value Chain Section - Solo variaciones específicas para home */
.value-chain-section {
    padding: 4rem 0 6rem 0; /* Ajuste específico para home */
}

.value-chain-title-row {
    margin-bottom: 2rem; /* Ajuste específico para home */
}

.value-chain-note {
    color: var(--text-color);
    font-size: 1.08em;
    margin-bottom: 32px;
    font-weight: 500;
}

.value-chain-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
    margin-top: 40px;
}

.value-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1 1 0;
    min-width: 120px;
}

.step-circle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-num {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--secondary-color);
}

.step-icon {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 4px;
}

.step-title {
    margin-top: 16px;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    max-width: 120px;
}

/* Línea de conexión entre círculos */
.value-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 0;
}

/* Móvil: Swiper y 1 círculo por slide */
@media (max-width: 768px) {
    .value-chain-steps {
        display: block;
    }
    .swiper-container.value-chain-steps {
        display: block;
        width: 100%;
    }
    .swiper-slide.value-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        margin: 0 auto;
    }
    .value-step:not(:last-child)::after {
        display: none;
    }
    .step-circle {
        width: 90vw;
        max-width: 220px;
        height: 90vw;
        max-height: 220px;
        margin: 0 auto;
    }
    .step-title {
        max-width: 90vw;
        font-size: 1em;
    }
}

@media (max-width: 1100px) {
    .value-chain-steps {
        flex-wrap: wrap;
    }

    .value-step {
        min-width: 120px;
        max-width: 160px;
    }

    .value-step-box {
        min-width: 70px;
        min-height: 54px;
        font-size: 1.2em;
    }

    .value-step-icon {
        font-size: 1.5em;
    }
}

@media (max-width: 700px) {
    .value-chain-steps {
        flex-direction: column;
        align-items: center;
    }

    .value-step {
        max-width: 100%;
    }

    .value-step-box {
        margin-top: 0 !important;
    }
}

/* Estilos específicos para la página de inicio (home) */

@media (max-width: 768px) {
    /* Nosotros: dos columnas para imágenes */
    .about-images-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        justify-content: center;
        align-items: center;
    }
    .about-img {
        width: 100% !important;
        height: auto !important;
    }

    /* Cadena de Valor: mejorar presentación en móvil */
    .value-chain-steps {
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .value-step {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        background: #f7f7f7;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        padding: 18px 0 12px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .value-step-box {
        margin-bottom: 8px;
    }
    .value-step-title {
        font-size: 1em;
        font-weight: 600;
        margin-top: 6px;
    }
}

.value-chain-steps-desktop { display: block; }
.value-chain-steps-mobile { display: none; }

@media (max-width: 768px) {
  .value-chain-steps-desktop { display: none; }
  .value-chain-steps-mobile { display: block; }
}

/* --- Fix Hero Swiper visibility and stacking --- */
.hero-carousel, .hero-swiper, .hero-slide {
    width: 100% !important;
    height: 60vh !important;
    min-height: 420px !important;
    max-height: 600px !important;
    position: relative !important;
    display: block !important;
}

.hero-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
    border: 3px solid red !important; /* DEBUG: borde para ver el área */
}

.hero-overlay {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.25) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.hero-content {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3 !important;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    pointer-events: none !important;
}

/* Estilos base para h2 en home */
h2 {
    font-family: var(--main-title-font);
}

/* Títulos específicos */
.about-title,
.commitment-title,
.offer-title,
.certifications-title,
.value-chain-title,
.live-naturally-title {
    font-family: var(--main-title-font);
}

/* Cambios para usar solo rem en títulos h2 y relacionados */
h2,
.about-title,
.commitment-title,
.offer-title,
.certifications-title,
.value-chain-title,
.live-naturally-title {
    font-size: 2.8rem !important;
    text-transform: lowercase;
}

h2::first-letter,
.about-title::first-letter,
.commitment-title::first-letter,
.offer-title::first-letter,
.certifications-title::first-letter,
.value-chain-title::first-letter,
.live-naturally-title::first-letter {
    text-transform: uppercase;
}

@media (max-width: 576px) {
    h2,
    .about-title,
    .commitment-title,
    .offer-title,
    .certifications-title,
    .value-chain-title,
    .live-naturally-title {
        font-size: 2rem !important;
    }
} 