/* ==========================================================================
   SANA BALANCE - ESTILO EDITORIAL PREMIUM
   Diseño responsivo simultáneo (PC, Tablet, Móvil)
   Tipografías oficiales: Signika (Títulos) + Roboto (Cuerpo)
   ========================================================================== */

/* IMPORTS DESDE GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500&family=Signika:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Oficial del Manual de Marca */
    --bg-miel: #FDFBF7;           /* Lienzo de marca, suave e higiénico */
    --bg-crema-apoyo: #F4EFE6;    /* Diferenciación de tarjetas y secciones */
    --text-espresso: #070303;     /* Marrón ultra profundo del logotipo */
    --text-muted: #8A7365;        /* Subtítulos y textos de soporte */
    --border-light: #E6DCD1;      /* Líneas divisorias finas */
    
    /* Acentuaciones de Sabores (Caldos) */
    --accent-res-terracota: #C97A5E; /* Acción, vitalidad y Caldo de Res */
    --accent-pollo-dorado: #CFA65B;  /* Calidez, nutrición y Caldo de Pollo */
    --accent-terracota: #C97A5E;     /* Habilitar fallback para botones y enlaces */
    
    /* Variables Dinámicas (Cambiadas por JS) */
    --dynamic-accent: var(--accent-res-terracota);
    --hero-bg: var(--bg-miel);
    --shadow-premium: 0 20px 40px rgba(7, 3, 3, 0.04);
}

/* Modificadores de Sabor dinámicos aplicados al body */
body[data-flavor="res"] {
    --dynamic-accent: var(--accent-res-terracota);
    --hero-bg: var(--bg-miel);
}

body[data-flavor="pollo"] {
    --dynamic-accent: var(--accent-pollo-dorado);
    --hero-bg: #FFFFFF; /* Pollo con fondo blanco según especificación */
}

/* RESET GENERAL Y ACCESIBILIDAD */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base 1rem = 16px */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-miel);
    color: var(--text-espresso);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Elementos visuales ocultos pero legibles para lectores de pantalla (SEO) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ESTRUCTURAS Y CONTENEDORES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* REGLAS EDITORIALES DE TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Signika', sans-serif;
    color: var(--text-espresso);
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
    font-weight: 300; /* Estilo editorial ligero */
    font-size: 1.05rem;
}

strong {
    font-weight: 500;
}

.text-espresso { color: var(--text-espresso); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* LÍNEAS DIVISORIAS EDITORIALES */
.separator {
    border: 0;
    height: 1px;
    background-color: var(--border-light);
    margin: 3.5rem auto;
    width: 100%;
}

.separator-short {
    border: 0;
    height: 2px;
    background-color: var(--dynamic-accent);
    margin: 1.5rem 0;
    width: 80px;
    transition: background-color 0.4s ease;
}

/* BOTONES PREMIUM */
.btn-primary {
    background-color: var(--text-espresso);
    color: #FFFFFF;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    border: 1px solid var(--text-espresso);
    font-family: 'Signika', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(7, 3, 3, 0.08);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--dynamic-accent);
    border-color: var(--dynamic-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 122, 94, 0.2);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--text-espresso);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    border: 1px solid var(--text-espresso);
    font-family: 'Signika', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-outline:hover {
    background-color: var(--text-espresso);
    color: var(--bg-miel);
}

/* ==========================================================================
   NAVEGACIÓN (RESPONSIVA)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-item {
    margin: 0 1.25rem;
}

.nav-link {
    color: var(--text-espresso);
    font-family: 'Signika', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-link:hover {
    color: var(--dynamic-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dynamic-accent);
    transition: width 0.3s ease, background-color 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botón Hamburguesa Móvil */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-espresso);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ==========================================================================
   PORTADA / HERO CAROUSEL
   ========================================================================== */
.hero-carousel {
    background-color: var(--hero-bg);
    min-height: 80vh;
    padding: 3rem 0;
    display: flex;
    align-items: center;
    position: relative;
    transition: background-color 0.8s ease;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-tag {
    font-family: 'Signika', sans-serif;
    color: var(--dynamic-accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.4s ease;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    min-height: 130px; /* Evita layout shift por diferencia de longitud de texto */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Contenedor Visual de Productos */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 550px;
}

/* Controles de Portada */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-light);
    color: var(--text-espresso);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--text-espresso);
    color: #FFFFFF;
    border-color: var(--text-espresso);
}

.prev-btn { left: -1rem; }
.next-btn { right: -1rem; }
.carousel-btn svg { width: 20px; height: 20px; }

/* Diapositivas de Botellas */
.carousel-track {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 520px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 10;
}

.carousel-slide.exit-left { opacity: 0; transform: translateX(-30px); }
.carousel-slide.exit-right { opacity: 0; transform: translateX(30px); }

/* Imagen del Producto en Hero */
.product-png {
    height: 68vh;
    min-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(7, 3, 3, 0.12));
    animation: floatProduct 6s ease-in-out infinite;
}

@keyframes floatProduct {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.product-label-pill {
    margin-top: 1.5rem;
    font-family: 'Signika', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-espresso);
    background-color: #FFFFFF;
    padding: 0.5rem 1.8rem;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 15px rgba(7, 3, 3, 0.04);
}

/* ==========================================================
   SELECTOR DE SABORES (INFERIOR)
   ========================================================== */
