/* ============================================
   OMYX - Estilos Principales
   Metodología: BEM (Block, Element, Modifier)
   
   Convención de nombres:
   - Bloque: .block
   - Elemento: .block__element
   - Modificador: .block--modifier o .block__element--modifier
   ============================================ */

/* ============================================
   FUENTE ALFABET
   ============================================ */
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Hairline.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Hairline_Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Thin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Thin_Italic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Light_Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Regular_Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Medium_Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_SemiBold_Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Bold_Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_ExtraBold_Italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Alfabet';
    src: url('/assets/fonts/fonnts.com-Alfabet_Black_Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================ */
:root {
    /* Colores principales - Paleta OMYX */
    --color-primary: #122830;
    --color-secondary: #2c3136;
    --color-accent: #122830;
    --color-accent-hover: #122830;
    --hero-accent-green: #70C43D; /* Verde banner promo (15% descuento) */
    --hero-accent-blue: #00BFFF; /* Azul vibrante Smart Living (casco, CTA) */
    --color-cream: #EDE6D5;
    --color-cream-dark: #ddd6c5;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-gray-dark: #495057;
    
    /* Tipografía - Alfabet (fallback a sans-serif del sistema) */
    --font-primary: 'Alfabet', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    
    /* Contenedores */
    --container-max-width: 80%;
    --container-padding: 1.5rem;

    /* Barra de noticias + header fijos (espacio total bajo el bloque superior) */
    --news-bar-height: 40px;
    --site-header-offset: calc(
        var(--news-bar-height) + env(safe-area-inset-top) + 70px
    );
}

/* Variables responsive - se aplican via media queries */
@media (max-width: 768px) {
    :root {
        --container-max-width: 92%;
        --container-padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-max-width: 100%;
        --container-padding: 1rem;
    }
}

@media (max-width: 360px) {
    :root {
        --container-padding: 0.75rem;
    }
}

/* ============================================
   RESET Y BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--color-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   UTILIDADES
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* ============================================
   COMPONENTES BEM
   Los componentes se agregarán aquí siguiendo
   la metodología BEM
   ============================================ */

/* ============================================
   HEADER / NAVEGACIÓN
   ============================================ */
.header {
    position: fixed;
    top: calc(var(--news-bar-height) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #122830;
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
    padding-top: env(safe-area-inset-top);
}

.header-dark {
    background-color: var(--color-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header--scrolled {
    background-color: var(--color-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 32px;
}

.header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 40px;
    width: auto;
}

/* Navegación */
.header__nav {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.header__menu-link:hover,
.header__menu-link--active {
   text-decoration: underline;
   text-decoration-color: var(--color-white);
   text-decoration-thickness: 2px;
   text-underline-offset: 8px;
   text-decoration-style: solid;
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.header__menu-link:hover::after,
.header__menu-link--active::after {
    width: 100%;
}

/* Acciones */
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-cream);
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header__action-btn:hover {
    color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.header__cart {
    position: relative;
}

.header__cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: opacity var(--transition-fast);
}

.header__hamburger:hover {
    opacity: 0.9;
}

.header__hamburger:focus-visible {
    outline: 2px solid var(--color-cream);
    outline-offset: 2px;
}

.header__hamburger-line {
    width: 22px;
    height: 2px;
    background-color: var(--color-cream);
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.header__hamburger--active .header__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.header__hamburger--active .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger--active .header__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Menú Móvil */
.header__mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    padding: 0px 24px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: max-height 0.35s ease;
}

.header__mobile-menu--open {
    max-height: 90vh;
    overflow-y: auto;
}

.header__mobile-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.header__mobile-list--secondary {
    margin-top: 16px;
}

.header__mobile-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-cream);
    padding: 8px 0;
    display: block;
    transition: color var(--transition-fast);
}

.header__mobile-link:hover,
.header__mobile-link--active {
    color: var(--color-accent);
}

.header__mobile-link--active {
    font-weight: 600;
}

.header__mobile-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

/* Header Responsive */
@media (max-width: 968px) {
    .header__nav {
        display: none !important;
    }

    .header__hamburger {
        display: flex;
    }

    .header__mobile-menu {
        display: block;
    }

    /* Asegurar que el contenedor distribuya logo y hamburger correctamente */
    .header__container {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .header {
        top: calc(var(--news-bar-height) + env(safe-area-inset-top) - 5px);
    }

    .header__container {
        height: 60px;
    }

    .header__logo img {
        height: 32px;
    }

    .header__hamburger {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .header__actions {
        gap: 8px;
    }

    .header__action-btn {
        width: 36px;
        height: 36px;
    }

    .header__mobile-menu {
        padding: 0px;
        padding-left: 20px;
    }

    .header__mobile-link {
        padding: 12px 0;
        font-size: 1.0625rem;
    }
}

/* Páginas secundarias: el contenido empieza debajo de barra de noticias + menú fijo */
body > main {
    margin-top: var(--site-header-offset);
}

/* Home: hero a pantalla completa con menú superpuesto */
#main-content:has(.hero-carousel) {
    margin-top: 0;
}

.quiz-page > main {
    margin-top: var(--site-header-offset);
}

/* ============================================
   BARRA DE NOTICIAS (arriba del menú)
   ============================================ */
.news-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: #1a1a1a;
    padding: 10px 0;
    padding-top: calc(10px + env(safe-area-inset-top));
    overflow: hidden;
}

.news-bar__wrapper {
    width: 100%;
    overflow: hidden;
}

.news-bar__track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    padding: 0 24px;
    animation: news-bar-marquee 30s linear infinite;
    will-change: transform;
}

.news-bar__item {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Scroll infinito: 4 copias de los 3 mensajes, animación -25% = loop perfecto */
@keyframes news-bar-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

@media (max-width: 768px) {
    .news-bar {
        padding: 8px 0;
        padding-top: calc(8px + env(safe-area-inset-top));
    }

    .news-bar__track {
        gap: 32px;
        animation-duration: 25s;
    }

    .news-bar__item {
        font-size: 0.75rem;
    }
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--color-primary);
}

.hero-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */
.hero-carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-carousel__slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Imagen de Fondo - dimensiones explícitas para que siempre se vea en todos los viewports */
.hero-carousel__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Overlay Oscuro: denso a la izquierda (texto), se degrada hacia la derecha */
.hero-carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 8, 8, 0.92) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* Contenido del Slide - alineado a la izquierda como en referencia */
.hero-carousel__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-block: 80px;
    gap: var(--spacing-md);
    text-align: left;
}

/* Tag/Categoría */
.hero-carousel__tag {
    display: inline-block;
    width: fit-content;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background-color: rgba(255, 193, 7, 0.15);
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius-full);
}

.hero-carousel__tag--promo {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* Título */
.hero-carousel__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-cream);
    letter-spacing: -0.02em;
    max-width: 700px;
}

