/* --- VARIABLES Y ESTILOS GLOBALES --- */
:root {
    --bg-color: #F7F5F2; /* Blanco Hueso */
    --text-color: #4A573F; /* Verde Musgo */
    --primary-color: #A98B73; /* Marrón Tostado */
    --accent-color: #E47B54; /* Naranja Coral */
    --white: #FFFFFF;
    --yellow: #FFD679;

    --font-headings: 'Lora', serif; /* MEJORA: Cambiado a 'serif' genérico */
    --font-body: 'Montserrat', sans-serif; /* MEJORA: Cambiado a 'sans-serif' genérico */
    
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

/* Reseteo básico y configuración del body */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h3, h4 { font-family: var(--font-headings); color: var(--text-color); font-weight: 700; }
/* CORRECCIÓN: Se quitó el ':' extra dentro de var() */
h2 { font-family: var(--font-headings); color: var(--yellow); font-weight: 700; } 
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 1rem; }


/* --- ESTILOS PARA LA SECCIÓN ESPECIAL "PROMESA DE PRODUCTO" --- */

/* Estilo para el contenedor principal que resalta la sección */
.product-promise-container {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-color) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px; /* Ancho máximo del contenedor */
    margin: 0 auto 5rem auto; /* Centra el contenedor y le da espacio abajo */
    border: 1px solid #e0dcd7;
}

/* Ajustes para la lista que está adentro del nuevo contenedor */
.products-section .section-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra la lista */
    gap: 1rem;
    /* Quitamos el margen de abajo porque ahora lo controla el contenedor padre */
    margin-bottom: 0; 
}

.products-section .section-subtitle strong {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Estilo para cada "píldora" de la lista */
.products-section .section-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #e0dcd7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    width: fit-content; /* Asegura que la píldora se ajuste al texto */
}

.products-section .section-subtitle span i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* --- HEADER Y NAVEGACIÓN CON DEGRADADO --- */
.main-header {
    /* MEJORA: Unificado el padding y el degradado a una sola regla */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(125deg, #e53935, #ffb300, #43a047, #1e88e5, #8e24aa);
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }

/* --- LOGO CON ANIMACIÓN DE BRILLO --- */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img {
    /* MEJORA: Tamaño unificado y manejable */
    width: 80px; 
    height: 80px; 
    margin-right: 15px;
    animation: logo-glow 6s infinite ease-in-out;
}
.logo-text {
    font-family: var(--font-headings); 
    font-size: 2.3rem; /* MEJORA: Tamaño ajustado al logo */
    font-weight: 700; 
    color: var(--white);
    animation: logo-glow 6s infinite ease-in-out;
}
@keyframes logo-glow {
    0%, 80%, 100% { filter: drop-shadow(0 0 0 transparent); text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); }
    90% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.8); }
}

/* --- NAVEGACIÓN Y ESTILO DE ICONOS --- */
.main-nav ul { list-style: none; display: flex; gap: 2rem; }
.main-nav a { text-decoration: none; color: var(--white); font-weight: 600; position: relative; padding: 0.5rem 0; transition: color 0.3s ease; display: flex; align-items: center; }
.main-nav a i { margin-right: 8px; width: 20px; text-align: center; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 28px; width: 0; height: 2px; background-color: var(--white); transition: width 0.3s ease; }
.main-nav a:hover, .main-nav a:focus { color: #f0f0f0; }
.main-nav a:hover::after, .main-nav a:focus::after { width: calc(100% - 28px); }

.dropdown { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
.dropdown-content { display: none; position: absolute; background-color: var(--white); min-width: 240px; box-shadow: var(--shadow); z-index: 1; border-radius: var(--border-radius); padding: 1rem 0; overflow: hidden; margin-top: 0px; }
/* MEJORA: Estilos para imágenes en dropdown */
.dropdown-content a { color: var(--text-color); padding: 10px 20px; text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 400; text-shadow: none; }
.dropdown-content a img, .dropdown-content a i { flex-shrink: 0; }
.dropdown-content a:hover { background-color: var(--bg-color); color: var(--accent-color); }
.dropdown-content a::after { display: none; }
.dropdown:hover .dropdown-content { display: block; }
.fa-chevron-down { font-size: 0.7em; margin-left: 5px; }
.nav-toggle { display: none; }

/* --- HERO CAROUSEL --- */
.hero-carousel { position: relative; max-height: 700px; overflow: hidden; }
.carousel-container { display: flex; height: 80vh; transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); }
.carousel-slide { min-width: 100%; position: relative; height: 100%; }
.carousel-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.0); z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { position: absolute; bottom: 15%; left: 50%; transform: translateX(-50%); color: var(--white); text-align: center; max-width: 80%; z-index: 2; }
.carousel-caption h2 { font-size: 4rem; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.carousel-caption p { font-size: 1.5rem; margin-top: 1rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); }
.carousel-caption h2, .carousel-caption p { transform: translateY(20px); opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; }
.carousel-slide.active .carousel-caption h2 { transform: translateY(0); opacity: 1; transition-delay: 0.4s; }
.carousel-slide.active .carousel-caption p { transform: translateY(0); opacity: 1; transition-delay: 0.6s; }
.prev, .next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: white; font-weight: bold; font-size: 24px; transition: 0.3s ease; border-radius: 0 3px 3px 0; user-select: none; background-color: rgba(0, 0, 0, 0.3); z-index: 3; }
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.6); }