.flavor-selector-section {
    background-color: var(--bg-miel);
    padding: 1.5rem 0 3.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.flavor-switcher-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.flavor-btn {
    background: transparent;
    border: none;
    font-family: 'Signika', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.flavor-btn:hover {
    color: var(--text-espresso);
}

.flavor-btn.active {
    color: var(--text-espresso);
    border-bottom-color: var(--dynamic-accent);
}

/* ==========================================================
   MANIFIESTO / STORYTELLING
   ========================================================== */
.manifesto-section {
    background-color: #FFFFFF;
    padding: 7rem 0;
}

.manifesto-content {
    max-width: 820px;
    margin: 0 auto;
}

.manifesto-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 2rem;
    text-transform: none;
}

.manifesto-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-espresso);
    margin-bottom: 2rem;
    font-weight: 300;
}

.manifesto-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* ==========================================================
   CÓMO FUNCIONA / ANATOMÍA CIENTÍFICA
   ========================================================== */
.science-section {
    background-color: var(--bg-crema-apoyo);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.science-visual {
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.science-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.6s ease;
}

.science-visual:hover .science-img {
    transform: scale(1.03);
}

.science-content h2 {
    margin-bottom: 1.5rem;
}

.science-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Acordeón / Puntos Clínicos */
.clinical-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.clinical-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.clinical-icon {
    width: 28px;
    height: 28px;
    color: var(--dynamic-accent);
    flex-shrink: 0;
    transition: color 0.4s ease;
}

.clinical-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.clinical-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================
   TIENDA / NUESTROS PACKS
   ========================================================== */
.store-section {
    padding: 7rem 0;
    background-color: #FFFFFF;
}

.store-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4.5rem auto;
}

.store-header h2 {
    margin-bottom: 1rem;
}

.store-header p {
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 40px rgba(7, 3, 3, 0.06);
    border-color: var(--text-espresso);
}

.product-card-image-box {
    height: 300px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

.product-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.08);
}

/* Flechas superpuestas en tarjetas */
.card-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    color: var(--text-espresso);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.4rem;
    font-family: monospace;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(7, 3, 3, 0.05);
}

.card-arrow-btn:hover {
    background-color: var(--text-espresso);
    color: #FFFFFF;
    border-color: var(--text-espresso);
}

.prev-card-btn {
    left: 10px;
}

.next-card-btn {
    right: 10px;
}

.product-card:hover .card-arrow-btn {
    opacity: 1;
    pointer-events: auto;
}

.product-card-details {
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    width: 100%;
}

.product-card-price {
    font-family: 'Signika', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-espresso);
}

.product-card-buy-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 30px;
    border: none;
    background-color: var(--text-espresso);
    color: #FFFFFF;
    font-family: 'Signika', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card-buy-btn:hover {
    background-color: var(--dynamic-accent);
}

/* ==========================================================
   JOURNAL / RECETAS SALUDABLES
   ========================================================== */
.journal-section {
    background-color: var(--bg-miel);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.journal-title h2 {
    margin-bottom: 0.5rem;
}

.journal-title p {
    color: var(--text-muted);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.recipe-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}

.recipe-image-box {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.recipe-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.recipe-card:hover .recipe-img {
    transform: scale(1.04);
}

.recipe-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-espresso);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.recipe-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.recipe-title a {
    color: var(--text-espresso);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recipe-title a:hover {
    color: var(--dynamic-accent);
}

.recipe-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recipe-link {
    font-family: 'Signika', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-espresso);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    margin-top: auto;
}

.recipe-link:hover {
    color: var(--dynamic-accent);
}

.recipe-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.recipe-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================
   FOOTER EDITORIAL
   ========================================================== */
.footer {
    background-color: var(--text-espresso);
    color: var(--bg-miel);
    padding: 6rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    align-self: flex-start;
    opacity: 0.9;
}

.footer-tagline {
    font-family: 'Signika', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 300;
    opacity: 0.85;
}

.footer-links h4,
.footer-newsletter h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.8rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--bg-miel);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #FFFFFF;
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(253, 251, 247, 0.3);
    padding-bottom: 0.5rem;
}

.newsletter-input {
    background: transparent;
    border: none;
    flex-grow: 1;
    color: #FFFFFF;
    padding: 0.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(253, 251, 247, 0.4);
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--bg-miel);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateX(4px);
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ==========================================================
   ANIMACIONES DE ENTRADA CON SCROLL (Intersection Observer)
   ========================================================== */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   NUEVAS SECCIONES EDITORIALES (BIENVENIDA, HISTORIA, PILARES, CIENCIA, CANALES, JOURNAL)
   ========================================================================== */

/* 4. BIENVENIDA */
.welcome-section {
    background-color: var(--bg-miel);
    padding: 6rem 0;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text-espresso);
}

.welcome-lead {
    font-size: 1.25rem;
    color: var(--text-espresso);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.welcome-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 5. NUESTRA HISTORIA */
.story-section {
    background-color: #FFFFFF;
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.story-content {
    display: flex;
    flex-direction: column;
}

.story-p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-p strong {
    color: var(--text-espresso);
}

.story-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background-color: var(--bg-miel);
    border: 1px solid var(--border-light);
    aspect-ratio: 1/1;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-visual:hover .story-img {
    transform: scale(1.03);
}

/* 6. LOS 4 PILARES */
.pillars-section {
    background-color: var(--bg-crema-apoyo);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--dynamic-accent);
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-miel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dynamic-accent);
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon-box {
    background-color: var(--dynamic-accent);
    color: #FFFFFF;
}

.pillar-icon-box svg {
    width: 24px;
    height: 24px;
}

.pillar-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-espresso);
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pillar-card-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.pillar-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-card-img {
    transform: scale(1.05);
}