.hero-carousel__title--highlight {
    display: block;
    color: var(--color-accent);
    font-weight: 500;
}

/* Descripción */
.hero-carousel__description {
    max-width: 600px;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(237, 230, 213, 0.8);
}

/* Botón CTA */
.hero-carousel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: var(--spacing-sm);
    padding: 16px 32px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-cream);
    background-color: transparent;
    border: 1px solid var(--color-cream);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-carousel__cta:hover {
    color: var(--color-primary);
    background-color: var(--color-cream);
}

.hero-carousel__cta--accent {
    color: var(--color-primary);
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-carousel__cta--accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

/* Botón verde estilo banner promo (Descubrir más) */
.hero-carousel__cta--green {
    color: #ffffff;
    background-color: var(--hero-accent-green);

    border: none;
    border-radius: var(--border-radius-full);
    padding: 10px 36px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-carousel__cta--green:hover {
    background-color: #5fb32e;
    color: #ffffff;
}

/* Botón azul estilo Smart Living */
.hero-carousel__cta--blue {
    color: #ffffff;
    background-color: var(--hero-accent-blue);
    border: none;
    border-radius: var(--border-radius-full);
    padding: 10px 36px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-carousel__cta--blue:hover {
    background-color: #0099cc;
    color: #ffffff;
}

/* Slide Smart Living: título blanco, "Smart Living" azul, descripción blanca, CTA azul */
.hero-carousel__slide--smart-living .hero-carousel__tag {
    display: none;
}

.hero-carousel__slide--smart-living .hero-carousel__title {
    color: #ffffff;
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-carousel__slide--smart-living .hero-carousel__title--highlight {
    color: var(--hero-accent-blue);
    font-weight: 700;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
}

.hero-carousel__slide--smart-living .hero-carousel__description {
    color: #ffffff;
    font-weight: 400;
}

.hero-carousel__description--secondary {
    margin-top: -0.5rem;
}

/* Botón beige/crema estilo Raíces (texto oscuro, bordes muy redondeados) */
.hero-carousel__cta--cream {
    color: var(--color-primary);
    background-color: var(--color-cream);
    border: none;
    border-radius: var(--border-radius-full);
    padding: 10px 36px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-carousel__cta--cream:hover {
    background-color: var(--hero-accent-blue);
    color: var(--color-cream);
}

/* Slide Raíces de Bienestar Integral: todo el texto blanco, CTA beige */
.hero-carousel__slide--raices .hero-carousel__tag {
    display: none;
}

.hero-carousel__slide--raices .hero-carousel__title{
    color: var( --color-cream);
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 900px;
}

.hero-carousel__slide--raices .hero-carousel__title--highlight {
    display: flex;
    color: var(--hero-accent-blue);
    font-weight: 700;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    margin-bottom: 0;
    padding-bottom: 0;
    width: 100%;
}
.hero-carousel__slide--raices .hero-carousel__description {
    color: #ffffff;
    font-weight: 400;
}

/* Slide promo: igual que referencia (15% descuento) */
.hero-carousel__slide--promo .hero-carousel__tag {
    display: none;
}

.hero-carousel__slide--promo .hero-carousel__title {
    color: var(--hero-accent-green);
    font-weight: 700;
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
}

.hero-carousel__slide--promo .hero-carousel__title--highlight {
    color: #ffffff;
    font-weight: 700;
}

.hero-carousel__slide--promo .hero-carousel__description {
    color: #ffffff;
    font-weight: 400;
}

/* Slide Eternum: productos, dos CTAs */
.hero-carousel__products-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
}

.hero-carousel__slide--eternum .hero-carousel__products-label {
    color: var(--color-cream);
}

.hero-carousel__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.hero-carousel__ctas .hero-carousel__cta {
    margin-top: 0;
}

.hero-carousel__cta:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Flechas de Navegación */
.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-cream);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-carousel__arrow:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.hero-carousel__arrow--prev {
    left: 24px;
}

.hero-carousel__arrow--next {
    right: 24px;
}

/* Indicadores (Dots) */
.hero-carousel__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-carousel__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-carousel__dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.hero-carousel__dot--active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* Hero Carousel Responsive */
@media (max-width: 968px) {
    .hero-carousel {
        /* Altura explícita para que las imágenes de fondo se rendericen */
        height: 100vh;
        height: 100svh;
        min-height: 500px;
        max-height: none;
    }

    .hero-carousel__track {
        height: 100%;
        min-height: 100%;
    }

    .hero-carousel__content {
        padding-block: 120px 100px;
        text-align: left;
        align-items: flex-start;
    }

    .hero-carousel__title {
        max-width: 100%;
    }

    .hero-carousel__description {
        max-width: 100%;
    }

    .hero-carousel__arrow {
        width: 44px;
        height: 44px;
    }

    .hero-carousel__arrow--prev {
        left: 12px;
    }

    .hero-carousel__arrow--next {
        right: 12px;
    }
}

@media (max-width: 600px) {
    .hero-carousel {
        height: 100dvh;
        min-height: 100dvh;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 100dvh;
        min-height: 400px;
    }

    /* Overlay en móvil: oscuro donde está el texto (izq), más transparente para que se vea la imagen */
    .hero-carousel__overlay {
        background: linear-gradient(
            to right,
            rgba(8, 8, 8, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.15) 80%,
            transparent 100%
        );
    }

    .hero-carousel__title {
        font-size: 1.75rem;
    }

    .hero-carousel__slide--smart-living .hero-carousel__title,
    .hero-carousel__slide--smart-living .hero-carousel__title--highlight {
        font-size: 1.75rem;
    }

    .hero-carousel__slide--raices .hero-carousel__title,
    .hero-carousel__slide--raices .hero-carousel__title--highlight {
        font-size: 1.75rem;
    }

    .hero-carousel__slide--promo .hero-carousel__title,
    .hero-carousel__slide--promo .hero-carousel__title--highlight {
        font-size: 1.75rem;
    }

    .hero-carousel__description {
        font-size: 0.9375rem;
    }

    .hero-carousel__cta {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-carousel__ctas {
        flex-direction: column;
    }

    .hero-carousel__ctas .hero-carousel__cta {
        width: 100%;
    }

    .hero-carousel__products-label {
        font-size: 0.8rem;
    }

    .hero-carousel__arrow {
        display: none;
    }

    .hero-carousel__dots {
        bottom: 20px;
        gap: 8px;
    }

    .hero-carousel__dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
}

/* ============================================
   VIDEO SECTION - SMART LIVING
   ============================================ */
.video-section {
    position: relative;
    width: 100%;
    background-color: var(--color-primary);
}

.video-section__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

/* Video Container */
.video-section__video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-section__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder */
.video-section__placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section__placeholder-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botón Play */
.video-section__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    
    border: none;
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-section__play-btn:hover {

    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.4);
}

.video-section__play-btn svg {
    margin-left: 4px; /* Centrar visualmente el icono play */
}

/* Ocultar botón cuando el video está reproduciendo, solo visible en pausa */
.video-section__play-btn--playing {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.video-section__play-btn--playing svg {
    margin-left: 0; /* Centrar icono pause */
}

/* Overlay: solo en la parte inferior para legibilidad del texto, sin tapar el video */
.video-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background: linear-gradient(
        0deg,
        rgba(18, 40, 48, 0.85) 0%,
        rgba(18, 40, 48, 0.4) 25%,
        transparent 55%
    );
    pointer-events: none;
}

.video-section__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding-bottom: 60px;
    pointer-events: auto;
}

/* Tag */
.video-section__tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background-color: rgba(255, 193, 7, 0.15);
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius-full);
}