/* --- SECCIÓN DE PRODUCTOS --- */
.products-section { padding: 6rem 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.product-card { background: var(--white); border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-card h3 { font-size: 1.6rem; padding: 1.5rem 1.5rem 0.5rem 1.5rem; }
.product-card .product-description { padding: 0 1.5rem; color: #666; flex-grow: 1; }
.product-card .product-ingredients { padding: 1rem 1.5rem; font-size: 0.9rem; border-top: 1px solid var(--bg-color); margin-top: 1rem; }
.btn { display: inline-block; background: var(--primary-color); color: var(--white); padding: 12px 24px; text-decoration: none; border-radius: 50px; font-weight: 600; transition: background-color 0.3s ease, transform 0.3s ease; margin: 1.5rem; align-self: flex-start; }
.btn:hover { background: var(--accent-color); transform: scale(1.05); }

/* --- EFECTO DE RESPLANDOR PERSONALIZADO EN PRODUCTOS --- */
.product-card.color-rojo:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(229, 57, 53, 0.7); }
.product-card.color-amarillo:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(255, 179, 0, 0.8); }
.product-card.color-verde:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(67, 160, 71, 0.7); }
.product-card.color-morado:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(142, 36, 170, 0.7); }
.product-card.color-azul:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(30, 136, 229, 0.7); }
.product-card.color-naranja:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(251, 140, 0, 0.7); }
.product-card.color-cyan:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(38, 198, 218, 0.7); }
.product-card.color-rosa:hover { transform: translateY(-10px); box-shadow: var(--shadow), 0 0 25px rgba(236, 64, 122, 0.7); }