.pillar-link {
    font-family: 'Signika', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dynamic-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    transition: color 0.3s ease;
}

.pillar-link:hover {
    color: var(--text-espresso);
}

.pillar-tag-soon {
    align-self: flex-start;
    background-color: var(--bg-crema-apoyo);
    color: var(--text-muted);
    font-family: 'Signika', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* 7. CIENCIA COMPARATIVA */
.science-compare-section {
    background-color: var(--bg-miel);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.science-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.compare-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(7, 3, 3, 0.01);
    position: relative;
}

.compare-card:hover {
    box-shadow: var(--shadow-premium);
}

.compare-res:hover {
    border-color: var(--accent-res-terracota);
}

.compare-pollo:hover {
    border-color: var(--accent-pollo-dorado);
}

.compare-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.compare-badge {
    align-self: flex-start;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-res {
    background-color: rgba(201, 122, 94, 0.1);
    color: var(--accent-res-terracota);
}

.badge-pollo {
    background-color: rgba(207, 166, 91, 0.1);
    color: var(--accent-pollo-dorado);
}

.compare-card h3 {
    font-size: 1.6rem;
}

.compare-lead {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-visual:hover .story-img {
    transform: scale(1.03);
}

/* 6. LOS 4 PILARES */
.pillars-section {
    background-color: var(--bg-crema-apoyo);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pillar-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--dynamic-accent);
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-miel);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dynamic-accent);
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon-box {
    background-color: var(--dynamic-accent);
    color: #FFFFFF;
}

.pillar-icon-box svg {
    width: 24px;
    height: 24px;
}

.pillar-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-espresso);
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pillar-card-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.pillar-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.pillar-link {
    font-family: 'Signika', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dynamic-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    transition: color 0.3s ease;
}

.pillar-link:hover {
    color: var(--text-espresso);
}

.pillar-tag-soon {
    align-self: flex-start;
    background-color: var(--bg-crema-apoyo);
    color: var(--text-muted);
    font-family: 'Signika', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* 7. CIENCIA COMPARATIVA */
.science-compare-section {
    background-color: var(--bg-miel);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
}

.science-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.compare-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(7, 3, 3, 0.01);
    position: relative;
}

.compare-card:hover {
    box-shadow: var(--shadow-premium);
}

.compare-res:hover {
    border-color: var(--accent-res-terracota);
}

.compare-pollo:hover {
    border-color: var(--accent-pollo-dorado);
}

.compare-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.compare-badge {
    align-self: flex-start;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-res {
    background-color: rgba(201, 122, 94, 0.1);
    color: var(--accent-res-terracota);
}

.badge-pollo {
    background-color: rgba(207, 166, 91, 0.1);
    color: var(--accent-pollo-dorado);
}

.compare-card h3 {
    font-size: 1.6rem;
}

.compare-lead {
    color: var(--text-espresso);
    font-weight: 400;
    font-size: 1.05rem;
}

.compare-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 85px;
}

.compare-bullets li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.compare-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

.compare-res .compare-bullets li::before {
    color: var(--accent-res-terracota);
}

.compare-pollo .compare-bullets li::before {
    color: var(--accent-pollo-dorado);
}

/* Tabla Científica */
.science-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
}

.science-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #FFFFFF;
}

.science-table th, .science-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.science-table th {
    background-color: var(--bg-crema-apoyo);
    font-family: 'Signika', sans-serif;
    font-size: 1.05rem;
    color: var(--text-espresso);
    font-weight: 600;
}

.science-table td {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.science-table tr:last-child td {
    border-bottom: none;
}

.science-table td strong {
    color: var(--text-espresso);
}

/* Imagen comparativa de ciencia */
.science-visual-banner {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    margin-bottom: 4rem;
}

.science-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 9. PUNTOS DE VENTA (CANALES) */
.sales-channels-section {
    background-color: var(--bg-crema-apoyo);
    padding: 7rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.channel-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: all 0.4s ease;
}

.channel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.channel-icon-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-logo {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.channel-svg-icon {
    width: 48px;
    height: 48px;
    color: var(--dynamic-accent);
}

.channel-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.channel-card h3 {
    font-size: 1.25rem;
}

.channel-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.channel-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background-color: #FFFFFF;
}

.channel-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform 0.5s ease;
}

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

/* 10. JOURNAL LECTOR EDITORIAL */
.journal-layout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.journal-main-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(7, 3, 3, 0.01);
}

.journal-category-badge {
    display: inline-block;
    background-color: rgba(201, 122, 94, 0.1);
    color: var(--accent-res-terracota);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.journal-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.journal-author-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.journal-main-excerpt {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-espresso);
    font-weight: 300;
    border-left: 3px solid var(--dynamic-accent);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.journal-main-content h4 {
    font-size: 1.2rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--text-espresso);
}

.journal-main-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.journal-main-content strong {
    color: var(--text-espresso);
}

.journal-main-content blockquote {
    background-color: var(--bg-miel);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    font-style: italic;
    color: var(--text-espresso);
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    line-height: 1.6;
}

/* Barra Lateral Journal */
.journal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-header {
    border-bottom: 2px solid var(--text-espresso);
    padding-bottom: 0.8rem;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-article-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.sidebar-article-card:hover {
    border-color: var(--text-espresso);
    transform: translateY(-2px);
}

.sidebar-tag {
    font-size: 0.7rem;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--dynamic-accent);
}