/* Título */
.video-section__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-cream);
    letter-spacing: -0.02em;
}

.video-section__title--highlight {
    color: var(--color-accent);
    font-weight: 500;
}

/* Botón CTA */
.video-section__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-accent);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-section__cta:hover {
    background-color: var(--color-accent-hover);
}

/* Video Section Responsive */
@media (max-width: 768px) {
    .video-section__wrapper {
        padding-bottom: 75%; /* Más alto en móvil */
    }

    .video-section__play-btn {
        width: 70px;
        height: 70px;
    }

    .video-section__play-btn svg {
        width: 32px;
        height: 32px;
    }

    .video-section__content {
        padding-bottom: 40px;
        text-align: center;
        align-items: center;
    }

    .video-section__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-section__content {
        padding-bottom: 24px;
    }

    .video-section__play-btn {
        width: 60px;
        height: 60px;
    }

    .video-section__play-btn svg {
        width: 28px;
        height: 28px;
    }

    .video-section__title {
        font-size: 1.25rem;
    }
}

/* ============================================
   FIND YOUR RITUAL / ¿QUÉ BUSCAS HOY?
   Pixel perfect: fondo crema, títulos centrados, rituales → productos
   ============================================ */
.find-ritual {
    position: relative;
    padding: 64px 0 80px;
    background-color: #E8E3D6;
    overflow: hidden;
}

/* Forma curvada sutil en la parte superior */

.find-ritual__container {
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Cabecera: ¿Qué buscas hoy? - forma ondulada detrás, título y subtítulo centrados */
.find-ritual__header {
    text-align: center;
    padding: 32px 24px 40px;

}

/* Forma ondulada suave detrás del título: beige/gris más claro, enmarca el texto */

.find-ritual__header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    inset: 0;
    height: 500px;
    width: 100vw;
    background: linear-gradient(to right, #dfd8cb 0%, #d6d0c2 60%, #c2b9a9 100%);
    z-index: 1;
    clip-path: ellipse(53vw 94% at 50% -30%);
  }
  
  
.find-ritual__title {
    position: relative;
    font-size: clamp(1.5rem, 3.2vw, 2.75rem);
    font-weight: 500;
    color: #7D6C57;
    margin: 0 0 2px 0;
    letter-spacing: -0.02em;
    line-height: 1.15;
    z-index: 2;
}

.find-ritual__subtitle {
    position: relative;
    font-size: clamp(1.125rem, 2.5vw, 2rem);
    font-weight: 400;
    color: black;
    margin: 0;
    z-index: 2;
}

/* Fila de rituales (5 iconos circulares + etiquetas) */
.find-ritual__needs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.find-ritual__need {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
}





.find-ritual__need-icon {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.find-ritual__need-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.find-ritual__need-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #7D6C57;
    line-height: 1.35;
}

/* Titular de la fila de productos (un solo ítem de grid: sin row-gap entre h2 y h3) */
.find-ritual__products-header {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    width: 100%;
}

.find-ritual__products-title-1 {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.5vw, 2.75rem);
    font-weight: 800;
    color: #E91E63;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.find-ritual__products-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
    line-height: 1.35;
    font-style: italic;
}

/* Fila de productos (4 productos: badge + bolsa + nombre) */
.find-ritual__products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.find-ritual__product {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-base);
}

.find-ritual__product:hover {
    transform: translateY(-4px);
}

.find-ritual__product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 8px 14px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    border-radius: 6px;
    line-height: 1.2;
}

.find-ritual__product-badge--green {
    background-color: #8BC34A;
}

.find-ritual__product-badge--blue-light {
    background-color: #03A9F4;
}

.find-ritual__product-badge--pink {
    background-color: #E91E63;
}

.find-ritual__product-badge--blue {
    background-color: #2196F3;
}

.find-ritual__product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.find-ritual__product-name {
    margin-top: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-align: center;
    line-height: 1.3;
}

.find-ritual__product-btn {
    display: inline-block;
    align-self: center;
    margin-top: 12px;
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.find-ritual__product-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.find-ritual__product-btn--green {
    background-color: #8BC34A;
}

.find-ritual__product-btn--blue-light {
    background-color: #03A9F4;
}

.find-ritual__product-btn--pink {
    background-color: #E91E63;
}

.find-ritual__product-btn--blue {
    background-color: #2196F3;
}

/* Find Ritual Responsive */


@media (max-width: 1024px) {
    .find-ritual__products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .find-ritual__needs {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .find-ritual__header::before{
        clip-path: ellipse(53vw 94% at 50% -47%);
    }
    .find-ritual__header{
        padding-top: 5px;
    }
}

@media (max-width: 768px) {
    .find-ritual {
        padding: 48px 0 64px;
    }

    .find-ritual__header::before {
        clip-path: ellipse(58vw 58% at 48% -30%);
    }

    .find-ritual__container {
        gap: 40px;
    }

    .find-ritual__title {
        font-size: 1.375rem;
    }

    .find-ritual__subtitle {
        font-size: 1rem;
    }

   

    .find-ritual__need-icon {
        width: 96px;
        height: 96px;
    }

    .find-ritual__need-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .find-ritual {
        padding: 40px 0 56px;
    }

    .find-ritual__header {
        padding: 24px 16px 32px;
    }

    .find-ritual__header::before {
        clip-path: ellipse(70vw 60% at 50% -25%);
    }

    .find-ritual__title {
        font-size: 1.5rem;
    }

    .find-ritual__subtitle {
        font-size: 0.875rem;
    }

    .find-ritual__products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .find-ritual__needs {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: none;
    }

    .find-ritual__need-icon {
        width: 88px;
        height: 88px;
    }

    .find-ritual__need-label {
        font-size: 0.6875rem;
    }
}

/* ============================================
   RETAILERS / PUNTOS DE VENTA - Marquesina
   Scroll infinito sin cortes
   ============================================ */
.retailers {
    padding: 28px 0;
    background-color: #F2ECE4;
    overflow: hidden;
}

.retailers__marquee-wrapper {
    width: 100%;
    overflow: hidden;
}

.retailers__marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: retailers-marquee 120s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.retailers__marquee-set {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    padding: 0 24px;
}

/* Items con logos reales */
.retailers__marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retailers__marquee-item img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
}

@keyframes retailers-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-25%, 0, 0);
    }
}

