body {
    cursor: url('imagenes/cursor.png'), auto;
}

/* Opcional: Si quieres que al hacer clic o pasar el mouse por encima de los enlaces también funcione */
a:hover, button:hover {
    cursor: url('imagenes/cursor2.png'), pointer;
}
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'druk wide';
    color: var(--deep);
    font-size: 2rem;
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0.5; } }
/* 1. RESETEO GENERAL */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* SVG de ruido granulado */
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.5; /* Sutil para no tapar tu color rojo */
    pointer-events: none;
    z-index: 999;
    cursor: url('imagenes/cursor.png'), auto;
    
}
.star-container {
    position: fixed;   /* 👈 Cambiado a fixed para que flote siempre sobre la pantalla sin importar el scroll */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Para que nunca bloqueen los clics en tus botones o carruseles */
    z-index: 999;         /* 👈 Super alto para asegurarnos de que nada las tape */
    overflow: hidden;
}

.star {
    position: absolute;
    color: rgb(219, 245, 138); /* Tu color verde lima */
    font-size: 1.5rem;
    opacity: 0;
    animation: twinkle 3s infinite ease-in-out;
}

/* Distribución de estrellas desde la parte superior (0%) hasta el final (100%) */
.star:nth-child(1)  { top: 3%;   left: 12%; animation-delay: 0s; }
.star:nth-child(2)  { top: 8%;   left: 82%; animation-delay: 0.5s; font-size: 1.2rem; }
.star:nth-child(3)  { top: 15%;  left: 25%; animation-delay: 1s; }
.star:nth-child(4)  { top: 22%;  left: 75%; animation-delay: 1.5s; font-size: 1.8rem; }
.star:nth-child(5)  { top: 30%;  left: 10%; animation-delay: 2s; }
.star:nth-child(6)  { top: 37%;  left: 88%; animation-delay: 0.3s; }
.star:nth-child(7)  { top: 45%;  left: 30%; animation-delay: 1.2s; font-size: 1rem; }
.star:nth-child(8)  { top: 52%;  left: 65%; animation-delay: 0.7s; }
.star:nth-child(9)  { top: 60%;  left: 18%; animation-delay: 1.8s; font-size: 1.6rem; }
.star:nth-child(10) { top: 68%;  left: 85%; animation-delay: 0.4s; }
.star:nth-child(11) { top: 75%;  left: 22%; animation-delay: 1.1s; }
.star:nth-child(12) { top: 82%;  left: 70%; animation-delay: 0.9s; font-size: 1.4rem; }
.star:nth-child(13) { top: 90%;  left: 15%; animation-delay: 1.6s; }
.star:nth-child(14) { top: 97%;  left: 80%; animation-delay: 0.2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}
body::after {
    content: "";
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 0; /* 👈 Cambiado de 999 a 0 para que no tape los elementos */
}