/* --- SECCIÓN DÓNDE ENCONTRARNOS --- */
.find-us-section { padding: 5rem 0; background-color: var(--bg-color); }
.supermarket-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem 3rem; margin-top: 3rem; margin-bottom: 2rem; }
.supermarket-logos img { max-height: 60px; filter: grayscale(100%); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.supermarket-logos img:hover { filter: grayscale(0%); opacity: 1; }
.distribution-info { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background-color: var(--white); padding: 3rem; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-top: 3rem;}
.honduras-map img { width: 100%; height: auto; object-fit: contain; }
.wholesale-text h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.wholesale-text p { margin-bottom: 1.5rem; }

/* --- ESTILOS PÁGINAS ESPECÍFICAS (PRODUCTO, CONTACTO, ETC.) --- */
/* (Aquí van todos los estilos de las páginas que no son el index) */
.product-page-container { display: grid; grid-template-columns: 1fr 1.7fr; gap: 4rem; padding: 5rem 0; }
.product-image-column { position: sticky; top: 140px; align-self: start; height: calc(100vh - 160px); }
.product-image-column img { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.purchase-box { background-color: var(--bg-color); border: 1px solid #e0dcd7; border-radius: var(--border-radius); padding: 1.5rem; margin-top: 2rem; text-align: center; }
.product-price { font-size: 2.5rem; font-weight: 700; color: var(--accent-color); margin-bottom: 0.5rem; }
.product-size { font-size: 1rem; color: #777; margin-bottom: 1.5rem; }
.btn.btn-primary { display: block; width: 100%; background: var(--accent-color); padding: 15px; font-size: 1.2rem; }
.btn.btn-primary:hover { background: #d16a47; }
.product-details-column h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--text-color); }
.product-details-column h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--primary-color); }
.product-details-column h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-color); margin-top: 2rem; margin-bottom: 0.5rem; }
.product-details-column p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 1rem; }
.product-details-column ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.product-details-column ul li { font-size: 1.1rem; padding-left: 2rem; position: relative; margin-bottom: 0.8rem; }
.product-details-column ul li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--accent-color); position: absolute; left: 0; top: 5px; }
.call-to-action { background: linear-gradient(45deg, var(--accent-color), #d16a47); color: var(--white); padding: 2rem; border-radius: var(--border-radius); text-align: center; margin-top: 3rem; font-size: 1.2rem; font-weight: 600; box-shadow: var(--shadow); }
.nutrition-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 1rem; }
.nutrition-table th, .nutrition-table td { padding: 12px 15px; border: 1px solid #e0dcd7; text-align: left; }
.nutrition-table thead th { background-color: var(--bg-color); font-weight: 700; color: var(--text-color); }
.nutrition-table tbody tr:nth-child(even) { background-color: var(--bg-color); }
.contact-page-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; padding: 5rem 0; }
.contact-info-column h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; }
.contact-block { margin-bottom: 2.5rem; }
.contact-block h2 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--text-color); }
.btn-whatsapp { background-color: #25D366; color: var(--white); display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; padding: 15px 30px; }
.btn-whatsapp:hover { background-color: #1DA851; color: var(--white); }
#contact-form .form-group { margin-bottom: 1.5rem; }
#contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #555; }
#contact-form input, #contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(169, 139, 115, 0.3); }
#form-success-message { background-color: #e8f5e9; color: #2e7d32; padding: 1rem; border-radius: 8px; text-align: center; margin-top: 1rem; font-weight: 600; }
.map-container { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; margin-top: 3rem; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.about-hero { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('saluvita-nutriendo-vidas-desde-1998.png'); background-size: cover; background-position: center; color: var(--white); text-align: center; padding: 6rem 0; }
.about-hero h1 { font-size: 3.5rem; color: var(--white); text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.about-hero p { font-size: 1.3rem; max-width: 600px; margin: 1rem auto 0; opacity: 0.9; }
.our-story { padding: 5rem 0; text-align: center; }
.our-story h2, .our-pillars-section h2 { font-size: 2.8rem; margin-bottom: 2rem; }
.our-story p { max-width: 800px; margin: 0 auto 1rem auto; font-size: 1.1rem; line-height: 1.8; }
.mission-vision-section { background-color: var(--bg-color); padding: 5rem 0; }
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.mission-card, .vision-card { background-color: var(--white); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.mission-card i, .vision-card i { font-size: 3rem; color: var(--accent-color); margin-bottom: 1.5rem; display: block; }
.mission-card h3, .vision-card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.our-pillars-section { padding: 5rem 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.pillar-card { text-align: center; padding: 2rem; border: 1px solid #e0dcd7; border-radius: var(--border-radius); transition: background-color 0.3s, border-color 0.3s; }
.pillar-card:hover { background-color: var(--white); border-color: var(--primary-color); }
.pillar-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.pillar-card h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.about-cta { background-color: var(--text-color); color: var(--white); padding: 4rem 0; text-align: center; }
.about-cta h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 1rem; }
.about-cta p { margin-bottom: 2rem; }
.about-cta .btn { background-color: var(--accent-color); color: var(--white); }
.about-cta .btn:hover { background-color: #d16a47; }
.distributor-page { padding: 5rem 0; }
.distributor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-top: 3rem; }
.distributor-card { background-color: var(--white); padding: 2.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e0dcd7; text-align: center; }
.distributor-card img { max-height: 80px; margin-bottom: 1.5rem; }
.distributor-card h3 { font-size: 2rem; margin-bottom: 1rem; }
.distributor-contact { margin-top: 2rem; text-align: left; border-top: 1px solid #eee; padding-top: 2rem; }
.distributor-contact p { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; }
.distributor-contact i { color: var(--primary-color); }
.privacy-policy-page { padding: 5rem 0; background-color: var(--white); }
.privacy-policy-page .container { max-width: 800px; }
.privacy-policy-page h1 { text-align: center; font-size: 2.8rem; margin-bottom: 1rem; }
.privacy-policy-page .last-updated { text-align: center; font-style: italic; color: #777; margin-bottom: 3rem; }
.privacy-policy-page h2 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--bg-color); }
.privacy-policy-page h3 { font-size: 1.4rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.privacy-policy-page p, .privacy-policy-page li { line-height: 1.8; color: #333; }
.privacy-policy-page ul { list-style-type: disc; padding-left: 20px; margin-bottom: 1rem; }
.privacy-policy-page a { color: var(--accent-color); text-decoration: underline; }
.privacy-policy-page a:hover { color: var(--primary-color); }

/* --- FOOTER CON DEGRADADO --- */
.main-footer {
    /* CORRECCIÓN: Simplificado a un solo degradado */
    background: linear-gradient(125deg, #8e24aa, #1e88e5, #43a047, #ffb300, #e53935);
    color: #e0e0e0;
    padding: 4rem 0 2rem 0;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-section h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.footer-section p, .footer-section a { color: #e0e0e0; text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: var(--white); }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a i { margin-right: 10px; width: 20px; text-align: center; }
.social-icons a { font-size: 1.5rem; margin-right: 1rem; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 2rem; font-size: 0.9rem; color: #e0e0e0; }

/* --- MODAL DE PRODUCTO --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); }
.modal.active { display: flex; align-items: center; justify-content: center; }
.modal-content { position: relative; background-color: var(--white); padding: 30px; border-radius: var(--border-radius); max-width: 900px; width: 90%; max-height: 85vh; box-shadow: 0 10px 40px rgba(0,0,0,0.2); animation: fadeInModal 0.5s ease; }
@keyframes fadeInModal { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { color: #aaa; position: absolute; top: 15px; right: 25px; font-size: 2.5rem; font-weight: bold; line-height: 1; cursor: pointer; transition: color 0.3s ease; }
.close-modal:hover, .close-modal:focus { color: var(--accent-color); text-decoration: none; }
.modal-body { display: flex; gap: 30px; align-items: center; }
#modal-image { max-width: 45%; height: auto; max-height: 70vh; object-fit: contain; border-radius: var(--border-radius); }
.modal-text { max-width: 55%; }
#modal-title { font-size: 2.5rem; color: var(--text-color); margin-bottom: 1rem; }
#modal-description { font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.5rem; }
#modal-ingredients { font-size: 0.95rem; color: #555; background-color: var(--bg-color); padding: 15px; border-radius: 8px; border-left: 4px solid var(--primary-color); }
.product-image-clickable { cursor: pointer; transition: transform 0.3s ease; }
.product-image-clickable:hover { transform: scale(1.05); }


/* --- ESTILOS SECCIÓN DE VIDEO DE YOUTUBE --- */
.video-section {
    padding: 5rem 0;
    background-color: var(--white);
}

/* Contenedor para centrar el video y darle un tamaño máximo */
.youtube-video-wrapper {
    max-width: 900px;  /* Ancho máximo del video */
    margin: 2rem auto 0; /* Centra el contenedor horizontalmente */
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden; /* Asegura que el iframe respete los bordes redondeados */

    /* ----- La magia para la proporción automática ----- */
    /* Le decimos al contenedor que mantenga una proporción de 16:9 */
    aspect-ratio: 16 / 9;
}

/* Estilos para el iframe de YouTube */
.youtube-video-wrapper iframe {
    /* Le decimos al iframe que ocupe todo el espacio de su contenedor */
    width: 100%;
    height: 100%;
    display: block; /* Elimina cualquier espacio fantasma debajo */
}

/* ---- MÓVILES ---- */
@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    
    /* SOLUCIÓN 1 (PRINCIPAL): Reduce la altura del carrusel en móviles */
    .hero-carousel, .carousel-container {
        height: 55vh; /* Altura mucho más razonable para móviles */
    }
    .carousel-caption h2 { font-size: 2.5rem; } /* Texto ligeramente más pequeño */
    .carousel-caption p { font-size: 1.1rem; }
    
    /* SOLUCIÓN 2: Permite el scroll en el menú móvil y añade espacio al final */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #333;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        overflow-y: auto; /* <-- ¡LA CLAVE! Permite el desplazamiento vertical */
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 6rem;
        padding-bottom: 6rem; /* <-- Espacio extra al final para que no se corte */
        gap: 2.5rem;
    }
    
    .nav-toggle { display: block; background: none; border: none; color: var(--white); font-size: 1.8rem; cursor: pointer; z-index: 1001; }
    .main-nav.active { right: 0; }
    .main-nav a { font-size: 1.2rem; }
    .main-nav a::after { left: 0; width: 0; }
    .main-nav a:hover::after, .main-nav a:focus::after { width: 100%; }
    .dropdown .dropdown-content { position: static; display: none; background: none; box-shadow: none; text-align: center; padding-top: 1rem; }
    .dropdown-content a { color: #ccc; justify-content: center; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.active .dropdown-content { display: block; }
    
    /* --- Ajustes responsivos para OTRAS PÁGINAS --- */
    .modal-body { flex-direction: column; text-align: center; }
    #modal-image, .modal-text { max-width: 100%; }
    #modal-title { font-size: 2rem; }
    .product-page-container { grid-template-columns: 1fr; }
    .product-image-column { position: static; height: auto; margin-bottom: 2rem; }
    .product-details-column h1 { font-size: 2.2rem; }
    .about-hero h1 { font-size: 2.5rem; }
    .our-story h2, .our-pillars-section h2 { font-size: 2.2rem; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .distribution-info { grid-template-columns: 1fr; }
}