/* ==========================================================================
   VARIABLES DE ESTILO GLOBALES (FRUDIA)
   ========================================================================== */
:root {
    --color-brand-bg: #f5c48b;        /* Fondo melocotón/naranja suave del Hero */
    --color-orange-dark: #FD7B06;     /* Naranja corporativo intenso del Footer */
    --color-text-dark: #625545;       /* Gris carbón para tipografía legible */
    --color-white: #ffffff;
    --color-submenu-bg: #fcf8f2;      /* Crema suave para fondos de desplegables */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-smooth: 0.25s ease-in-out;
}
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

html, body, .contenedor-video {
    overflow-x: hidden !important;
}
h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;


    font-size: 2.3rem;


    letter-spacing: -0.05em;
    margin-bottom: 8px;

}
h1, h2{
      font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
*{
      font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}


/* --- RESET BÁSICO --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    overflow-x: hidden;
}

/* ==========================================================================
   INTERFAZ ESCRITORIO (Pantallas desde 992px en adelante)
   ========================================================================== */
@media screen and (min-width: 992px) {
    .menumobile {
        display: none !important;
    }

    .menudesktop {
        position: relative;
        width: 100%;
        height: 70px;
        
       
        z-index: 1000;
    }

    .nav-escritorio {
        position: absolute;
        left: 40px;
        top: 0;
        height: 70px;
    }

    .menu-principal {
        list-style: none;
        height: 100%;
    }

    .menu-principal > li {
        display: inline-block;
        height: 70px;
        line-height: 70px;
        margin-right: 30px;
        position: relative;
    }

    .menu-principal > li > a {
        text-decoration: none;
        color: var(--color-text-dark);
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: block;
        transition: opacity var(--transition-smooth);
    }

    .menu-principal > li:hover > a {
        opacity: 0.8;
    }

    /* --- LOGOTIPO CENTRAL --- */
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 32px;
        display: block;
    }

    /* --- ENLACE DISTRIBUIDORES DERECHA --- */
    .header-right {
        position: absolute;
        right: 40px;
        top: 0;
        height: 70px;
        line-height: 70px;
    }

    .distribuidores {
        text-decoration: none;
        color: var(--color-text-dark);
        font-size: 14px;
        font-weight: 600;
        font-style: italic;
        letter-spacing: 0.02em;
        border: 1px solid var(--color-text-dark);;
        padding: 8px 18px;
        border-radius: 20px;
        transition: background-color var(--transition-smooth), color var(--transition-smooth);
    }

    .distribuidores:hover {
        background-color: var(--color-white);
        color: var(--color-text-dark);
    }

    /* --- DESPLEGABLE NIVEL 1 (Productos / Tipos de Piel) --- */
    .submenu-nivel-1 {
               position: absolute;
        top: 70px;
        left: 0;
        min-width: 150px;
        list-style: none;
        border-radius: 0 0 30px 30px;
        padding: 10px 0;
        display: none;
        border-left: 1px solid;
    }

    .submenu-nivel-1 li {
        line-height: normal;
        position: relative;
    }

    .submenu-nivel-1 a {
        display: block;
        padding: 12px 20px;
        text-decoration: none;
        color: var(--color-text-dark);
        font-size: 14px;
        transition: background-color var(--transition-smooth);
    }

    .submenu-nivel-1 li:hover > a {
        background-color: rgba(0, 0, 0, 0.03);
    }

    /* --- DESPLEGABLE ANIDADO NIVEL 2 (Facial -> Frutas) --- */
    .submenu-nivel-2 {
        position: absolute;
        top: 0;
        left: 100%;
                   position: absolute;
        
        min-width: 150px;
        list-style: none;
        border-radius: 0 0 30px 30px;
        padding: 10px 0;
        display: none;
        border-left: 1px solid;
        display: none; /* Oculto por defecto */
    }

    /* Eventos Hover para activar las cascadas en Escritorio */
    .has-submenu:hover .submenu-nivel-1 {
        display: block;
    }

    .has-submenu-nested:hover .submenu-nivel-2 {
        display: block;
    }
}

/* ==========================================================================
   INTERFAZ MÓVIL (Pantallas inferiores a 992px)
   ========================================================================== */