.sidebar-article-card h4 a {
    color: var(--text-espresso);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.sidebar-article-card h4 a:hover {
    color: var(--dynamic-accent);
}

.sidebar-article-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.sidebar-read-more {
    font-family: 'Signika', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-espresso);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.sidebar-read-more:hover {
    color: var(--dynamic-accent);
}


/* ==========================================================================
   MEDIAS QUERIES - DISEÑO RESPONSIVO SIMULTÁNEO
   ========================================================================== */

/* 1. TABLET / IPAD PORTRAIT (Max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    /* Menu Hamburguesa Móvil y Tableta */
    .menu-toggle-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--bg-miel);
        border-left: 1px solid var(--border-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(7, 3, 3, 0.05);
        visibility: hidden; /* Evita que sea accesible o visible offscreen */
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-actions {
        display: flex; /* Mantiene visible para el botón hamburguesa */
    }
    
    .nav-actions .btn-primary-outline {
        display: none; /* Oculta solo el botón secundario en móviles/tabletas */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        min-height: 120px; /* Evita layout shift en tabletas */
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        min-height: 380px;
    }
    
    .prev-btn { left: 1rem; }
    .next-btn { right: 1rem; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Colapso a 2 columnas */
        gap: 1.5rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .science-compare-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .channels-grid .channel-card:nth-child(3) {
        grid-column: span 2;
    }
    
    .journal-layout-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
}

/* 2. CELULARES / DISPOSITIVOS MÓVILES (Max-width: 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px; /* Ligeramente más pequeño en móviles */
    }
    
    .hero-desc {
        min-height: 180px; /* Evita layout shift en móviles */
    }
    
    .hero-grid {
        gap: 1rem !important;
    }

    .hero-carousel {
        min-height: auto;
        padding: 1.5rem 0 1rem 0 !important;
    }
    
    .hero-visual {
        min-height: 320px !important;
        margin-top: 0.5rem !important;
    }

    .carousel-track {
        height: 320px !important;
        min-height: 320px !important;
    }
    
    .product-png {
        height: 300px !important;
        min-height: 300px !important;
    }
    
    .flavor-switcher-nav {
        gap: 1.5rem;
    }
    
    .flavor-btn {
        font-size: 0.95rem;
    }

    .welcome-section {
        padding: 4rem 0;
    }

    .story-section {
        padding: 4rem 0;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-visual {
        order: 2; /* Visual va debajo del texto en móviles */
        aspect-ratio: 4/3;
    }

    .pillars-section {
        padding: 4rem 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .science-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .science-compare-section {
        padding: 4rem 0;
    }

    .science-compare-grid {
        grid-template-columns: 1fr;
    }

    .sales-channels-section {
        padding: 4rem 0;
    }

    .channels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .channels-grid .channel-card:nth-child(3) {
        grid-column: span 1;
    }

    .journal-section {
        padding: 4rem 0;
    }

    .journal-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .journal-main-card {
        padding: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr; /* Colapso total a 1 columna */
    }
    
    .products-grid .product-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand, .footer-links, .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Botón flotante opcional para móviles para incentivar la compra */
    .mobile-sticky-buy {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        display: block;
    }
}

/* ==========================================================================
   MODAL DE VISTA RÁPIDA (FICHA DE PRODUCTO)
   ========================================================================== */
.quickview-modal {
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 3, 3, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: qvFadeIn 0.3s ease;
}

.quickview-content {
    background-color: #FDFBF7;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow-y: auto;
    animation: qvScaleUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quickview-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-espresso);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
}

.quickview-close-btn:hover {
    color: var(--accent-res-terracota);
}

.quickview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 500px;
}

/* Columna Izquierda: Galería */
.quickview-gallery {
    background-color: #F8F5F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    border-right: 1px solid var(--border-light);
    user-select: none;
}

.quickview-img-box {
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickview-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.quickview-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--text-espresso);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.quickview-gallery-btn:hover {
    background-color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.prev-qv-btn { left: 1rem; }
.next-qv-btn { right: 1rem; }

.quickview-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.qv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D6CFC7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qv-dot.active {
    background-color: var(--accent-res-terracota);
    transform: scale(1.2);
}

/* Columna Derecha: Información */
.quickview-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quickview-title {
    font-family: 'Signika', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-bottom: 0.5rem;
}

.quickview-price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quickview-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-espresso);
}

.quickview-shipping-badge {
    font-size: 0.75rem;
    font-family: 'Signika', sans-serif;
    background-color: #E6F4EA;
    color: #137333;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.quickview-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-espresso);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.quickview-separator {
    height: 1px;
    background-color: var(--border-light);
    margin-bottom: 1.5rem;
}

.quickview-platform-label {
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.quickview-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.qv-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
    text-decoration: none;
    font-weight: 600;
}

.quickview-content::-webkit-scrollbar {
    width: 6px;
}
.quickview-content::-webkit-scrollbar-thumb {
    background-color: rgba(7, 3, 3, 0.1);
    border-radius: 3px;
}

@keyframes qvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes qvScaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsivo */
@media (max-width: 850px) {
    .quickview-grid {
        grid-template-columns: 1fr;
    }
    .quickview-gallery {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 1.5rem;
    }
    .quickview-img-box {
        height: 380px;
    }
    .quickview-info {
        padding: 1.5rem;
    }
    .quickview-title {
        font-size: 1.5rem;
    }
    .quickview-content {
        max-height: 95vh;
    }
}