/* Retailers Responsive */
@media (max-width: 768px) {
    .retailers__marquee-set {
        gap: 32px;
    }

    .retailers__marquee-track {
        animation-duration: 100s;
    }

    .retailers__marquee-item img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .retailers {
        padding: 20px 0;
    }

    .retailers__marquee-set {
        gap: 24px;
    }

    .retailers__marquee-track {
        animation-duration: 80s;
    }

    .retailers__marquee-item img {
        height: 28px;
    }
}

/* ============================================
   EXPERTS / REFERENTES
   ============================================ */
.experts {
    padding: 80px 0;
    background-color: #E6E1D1;
}

.experts__container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Header */
.experts__header {
    text-align: center;
    margin: 0 auto;
}

.experts__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: #7D6C57;
    margin-bottom: 16px;
}

.experts__title--highlight {
    color: #7D6C57;
    font-weight: 700;
    font-style: italic;
}

.experts__subtitle {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Grid de Expertos */
.experts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
}

/* Expert Card */
.expert-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    background: transparent;
}

.expert-card__image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background-color: var(--color-cream);
}

.expert-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.expert-card__quote {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #7D6C57;
    font-style: italic;
    text-align: justify;
    margin: 0;
    padding: 0;
    border: none;
}

.expert-card__quote::before {
    content: none;
}

.expert-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.expert-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expert-card__name {
    display: flex;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #7D6C57;
}

.expert-card__role {
    font-size: 0.75rem;
    color: #7D6C57;
}

.expert-card__verified {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #7D6C57;
}