/* Asegurar que las tarjetas y contenido principal estén por encima del grano */
.three-col-layout {
    position: relative;
    z-index: 1; /* 👈 Esto obliga a que todo el contenido esté arriba del fondo */
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', Arial, sans-serif;

/* FONDO DE CUADRÍCULA ROJA */
    background-color: #CB041C;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
        linear-gradient(    to bottom, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
    background-size: 80px 80px;
    
}
@font-face {
    font-family: 'DrukWideBold';
    src: url('DrukWideBold.ttf') format('truetype'); /* Ajusta la ruta si está dentro de una carpeta, ej: 'fuentes/DrukWideBold.ttf' */
    font-weight: normal;
    font-style: normal;
}

.titulo-foto-seccion {
    font-family: 'DrukWideBold', Arial, sans-serif !important; /* El !important fuerza al navegador a aplicarla sí o sí */
    font-size: 2.2rem;     
    color: #DBF58A;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* El contenedor de pantalla completa debe ser transparente para mostrar la retícula */
.pantalla-completa {
    width: 100vw;
    height: 100vh;
    background-color: transparent !important;
}

/* 2. CADA BLOQUE OCUPA UNA PANTALLA COMPLETA EXACTA */
.pantalla-completa {
    width: 100vw;
    height: 100vh;
    background-color: #cb041c;
}

/* Forzar a que la librería ignore los anchos fijos y use el 100% real */
.container-fluid {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.pantalla-completa:first-of-type 
{
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    }


.pantalla-completa:first-of-type .container-fluid,
.pantalla-completa:first-of-type .row-cuerpo {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}


.row {
    width: 100% !important;
    margin: 0 !important;
}

/* ================= SECCIÓN 1: DISTRIBUCIÓN ================= */
.row-header  {
    height: 10vh;
    position: absolute; /* Hace que flote por encima del fondo sin desplazar nada */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.row-cuerpo {
    height: 100vh !important;
    width: 100vw !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.caja-header {
    background-color: transparent;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 15px;
}


.mini-box {
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
}

.caja-principal-roja {
    background-color: transparent !important;
    border: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    
}
/* Contenedor flotante del Imagotipo y texto */
.hero-centro-animado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    z-index: 5;
}

.imagotipo-central {
    width: 850;
    height: auto;
    animation: aparecerZoom 2s ease-out forwards;
}

.texto-deslizar {
    color: #DBF58A;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 10px;
    text-transform: uppercase;
    text-align: center;
    animation: flotarTexto 2s ease-in-out infinite alternate, aparecerZoom 1.5s ease-out forwards;
}

@keyframes aparecerZoom {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes flotarTexto {
    0% { transform: translateY(0); }
    100% { transform: translateY(8px); }
}




/* ================= SECCIÓN 2: DISTRIBUCIÓN ================= */
/* ================= ESTILOS PARA LA FRANJA ANIMADA (MARQUEE) ================= */

/* Altura más delgada para la franja */
.row-marquee {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 10vh !important;
    min-height: 60px;
    overflow: hidden;
}

/* Caja de color morado con bordes limpios */
.caja-marquee {
    background-color: #9179EF !important; /* Color lila/morado de tu marca */
    height: 100% !important;
    width: 100vw !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Pista que contiene las imágenes en línea horizontal */
.marquee-track {
    display: flex;
    gap: 20px; /* Espacio entre cada cara */
    align-items: center;
    width: max-content;
    animation: deslizarDerecha 5s linear infinite; /* Duración y tipo de bucle */
}

/* Tamaño de las caras de la muñeca dentro de la franja delgada */
.marquee-track img {
    height: 110px; /* Ajustado para que quepa perfectamente en la franja delgada */
    width: auto;
    object-fit: contain;
}

/* Animación en bucle deslizándose hacia la derecha */
@keyframes deslizarDerecha {
    0% {
        transform: translateX(-50%); /* Empieza desde la mitad para hacer un loop perfecto */
    }
    100% {
        transform: translateX(0%);
    }
}


.img-placeholder-mediano {
    width: 100%;
    height: 65%;
    border: 3px dashed #9179EF;
    background-color: rgba(145, 121, 239, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9179EF;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ================= SECCIÓN 3: DISTRIBUCIÓN ================= */
/* ================= SECCIÓN 3: FRANJA ROSA CONTINUA ================= */
.row-seccion3-top {
    height: 45vh; /* Mitad superior */
}

.row-franja-rosa {
    height: 10vh !important; 
    min-height: 60px;
    overflow: hidden;
}

.caja-franja-rosa {
    background-color: #FFA3D0 !important; 
    height: 100% !important;
    width: 100% !important;
    padding: 0 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenido-franja {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.contenido-franja a {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #CB041C; /* Color rojo de marca para los textos */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contenido-franja a:hover {
    color: #9179EF; /* Pasa a color morado al pasar el mouse */
    transform: scale(1.05);
}
/* Efecto al pasar el cursor (hover) por encima de los botones */
.titulo-seccion-link:hover {
    background-color: #9179EF; /* Pasa a color morado */
    color: #fff;               /* El texto se vuelve blanco */
    transform: scale(1.05);    /* Pequeño zoom de interacción */
}



/* ================= SECCIÓN FOTOGRAFÍA: DISTRIBUCIÓN PERFECTA ================= */

.row-seccion-fotografia {
    height: 80vh !important;
    display: flex !important;
    align-items: center !important;     /* Centra verticalmente ambos lados en el eje Y */
    justify-content: center !important;
    padding: 0 20px !important;
}

/* Columna izquierda: Carrusel centrado */
.caja-carrusel-transparente {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px;
}

.carrusel-contenedor {
    position: relative;
    width: 100%;
    max-width: 500px;       
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}

.carrusel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: none;     
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.carrusel-img.activa {
    display: block; 
}

/* Botones de navegación */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #DBF58A;
    border: 2px solid #DBF58A;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.carrusel-btn:hover {
    background-color: #9179EF;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.prev { left: 15px; }
.carrusel-btn.next { right: 15px; }

/* Columna derecha: Texto centrado al eje de la foto */
.caja-texto-transparente {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: flex-start !important;
    padding: 0 40px !important;
    margin-top: 0 !important;           
}

.contenido-intencion-foto {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 500px;
}

.titulo-foto-seccion {
    font-family: 'DrukWideBold', sans-serif;
    font-size: 2.2rem;     
    color: #DBF58A;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.texto-intencion {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;    
    color: #ffffff;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

/* ================= SECCIÓN FOTOGRAFÍA: TAMAÑO GRANDE Y ALINEADA ARRIBA 2 ================= */

/* ================= SECCIÓN FOTOGRAFÍA: DISTRIBUCIÓN PERFECTA ================= */

.row-seccion-fotografia {
    height: 80vh !important;
    display: flex !important;
    align-items: center !important;     /* Centra verticalmente ambos lados en el eje Y */
    justify-content: center !important;
    padding: 0 20px !important;
}

/* Columna izquierda: Carrusel centrado */
.caja-carrusel-transparente {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px;
}

.carrusel-contenedor {
    position: relative;
    width: 100%;
    max-width: 500px;       
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.5);
}

.carrusel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: none;     
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.carrusel-img.activa {
    display: block; 
}

/* Botones de navegación */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #DBF58A;
    border: 2px solid #DBF58A;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.carrusel-btn:hover {
    background-color: #9179EF;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.prev { left: 15px; }
.carrusel-btn.next { right: 15px; }

/* Columna derecha: Texto centrado al eje de la foto */
.caja-texto-transparente {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: flex-start !important;
    padding: 0 40px !important;
    margin-top: 0 !important;           
}

.contenido-intencion-foto {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 500px;
}

.titulo-foto-seccion {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 2.2rem;     
    color: #DBF58A;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.texto-intencion {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.25rem;    
    color: #ffffff;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

/* Caja roja con X superior izquierda (4 columnas) */
.caja-roja-imagen {
    background-color: #CB041C;
    border: 2px solid #fff;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Caja roja con líneas de texto superior derecha (8 columnas) */
.caja-roja-texto {
    background-color: #CB041C;
    border: 2px solid #fff;
    height: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
}

/* Cajas rosas inferiores de la sección 3 */
.caja-inferior-rosa {
    background-color: #FFA3D0;
    border: 2px solid #fff;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder cuadrado para las X de abajo */
.img-placeholder-cuadrado {
    width: 100%;
    height: 100%;
    border: 3px dashed #9179EF;
    background-color: rgba(145, 121, 239, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9179EF;
    font-size: 1.5rem;
    font-weight: bold;
}


/* Contenedor del menú hamburguesa a la derecha */
.menu-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.menu-hamburguesa {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.menu-hamburguesa span {
    width: 32px;
    height: 4px;
    background-color: #dbf58a; /* Rojo de marca */
    display: block;
    border-radius: 2px;
}

/* Posición exacta del menú desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #CB041C;
    min-width: 200px;
    flex-direction: column;
    border: 2px solid #dbf58a;
    z-index: 999;
}

.dropdown-content a {
    color: #FFA3D0;
    padding: 14px 18px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.dropdown-content a:hover {
    background-color: #9179EF;
    color: #fff;
}

/* ================= CAJAS ROSAS INFERIORES CON LOS TÍTULOS ================= */

.caja-titulo-seccion,
.caja-inferior-rosa {
    background-color: #FFA3D0 !important; /* Fondo rosa de tu marca */
    border: 2px solid #CB041C!important;    /* Borde blanco limpio */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra suave para dar profundidad */
}

/* Estilo del texto tipográfico ancho tipo Druk Wide Bold */
.titulo-seccion-link {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #CB041C; /* Color rojo de tu marca para que contraste perfecto sobre el fondo rosa */
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px; /* Espaciado ancho de estilo */
    text-align: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Efecto al pasar el mouse por encima */
.titulo-seccion-link:hover {
    color: #9179EF; /* Cambia a morado al hacer hover */
    transform: scale(1.05); /* Pequeño zoom dinámico */
}

/* ================= ESTILOS PARA LA FRANJA VERDE HACIA LA IZQUIERDA ================= */

.row-franja-verde-izquierda {
    height: 10vh !important;
    min-height: 60px;
    overflow: hidden;
}

.caja-franja-verde-izq {
    background-color: #DBF58A !important; /* Color verde lima de tu marca */
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

/* Pista horizontal que se mueve hacia la izquierda */
.marquee-track-verde-izq {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    animation: deslizarIzquierdaVerde 8s linear infinite; /* Movimiento hacia la izquierda */
}

.titulo-franja-verde-izq {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #CB041C; /* Color rojo de marca */
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    margin: 0;
}

/* Animación en bucle deslizándose hacia la izquierda */
@keyframes deslizarIzquierdaVerde {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= ESTILOS PARA LA FRANJA VERDE ANIMADA ================= */

.row-franja-verde {
    height: 10vh !important;
    min-height: 60px;
    overflow: hidden;
}

.caja-franja-verde {
    background-color: #DBF58A !important; /* Color verde lima de tu marca */

    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

/* Pista horizontal que contiene los textos repetidos */
.marquee-track-verde {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    /* Cambiamos a transform translateX desde 0 hasta -50% para que el movimiento sea fluido */
    animation: deslizarDerechaVerde 8s linear infinite;
}

.titulo-franja-verde {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #CB041C; /* Color rojo de marca */
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    margin: 0;
}
.row-seccion-audiovisual {
    position: relative;
    height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    z-index: 5; /* Para que quede por debajo de la franja animada si se cruzan */
}
.row-franja-verde,
.row-franja-verde-izquierda {
    position: relative;
    z-index: 20; /* Siempre flota por encima */
}
/* Nueva animación fluida hacia la derecha */
@keyframes deslizarDerechaVerde {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* ================= ESTILOS PARA LOS TRES VIDEOS VERTICALES ================= */

.row-tres-videos {
    height: auto !important;
    min-height: 80vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    gap: 0;
}

.caja-video-vertical {
    background-color: transparent !important;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* Tarjeta individual con fondo rosa y borde blanco */
.tarjeta-video-vertical {
    background-color: #FFA3D0 !important; /* Fondo rosa de tu marca */
    width: 100%;
    max-width: 320px;                     /* Ancho estilizado vertical */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
}

/* Slot vertical para el video (proporción 9:16 de celular) */
.contenedor-video-slot {
    width: 100%;
    aspect-ratio: 9 / 16;                 /* Formato video vertical exacto */
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

/* Líneas decorativas inferiores imitando el boceto */
.lineas-texto-video {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px 0;
}

.linea-t {
    display: block;
    height: 6px;
    background-color: #9179EF;            /* Color lila/morado de tu marca */
    border-radius: 3px;
    width: 100%;
}

.linea-t.corto {
    width: 60%;                           /* Hace que la última línea sea más corta como en el diseño */
}
/* Pista que contiene las imágenes en línea horizontal */
.marquee-track {
    display: flex;
    gap: 20px; /* Espacio entre cada cara */
    align-items: center;
    width: max-content;
    animation: deslizarDerecha 18s linear infinite; /* <--- CAMBIA ESTE VALOR */
}

/* ================= ESTILOS PARA LOS VIDEOS HORIZONTALES ================= */

.row-videos-horizontales {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 50px 20px !important;
    gap: 40px; /* Espacio entre cada caja horizontal */
}

.caja-contenedor-horizontal {
    background-color: transparent !important;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    padding: 0 !important;
}

/* Tarjeta grande horizontal con fondo rosa de marca y borde blanco */
.tarjeta-video-horizontal {
    background-color: #FFA3D0 !important; /* Fondo rosa de tu marca */
    border: 2px solid #fff !important;    /* Borde blanco limpio */
    border-radius: 12px;
    width: 100%;
    max-width: 900px;                     /* Ancho amplio horizontal estilo cine */
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

/* Slot horizontal para el video (proporción 16:9 clásica) */
.slot-video-horizontal {
    width: 100%;
    aspect-ratio: 16 / 9;                 /* Formato horizontal exacto */
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

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

/* ================= ESTILOS PARA LA SECCIÓN "SOBRE MÍ" (NARANJA) ================= */

/* Pantalla completa dedicada con fondo naranja llamativo */
.seccion-sobre-mi {
    width: 100vw;
    height: 100vh;
    background-color: #FF7A00 !important; /* Color naranja vibrante para esta sección */
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-sobre-mi {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 60px !important;
}

/* Columna izquierda del carnet */
.caja-carnet-izq {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.contenedor-carnet {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4; /* Proporción vertical tipo credencial o carnet */
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-carnet {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columna derecha de información */
.caja-info-der {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    padding: 0 40px !important;
}

.contenido-sobre-mi {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.titulo-sobre-mi {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 2.8rem;
    color: #DBF58A; /* Verde lima de tu marca para resaltar */
    text-transform: uppercase;
    letter-spacing: 3px;
}

.texto-sobre-mi {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.info-extra-marca {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.etiqueta-dato {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ================= FRANJAS DE LADO A LADO SIN CORTES ================= */
.row-marquee,
.row-franja-verde,
.row-franja-verde-izquierda,
.row-franja-rosa {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
}

.caja-marquee,
.caja-franja-verde,
.caja-franja-verde-izq,
.caja-franja-rosa {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================= SECCIÓN "SOBRE MÍ" (NARANJA COMPLETA Y PEGADA) ================= */
.seccion-sobre-mi {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh;
    background-color: #FF7A00 !important;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    margin-top: -2px !important; /* Tiramos un pelín hacia arriba la sección naranja para devorar el espacio rojo */
}

.row-sobre-mi {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 80px !important;
}

/* ================= CARNET GRANDE Y LIBRE ================= */
.caja-carnet-izq {
    background-color: transparent !important;
    border: none !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0 !important;
}

.contenedor-carnet {
    width: 100% !important;
    height: 85vh !important;
    max-width: none !important;
    background-color: transparent !important; /* Fuerza fondo transparente */
    border: none !important;                  /* Elimina cualquier borde */
    border-radius: 0 !important;              /* Quita los bordes redondeados del cuadro */
    box-shadow: none !important;              /* Quita la sombra del contenedor */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
}

.imagen-carnet {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    border: none !important;                  /* Asegura que la imagen no tenga borde */
    border-radius: 0 !important;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.4); /* Sombra elegante solo sobre la figura del carnet */
}
/* ================= ESTILOS CONTACTO LIBRE, MÁS GRANDE Y CORTO ================= */

.seccion-contacto {
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 50vh !important;  /* Mucho más corto, ya no ocupa toda la pantalla */
    height: auto !important;
    background-color: transparent !important; /* Totalmente transparente para ver los cuadros rojos */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 20px !important;
    margin: 0 !important;
}

.contenido-contacto-libre {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

/* Título súper grande e impactante */
.titulo-contacto-grande {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 4rem;              /* Texto bastante más grande */
    color: #DBF58A;               /* Verde lima de tu marca */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    line-height: 1.1;
}

/* Subtítulo más grande */
.subtitulo-contacto-grande {
    font-family: Arial, sans-serif;
    font-size: 1.6rem;            /* Texto descriptivo con mayor tamaño */
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
}

/* Botones con estilo limpio */
.botones-contacto-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.btn-contacto {
    background-color: #FFA3D0;    /* Fondo rosa */
    color: #CB041C;               /* Texto rojo */
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 40px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-contacto:hover {
    background-color: #9179EF;    /* Pasa a morado al hacer hover */
    color: #fff;
    transform: scale(1.08);
}

/* Ubicación grande */
.ubicacion-contacto-grande {
    font-family: 'Franklin Gothic Medium', 'Arial Black', Arial, sans-serif;
    font-size: 1.4rem;
    color: #DBF58A;
    font-weight: 900;
    letter-spacing: 3px;
    margin-top: 10px;
}

/* ================= CORRECCIÓN DEL HEADER FIJO Y FRANJAS ================= */

/* Hacemos que el header flote fijo arriba sin afectar el ancho del contenido */
.row-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 9999 !important;
    background-color: transparent !important; /* Sin fondos extraños para que se vea limpio */
}

/* Aseguramos que todas las franjas de lado a lado cubran el 100% real sin desajustarse */
.row-marquee,
.row-franja-verde,
.row-franja-verde-izquierda,
.row-franja-rosa {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    position: relative;
    z-index: 20;
}

.caja-marquee,
.caja-franja-verde,
.caja-franja-verde-izq,
.caja-franja-rosa {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================= CORRECCIÓN DE LA POSICIÓN AL HACER SCROLL ================= */
#fotografia,
#audiovisual,
#sobre-mi,
#contacto {
    scroll-margin-top: 80px; /* Deja un espacio superior exacto para que el menú fijo no tape nada */
}

/* ================= DISEÑO RESPONSIVO PARA CELULARES ================= */
@media screen and (max-width: 768px) {

    /* Forzamos que la fila de fotografía y audiovisual sea un flex en columna */
    .row-seccion-fotografia,
    .row-seccion-audiovisual {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 15px !important;
        display: flex !important;
        flex-direction: column-reverse !important; /* Manda el texto arriba y la foto abajo */
    }

    /* Forzamos que la columna del texto suba (por estar antes en el flex-direction) */
    .row-seccion-fotografia > .caja-texto-transparente,
    .row-seccion-audiovisual > .caja-texto-transparente {
        width: 100% !important;
        height: auto !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 10px 25px 10px !important;
        order: 1 !important;
    }

    /* Forzamos que la columna del carrusel baje */
    .row-seccion-fotografia > .caja-carrusel-transparente,
    .row-seccion-audiovisual > .caja-carrusel-transparente {
        width: 100% !important;
        height: auto !important;
        padding: 0 10px !important;
        order: 2 !important;
    }

    .contenido-intencion-foto {
        align-items: center !important;
    }

    /* Resto de ajustes para móviles */
    .titulo-contacto-grande {
        font-size: 2.3rem !important;
        letter-spacing: 2px !important;
    }

    .subtitulo-contacto-grande {
        font-size: 1.1rem !important;
    }

    .titulo-sobre-mi {
        font-size: 2rem !important;
    }

    .texto-sobre-mi {
        font-size: 1rem !important;
    }

    .contenido-sobre-mi,
    .contenido-contacto-libre {
        padding: 20px 15px !important;
        gap: 15px !important;
    }

    .botones-contacto-container {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .btn-contacto {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 1.1rem !important;
    }

    .seccion-sobre-mi {
        height: auto !important;
        min-height: 100vh !important;
        padding: 60px 20px !important;
    }
}

/* ================= CORRECCIONES FINALES PARA MÓVILES ================= */
@media screen and (max-width: 768px) {

    /* 1. Arreglar la Franja Rosa para que no se encime el texto */
    .row-franja-rosa {
        height: auto !important;
        min-height: 50px !important;
        padding: 10px 5px !important;
    }

    .caja-franja-rosa {
        padding: 5px 10px !important;
    }

    .contenido-franja {
        flex-wrap: wrap !important; /* Permite que los elementos bajen si no caben */
        gap: 8px 15px !important;
        justify-content: center !important;
    }

    .contenido-franja a {
        font-size: 0.85rem !important; /* Reduce el tamaño para que respire bien en celular */
        letter-spacing: 2px !important;
    }

    /* 2. Asegurar el orden correcto: Título -> Texto -> Foto en TODAS las secciones */
    .row-seccion-fotografia,
    .row-seccion-audiovisual {
        height: auto !important;
        min-height: auto !important;
        padding: 30px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Forzar que la caja de texto vaya primero */
    .row-seccion-fotografia > .caja-texto-transparente,
    .row-seccion-audiovisual > .caja-texto-transparente {
        order: 1 !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px !important;
        text-align: center !important;
        align-items: center !important;
    }

    /* Forzar que el carrusel/foto vaya inmediatamente debajo */
    .row-seccion-fotografia > .caja-carrusel-transparente,
    .row-seccion-audiovisual > .caja-carrusel-transparente {
        order: 2 !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .carrusel-contenedor {
        width: 85% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
}
.contenedor-video-slot iframe,
.slot-video-horizontal iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: none !important;
}


.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Solo cubre la primera pantalla */
    pointer-events: none; /* Permite hacer clic a través de ellas sin bloquear nada */
    z-index: 5; /* Por encima del fondo pero sin estorbar */
    overflow: hidden;
}

.stars-overlay .star {
    position: absolute;
    color: var(--light); /* Toma tu color rosa/lila de acento */
    font-size: 1.2rem;
    opacity: 0.2;
    animation: twinkle-star 2.5s infinite ease-in-out;
}

/* Posiciones fijas para cada estrella en la pantalla de inicio */
.stars-overlay .star:nth-child(1) { top: 15%; left: 18%; animation-delay: 0.2s; }
.stars-overlay .star:nth-child(2) { top: 25%; right: 20%; animation-delay: 0.8s; font-size: 1.8rem; }
.stars-overlay .star:nth-child(3) { top: 60%; left: 10%; animation-delay: 1.4s; }
.stars-overlay .star:nth-child(4) { top: 75%; right: 15%; animation-delay: 0.5s; }
.stars-overlay .star:nth-child(5) { top: 35%; left: 30%; animation-delay: 1.9s; font-size: 0.9rem; }
.stars-overlay .star:nth-child(6) { top: 50%; right: 35%; animation-delay: 1.1s; }

@keyframes twinkle-star {
    0%, 100% { opacity: 0.1; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}