/* Optimización de la Tabla de Ciencia para Móvil */
.science-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 3rem !important;
    padding-bottom: 1rem;
}

.science-table-container::-webkit-scrollbar {
    height: 6px;
}
.science-table-container::-webkit-scrollbar-thumb {
    background-color: rgba(7, 3, 3, 0.2);
    border-radius: 3px;
}

.science-table {
    width: 100%;
    min-width: 600px; /* Evita que las columnas se aplasten en pantallas pequeñas */
    border-collapse: collapse;
}

@media (max-width: 600px) {
    .science-table-container::after {
        content: "➔ Desliza para comparar";
        display: block;
        text-align: right;
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-top: 0.5rem;
        font-weight: 600;
    }
}

/* ==========================================================
   ESTILOS ADICIONALES PARA LA VERSIÓN V1 ESTÁTICA
   ========================================================== */

/* 1. HERO ESTÁTICO PREMIUM */
.hero-static {
    background-color: var(--hero-bg);
    min-height: 75vh;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.hero-visual-static {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-lifestyle {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-light);
    filter: brightness(0.95);
}

.hero-product-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: -20px;
    z-index: 10;
}

.hero-img-product {
    height: 240px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 15px rgba(7, 3, 3, 0.15));
    transition: transform 0.4s ease;
}

.res-jar {
    transform: translateX(15px) rotate(-3deg);
}

.pollo-jar {
    transform: translateX(-15px) rotate(3deg);
}

.hero-visual-static:hover .res-jar {
    transform: translateX(20px) scale(1.05) rotate(-2deg);
}

.hero-visual-static:hover .pollo-jar {
    transform: translateX(-20px) scale(1.05) rotate(2deg);
}

/* 2. BARRA DE AUTORIDAD */
.authority-bar {
    background-color: var(--bg-crema-apoyo);
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 0;
    font-family: 'Signika', sans-serif;
}

.authority-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.authority-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.authority-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.authority-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-espresso);
    opacity: 0.8;
    letter-spacing: -0.01em;
}

.authority-badge {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-res-terracota);
}

.hecho-en-mexico-badge {
    background-color: var(--text-espresso);
    color: #FFFFFF;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* 3. NAVEGACIÓN DE CARICATURAS EN COMPARATIVA */
.caricatura-nav-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.compare-card:hover .caricatura-nav-img {
    transform: scale(1.1) translateY(-5px);
}

/* Ocultar flechas de tarjetas de tienda */
.card-arrow-btn {
    display: none !important;
}

/* RESPONSIVO PARA HERO Y BARRA DE AUTORIDAD */
@media (max-width: 900px) {
    .hero-static {
        padding: 3rem 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-desc {
        margin: 0 auto 2rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual-static {
        min-height: 380px;
    }
    
    .hero-image-wrapper {
        margin: 0 auto;
    }
    
    .authority-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .authority-logos {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-desc {
        min-height: 200px; /* Evita layout shift en móviles muy pequeños */
    }
    .hero-visual-static {
        min-height: 280px;
    }
    .hero-image-wrapper {
        height: 260px;
    }
    .hero-img-product {
        height: 180px;
    }
    .hero-product-overlay {
        bottom: -10px;
        right: -10px;
    }
}



/* ==========================================================================
   NUEVAS REGLAS PARA LA HOMEPAGE OPTIMIZADA V1 (MARCA REGISTRADA Y CRO)
   ========================================================================== */

/* Enlace interactivo en la Barra de Autoridad */
.authority-badge {
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}
.authority-badge:hover {
    transform: scale(1.06) translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 122, 94, 0.15);
}

/* Alineación de Caricaturas junto a los Botones de Acción */
.compare-action-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    position: relative;
}

.product-anchor-btn {
    min-width: 220px;
    text-align: center;
}

.caricatura-action-img {
    position: absolute;
    bottom: -25px;
    right: -25px;
    height: 190px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 12px 24px rgba(7, 3, 3, 0.15));
    z-index: 10;
    pointer-events: none;
}

.compare-card:hover .caricatura-action-img {
    transform: scale(1.1) translateY(-10px) rotate(3deg);
}

/* COMPARATIVA EN MÓVIL (EVITAR SCROLL HORIZONTAL DE TABLA) */
.desktop-only-table {
    display: block;
}

.mobile-compare-list {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-compare-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    transition: transform 0.3s ease;
}

.mobile-compare-card:hover {
    transform: translateY(-2px);
}

.compare-param-title {
    font-family: 'Signika', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
    text-transform: capitalize;
}

.compare-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.compare-value-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.block-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.compare-value-block.pollo-block .block-label {
    color: #b58150; /* Tono dorado/mostaza de Pollo */
}

.compare-value-block.res-block .block-label {
    color: var(--accent-res-terracota); /* Tono terracota de Res */
}

.block-text {
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-espresso);
    margin: 0;
}

@media (max-width: 768px) {
    .desktop-only-table {
        display: none !important;
    }
    
    .mobile-compare-list {
        display: flex !important;
    }
    
    .compare-values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
}

/* Clickable Authority Logos and Review Cards */
.authority-logo-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-espresso);
    opacity: 0.8;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.authority-logo-link:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: var(--accent-res-terracota);
}

.review-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

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