/* Experts Responsive */
@media (max-width: 1024px) {
    .experts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .experts {
        padding: 60px 0;
    }

    .experts__container {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .experts__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expert-card__image {
        max-width: 280px;
        margin: 0 auto;
    }

    .expert-card {
        text-align: center;
    }

    .expert-card__footer {
        justify-content: center;
    }

    .expert-card__info {
        align-items: center;
    }
}

/* ============================================
   REVIEWS / TESTIMONIOS
   Fondo beige, ola verde inferior, estrellas/flechas verdes
   ============================================ */
.reviews {
    position: relative;
    padding: 72px 0;
    background-color: #E6E1D1;
    overflow: hidden;
}

/* Ola curva verde inferior: gradiente de verde claro a oscuro */


.reviews__container {
    position: relative;
    z-index: 1;

    margin: 0 auto;
}

.reviews__title {
    margin: 0 auto 0px;
    max-width: 90vw;
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.02em;
    color: #8DC63F;
}

.reviews__carousel {
    position: relative;
    padding: 0 64px;
}

.reviews__track {
    position: relative;
    min-height: 300px;
}

/* Review Card */
.review-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 28px;
    padding: 24px 16px 40px;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.review-card--active {
    opacity: 1;
    visibility: visible;
}

/* Estrellas: 5 verdes, espaciado generoso debajo */
.review-card__stars {
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: #8DC63F;
}

/* Cita: cursiva, texto oscuro, frase destacada en verde */
.review-card__quote {
    font-size: clamp(0.95rem, 1.85vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: #344840;
    margin: 0;
    padding: 0 16px;
    border: none;
 
}

.review-card__quote em {
    font-style: italic;
    font-weight: 500;
    color: #8DC63F;
}

/* Footer: nombre verde, profesión verde más oscuro */
.review-card__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.review-card__author {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #8DC63F;
}

.review-card__profession {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6A8C50;
}

/* Flechas laterales: círculo con borde verde, centradas verticalmente */
.reviews__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: #8DC63F;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid #8DC63F;
    border-radius: 50%;
}
.reviews__bot{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.reviews__arrow:hover {
    color: #6A8C50;
}

.reviews__arrow--prev {
    left: 0;
}

.reviews__arrow--next {
    right: 0;
}

/* Reviews Responsive */
@media (max-width: 768px) {
    .reviews {
        padding: 56px 0 0;
    }

    .reviews__carousel {
        padding: 0 52px;
    }

    .reviews__track {
        min-height: 340px;
    }

    .reviews__arrow {
        width: 44px;
        height: 44px;
    }

    .reviews__arrow--prev {
        left: 4px;
    }

    .reviews__arrow--next {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .reviews__carousel {
        padding: 0 44px;
    }

    .reviews__track {
        min-height: 380px;
    }

    .review-card__quote {
        font-size: 1rem;
    }

    .reviews__arrow {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   BARRA SELLOS / CARACTERÍSTICAS (index, sobre categoría)
   ============================================ */
.product-chars-bar {
    width: 100%;
    padding-block: clamp(20px, 4vw, 40px);
    background-color: var(--color-cream);
    box-sizing: border-box;
}

.product-chars-bar__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: var(--container-padding);
    box-sizing: border-box;
}

.product-chars-bar__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: stretch;
    gap: clamp(10px, 2vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.product-chars-bar__item {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-chars-bar__img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

@media (max-width: 600px) {
    .product-chars-bar__list {
        gap: clamp(8px, 2.5vw, 16px);
    }

    .product-chars-bar__img {
        max-width: min(104px, 13vw + 52px);
    }
}

@media (max-width: 420px) {
    .product-chars-bar {
        padding-block: 28px;
        overflow: hidden;
    }

    .product-chars-bar__inner {
        padding-inline: 16px;
    }

    .product-chars-bar__list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 16px;
        justify-items: center;
        align-items: center;
        flex-wrap: unset;
        overflow: visible;
    }

    .product-chars-bar__item {
        flex: unset;
        min-width: unset;
        opacity: 0.92;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .product-chars-bar__item:active {
        transform: scale(1.1);
        opacity: 1;
    }

    .product-chars-bar__img {
        width: 60px;
        max-width: none;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    }
}

/* ============================================
   CATEGORY / CATEGORÍA DE PRODUCTO
   ============================================ */
.category {
    padding: 80px 0 80px 0;
    background-color: #122830;
}

.category__subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-white);
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.category__lead {
    max-width: 42rem;
    margin: 16px auto 0;
    padding: 0 16px;
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}
.category__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Banner - Full Width */
.category__banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    border-radius: 0;
}

.category__banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Header */
.category__header {
    text-align: center;
}

.category__tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    background-color: var(--color-accent);
    border-radius: var(--border-radius-full);
    margin-bottom: 12px;
}

.category__title {
    margin: 0 0 2px;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 400;
    color: var(--color-white);
    letter-spacing: 0.05em;
    line-height: 1.15;
    text-transform: none;
}

/* Grid de Productos */
.category__products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-mood {
background-color: #E5E0D0  ;
padding-top: 36px;
}
.category-mood .category__title {
    font-weight: 500;
    color: #7D6C57;
}

.category-mood .category__subtitle {
    color: #7D6C57;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    line-height: 1.3;
}

.category-mood .category__lead {
    color: rgba(125, 108, 87, 0.92);
    font-size: clamp(0.875rem, 1.6vw, 1rem);
    margin-top: 12px;
}

.category-mood .product-card__info{
    background-color: #EEECE3;
}
.category-mood .product-card__name{
    color: #7D6C57;
}
.category-mood .product-card__price-current{
    color: #7D6C57;
}
.category-mood .product-card__price-note{
    color: #7D6C57;
}

.category-mood .product-card__price-note svg{
    color: #7D6C57;
}
.category-mood .product-card__stars{
    color: #7D6C57;
}
/* Product Card */
.product-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    background-color: #e74c3c;
    border-radius: var(--border-radius-sm);
}

.product-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 280/320;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.product-card__info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #19323D;

}
.product-card__info--celeste{
    background-color:#0099cc;
}
.product-card__info--celeste .product-card__name{
    text-align: center;
    line-height: 1.5;
}
.product-card__desc {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
}

.product-card__desc--secondary {
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.product-card__name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.3;
}

.product-card__rating {
    display: flex;
   
    gap: 4px;
}

.product-card__info--celeste .product-card__rating{
    align-items: center;
    justify-content: center;

}


.product-card__stars {
    display: flex;
    gap: 2px;
    color: var(--color-white);
}

.product-card__price {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.product-card__price-old {
    font-size: 0.875rem;
    color: var(--color-white);
    text-decoration: line-through;
}

.product-card__price-current {
    display: flex;
    gap: 4px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

.product-card__price-note {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--color-white);
}
.product-card__info--celeste .product-card__price{
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

/* Producto 2 MOOD: card del medio rosado (misma estructura que celeste) */
.product-card__info--rosado {
    background-color: #e0376f!important;
}

.product-card__info--rosado .product-card__name,
.product-card__info--rosado .product-card__subtitle,
.product-card__info--rosado .product-card__stars,
.product-card__info--rosado .product-card__price-note {
    color: #fff;
}

.product-card__info--rosado .product-card__name {
    text-align: center;
    line-height: 1.5;
}

.product-card__info--rosado .product-card__rating {
    align-items: center;
    justify-content: center;
}

.product-card__info--rosado .product-card__price {
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

/* Category Responsive */
@media (max-width: 968px) {
    .category__products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category {
        padding: 0 0 60px 0;
    }

    .category__container {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .category__products {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .category__products {
        max-width: 100%;
    }
}

/* ============================================
   CATEGORY DARK / MOOD
   ============================================ */
.category-dark {
    padding: 60px 0;
    background-color: var(--color-primary);
}

.category-dark__container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Header */
.category-dark__header {
    text-align: center;
}

.category-dark__title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Grid de Sabores */
.category-dark__flavors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

/* Flavor Item */
.category-dark__flavor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.category-dark__flavor:hover {
    transform: translateY(-8px);
}

.category-dark__flavor-image {
    width: 100%;
    max-width: 280px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.category-dark__flavor-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.category-dark__flavor:hover .category-dark__flavor-image img {
    transform: scale(1.05);
}

.category-dark__flavor-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-dark__flavor-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-dark__flavor-features li {
    font-size: 0.875rem;
    color: var(--color-cream);
    opacity: 0.9;
    position: relative;
    padding-left: 16px;
}

.category-dark__flavor-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

/* Category Dark Responsive */
@media (max-width: 768px) {
    .category-dark {
        padding: 48px 0;
    }

    .category-dark__flavors {
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .category-dark__flavors {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* ============================================
   QUIZ BANNER - PRODUCTO RECOMENDADO
   Banner promocional del quiz en index.html
   ============================================ */
.quiz-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.quiz-banner__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #19323D;
}

.quiz-banner__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-banner__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 0.96fr;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
    
}

.quiz-banner__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quiz-banner__title {
    font-size: clamp(2.5rem, 4vw, 5.2rem);
    color: var(--color-white);
    line-height: 1;
    font-weight: 500;
}

.quiz-banner__description {
    font-size: 1.4rem;
    color: var(--color-white);
    opacity: 0.9;
    line-height: 1.6;
    text-wrap: balance;

}

.quiz-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background-color: var(--color-white);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    width: fit-content;
}

.quiz-banner__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 40, 48, 0.4);
}

.quiz-banner__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quiz-banner__image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* Quiz Banner Responsive */
@media (max-width: 968px) {
    .quiz-banner {
        min-height: auto;
    }

    .quiz-banner__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-block: 60px;
        padding-inline-start: max(var(--container-padding), 1.25rem, env(safe-area-inset-left));
        padding-inline-end: max(var(--container-padding), 1.25rem, env(safe-area-inset-right));
    }

    .quiz-banner__title {
        font-size: clamp(1.65rem, 5.5vw, 2.35rem);
        line-height: 1.12;
    }

    .quiz-banner__content {
        align-items: center;
        width: 100%;
        max-width: 36rem;
        margin-inline: auto;
        padding-inline: 0;
    }

    .quiz-banner__description {
        max-width: 100%;
        font-size: clamp(1rem, 3.5vw, 1.25rem);
    }

    .quiz-banner__image {
        order: -1;
    }

    .quiz-banner__image img {
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .quiz-banner__container {
        padding-block: 48px;
        gap: 28px;
        padding-inline-start: max(1.25rem, var(--container-padding), env(safe-area-inset-left));
        padding-inline-end: max(1.25rem, var(--container-padding), env(safe-area-inset-right));
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .quiz-banner__title {
        font-size: clamp(1.35rem, 6.5vw, 1.85rem);
        line-height: 1.15;
    }

    .quiz-banner__description {
        font-size: 1rem;
        line-height: 1.55;
    }

    .quiz-banner__content {
        gap: 20px;
    }

    .quiz-banner__image img {
        max-width: 300px;
    }

    .quiz-banner__cta {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   BEST SELLERS
   ============================================ */
.bestsellers {
    padding: 80px 0;
    background-color: var(--color-primary);
}

.bestsellers__container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}




.bestsellers__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bestsellers__title {
    font-size: clamp(1.75rem, 3vw, 3.5rem);
    font-weight: 400;
    color: var(--color-white);
}

.bestsellers__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--transition-fast);
}

.bestsellers__link:hover {
    color: var(--color-accent);
}

/* Grid */
.bestsellers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Bestseller Card */
.bestseller-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #19323D;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.bestseller-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.bestseller-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    background-color: #009AD9;
    border-radius: var(--border-radius-sm);
}

.bestseller-card__badge--green {
    background-color: #60C446;
}
.bestseller-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex: 1;
}

/* Images with hover swap */
.bestseller-card__images {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--color-accent);
}

.bestseller-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.bestseller-card__img--main {
    opacity: 1;
}

.bestseller-card__img--hover {
    opacity: 0;
}

.bestseller-card:hover .bestseller-card__img--main {
    opacity: 0;
}

.bestseller-card:hover .bestseller-card__img--hover {
    opacity: 1;
}

/* Info */
.bestseller-card__info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--color-white);
}