@media screen and (max-width: 991px) {
    .menudesktop {
        display: none !important;
    }

    .menumobile {
        position: relative;
        width: 100%;
        height: 60px;
        background-color: var(--color-brand-bg);
        z-index: 1000;
        display: block;
    }

    .menumobile .logo {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        height: 24px;
    }

    /* --- BOTÓN HAMBURGUESA --- */
  .hamburguesa {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        width: 30px;
        height: 24px;
        cursor: pointer;
        display: block;
        z-index: 1100;
    }

   .hamburguesa span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--color-white);
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .hamburguesa span:nth-child(1) { top: 0px; }
    .hamburguesa span:nth-child(2) { top: 10px; }
    .hamburguesa span:nth-child(3) { top: 20px; }

    /* Transformación a cruz (X) en estado abierto */
   .hamburguesa.activo span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
   .hamburguesa.activo span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
   .hamburguesa.activo span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }

    /* --- MENÚ LATERAL EN MÓVIL --- */
    .nav-menu-mobile {
        position: fixed;
        top: 0;
        left: -100%; /* Escondido a la izquierda */
        width: 280px;
        height: 100vh;
        background-color: var(--color-submenu-bg);
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 20px 40px 20px;
        transition: left var(--transition-smooth);
        overflow-y: auto;
        z-index: 1050;
    }

    .nav-menu-mobile.activo {
        left: 0; /* Entra en pantalla */
    }

   .nav-menu-mobile .menu-principal {
        list-style: none;
    }

  .nav-menu-mobile .menu-principal > li {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
    }

    .nav-menu-mobile .menu-principal > li > a {
        display: block;
        text-decoration: none;
        color: var(--color-text-dark);
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 5px 0;
    }
}

/* ==========================================================================
   SECCIÓN SEÑAL: HERO CABECERA (CÍTRICOS)
   ========================================================================== */
.hero-cabecera {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    height: 77vh;
    padding-top: 10vh;
}

.hero-cabecera-container {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.hero-cabecera-info {
    z-index: 10;
        padding: 15%;
}

.hero-cabecera-title {
font-size: 7rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 25px;
    font-family: "Outfit", sans-serif;
}

.hero-cabecera-desc {
font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5rem;
    max-width: 380px;
}

.hero-cabecera-image {
    text-align: right;
    position: absolute;
}

.hero-cabecera-image img {
    width: 120%;
    height: auto;
    border-radius: 8px;
}

@media screen and (max-width: 767px) {
    .hero-cabecera {
        padding: 60px 20px;
    }
    .hero-cabecera-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .hero-cabecera-title {
        font-size: 42px;
    }
    .hero-cabecera-desc {
        margin: 0 auto;
    }
    .hero-cabecera-image {
        text-align: center;
    }
}

/* ==========================================================================
   ESTILOS COMPLETOS DEL FOOTER INTERACTIVO (FRUDIA)
   ========================================================================== */
.site-footer {
    width: 100%;
    padding: 70px 40px;
    box-sizing: border-box;
}

.footer-container {
    max-width: 80vw;
    margin: 0 auto;
    display: table;
    width: 100%;
}

/* --- COLUMNA IZQUIERDA: MENÚ --- */
.footer-nav {
    display: table-cell;
    width: 30%;
    vertical-align: top;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-item {
    margin-bottom: 12px;
}

.footer-menu-item a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: inline-block;
    transition: opacity var(--transition-smooth);
}

.footer-menu-item a:hover {
    opacity: 0.8;
}

.footer-distribuidores {
    font-style: italic;
    font-weight: 500 !important;
}

/* --- ANIMACIÓN Y DESPLIEGUE DEL ACORDEÓN --- */
.footer-sub-acordeon {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;      /* Colapsado inicialmente */
    overflow: hidden;   /* Esconde los sub-enlaces */
    opacity: 0;
    transition: max-height 0.35s ease-in-out, opacity 0.25s ease, margin 0.3s ease;
}

.footer-sub-acordeon li {
    margin-top: 8px;
    margin-bottom: 4px;
}

.footer-sub-acordeon a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 20px; /* Sangría jerárquica */
}