.review-card-link:hover .review-card {
    box-shadow: 0 15px 35px rgba(7, 3, 3, 0.08) !important;
    border-color: var(--accent-res-terracota) !important;
}

/* FAQs Accordion Section */
.faqs-section {
    background-color: var(--bg-miel);
}

.accordion {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.accordion-item {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.accordion-item.active {
    border-color: var(--accent-res-terracota);
    box-shadow: var(--shadow-premium);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Signika', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-espresso);
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--accent-res-terracota);
}

.accordion-header .icon {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.accordion-item.active .accordion-body {
    max-height: 350px;
    padding: 0 2rem 1.8rem 2rem;
}

.accordion-body p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* Corporate Button Colors for QuickView Modal (All Devices) */
#qvAmazonBtn {
    background-color: var(--bg-crema-apoyo) !important;
    border: 2.5px solid #070303 !important;
    color: #070303 !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
#qvAmazonBtn:hover {
    background-color: rgba(255, 164, 28, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 164, 28, 0.15) !important;
}

#qvMercadoLibreBtn {
    background-color: var(--bg-crema-apoyo) !important;
    border: 2.5px solid #070303 !important;
    color: #070303 !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
#qvMercadoLibreBtn:hover {
    background-color: rgba(255, 241, 89, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 241, 89, 0.15) !important;
}

#qvWhatsAppBtn {
    background-color: var(--bg-crema-apoyo) !important;
    border: 2.5px solid #070303 !important;
    color: #070303 !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
#qvWhatsAppBtn:hover {
    background-color: rgba(37, 211, 102, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15) !important;
}
#qvWhatsAppBtn svg {
    fill: #070303 !important;
    transition: fill 0.3s ease;
}
#qvWhatsAppBtn:hover svg {
    fill: #25D366;
}

@media (max-width: 768px) {
    .caricatura-action-img {
        height: 140px !important;
        right: -15px !important;
        bottom: -15px !important;
    }
    .compare-bullets {
        padding-right: 60px !important;
    }

    /* Reducción de espacios y optimización móvil para disminuir el scroll */
    .welcome-section {
        padding: 1.8rem 0 1rem 0 !important;
    }
    .welcome-section .text-center {
        margin-bottom: 0 !important;
    }
    .welcome-section h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
    }
    .welcome-section h3 {
        font-size: 1.3rem !important;
        margin-top: 0.3rem !important;
        line-height: 1.3 !important;
    }
    .welcome-section p {
        font-size: 0.92rem !important;
    }
    .welcome-section .separator-short {
        margin: 0.8rem auto !important;
    }

    .science-compare-section {
        padding: 1rem 0 1.5rem 0 !important;
    }
    .science-compare-grid {
        gap: 1.2rem !important;
    }
    .compare-card {
        padding: 1.5rem !important;
        gap: 1.2rem !important;
        border-radius: 10px !important;
        margin-bottom: 0.8rem !important;
    }
    .compare-header {
        margin-bottom: 0.8rem !important;
    }
    .compare-header h3 {
        font-size: 1.4rem !important;
        margin-top: 0.4rem !important;
    }
    .compare-lead {
        font-size: 0.88rem !important;
        margin-top: 0.2rem !important;
    }
    .compare-bullets {
        margin-bottom: 1.2rem !important;
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
    }
    .compare-bullets li {
        margin-bottom: 0.4rem !important;
    }

    .store-section {
        padding: 2rem 0 !important;
    }
    .store-header {
        margin-bottom: 1.8rem !important;
    }

    .reviews-section {
        padding: 2rem 0 !important;
    }
    .reviews-section .text-center {
        margin-bottom: 1.5rem !important;
    }
    .reviews-section h2 {
        font-size: 1.6rem !important;
        margin-bottom: 0.5rem !important;
    }
    .reviews-section p {
        margin-bottom: 1.2rem !important;
    }
    .reviews-grid {
        gap: 1.2rem !important;
    }
    .review-card {
        padding: 1.5rem !important;
    }

    .science-compare-table-section {
        padding: 2rem 0 !important;
    }
    .section-header-compare {
        margin-bottom: 1.2rem !important;
    }
    .section-header-compare h2 {
        font-size: 1.8rem !important;
    }
    .mobile-compare-list {
        margin-top: 0.8rem !important;
        gap: 0.6rem !important;
    }
    .mobile-compare-card {
        padding: 1rem 1.2rem !important;
        border-radius: 10px !important;
    }
    .compare-param-title {
        font-size: 1rem !important;
        margin-bottom: 0.6rem !important;
    }
    .compare-values-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }
    .compare-value-block {
        padding: 0.5rem 0.6rem !important;
        border-radius: 6px !important;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .compare-value-block.pollo-block {
        background-color: rgba(181, 129, 80, 0.04) !important;
        border-left: 3px solid #b58150 !important;
    }
    .compare-value-block.res-block {
        background-color: rgba(201, 122, 94, 0.04) !important;
        border-left: 3px solid var(--accent-res-terracota) !important;
    }
    .compare-value-block .block-label {
        font-size: 0.72rem !important;
        margin-bottom: 0.2rem !important;
    }
    .compare-value-block .block-text {
        font-size: 0.84rem !important;
    }

    .pillars-section {
        padding: 2rem 0 !important;
    }
    .pillars-section .text-center {
        margin-bottom: 1.8rem !important;
    }

    .versatility-section {
        padding: 2rem 0 !important;
    }

    .sales-channels-section {
        padding: 2rem 0 !important;
    }
    .sales-channels-section .text-center {
        margin-bottom: 1.8rem !important;
    }

    .journal-section {
        padding: 2rem 0 !important;
    }
    .journal-header {
        margin-bottom: 1.8rem !important;
    }

    .faqs-section {
        padding: 2rem 0 !important;
    }
    .faqs-section .text-center {
        margin-bottom: 1.8rem !important;
    }

    .social-videos-section {
        padding: 2rem 0 !important;
    }
    .social-videos-section .text-center {
        margin-bottom: 1.8rem !important;
    }

    /* Ajustes horizontales para canales oficiales en móvil */
    .channels-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .channels-grid .channel-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 1rem !important;
        padding: 0.8rem !important;
        border-radius: 12px !important;
    }
    .channels-grid .channel-image-box {
        flex: 0 0 145px !important;
        max-width: 145px !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .channels-grid .channel-banner-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        padding: 0 !important;
    }
    .channels-grid .channel-card-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.4rem !important;
        width: auto !important;
    }
    .channels-grid .channel-card h3 {
        font-size: 1.05rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    .channels-grid .channel-card p {
        font-size: 0.82rem !important;
        margin: 0 !important;
        line-height: 1.4 !important;
    }
    .channels-grid .channel-card .btn-primary,
    .channels-grid .channel-card .btn-primary-outline {
        margin-top: 0.4rem !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.82rem !important;
        width: fit-content !important;
        border-radius: 30px !important;
        text-align: center !important;
    }

}