.bestseller-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.bestseller-card__category {
    font-size: 0.8125rem;
    color: var(--color-white);
}

.bestseller-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.bestseller-card__price-old {
    font-size: 0.875rem;
    color: var(--color-white);
    text-decoration: line-through;
}

.bestseller-card__price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

/* Add Button */
.bestseller-card__add {
    margin: 0 16px 16px;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);

    border: 1px solid var(--color-white);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.bestseller-card__add--transparent {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}


.bestseller-card__add:hover {
    color: var(--color-cream);
    background-color: var(--color-primary);
}

/* Bestsellers Responsive */
@media (max-width: 1024px) {
    .bestsellers__grid {
        grid-template-columns: repeat(2, 1fr);
    }
  
}

@media (max-width: 768px) {
    .bestsellers {
        padding: 60px 0;
    }

    .bestsellers__header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .bestsellers__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }

    .bestsellers__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .bestsellers__grid {
        max-width: 100%;
    }
}

/* ============================================
   BENEFICIOS FUNCIONALES
   ============================================ */
.benefits {
    position: relative;
    padding: 100px 0;
    background-color: #f2ece4;
    overflow: hidden;
}
.background-benefits {
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 55%;
    height: 85%;
    z-index: 0;
    background: #d9d0c0;
    border-radius: 50%;
    pointer-events: none;
}
.benefits__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

/* Contenido */
.benefits__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits__tag {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gray);
}

.benefits__title {
    font-size: clamp(2.35rem, 4.8vw, 3.35rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    max-width: 620px;
}

.benefits__description {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-gray-dark);
    max-width: 520px;
}

/* Grid de beneficios */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 12px;
    max-width: 740px;
    border-top: 1px solid rgba(18, 40, 48, 0.12);
}

.benefits__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 36px 28px;
}

.benefits__item:first-child {
    border-right: 1px solid rgba(18, 40, 48, 0.12);
}

.benefits__item--full {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(18, 40, 48, 0.12);
    padding: 36px 40px 0;
}

.benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a36b;
    margin-bottom: 4px;
}

.benefits__icon svg {
    width: 42px;
    height: 42px;
}

.benefits__value {
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

.benefits__label {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.55;
    max-width: 300px;
}

.benefits__item--full .benefits__label {
    max-width: 500px;
}

.benefits__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.benefits__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-cream);
    background-color: var(--color-primary);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.benefits__cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.benefits__cta--outline {
    color: var(--color-primary);
    background-color: transparent;
    border: 2px solid var(--color-primary);
}

.benefits__cta--outline:hover {
    color: var(--color-cream);
    background-color: var(--color-primary);
}

/* Imagen */
.benefits__image {
    position: relative;
    display: flex;
    justify-content: center;
}

.benefits__image img {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
}

/* Tags flotantes */
.benefits__tags {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefits__float-tag {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-accent);
    border-radius: 20px;
    white-space: nowrap;
}

/* Benefits Responsive */
@media (max-width: 1024px) {
    .benefits__tags {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 24px;
    }
}

@media (max-width: 968px) {
    .benefits {
        padding: 80px 0;
    }

    .background-benefits {
        bottom: -20%;
        right: -20%;
        width: 80%;
        height: 60%;
    }

    .benefits__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .benefits__content {
        text-align: center;
        align-items: center;
    }

    .benefits__title,
    .benefits__description,
    .benefits__grid {
        max-width: 100%;
    }

    .benefits__image {
        order: -1;
    }
}

@media (max-width: 600px) {
    .benefits {
        padding: 60px 0;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .benefits__item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(18, 40, 48, 0.12);
    }

    .benefits__item--full {
        padding-top: 36px;
    }

    .benefits__item .benefits__label,
    .benefits__item--full .benefits__label {
        max-width: 100%;
    }

    .benefits__content {
        text-align: left;
        align-items: flex-start;
    }

    .benefits__buttons {
        flex-direction: column;
        width: 100%;
    }

    .benefits__cta {
        width: 100%;
        text-align: center;
    }

    .benefits__tags {
        gap: 6px;
    }

    .benefits__float-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ============================================
   SCIENCE / NUTRICIÓN DIARIA
   ============================================ */
.science {
    padding: 50px 0 100px 0;
    padding-bottom: 50px;
    background-color: var(--color-cream);
}

.science__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.science__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.science__tag {
    font-size: 1rem;
    text-transform: uppercase;
    color: #7D6C57;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.science__title {
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.science__title--center {
    text-align: center;
    margin-bottom: 20px;
}
.science__title__highlight {
    color: #5fb32e;
}

.science__description {
    font-size: 1.2rem;
    text-align: justify;
    line-height: 1.7;
    color: var(--color-primary);
}

.science__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-cream);
    background-color: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-fast);
    width: fit-content;
    margin-top: 8px;
}

.science__cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.science__gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.science__gallery-main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.science__gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.science__gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.science__gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.science__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .science {
        padding: 80px 0;
    }

    .science__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .science__content {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .science {
        padding: 60px 0;
    }

    .science__title {
        font-size: 1.5rem;
    }

    .science__description {
        font-size: 1.125rem;
    }

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

    .science__cta {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   INGREDIENTES / CIENCIA FUNCIONAL HECHA SIMPLE
   ============================================ */
.ingredients {
    padding: 100px 0;
    background-color: #010208;
    background-image: url(../assets/images/background/bg.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.ingredients__container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.ingredients__inner__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.ingredients__inner__container .left {
    display: block;
}

.ingredients__header {
    text-align: left;
    max-width: 800px;
}

.ingredients__title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ingredients__title__highlight {
    color: #0099cc;
    font-style: italic;
}

.ingredients__description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-white);
    text-align: justify;
}

.ingredients__subheader {
    text-align: justify;
    font-size: 1.2rem;
    color: var(--color-white);
}

.ingredients__subtitle {
    font-size: 1.4rem;
    color: #0099cc;
    margin-top: 22px;
    margin-bottom: 12px;
}

.ingredients__text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-white);
    text-align: justify;
}

/* Cuadrícula por categorías (flex 2 columnas + fila centrada) */
.ingredients__categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(28px, 4vw, 44px);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 28px;
}

.ingredients__category {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 calc(50% - clamp(14px, 2vw, 22px));
    max-width: calc(50% - clamp(14px, 2vw, 22px));
    box-sizing: border-box;
}

.ingredients__category--centered {
    margin-inline: auto;
}

