/* Google Fonts Import - Sistema de Fuentes Definido */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&family=Open+Sans:wght@400;600;700&display=swap');

/* Sistema de Fuentes Healthy Peru */
:root {
  /* Fuentes principales del sistema */
  --hero-title-font: 'Montserrat', Arial, sans-serif;     /* Hero H1 */
  --hero-subtitle-font: 'Poppins', Arial, sans-serif;     /* Hero subtítulos */
  --main-title-font: 'Roboto', Arial, sans-serif;         /* Títulos principales de contenido */
  --section-title-font: 'Roboto', Arial, sans-serif;      /* info-section-title */
  --body-text-font: 'Open Sans', Arial, sans-serif;       /* Párrafos y texto general */
  
  /* Fuentes adicionales (compatibilidad) */
  --montserrat-font: 'Montserrat', Arial, sans-serif;
  --poppins-font: 'Poppins', Arial, sans-serif;
  --roboto-font: 'Roboto', Arial, sans-serif;
  --open-sans-font: 'Open Sans', Arial, sans-serif;
}

@font-face {
    font-family: 'Magnetik';
    src: url('../fonts/Magnetik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Oceanwide';
    src: url('../fonts/Oceanwide-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('../fonts/Qanelas-Thin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Qanelas';
    src: url('../fonts/Qanelas-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Kind Sans Thin';
    src: url('../fonts/KindSans-Thin.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Lydia Sans Thin';
    src: url('../fonts/Lydia-Sans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* Propuestas de tipografía para el menú */
.menu-qanelas-thin .nav-list a {
    font-family: 'Qanelas', Arial, sans-serif !important;
    font-weight: 300;
}
.menu-qanelas-regular .nav-list a {
    font-family: 'Qanelas', Arial, sans-serif !important;
    font-weight: 400;
}

.menu-kind .nav-list a {
    font-family: 'Kind Sans Thin', Arial, sans-serif !important;
    font-weight: 300;
}
.menu-lydia .nav-list a {
    font-family: 'Lydia Sans Thin', Arial, sans-serif !important;
    font-weight: 300;
}

/* Reset y variables */
:root {
    /* Colores principales */
    --primary-color: #3B564D;    /* Verde Profundo */
    --secondary-color: #B9C5B1;  /* Verde Grisáceo */
    --text-color: #26231F;      /* Negro Oliva */
    --light-gray: #F8F7F2;      /* Blanco Hueso */
    --border-color: #E0E0D4;    /* Gris Claro */
    
    /* Colores adicionales */
    --hover-color: #A2A68A;     /* Verde Grisáceo más oscuro */
    --deep-color: #26231F;      /* Negro Oliva */
    --muted-color: #E8E6DA;     /* Gris Suave */
    
    /* Nuevos colores para productos */
    --products-bg: #ffffff;      /* Fondo blanco para products-section */
    --products-filter-bg: #f3f3f3; /* Fondo gris claro para filtro */
    --products-accent: #9ac324;  /* Verde lima para títulos y acentos */
    --products-subtitle: #6b7671; /* Gris verdoso para subtítulos */
    
    /* Fuentes base del sistema */
    --heading-font: var(--main-title-font);
    --body-font: var(--body-text-font);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* Respeta configuración del usuario (16px base) */
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

body {
    font-family: var(--body-font);
    font-size: 1rem; /* 16px base */
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 4.25rem; /* 68px convertido a rem */
    overflow-x: hidden; /* Prevenir scroll horizontal */
    max-width: 100vw; /* Limitar ancho máximo */
}

/* Prevenir scroll horizontal en elementos con width: 100vw */
section, div {
    max-width: 100%;
}

/* Específicamente para secciones que usan 100vw */
.about-block-section,
.about-certifications-section,
.about-team-section,
.about-csr-section,
.about-ods-section,
.value-chain-propuesta {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

/* Prevenir desbordamiento en todas las páginas */
.home-page,
.about-us-page {
    overflow-x: hidden;
    max-width: 100%;
}

/* Estilos base para headings - Solo aplicar cuando no hay clases específicas */
h1:not([class*="title"]):not([class*="heading"]), 
h2:not([class*="title"]):not([class*="heading"]), 
h3:not([class*="title"]):not([class*="heading"]), 
h4:not([class*="title"]):not([class*="heading"]), 
h5:not([class*="title"]):not([class*="heading"]), 
h6:not([class*="title"]):not([class*="heading"]) {
    font-family: var(--heading-font);
    font-weight: 500;
}

/* Estilos base para headings con clases genéricas */
.page-title, .section-title, .content-title {
    font-family: var(--heading-font);
    font-weight: 500;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Preheader */
.preheader {
    background: var(--primary-color);
    color: var(--light-gray);
    padding: 0.5rem 0; /* 8px convertido a rem */
    font-size: 0.9375rem; /* 15px - más preciso que 0.95rem */
}

.preheader .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem; /* 20px convertido a rem */
}

/* Idioma estilo preheader */
.language-switch {
    display: flex;
    align-items: center;
    gap: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
}
.lang-btn {
    color: var(--light-gray);
    background: none;
    border: none;
    padding: 0 0.125rem; /* 2px convertido a rem */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}
.lang-btn.active {
    color: var(--secondary-color);
}
.lang-btn:hover:not(.active) {
    color: var(--primary-color);
    background: var(--secondary-color);
    border-radius: 0.1875rem; /* 3px convertido a rem */
}
.lang-separator {
    color: var(--light-gray);
    font-weight: 600;
    padding: 0 2px;
}

/* Social icons solo icono */
.social-icons {
    display: flex;
    gap: 0.625rem; /* 10px convertido a rem */
    background: none;
    padding: 0;
}
.social-icon {
    color: var(--light-gray);
    font-size: 1.125rem; /* 18px - más estándar que 1.2rem */
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s;
    text-decoration: none;
}
.social-icon:hover {
    color: var(--secondary-color);
}

/* Search icon solo icono, form solo en hover */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-gray);
    font-size: 1.125rem; /* 18px - consistente con social icons */
    padding: 0 0 0 0.625rem; /* 10px convertido a rem */
    transition: color 0.2s;
}
.search-toggle:hover {
    color: var(--secondary-color);
}
.search-form {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: var(--secondary-color);
    padding: 0.625rem; /* 10px convertido a rem */
    box-shadow: 0 0.25rem 0.75rem rgba(59, 86, 77, 0.15); /* 4px 12px convertido */
    border-radius: 0.375rem; /* 6px convertido a rem */
    min-width: 13.75rem; /* 220px convertido a rem */
    z-index: 1000;
    border: 1px solid var(--primary-color);
}
.search-box:hover .search-form,
.search-box:focus-within .search-form {
    display: block;
}
.search-form input {
    width: 100%;
    padding: 0.5rem 2.1875rem 0.5rem 0.625rem; /* 8px 35px 8px 10px convertido */
    border: 1px solid var(--primary-color);
    border-radius: 0.1875rem; /* 3px convertido a rem */
    background: var(--light-gray);
    color: var(--primary-color);
}
.search-form button {
    position: absolute;
    right: 0.9375rem; /* 15px convertido a rem */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Ajuste de alineación de acciones */
.actions-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.125rem; /* 18px convertido a rem */
}

@media (max-width: 768px) {
    .actions-column {
        justify-content: center;
        gap: 0.625rem; /* 10px convertido a rem */
    }
    .search-form {
        min-width: 10rem; /* 160px convertido a rem */
        right: 0;
        left: auto;
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
    will-change: transform;
    background: var(--primary-color) !important;
    box-shadow: 0 0.125rem 0.3125rem rgba(59, 86, 77, 0.1); /* 2px 5px convertido */
    border-bottom: 2px solid var(--primary-color);
    padding: 0.3125rem 0; /* 5px convertido a rem */
}
.header--hidden {
    transform: translateY(-100%);
    box-shadow: none;
}
.header--visible {
    transform: translateY(0);
    box-shadow: 0 0.125rem 0.3125rem rgba(59, 86, 77, 0.1); /* 2px 5px convertido */
}

.main-header .container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1.25rem; /* 20px convertido a rem */
    align-items: center;
}

/* Columnas del header */
.header-column {
    display: flex;
    align-items: center;
}

.logo-column {
    justify-content: flex-start;
}

.nav-column {
    justify-content: center;
}

/* Logo */
.logo img {
    max-height: 3.125rem; /* 50px convertido a rem */
    width: auto;
    filter: drop-shadow(0 0.125rem 0.5rem rgba(0,0,0,0.10)); /* 2px 8px convertido */
}

/* Navegación */
.main-nav {
    position: relative;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem; /* 20px convertido a rem */
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--light-gray);
    background: none;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.3125rem; /* 8px 5px convertido a rem */
    border-radius: 0.25rem; /* 4px convertido a rem */
    transition: all 0.2s ease;
    display: block;
    text-transform: uppercase;
    /*letter-spacing: 0.12em;*/
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list li.active > a {
    color: var(--secondary-color);
    background: none;
}

.nav-list li {
    position: relative;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(59, 86, 77, 0.18);
    padding: 12px 0;
    min-width: 230px;
    margin-top: 12px;
    transition: box-shadow 0.2s, background 0.2s;
    z-index: 2000;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--secondary-color);
}
.dropdown-menu li {
    margin: 0;
    padding: 0;
}
.dropdown-menu a {
    display: block;
    padding: 14px 28px;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s, padding-left 0.18s;
    margin-bottom: 2px;
}
.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 36px;
}
.dropdown-menu a:last-child {
    margin-bottom: 0;
}

/* Responsive para submenús */
@media (max-width: 768px) {
    .main-header {
        min-height: 60px;
        background: var(--primary-color) !important;
    }
    
    .main-header .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        min-height: 56px;
        position: relative;
        grid-template-columns: none !important;
    }
    
    /* Ocultar nav-column en móvil */
    .nav-column {
        display: none;
    }
    
    /* Mostrar solo el menú móvil */
    .mobile-nav {
        display: none; /* Oculto por defecto */
    }
    
    /* Mostrar menu-toggle directamente en el header */
    .menu-toggle {
        order: 1;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        height: 48px;
        width: 44px;
        margin: 0;
        padding: 0;
        z-index: 2;
        cursor: pointer;
        position: relative;
    }
    
    .menu-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        margin: 3px 0;
        background: var(--light-gray);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Animación del hamburger menu */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .logo-column {
        order: 2;
        flex: 1 1 auto;
        display: flex;
        justify-content: center !important;
        align-items: center;
        height: 48px;
        min-width: 0;
    }
    
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .logo img {
        max-height: 44px;
        max-width: 120px;
        margin: 0 auto;
        display: block;
    }
    
    .actions-column {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 60px;
        z-index: 2;
    }
    
    .language-switch {
        margin-right: 0;
    }
    
    .search-box {
        display: flex !important;
        align-items: center;
        margin-left: 0;
    }
    
    .search-toggle {
        color: var(--light-gray);
    }
    
    /* Menú de navegación móvil */
    .mobile-nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 20px;
        box-shadow: 0 4px 12px rgba(59, 86, 77, 0.3);
        z-index: 1000;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        list-style: none;
        margin: 0;
    }

    .mobile-nav.active {
        display: flex !important;
    }
    
    .mobile-nav a {
        color: var(--light-gray) !important;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        text-decoration: none;
    }
    
    .mobile-nav a:hover,
    .mobile-nav li.active > a {
        color: var(--secondary-color) !important;
        background: rgba(255, 255, 255, 0.05);
        padding-left: 10px;
}

    /* Dropdown móvil */
    .mobile-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 0;
        margin: 0;
        display: none;
        min-width: auto;
        transform: none;
        list-style: none;
        overflow: hidden;
        transition: all 0.3s ease;
}

    /* Mostrar dropdown cuando está abierto */
    .mobile-nav li.dropdown-open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    /* Animación para el dropdown */
    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 300px;
        }
    }

    .mobile-nav .dropdown-menu a {
        color: var(--secondary-color) !important;
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        font-size: 0.9em;
        display: block;
        text-decoration: none;
    }
    
    .mobile-nav .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        padding-left: 25px !important;
    }
    
    /* Indicador visual para items con dropdown */
    .mobile-nav li:has(.dropdown-menu) > a::after {
        content: ' ▼';
        font-size: 0.8em;
        float: right;
        transition: transform 0.3s ease;
    }

    .mobile-nav li.dropdown-open:has(.dropdown-menu) > a::after {
        transform: rotate(180deg);
    }

    /* Fallback para navegadores que no soportan :has() */
    .mobile-nav li > a[href*="brands"]::after {
        content: ' ▼';
        font-size: 0.8em;
        float: right;
        transition: transform 0.3s ease;
    }
    
    .mobile-nav li.dropdown-open > a[href*="brands"]::after {
        transform: rotate(180deg);
    }
}