/* ==========================================================================
   NUEVA SECCIÓN DE VIDEOS DE REDES SOCIALES (INSTAGRAM & TIKTOK REELS)
   ========================================================================== */
.social-videos-section {
    background-color: var(--bg-miel);
    border-top: 1px solid var(--border-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 15px rgba(7,3,3,0.02);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.video-thumbnail-box {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* Proporción 3:4 típica de Reels/TikTok */
    background-color: #070303;
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7,3,3,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video-card:hover .play-overlay {
    background-color: rgba(7,3,3,0.45);
}

.play-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.video-card:hover .play-icon {
    transform: scale(1.15);
}

.video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.platform-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.platform-tag.tiktok {
    background-color: rgba(7,3,3,0.05);
    color: #070303;
}

.platform-tag.instagram {
    background-color: rgba(201,122,94,0.1);
    color: var(--accent-res-terracota);
}

.video-info h3 {
    font-family: 'Signika', sans-serif;
    font-size: 1.15rem;
    color: var(--text-espresso);
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.video-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .social-videos-section {
        padding: 3rem 0 !important;
    }
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.2rem;
        padding: 0 1rem;
    }
    .video-info {
        padding: 1.2rem !important;
    }
    .video-info h3 {
        font-size: 1.05rem !important;
    }
    .video-info p {
        font-size: 0.84rem !important;
    }
}

/* ==========================================================
   CARRITO DE COMPRAS DESLIZABLE & BOTÓN FLOTANTE
   ========================================================== */
.cart-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--text-espresso);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(7, 3, 3, 0.15);
    display: flex; /* Siempre visible por defecto */
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: var(--accent-res-terracota);
}

.cart-float-btn .cart-icon {
    font-size: 1.6rem;
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-res-terracota);
    color: #FFFFFF;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-family: 'Signika', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--text-espresso);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10000;
    visibility: hidden;
    transition: visibility 0.4s;
}

.cart-drawer.active {
    visibility: visible;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 3, 3, 0.5);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity 0.4s ease;
}

.cart-drawer.active .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    height: 100dvh;
    background-color: var(--bg-miel);
    box-shadow: -10px 0 30px rgba(7, 3, 3, 0.08);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 1px solid var(--border-light);
}

.cart-drawer.active .cart-drawer-content {
    right: 0;
}

.cart-drawer-header {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    margin: 0;
    font-family: 'Signika', sans-serif;
    color: var(--text-espresso);
    font-size: 1.4rem;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.cart-close-btn:hover {
    color: var(--accent-res-terracota);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    min-height: 0;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* Cart Item Layout */
.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.cart-item-img-box {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background-color: #FFFFFF;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-family: 'Signika', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-espresso);
    margin-bottom: 0.2rem;
}

.cart-item-price {
    font-family: 'Signika', sans-serif;
    color: var(--accent-res-terracota);
    font-size: 0.95rem;
    font-weight: 600;
}

.cart-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: #FFFFFF;
    overflow: hidden;
}

.cart-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-espresso);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.cart-qty-btn:hover {
    background-color: var(--bg-crema-apoyo);
}

.cart-qty-val {
    width: 25px;
    text-align: center;
    font-size: 0.88rem;
    font-family: 'Signika', sans-serif;
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    text-decoration: underline;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: var(--accent-res-terracota);
}

/* Cart Footer */
.cart-drawer-footer {
    padding: 1.8rem;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-crema-apoyo);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Signika', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-espresso);
    margin-bottom: 0.5rem;
}

.cart-shipping-note {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    border: none;
    padding: 1rem !important;
    font-size: 1.05rem !important;
    background-color: var(--accent-res-terracota) !important;
    box-shadow: 0 4px 15px rgba(201, 122, 94, 0.2) !important;
}

.checkout-btn:hover {
    background-color: var(--text-espresso) !important;
    box-shadow: 0 4px 15px rgba(7, 3, 3, 0.2) !important;
}