.ingredients__category-title {
    margin: 0;
    padding: 4px 8px;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #0099cc;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ingredients__category-lead {
    margin: 0;
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    max-width: 36ch;
    margin-inline: auto;
}

.ingredients__category-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(12px, 2.5vw, 20px);
}



.ingredients__card {
    flex: 1 1 120px;
    max-width: 180px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 14px 16px;
    background: rgba(10, 14, 22, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 16px;
    box-sizing: border-box;
}

.ingredients__card-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.ingredients__card-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    opacity: 0.9;
}

.ingredients__card-name {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
}

.ingredients__card-detail {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #a8b0b8;
    font-style: italic;
}

@media (max-width: 768px) {
    .ingredients__categories {
        flex-direction: column;
        align-items: stretch;
        gap: 36px;
    }

    .ingredients__category,
    .ingredients__category--centered {
        flex: 1 1 100%;
        max-width: 100%;
        margin-inline: 0;
    }

    .ingredients__category-lead {
        max-width: 42ch;
    }
}

/* Flex 3 columnas */
.ingredients__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 64px;
    width: 80%;
    margin: 0 auto;
}

.ingredients__item {
    flex: 0 0 calc((100% - 128px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.ingredients__icon {
    width: 220px;
    height: 220px;
}

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

.ingredients__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.ingredients__detail {
    font-size: 0.875rem;
    color: #999;
    font-style: italic;
    line-height: 1.2;
}

/* Botones hacia Eternum */
.ingredients__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.ingredients__buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ingredients__btn {
    padding: 12px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: #0099cc;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.ingredients__btn:hover {
    background-color: #007aa3;
    transform: translateY(-2px);
}
@media(max-width: 1440px){
    .ingredients__title{
        font-size: 2rem;
   
    }
}

/* Ingredients Responsive */
@media (max-width: 968px) {
    .ingredients {
        padding: 80px 0;
    }
  

    .ingredients__inner__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ingredients__inner__container .left {
        display: none;
    }

    .ingredients__header {
        text-align: center;
        margin: 0 auto;
    }

    .ingredients__subheader {
        text-align: center;
        margin: 0 auto;
    }

    .ingredients__grid {
        gap: 32px 40px;
    }

    .ingredients__grid .ingredients__item {
        flex: 0 0 calc((100% - 80px) / 3);
    }

    .ingredients__icon {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 600px) {
    .ingredients {
        padding: 60px 0;
    }

    .ingredients__title {
        font-size: 1.5rem;
        width: 50%;
        margin-left: auto;
        text-align: right;
    }

    .ingredients__description,
    .ingredients__text {
        font-size: 1rem;
    }

    .ingredients__subtitle {
        font-size: 1.125rem;
    }

    .ingredients__grid {
        gap: 24px;
    }

    .ingredients__grid .ingredients__item {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .ingredients__icon {
        width: 120px;
        height: 120px;
    }

    .ingredients__name {
        font-size: 0.875rem;
    }

    .ingredients__detail {
        font-size: 0.75rem;
    }

    .ingredients__btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .ingredients__grid {
        gap: 16px;
    }

    .ingredients__icon {
        width: 100px;
        height: 100px;
    }
}

/* ============================================
   BLOG / VLOGS + ARTÍCULOS
   ============================================ */
.blog {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-white);
}

.blog__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header */
.blog__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog__title {
    font-size: clamp(1.75rem, 3.5vw, 3.5rem);
    font-weight: 600;
    color: var(--color-primary);
}

.blog__title__highlight {
    color: #0099cc;
    font-style: italic;
}

.blog__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog__link:hover {
    color: var(--color-accent);
}

/* Slider */
.blog__slider {
    position: relative;
    overflow: hidden;
}

.blog__track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

/* Blog Card Wrapper: contiene la etiqueta + la card */
.blog-card__wrapper {
    flex: 0 0 calc(33.333% - 16px);
    min-width: min(280px, 100%);
    display: flex;
    flex-direction: column;
}

.blog-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.blog-card__link {
    display: block;
    position: relative;
    text-decoration: none;
    height: 100%;
}

.blog-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    
    object-fit: contain;
    transition: transform var(--transition-base);
}

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

.blog-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card__tag {
    display: block;
    margin-bottom: 12px;
    padding: 6px 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    text-align: left;
}

.blog-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.blog-card__cta {
    display: inline-block;
    width: fit-content;
    padding: 10px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-white);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}



/* Navigation Arrows */
.blog__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog__arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.blog__arrow--prev {
    left: 14px;
}

.blog__arrow--next {
    right: 14px;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-card__wrapper {
        flex: 0 0 calc(50% - 12px);
    }

    .blog__arrow--prev {
        left: 8px;
    }

    .blog__arrow--next {
        right: 8px;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 80px 0;
    }

    .blog__header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .blog-card__wrapper {
        flex: 0 0 calc(100% - 48px);
        min-width: 0;
    }

    .blog__arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .blog {
        padding: 60px 0;
    }

    .blog__title {
        font-size: 1.5rem;
    }

    .blog-card__wrapper {
        flex: 0 0 100%;
        min-width: 0;
    }

    .blog-card__title {
        font-size: 1rem;
    }

    .blog-card__content {
        padding: 16px;
    }
}


/* ============================================
   NEWSLETTER BANNER
   ============================================ */
.newsletter-banner {
    padding: 60px 0;
    background-color: var(--color-primary);
    background-image: url('../assets/images/form/background.png');
    background-size: cover;
}

.newsletter-banner__container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 32px;
}

.newsletter-banner__content {
    flex: 1;
    min-width: 300px;
}

.newsletter-banner__title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1;
}
.newsletter-banner__title__highlight{
    display: block;
    color: #5fb32e;
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.2;
    max-width: 550px;
    font-style: italic;
}
.newsletter-banner__text {
    font-size: 0.875rem;
    color: var(--color-cream);
    opacity: 0.9;
    line-height: 1.5;
    max-width: 500px;
}

.newsletter-banner__form {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-banner__field {
    flex: 1;
    min-width: 250px;
}

.newsletter-banner__field label {
    font-size: 0.875rem;
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 8px;
}

.newsletter-banner__input {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9375rem;
    color: var(--color-white);
    background-color: #5fb32e;
    border: none;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}
.newsletter-banner__input::placeholder{
    color: var(--color-white);
}


.newsletter-banner__input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-banner__btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    border: 2px solid var(--color-white);
    background-color:transparent;
    cursor: pointer;
    white-space: nowrap;
    height: min-content;
    transition: all var(--transition-fast);
}

.newsletter-banner__btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.newsletter-banner__legal {
    width: 100%;
    font-size: 0.6875rem;
    color: var(--color-cream);
    opacity: 0.7;
    text-align: start;
    margin-top: 8px;
}