/* Oculta el menu-toggle y mobile-nav en desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .main-header .container {
        grid-template-columns: 1fr 1fr;
    }

    .nav-column {
        grid-column: 1 / -1;
        order: 3;
    }

    .actions-column {
        justify-content: flex-end;
    }
}



/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--light-gray);
    padding: 60px 0 20px;
    font-size: 0.95em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding-right: 20px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: block;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.9;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

.footer-ruc {
    font-size: 0.9em;
    color: var(--border-color);
    margin-top: 10px;
}

.footer-title {
    color: var(--light-gray);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-contact-info,
.footer-address-info,
.footer-policies-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-email,
.footer-phone,
.footer-address-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-color);
    transition: color 0.3s ease;
}

.footer-email i,
.footer-phone i,
.footer-address-info i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.footer-email a,
.footer-phone a {
    color: var(--muted-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover a,
.footer-phone:hover a {
    color: var(--primary-color);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-gray);
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    background: var(--primary-color);
    color: var(--light-gray);
    transform: translateY(-3px);
}

.footer-policies-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-separator {
    border: none;
    border-top: 1px solid rgba(184, 197, 177, 0.7); /* secondary-color con transparencia */
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 1200px; /* igual que .container */
    background: none;
}

.footer-bottom {
    background: transparent !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-copyright {
    color: var(--border-color);
    font-size: 0.9em;
    text-align: center;
    width: 100%;
}

.footer-email a,
.footer-phone a,
.footer-address-info a {
    color: var(--muted-color);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-email a:hover,
.footer-phone a:hover,
.footer-address-info a:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.footer-email i,
.footer-phone i,
.footer-address-info i {
    color: var(--secondary-color) !important;
    font-size: 1.1em;
    margin-right: 6px;
    vertical-align: middle;
    text-decoration: none !important;
}

.footer-email a:hover i,
.footer-phone a:hover i,
.footer-address-info a:hover i {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
}

.footer-policies {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-policies .footer-link {
    color: var(--muted-color);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-policies .footer-link:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline;
}

.footer-policies .footer-link i {
    color: var(--secondary-color) !important;
    font-size: 1.1em;
    margin-right: 6px;
    vertical-align: middle;
    text-decoration: none !important;
}

.footer-policies .footer-link:hover i {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section {
        padding-right: 0;
        text-align: center;
    }

    .footer-logo-section {
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-email,
    .footer-phone,
    .footer-address-info p {
        justify-content: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-policies {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Asegurar que los dropdowns del menú de desktop no se vean en móvil */
    .nav-column .dropdown-menu {
        display: none !important;
    }

    /* Ajuste de tamaño para el título principal del hero */
    .hero-title, .hero h1 {
        font-size: 2em !important;
        line-height: 1.1;
    }
    /* Ajuste de tamaño para los títulos de sección */
    .offer-title,
    .section-title,
    h2:not(.about-hero-title):not(.about-block-title):not(.about-values-title):not(.about-ods-title):not(.about-who-title):not(.about-certifications-title):not(.about-team-title):not(.about-csr-title):not(.superfood-title):not(.form-title):not(.page-hero-title):not(.contact-title):not(.brands-title):not(.products-title):not(.hero-title):not(.value-chain-title):not(.offer-products-title):not(.about-title):not(.commitment-title):not(.certifications-title):not(.live-naturally-title):not(.offer-title):not(.brand-name):not(.brands-cta-title), 
    h3:not(.superfood-subtitle):not(.page-hero-subtitle):not(.contact-subtitle):not(.brands-hero-desc):not(.products-subtitle):not(.hero-subtitle) {
        font-size: 1.3em !important;
    }

    /* 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;
    }
}

/* End of mobile styles */

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

.offer-title {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.offer-divider {
    display: none;
}

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

/* Hero Section Estático - Estilos movidos al componente hero.css */

/* Hero carousel styles removed - using only hero static */

/* Hero responsive styles moved to hero.css component */

/* About Section */
.about-title {
    color: var(--primary-color);
}

.about-divider {
    background: var(--primary-color);
}

.about-text p {
    color: var(--text-color);
}

.about-btn {
    background: var(--primary-color);
    color: var(--light-gray);
}

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

/* Commitment Section */
.commitment-title {
    color: var(--primary-color);
}

.commitment-divider {
    background: var(--primary-color);
}

.pillar-card {
    background: var(--bg-light);
    box-shadow: 0 4px 24px rgba(59, 86, 77, 0.08), 0 2px 12px rgba(38, 35, 31, 0.08);
}

.pillar-card:hover {
    box-shadow: 0 8px 32px rgba(38, 35, 31, 0.13);
}

.pillar-icon {
    color: var(--primary-color);
}

.pillar-card:hover .pillar-icon {
    color: var(--text-color);
}

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

/* Offer Section */
.offer-title {
    color: var(--primary-color);
}

.offer-divider {
    background: var(--primary-color);
}

.offer-product-card {
    background: var(--bg-light);
    box-shadow: 0 4px 24px rgba(59, 86, 77, 0.08), 0 2px 12px rgba(38, 35, 31, 0.08);
}

.offer-product-card:hover {
    box-shadow: 0 8px 32px rgba(38, 35, 31, 0.13);
}

.offer-product-name {
    color: var(--text-color);
}

.swiper-button-next,
.swiper-button-prev {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(59, 86, 77, 0.10);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--text-color);
}

/* Certifications Section */
.certifications-section {
    background: var(--light-gray);
}

.certifications-title {
    color: var(--primary-color);
}

.logo-card {
    background: var(--bg-light);
    box-shadow: 0 4px 24px rgba(59, 86, 77, 0.08), 0 2px 12px rgba(38, 35, 31, 0.08);
}

.logo-card:hover {
    box-shadow: 0 8px 32px rgba(38, 35, 31, 0.13);
}

/* Eliminar espacio entre header y hero */
main.home-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-header {
    border-bottom-width: 1px !important;
}

/* Ocultar menu-toggle en escritorio */
.menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--light-gray);
        cursor: pointer;
        padding: 5px;
        margin-right: 10px;
    }
}

/* Estilos para iconos sociales */
.social-side {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2000;
}

.social-item {
    position: relative;
    margin-bottom: 1px;
}

.social-item a {
    display: block;
    width: 40px;
    height: 40px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.social-item i {
    font-size: 22px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.social-item span {
    position: absolute;
    right: 100%;
    top: 0;
    height: 40px;
    line-height: 40px;
    color: #fff;
    padding: 0 15px;
    font-weight: 500;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(10px);
    z-index: 1;
}

.social-item:hover a span {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* Colores específicos */
.social-item.facebook a,
.social-item.facebook span {
    background-color: #365493;
}

.social-item.instagram a, 
.social-item.instagram span {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}
.social-item.instagram i {
    background: none !important;
    color: #fff !important;
}

.social-item.linkedin a,
.social-item.linkedin span {
    background-color: #0274b3;
}

@media (max-width: 900px) {
    .social-side {
        top: auto;
        bottom: 20px;
        right: 0;
        transform: none;
    }
    
    .social-item {
        margin-bottom: 5px;
    }
}

.value-chain-prop-flexcol {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 50px;
}

.value-chain-prop-steps-circles {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.value-step-prop-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    box-sizing: border-box;
}

.step-circle-prop {
    width: 90px;
    height: 90px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
    transition: background 0.3s, color 0.3s;
    position: relative;
    z-index: 2;
}

.step-title-prop {
    font-size: 1.05em;
    max-width: 140px;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
    min-height: 2.6em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
}

/* Líneas horizontales de conexión */
.value-step-prop-circle:not(:last-child) .step-circle-prop::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transform: translateY(-50%);
    z-index: 1;
}

.value-chain-prop-vertical-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.value-chain-prop-connector-vertical {
    width: 3px;
    height: 60px;
    background: var(--primary-color);
    margin: 0 auto;
}

.value-step-prop-main-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.step-circle-prop-main-highlight {
    width: 120px;
    height: 120px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18);
    transition: background 0.3s, color 0.3s;
}

.step-title-prop-main {
    font-size: 1.3em;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

@media (max-width: 992px) {
    .value-chain-prop-steps-circles {
        max-width: 100%;
        gap: 0;
    }
    
    .value-step-prop-circle {
        width: auto;
        min-width: 90px;
        max-width: 120px;
    }

    .step-circle-prop {
        width: 70px;
        height: 70px;
        font-size: 1.5em;
        margin-bottom: 12px;
    }
    
    .step-title-prop {
        font-size: 0.9em;
        max-width: 100px;
    }
    
    .value-step-prop-circle:not(:last-child) .step-circle-prop::after {
        width: 30px;
    }

    .step-circle-prop-main-highlight {
        width: 90px;
        height: 90px;
        font-size: 2em;
    }

    .step-title-prop-main {
        font-size: 1.1em;
    }

    .value-chain-prop-connector-vertical {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .value-chain-prop-steps-circles {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .value-step-prop-circle {
        width: 100%;
        min-width: auto;
        max-width: none;
    }
    
    .step-circle-prop {
        width: 80px;
        height: 80px;
    }
    
    .value-step-prop-circle:not(:last-child) .step-circle-prop::after {
        left: 50%;
        top: calc(100% + 15px);
        width: 3px;
        height: 30px;
        transform: translateX(-50%);
    }
}

/* Estilos para la sección de productos mejorada 
.offer-products-enhanced {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.offer-products-enhanced .offer-products-row {
    display: flex;
    flex-wrap: wrap;
    margin: 40px -15px 0;
}

.offer-products-enhanced .offer-product-col {
    padding: 15px;
    margin-bottom: 20px;
}

.offer-products-enhanced .section-title {
    position: relative;
    font-size: 2.4em;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 30px;
    text-align: center;
}

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

.offer-products-enhanced .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-products-enhanced .offer-more-btn:hover {
    background-color: var(--hover-color);
}

.offer-products-enhanced .offer-products-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.offer-products-enhanced .offer-products-divider {
    flex: 1;
    height: 1px;
    background-color: var(--secondary-color);
    max-width: 100px;
    margin: 0 20px;
}*/

/* Ajuste para Swiper 
.offer-enhanced-swiper {
    width: 100%;
    padding: 20px 0;
}

@media (max-width: 576px) {
    .offer-products-enhanced {
        padding: 60px 0;
    }
    
    .offer-products-enhanced .section-title {
        font-size: 1.8em;
    }
    
    .offer-products-enhanced .offer-carousel-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .offer-products-enhanced .offer-carousel-wrapper {
        padding: 0 20px;
    }
}*/

/* --- MEJORA PROFESIONAL DE TARJETAS DE PRODUCTO PROPUESTA
.offer-products-enhanced .swiper-slide,
.offer-products-enhanced .offer-product-enhanced {
    display: flex;
    justify-content: center;
}

.offer-product-enhanced {
    max-width: 370px;
    min-width: 260px;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(59,86,77,0.09);
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
    margin: 0 18px;
    padding: 32px 22px 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.offer-product-enhanced:hover {
    box-shadow: 0 16px 40px rgba(59,86,77,0.13);
    transform: scale(1.025) translateY(-4px);
}

.offer-product-enhanced .organic-badge {
    position: absolute;
    top: 20px;
    left: 22px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.92em;
    font-weight: 500;
    border-radius: 16px;
    padding: 3px 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(59,86,77,0.06);
    text-transform: capitalize;
    z-index: 2;
}

.offer-product-enhanced .offer-product-img {
    display: block;
    margin: 24px auto 0 auto;
    max-width: 98%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(59,86,77,0.07);
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
}
.offer-product-enhanced:hover .offer-product-img {
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,86,77,0.13);
}

.offer-product-enhanced .offer-product-name {
    color: var(--primary-color);
    font-size: 1.12em;
    font-weight: 700;
    margin: 24px 0 0 0;
    text-align: center;
    letter-spacing: 0.5px;
    width: 100%;
    align-self: center;
}--- */

.offer-products-enhanced {
    --swiper-navigation-color: var(--primary-color);
}


.about-mission-section .about-block-bg {
    background: linear-gradient(120deg, var(--primary-color) 70%, var(--secondary-color) 100%);
    border-radius: 0 0 64px 64px/0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(59,86,77,0.10);
    position: relative;
    overflow: hidden;
}

.about-vision-section .about-block-bg {
    background: linear-gradient(120deg, #8C7355 70%, #FFD9A0 100%);
    border-radius: 64px 64px 0 0/32px 32px 0 0;
    box-shadow: 0 8px 32px rgba(140,115,85,0.10);
    position: relative;
    overflow: hidden;
}

/* Eliminadas las reglas de .about-block-title y .about-block-text para evitar conflicto con about-us.php */

@media (max-width: 900px) {
    .about-mission-section .about-block-bg,
    .about-vision-section .about-block-bg {
        border-radius: 0 0 32px 32px/0 0 16px 16px;
        padding: 0;
    }
    .about-block-title {
        font-size: 1.5em;
        padding-bottom: 6px;
    }
    .about-block-text {
        font-size: 1em;
        padding: 14px 10px;
    }
}