/* ==========================================================
   POPUP BOLETÍN / NEWSLETTER POPUP (LEAD MAGNET)
   ========================================================== */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 3, 3, 0.5);
    backdrop-filter: blur(4px);
}

.newsletter-popup-content {
    position: relative;
    background-color: var(--bg-miel);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    z-index: 10;
    transform: translateY(20px);
    animation: popupIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popupIn {
    to {
        transform: translateY(0);
    }
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 11;
}

.newsletter-popup-close:hover {
    color: var(--accent-res-terracota);
}

.newsletter-popup-body {
    padding: 3rem 2.5rem;
    text-align: center;
}

.newsletter-popup-tag {
    font-family: 'Signika', sans-serif;
    color: var(--accent-res-terracota);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.newsletter-popup-body h3 {
    font-size: 1.7rem;
    color: var(--text-espresso);
    margin-bottom: 1rem;
    font-family: 'Signika', sans-serif;
}

.newsletter-popup-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    font-family: 'Roboto', sans-serif;
}

.popup-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.newsletter-input-popup {
    padding: 0.9rem 1.2rem;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    background-color: #FFFFFF;
    color: var(--text-espresso);
    font-size: 0.95rem;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    text-align: center;
}

.newsletter-input-popup:focus {
    outline: none;
    border-color: var(--accent-res-terracota);
}

.newsletter-popup-privacy {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* ==========================================================
   ALERTA DE ESTADO DE PAGO (MODAL)
   ========================================================== */
.payment-status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 3, 3, 0.5);
    backdrop-filter: blur(4px);
}

.payment-status-content {
    position: relative;
    background-color: var(--bg-miel);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.payment-status-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.payment-status-close:hover {
    color: var(--accent-res-terracota);
}

/* Ajustes de Responsividad */
@media (max-width: 480px) {
    .cart-drawer-content {
        max-width: 100%;
    }
    .cart-drawer-header {
        padding: 1.2rem;
    }
    .cart-drawer-body {
        padding: 1rem;
    }
    .cart-drawer-footer {
        padding: 1.2rem;
    }
    .cart-coupon-container {
        padding-top: 1rem;
        margin-bottom: 1rem;
    }
    .cart-shipping-note {
        margin-bottom: 1rem;
    }
    .cart-float-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 54px;
        height: 54px;
    }
    .newsletter-popup-body {
        padding: 2.5rem 1.5rem;
    }
    .payment-status-content {
        padding: 2.5rem 1.5rem;
    }
}

/* Sección de Cupón en el Carrito */
.cart-coupon-container {
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.cart-coupon-input-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

#cartCouponInput {
    flex: 1;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: 30px; /* Redondeado pastilla premium */
    font-size: 0.88rem;
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: var(--text-espresso);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

#cartCouponInput:focus {
    border-color: var(--accent-res-terracota);
    box-shadow: 0 0 0 3px rgba(201, 122, 94, 0.1);
}

#applyCouponBtn {
    padding: 0.7rem 1.5rem;
    font-size: 0.88rem;
    border-radius: 30px; /* Redondeado pastilla premium */
    border: 1px solid var(--accent-res-terracota);
    background-color: transparent;
    color: var(--accent-res-terracota);
    cursor: pointer;
    font-family: 'Signika', sans-serif;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
}

#applyCouponBtn:hover {
    background-color: var(--accent-res-terracota);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(201, 122, 94, 0.25);
    transform: translateY(-1px);
}

#cartCouponFeedback {
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    margin-top: 0.4rem;
    padding-left: 0.5rem;
}

#cartCouponFeedback.success {
    color: #137333;
}

#cartCouponFeedback.error {
    color: #C5221F;
}

/* Estilo del Botón de Agregar al Carrito en Vista Rápida (QuickView) */
#qvAddToCartBtn {
    background-color: var(--accent-res-terracota) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--accent-res-terracota) !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 12px rgba(201, 122, 94, 0.15) !important;
}

#qvAddToCartBtn:hover {
    background-color: var(--text-espresso) !important;
    border-color: var(--text-espresso) !important;
    box-shadow: 0 8px 20px rgba(7, 3, 3, 0.2) !important;
}

/* Sugerencias de Correo (Autocompletar) */
.email-suggestions-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.2rem 0;
    width: 100%;
    justify-content: center; /* Centrar sugerencias en el popup */
}

.email-suggest-btn {
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px; /* Diseño pastilla redondeado */
    padding: 0.5rem 1rem;
    font-size: 0.82rem; /* Más grande y fácil de presionar en móviles */
    font-family: 'Roboto', sans-serif;
    color: var(--accent-res-terracota); /* Color representativo terracota */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.email-suggest-btn:hover {
    background-color: var(--accent-res-terracota);
    border-color: var(--accent-res-terracota);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(201, 122, 94, 0.2);
}

/* Variante de Sugerencias para el Footer (Sobre fondo Espresso oscuro) */
.footer-newsletter .email-suggestions-box {
    margin-top: 0.8rem;
    justify-content: flex-start; /* Alineado a la izquierda en el footer */
}

.footer-newsletter .email-suggest-btn {
    background-color: rgba(253, 251, 247, 0.08);
    border: 1px solid rgba(253, 251, 247, 0.15);
    color: var(--bg-miel);
    box-shadow: none;
}

.footer-newsletter .email-suggest-btn:hover {
    background-color: var(--accent-res-terracota);
    border-color: var(--accent-res-terracota);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(201, 122, 94, 0.25);
    transform: translateY(-2px);
}