.newsletter-banner__legal a {
    color: var(--color-cream);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.newsletter-banner__legal a:hover {
    color: var(--color-accent);
}

/* Newsletter Banner Responsive */
@media (max-width: 968px) {
    .newsletter-banner__container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .newsletter-banner__content {
        text-align: center;
    }

    .newsletter-banner__text {
        max-width: 100%;
        text-align: center;
    }

    .newsletter-banner__form {
        width: 100%;
        max-width: 500px;
    }

    .newsletter-banner__legal {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .newsletter-banner {
        padding: 48px 0;
    }

    .newsletter-banner__title {
        font-size: 1.5rem;
    }

    .newsletter-banner__title__highlight {
        font-size: 2rem;
    }

    .newsletter-banner__form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-banner__field {
        min-width: 100%;
    }

    .newsletter-banner__btn {
        width: 100%;
    }

    .newsletter-banner__legal {
        text-align: center;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #122830;
    color: white;
}

.footer__container {
    padding: 80px 0 48px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
}

/* Columna Brand */
.footer__column--brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo img {
    height: 60px;
    width: auto;
}

.footer__description {
    font-size: 0.875rem;
    color: var(--color-cream);
    line-height: 1.6;
    max-width: 280px;
}

/* Redes sociales */
.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    background-color: var(--color-white);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    color: var(--color-cream);
    background-color: var(--color-primary);
}

/* Columnas de links */
.footer__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--color-cream);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

/* Barra inferior */
.footer__bottom {
    background-color: #0e1f26;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-size: 0.75rem;
    color: var(--color-cream);
    opacity: 0.8;
}

.footer__bottom-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__bottom-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-cream);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
    color: var(--color-accent);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__legal-link {
    font-size: 0.75rem;
    color: var(--color-cream);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer__legal-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer__column--brand {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer__description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer__container {
        padding: 60px 0 40px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 32px;
    }

    .footer__column--brand {
        grid-column: 1 / -1;
        padding-bottom: 32px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .footer__column:not(.footer__column--brand) {
        min-width: 0;
    }

    .footer__bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer__bottom-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer__container {
        padding: 48px 0 32px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__column--brand {
        grid-column: 1;
        text-align: center;
        align-items: center;
        padding-bottom: 28px;
    }

    .footer__description {
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column:not(.footer__column--brand) {
        text-align: center;
        align-items: center;
    }

    .footer__list {
        align-items: center;
    }

    .footer__bottom {
        padding: 24px 0;
    }

    .footer__bottom-nav {
        gap: 12px;
    }

    .footer__legal {
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .footer__grid {
        gap: 28px;
    }

    .footer__logo img {
        height: 48px;
    }
}

/* ============================================
   POPUP NEWSLETTER
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

/* Confirmación encima del modal newsletter */
#popupNewsletterConfirm {
    z-index: 10000;
}

.popup-overlay--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popup {
    position: relative;
    display: flex;
    max-width: 820px;
    width: 100%;
    height: 500px;
    max-height: 90vh;
    background-color: transparent;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    transition: transform var(--transition-base);
}

.popup-overlay--hidden .popup {
    transform: scale(0.95);
}

/* Imagen del Popup */
.popup__image {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    overflow: hidden;
}

.popup__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.popup__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    background-color: #03a9f4;
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.02em;
    z-index: 2;
}

/* Overlay de texto sobre la imagen */
.popup__image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    z-index: 1;
}

.popup__image-text {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.3;
}

.popup__image-highlight {
    font-size: 2rem;
    font-weight: 700;
}

/* Contenido del Popup - fondo verde azulado oscuro */
.popup__content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    background-color: var(--color-primary);
}

/* Botón Cerrar */
.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.popup__close:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
}

.popup__close:focus-visible {
    outline: 2px solid var(--hero-accent-green);
    outline-offset: 2px;
}

/* Título principal */
.popup__title {
    margin-bottom: 8px;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.popup__title-icons {
    display: inline-flex;
    gap: 4px;
}

.popup__portion-icon {
    width: 20px;
    height: 20px;
    color: var(--hero-accent-green);
}

/* CTA verde */
.popup__cta {
    margin-bottom: 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--hero-accent-green);
}

/* Subtítulo */
.popup__subtitle {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-white);
}

/* Formulario */
.popup__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.popup__field {
    width: 100%;
}

.popup__input {
    width: 100%;
    padding: 18px 20px;
    background-color: #e8e3d6;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--color-primary);
    transition: background-color var(--transition-fast);
}

.popup__input::placeholder {
    color: #9a9485;
}

.popup__input:hover {
    background-color: #ebe7dc;
}

.popup__input:focus {
    outline: none;
    background-color: #f0ebe0;
}

/* Botón Submit */
.popup__button {
    width: 100%;
    padding: 18px 32px;
    background-color: var(--color-cream);
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.popup__button:hover {
    background-color: var(--color-cream-dark);
}

.popup__button:active {
    transform: scale(0.98);
}

.popup__button:focus-visible {
    outline: 2px solid var(--hero-accent-green);
    outline-offset: 2px;
}

/* Texto Legal */
.popup__legal {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Popup de confirmación (post envío newsletter) */
.popup-confirm {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 40px 32px 36px;
    background-color: var(--color-primary);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.popup-confirm__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.popup-confirm__close:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.popup-confirm__close:focus-visible {
    outline: 2px solid var(--hero-accent-green);
    outline-offset: 2px;
}

.popup-confirm__title {
    margin: 0 0 16px;
    padding-right: 32px;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.popup-confirm__text {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.popup-confirm__text--email {
    margin: -4px 0 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-all;
}

.popup-confirm__code-wrap {
    margin: 0 0 8px;
}

.popup-confirm__code {
    margin: 0 0 28px;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hero-accent-green);
    font-family: var(--font-primary);
}

.popup-confirm__btn {
    width: 100%;
    padding: 16px 24px;
    background-color: var(--color-cream);
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.popup-confirm__btn:hover {
    background-color: var(--color-cream-dark);
}

.popup-confirm__btn:active {
    transform: scale(0.98);
}

.popup-confirm__btn:focus-visible {
    outline: 2px solid var(--hero-accent-green);
    outline-offset: 2px;
}

/* ============================================
   POPUP - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .popup {
        flex-direction: column;
        height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }

    .popup__image {
        flex: 0 0 auto;
        max-width: 100%;
        height: 220px;
    }

    .popup__content {
        padding: 32px 24px;
    }

    .popup__title {
        font-size: 1.75rem;
        padding-right: 40px;
    }

    .popup__close {
        top: 12px;
        right: 12px;
    }

    .popup__badge {
        top: 12px;
        left: 12px;
    }

    .popup-confirm {
        padding: 36px 24px 32px;
    }

    .popup-confirm__title {
        font-size: 1.25rem;
    }

    .popup-confirm__code {
        font-size: 1.5rem;
    }
}