/* Estado Expandido activo por JavaScript */
.footer-menu-item.is-expanded .footer-sub-acordeon {
    max-height: 250px; /* Despliegue elástico controlado */
    opacity: 1;
    margin-top: 6px;
    margin-bottom: 10px;
}

/* Indicador de flecha dinámica */
.footer-toggle-link::after {
    content: ' ▾';
    font-size: 12px;
    opacity: 0.7;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.footer-menu-item.is-expanded .footer-toggle-link::after {
    transform: rotate(-180deg); /* Gira elegantemente al abrirse */
}

/* --- COLUMNA DERECHA: IDENTIDAD CORPORATIVA --- */
.footer-brand {
    display: table-cell;
    width: 70%;
    vertical-align: top;
    text-align: left;
    padding-left: 60px;
}

.footer-logo img {
    max-width: 50vw;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-slogan {
    font-family: "Playfair", serif;
    font-style: italic;
    color: var(--color-white);
    margin-bottom: 25px;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.footer-socials {
    margin-bottom: 15px;
}

.footer-socials a {
    display: inline-block;
    margin-right: 20px;
    opacity: 0.6;
   cursor: pointer;
   transition: opacity 0.3s ease-in-out;
}
.footer-socials a:hover {

   opacity: 1;
}

.footer-socials img {
   width: 60px;
    height: auto;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* --- RESPONSIVE FOOTER --- */
@media screen and (max-width: 767px) {
    .footer-container,
    .footer-nav,
    .footer-brand {
        display: block;
        width: 100%;
    }
    .footer-nav {
        padding-left: 10px;
        margin-bottom: 45px;
    }
    .footer-brand {
        text-align: center;
        padding-left: 0;
    }
    .footer-logo img {
        max-width: 260px;
        margin: 0 auto 15px auto;
    }
}
/* ==========================================================================
   video vita (Corregido)
   ========================================================================== */

/* Define el espacio total de scroll que durará el video */
.contenedor-video {
    position: relative; /* Clave para que funcione el pin y el flujo */
    width: 100%;
    height: 500vh; 
}

video {
    position: sticky; /* Cambiado de fixed a sticky */
    top: 0;
    left: 0;
    width: 100%;
    
    object-fit: contain; 
    
    z-index: 1; /* Asegúrate de que no se quede oculto detrás del fondo */
}

.overlay {
 position: absolute;
    top: 0;
    left: 0;
    FONT-VARIANT: JIS04;
    height: 460vh;
    display: flex;
    align-items: flex-start;
    text-align: center;
    z-index: 2;
    color: white;
    pointer-events: none;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
}
.vita{
    padding:10%;
        width: 100%;

}
.vita:nth-child(odd) {
    text-align: left;


}
.vita:nth-child(even) {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.contenido-extra {
    position: relative;
    height: 100vh;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3; /* Para que tape al video al seguir haciendo scroll hacia abajo */
}

/* ==========================================================================
   DISEÑO SECCIÓN 2: INGREDIENTES ACTIVOS (MANDARINA DE JEJU)
   ========================================================================== */
.seccion-ingredientes {
    background-color: #fdfbf7; /* Fondo blanquecino limpio como en el diseño */
    width: 100%;
    padding: 100px 40px;
    box-sizing: border-box;
}


.ingredientes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr; /* Tres columnas asimétricas */
    gap: 50px;
    align-items: center;
}

/* --- COLUMNA TEXTOS --- */
#citricos .ingredientes-main-title {   
   color:var(--color-orange-dark)
}

.ingredientes-main-title .subtitle {
    display: block;
    font-size: 1.8rem;
    color: var(--color-text-dark); /* Tono grisáceo/marrón suave */
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: -0.05em;
}

.ingrediente-item {
    margin-bottom: 35px;
    max-width: 320px;
}
.ingredientes-info {
    text-align: right;
        display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.ingrediente-item h3 {
    color: #625545;
}

.ingrediente-item p {
    color: #666;
}

/* --- COLUMNAS DE IMÁGENES --- */
.ingredientes-media {
    width: 100%;
    text-align: center;
}

.img-recortada {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 12px; /* Bordes suaves redondeados */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* Sombra muy sutil */
    display: block;
    margin: 0 auto;
}

/* Preparación para los estados base de la animación GSAP (Ocultos inicialmente) */
.reveal-txt,
.reveal-img-center,
.reveal-img-right {
    opacity: 0;
    transform: translateY(40px);
}

/* --- RESPONSIVE INGREDIENTES --- */
@media screen and (max-width: 991px) {
    .ingredientes-container {
        grid-template-columns: 1fr; /* Colapsa a una columna en móviles */
        gap: 40px;
        text-align: center;
    }
    
    .ingrediente-item {
        margin: 0 auto 30px auto;
    }
    
    .ingredientes-main-title {
        font-size: 36px;
    }
}
@media (max-width: 768px) {
    
    /* 1. OCULTAR MENÚ ESCRITORIO Y REFORZAR CONTENEDOR MÓVIL */
    .menudesktop {
        display: none !important;
    }

    .menumobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
        z-index: 1000; /* Asegura que la cabecera móvil esté siempre arriba */
    }

    /* 2. EL MENÚ OCULTO A PANTALLA COMPLETA */
    .nav-menu-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff; /* Cambia por var(--color-submenu-bg) si prefieres el tono crema */
        z-index: 999; /* Por debajo del botón hamburguesa pero por encima del contenido */
        
        /* Centrado absoluto del menú interno */
        display: flex;
        justify-content: center;
        align-items: center;

        /* Estado inicial oculto con transiciones suaves */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-30px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    /* ESTADO ACTIVO: Cuando pulsas la hamburguesa y JS añade la clase */
    .nav-menu-mobile.activo {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* 3. ESTILOS DE LA LISTA DE ENLACES VERTICALES */
    .menu-principal-mob {
        list-style: none;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 30px; /* Separación elegante entre opciones */
        padding: 0;
        margin: 0;
    }

    .menu-principal-mob a {
        font-size: 26px; /* Tamaño generoso para móviles */
        font-weight: 500;
        color: var(--color-text-dark);
        text-decoration: none;
        display: block;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .menu-principal-mob a:hover {
        color: var(--color-orange-dark, #FD7B06);
        transform: scale(1.05);
    }

    /* 4. BLINDAJE DEL BOTÓN HAMBURGUESA (Para que quede siempre visible al abrir) */
    .hamburguesa {
        position: relative;
        z-index: 1001; /* Obligatorio: mayor que el z-index del nav (999) */
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 5px;
    }

    .hamburguesa span {
        display: block;
        width: 28px;
        height: 3px;
        background-color: var(--color-text-dark);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* ANIMACIÓN: Transformar las 3 líneas en una "X" perfecta cuando esté activo */
    .hamburguesa.activo span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburguesa.activo span:nth-child(2) {
        opacity: 0; /* Desaparece la línea del medio */
    }

    .hamburguesa.activo span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
}


/* ==========================================================================
   DISEÑO SECCIÓN 3: TIPO DE PIEL (PIEL APAGADA)
   ========================================================================== */
.naranja{
    background-color: var(--color-orange-dark);
}
.naranjaclaro{
    background-color: #FECB8A;
}
   .seccion-tipo-piel {
    
    width: 100%;
    padding: 120px 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.tipo-piel-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Equilibrio entre el bloque visual y los textos */
    gap: 70px;
    align-items: center;
}

/* --- COMPOSICIÓN DE IMÁGENES ASIMÉTRICAS --- */
.tipo-piel-media-grid {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 25px;
    width: 100%;
}

/* Icono redondo flotante */
.icon-floating-sparkle {
    position: absolute;
    top: -40px;
    left: 45%;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    z-index: 20;
}

.icon-floating-sparkle img {
    width: 100%;
    height: auto;
}

/* Imagen izquierda (Retrato de perfil) */
.piel-img-left {
    width: 48%;
}

.piel-img-left img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Bloque central derecho (Foto vertical + Miniatura micro) */
.piel-img-center-block {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.piel-img-main img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Miniatura del esquema de capas de la piel */
.piel-img-micro {
    width: 60%;
    margin-left: 10px;
}

.piel-img-micro img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* --- TEXTOS INFORMATIVOS (COLUMNA DERECHA) --- */
.tipo-piel-info {
    color: var(--color-white);
}

.tipo-piel-title {
    color: var(--color-white);  
}

.titlesection {
    font-size: 5em;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 40px;
letter-spacing: -0.05em;}
    

.tipo-piel-title .subtitle-cetrina {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;

}
.subtitle {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;  
    margin-top: 6px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}


.tipo-piel-content-block {
    margin-bottom: 30px;
    max-width: 440px;
}

.tipo-piel-content-block h3 {

    color: var(--color-white);
}

.tipo-piel-content-block p {

    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.tipo-piel-content-block .paragraph-spacing {
    margin-top: 15px;
}

/* --- SELLOS Y CERTIFICACIONES --- */
.tipo-piel-badges {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.badges-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.badges-flex {
    display: flex;
    gap: 15px;
}

.badges-flex img {
    height: 110px;
    width: auto;
    object-fit: contain;
}

/* Clases base para inicializar la animación en GSAP */
.reveal-piel-images,
.reveal-piel-txt {
    opacity: 0;
    transform: translateY(45px);
}

/* --- ADAPTACIÓN RESPONSIVE --- */
@media screen and (max-width: 991px) {
    .tipo-piel-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tipo-piel-media-grid {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .tipo-piel-info {
        text-align: center;
    }
    
    .tipo-piel-content-block {
        margin-left: auto;
        margin-right: auto;
    }
    
    .badges-flex {
        justify-content: center;
    }
}

/* ==========================================================================
   DISEÑO SECCIÓN 4: RUTINA DE PRODUCTOS (SCROLL DINÁMICO)
   ========================================================================== */
.seccion-rutina {
    background-color: #fcdfb6; /* Color melocotón crema de la captura */
    position: relative;
    width: 100%;
    padding: 100px 40px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Texto de fondo gigante "RUTINA" */
.rutina-bg-text {
    position: absolute;
    font-size: 29vw; /* Escala fluida según el ancho de pantalla */
    font-weight: 500;
    
    opacity: 0.3;
    left: 20px;
    top: 30%;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: -40px;
}
#citricos .rutina-bg-text {
    color:var(--color-orange-dark);
}

.rutina-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Columna de botones vs productos */
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* --- COLUMNA IZQUIERDA FIJA (STICKY) --- */
.rutina-sidebar {
    position: sticky;
    top: 110px; /* Se queda clavado al bajar dejando margen para el header */
    height: fit-content;
}

.rutina-subtitle {
   font-size: 1.3rem;
    letter-spacing: -0.05em;
}

.rutina-main-title {

    margin-bottom: 5px;
}
#citricos .rutina-main-title {

   color: var(--color-orange-dark);
}

/* Contenedor de botones apilados */
.rutina-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 80%;
        height: 40vh;
            justify-content: flex-end;
}

/* Botón base apagado/por defecto */
.btn-rutina {
    color: var(--color-white);
    border: none;
    padding: 14px 24px;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.05em;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Roboto Condensed';
    text-align: right;
}
.btn-rutina {
    background-color: var(--color-orange-dark)}

/* --- ESTADO ACTIVO SOLICITADO ---
   Cuando el scroll pasa por su sección o se pulsa, cambia a blanco con texto oscuro */
.btn-rutina.active {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    box-shadow: 0 8px 20px rgba(204, 102, 27, 0.15);
    transform: translateX(5px); /* Pequeño desplazamiento de feedback visual */
}

/* --- COLUMNA DERECHA SCROLLABLE --- */
.rutina-products-scroll {
    display: flex;
    flex-direction: column;
    gap: 140px; /* Separación amplia para que se note la transición al hacer scroll */
    padding-bottom: 100px;
}

.product-card-item {
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 450px;
    justify-content: center;
}

.product-num {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
}
#citricos .product-num {
    color:var(--color-orange-dark);
}

.product-media {
    width: 100%;
    max-width: 25vw;
    margin-bottom: 25px;
}

.product-media img {
        max-width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08));
}

.product-details h3 {

    color:var(--color-text-dark);

}

.product-meta {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}
#citricos .product-meta {
color:var(--color-orange-dark);
}

.product-highlight {
    font-size: 14px;
    color: #5f5447;
    line-height: 1.6;
    max-width: 440px;
}

/* Ajuste responsive para pantallas medianas y móviles */
@media screen and (max-width: 991px) {
    .rutina-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rutina-sidebar {
        position: relative;
        top: 0;
        text-align: center;
    }
    .rutina-nav-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: 100%;
        flex-wrap: wrap;
    }
    .rutina-products-scroll {
        gap: 80px;
    }
    .product-card-item {
        align-items: center;
        text-align: center;
        min-height: auto;
    }
}
/* ==========================================================================
   PAGINACIÓN POR PUNTOS (CARRUSEL DE RUTINA)
   ========================================================================== */
.seccion-rutina {
    position: relative; /* Obligatorio para contener la botonera absoluta */
}

.rutina-dots-nav {
    position: absolute;
    right: 4%;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 90;
    padding: 10px;
    
   
    backdrop-filter: blur(4px);
    
}

.rutina-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff; /* Naranja corporativo oscuro de tus textos */
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Punto activo: se rellena por completo, se agranda y emite un brillo suave */
.rutina-dot.active {
    background: #ffffff;
    transform: scale(1.4);
   
}

/* Efecto hover discreto */
.rutina-dot:hover:not(.active) {
    transform: scale(1.2);
    background: rgba(204, 102, 27, 0.25);
}

/* Ajuste adaptativo rápido: si la pantalla es estrecha, los movemos para no colisionar */
@media (max-width: 992px) {
    .rutina-dots-nav {
        right: 2%;
        gap: 12px;
    }
}

/* ==========================================================================
   ESTILOS ADICIONALES: TEXTOS ANIMADOS VITA SOBRE EL VÍDEO
   ========================================================================== */

/* Aseguramos que el contenedor del vídeo tenga suficiente recorrido de scroll */
.contenedor-video {
    position: relative;
    width: 100%;
    height: 600vh; /* Ajusta este valor si quieres que el scroll sea más largo y pausado */
    background-color: #000000;
}

/* El overlay se congela en pantalla cubriendo el 100% mientras dure el scroll */
.contenedor-video .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5;
    pointer-events: none; /* Permite hacer scroll a través del contenedor sin trabarse */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta base común para todos los pasos informativos Vita */
.product-details.vita {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 420px;
    /*background: rgba(255, 255, 255, 0.94);  Fondo blanco sutilmente translúcido */
    backdrop-filter: blur(8px); /* Efecto cristal esmerilado premium */
    -webkit-backdrop-filter: blur(8px);
    padding: 35px;
    border-radius: 20px;
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); */
    pointer-events: auto; /* Devuelve el control de clics o selección dentro de las tarjetas */
    
    /* Estado inicial oculto antes de que GSAP tome el control */
    opacity: 0;
    visibility: hidden;
}

/* UBICACIÓN DE LOS IMPARES (01, 03, 05): Flotan a la izquierda */
.product-details.vita:nth-child(odd) {
    left: 8%;
    right: auto;
}

/* UBICACIÓN DE LOS PARES (02, 04, 06): Flotan a la derecha */
.product-details.vita:nth-child(even) {
    right: 8%;
    left: auto;
}

/* REFORZAMIENTO DE DISEÑO DE LOS ELEMENTOS INTERNOS VITA */
.product-details.vita .product-num {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-orange-dark, #FD7B06);
    margin-bottom: 10px;
    line-height: 1;
}

.product-details.vita h3 {
    font-size: 3rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-details.vita .product-highlight {
    
    color: #4a4a4a;
    line-height: 1.6;
}

/* RESPONSIVE: Adaptación perfecta para pantallas móviles */
@media (max-width: 768px) {
    .product-details.vita:nth-child(odd),
    .product-details.vita:nth-child(even) {
        left: 5% !important;
        right: 5% !important;
        width: 90%;
        max-width: none;
        top: auto;
        bottom: 10%; /* En móviles se quedan abajo en el centro para no tapar el núcleo del vídeo */
        transform: none;
        padding: 20px;
    }
    
    .product-details.vita h3 {
        font-size: 18px;
    }
    
    .product-details.vita .product-highlight {
        font-size: 13px;
    }
}