/* RESET Y VARIABLES PREMIUM */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores Premium */
    --rosa-principal: #E91E63;
    --rosa-vibrante: #FF1744;
    --rosa-suave: #F8BBD9;
    --rosa-ultra: #C2185B;
    --dorado: #FFD700;
    --dorado-oscuro: #FFA000;
    --negro: #0A0A0A;
    --negro-suave: #1A1A1A;
    --blanco: #FFFFFF;
    --blanco-suave: #FAFAFA;
    --gris-claro: #F5F5F5;
    --gris-medio: #BDBDBD;
    --gris-oscuro: #424242;
    
    /* Gradientes Premium */
    --gradient-principal: linear-gradient(135deg, var(--rosa-principal) 0%, var(--rosa-vibrante) 100%);
    --gradient-dorado: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-oscuro) 100%);
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.4), rgba(233,30,99,0.2));
    /* Nuevo: rosita claro a azul (como referencia de imagen) */
    --gradient-rosita-azul: linear-gradient(135deg, #FF9FCF 0%, #6FB8FF 100%);
    
    /* Sombras Premium */
    --sombra-suave: 0 4px 20px rgba(0,0,0,0.08);
    --sombra-media: 0 8px 32px rgba(0,0,0,0.12);
    --sombra-intensa: 0 16px 64px rgba(233,30,99,0.25);
    --sombra-flotante: 0 24px 48px rgba(0,0,0,0.15);
    
    /* Tipografía */
    --font-principal: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Animaciones */
    --transition-rapida: all 0.2s ease;
    --transition-suave: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* BASE */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-principal);
    line-height: 1.6;
    color: var(--negro);
    background: var(--blanco);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* HERO SECTION - PREMIUM */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-rosita-azul);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* mostrar degradado limpio */
    backdrop-filter: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    animation: heroAppear 1s ease-out;
}

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO HEADER */
.hero-header {
    margin-bottom: 3rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--blanco);
    box-shadow: var(--sombra-intensa);
    margin-bottom: 1.5rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    margin-bottom: 1.2rem;
}

.title-main {
    display: block;
    font-size: clamp(3.2rem, 8.5vw, 5.2rem);
    font-weight: 900;
    color: var(--blanco);
    text-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 2px 0 rgba(0,0,0,0.2);
    letter-spacing: -2px;
    line-height: 1.1;
}

/* Estilo de nombre dividido como la referencia */
.title-first { color: #FFFFFF; }
.title-last { 
    color: var(--dorado);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}

.title-subtitle {
    display: block;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
    line-height: 1.4;
    margin-top: 0.8rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* Resaltados en subtítulo */
.title-subtitle .highlight-rose { color: #FFD1E5; font-weight: 800; }
.title-subtitle .highlight-gold { color: #FFE072; font-weight: 900; }

/* VSL CONTAINER - HORIZONTAL OPTIMIZADO */
.vsl-container {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vsl-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--sombra-flotante);
    transition: var(--transition-suave);
    aspect-ratio: 16/9; /* Forzar aspecto horizontal */
    background: var(--rosa-suave); /* Fondo rosita para VSL */
}

.vsl-wrapper.horizontal {
    width: 100%;
    max-height: 500px; /* Limitar altura para mantener horizontal */
}

.vsl-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 80px rgba(233,30,99,0.3);
}

#main-vsl {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 25px;
    object-fit: cover; /* Mantener aspecto horizontal */
}

.vsl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    transition: var(--transition-suave);
}

.play-button {
    cursor: pointer;
    transition: var(--transition-bounce);
    animation: pulse 2s ease-in-out infinite;
}

.play-button:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.vsl-description {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--blanco);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA PRINCIPAL */
.hero-cta {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--gradient-dorado);
    color: var(--negro);
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--sombra-intensa);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255,215,0,0.4);
}

.cta-text {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.cta-subtext {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

/* TRUST INDICATORS */
/* Trust indicators eliminados */

/* Logo flotante derecha */
.floating-logo { position: fixed; top: 1rem; right: 1rem; width: 90px; z-index: 2000; opacity: .9; transition: var(--transition-suave); }
.floating-logo img { width: 100%; height: auto; display: block; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,0.35),0 0 0 4px rgba(255,255,255,0.2); }
.floating-logo:hover { opacity: 1; transform: scale(1.05) rotate(2deg); }
@media (max-width: 600px){ .floating-logo { width: 70px; top: .7rem; right: .7rem; } }

/* MODAL PREMIUM */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: var(--blanco);
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--sombra-flotante);
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: var(--gradient-principal);
    color: var(--blanco);
    padding: 2rem;
    text-align: center;
    position: relative;
    border-radius: 25px 25px 0 0;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    opacity: 0.9;
    font-size: 1rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-suave);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* FORM STEPS */
.registration-form {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: stepSlideIn 0.3s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--negro-suave);
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gris-medio);
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition-suave);
    background: var(--blanco-suave);
}

.form-input:focus {
    outline: none;
    border-color: var(--rosa-principal);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
    background: var(--blanco);
}

.form-btn {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-btn.next {
    background: var(--gradient-principal);
    color: var(--blanco);
}

.form-btn.submit {
    background: var(--gradient-dorado);
    color: var(--negro);
    font-weight: 700;
    margin-top: 1rem;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

/* TERMS SECTION */
.terms-section {
    background: var(--gris-claro);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.terms-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--negro-suave);
}

.terms-content p {
    margin-bottom: 0.5rem;
    color: var(--gris-oscuro);
    font-size: 0.95rem;
}

.policy-link {
    color: var(--rosa-principal);
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--rosa-principal);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: var(--transition-suave);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--rosa-principal);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--blanco);
    font-weight: bold;
}

.security-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gris-oscuro);
    margin-top: 1rem;
}

/* LOADING */
.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gris-medio);
    border-top: 4px solid var(--rosa-principal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--gris-oscuro);
    font-weight: 500;
}

/* SUCCESS MODAL */
.modal-content.success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content.success h2 {
    color: var(--rosa-principal);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-content.success p {
    color: var(--gris-oscuro);
    font-size: 1.1rem;
}

/* GALLERIES PREMIUM - DISEÑO EXCEPCIONAL */
.gallery-section, .video-gallery-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-section {
    background: linear-gradient(135deg, var(--blanco) 0%, var(--gris-claro) 100%);
}

.video-gallery-section {
    background: linear-gradient(135deg, var(--negro-suave) 0%, var(--negro) 100%);
    color: var(--blanco);
}

.gallery-content, .video-gallery-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* TÍTULOS MEJORADOS */
.gallery-title, .video-gallery-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    background: var(--gradient-principal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-gallery-title {
    background: var(--gradient-dorado);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-title::after, .video-gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-principal);
    border-radius: 2px;
}

.video-gallery-title::after {
    background: var(--gradient-dorado);
}

/* CONTENEDORES MEJORADOS */
.gallery-container, .video-gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 0;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* EBOOK SECTION - PREMIUM CARD */
.ebook-section { padding: 5rem 1.5rem; background: var(--blanco); }
.ebook-inner { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.ebook-card {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    border-radius: 28px;
    padding: clamp(1.8rem, 3vw, 3rem);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(233,30,99,.35), rgba(255,215,0,.35)) border-box;
    border: 2px solid transparent;
    box-shadow: 0 20px 60px rgba(233,30,99,0.08), 0 6px 20px rgba(0,0,0,0.06);
}
.ebook-badge {
    display: inline-block;
    background: var(--gradient-dorado);
    color: var(--negro);
    font-weight: 800;
    font-size: .85rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(255,215,0,.35);
}
.ebook-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: .5rem;
    background: var(--gradient-principal);
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.ebook-subtitle { color: var(--gris-oscuro); margin-bottom: 1.5rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.ebook-legal { color: var(--gris-medio); font-size: .9rem; margin-top: 1rem; }
.ebook-success { margin-top: 1rem; color: var(--negro-suave); }

/* Button width adapt for ebook card */
.ebook-card .form-btn.submit { max-width: 320px; margin: 0 auto; display: inline-block; }

@media (max-width: 600px) {
    .ebook-card { border-radius: 22px; }
}

.video-gallery-container {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* GRIDS PREMIUM */
.gallery-grid, .video-gallery {
    display: flex;
    gap: 2.5rem;
    animation: scrollSmooth 40s linear infinite;
    will-change: transform;
    padding: 0 2rem;
}

.gallery-grid:hover, .video-gallery:hover {
    animation-play-state: paused;
}

/* ITEMS DE GALERÍA PREMIUM */
.gallery-item {
    width: 320px;
    height: 400px;
    flex-shrink: 0;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.2),
        0 1px 8px rgba(0,0,0,0.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(233,30,99,0.1) 0%,
        rgba(255,215,0,0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(233,30,99,0.3),
        0 10px 30px rgba(0,0,0,0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* OVERLAY PARA GALERÍA */
.gallery-item::after {
    content: '🔍 Ver más';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--blanco);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 3;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* VIDEO ITEMS PREMIUM */
.video-item {
    width: 380px;
    height: 320px;
    flex-shrink: 0;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.3),
        0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,215,0,0.2);
}

.video-item:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 
        0 40px 100px rgba(255,215,0,0.4),
        0 20px 50px rgba(0,0,0,0.3);
    border-color: var(--dorado);
    z-index: 10;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-item:hover video {
    transform: scale(1.05);
}

/* OVERLAY DE VIDEO MEJORADO */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.6) 0%,
        rgba(233,30,99,0.3) 50%,
        rgba(255,215,0,0.3) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.video-item:hover .video-play-overlay {
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.3) 0%,
        rgba(233,30,99,0.2) 50%,
        rgba(255,215,0,0.2) 100%
    );
    backdrop-filter: blur(1px);
}

/* BOTÓN PLAY PREMIUM */
.video-play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-oscuro) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--negro);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 10px 30px rgba(255,215,0,0.4),
        0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    margin-bottom: 1rem;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--dorado);
    border-radius: 50%;
    opacity: 0;
    animation: pulse-ring 2s ease-out infinite;
}

.video-item:hover .video-play-btn {
    transform: scale(1.2);
    box-shadow: 
        0 15px 40px rgba(255,215,0,0.6),
        0 8px 25px rgba(0,0,0,0.3);
}

.video-item:hover .video-play-btn::before {
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* TEXTO DEL VIDEO */
.video-title {
    color: var(--blanco);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.video-item:hover .video-title {
    opacity: 1;
}

/* ANIMACIÓN MEJORADA */
/* Nueva animación: carrusel inicia lleno y se desplaza suavemente sin salto */
@keyframes scrollSmooth {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Modal de video grande */
.video-modal {position:fixed;inset:0;z-index:3000;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;padding:2rem;animation:modalFade .3s ease;}
.video-modal-content {width:min(100%,900px);background:#000;border-radius:25px;padding:1.5rem;position:relative;box-shadow:0 20px 60px rgba(0,0,0,.6);}
.video-modal-title {color:#fff;font-size:1.4rem;margin:0 0 1rem;font-weight:600;text-align:center;letter-spacing:.5px;}
.video-modal-close {position:absolute;top:.8rem;right:.8rem;width:48px;height:48px;border:none;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:var(--transition-suave);}
.video-modal-close:hover {background:var(--rosa-principal);transform:scale(1.05) rotate(8deg);}
.video-modal video {width:100%;height:auto;border-radius:18px;max-height:70vh;object-fit:contain;background:#000;}
@keyframes modalFade {from{opacity:0;transform:scale(.96);}to{opacity:1;transform:scale(1);} }

/* CONTROLES DE NAVEGACIÓN */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--negro);
    box-shadow: var(--sombra-media);
}

.gallery-nav:hover {
    background: var(--rosa-principal);
    color: var(--blanco);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 2rem;
}

.gallery-nav.next {
    right: 2rem;
}

.video-gallery-section .gallery-nav {
    background: rgba(0,0,0,0.8);
    color: var(--blanco);
}

.video-gallery-section .gallery-nav:hover {
    background: var(--dorado);
    color: var(--negro);
}

/* RESPONSIVE MOBILE-FIRST */
@media (max-width: 768px) {
    .gallery-section, .video-gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-content, .video-gallery-content {
        padding: 0 1rem;
    }
    
    .gallery-title, .video-gallery-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .gallery-container, .video-gallery-container {
        padding: 2rem 0;
        border-radius: 20px;
        margin: 0 1rem;
    }
    
    .gallery-grid, .video-gallery {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .gallery-item {
        width: 280px;
        height: 350px;
    }
    
    .video-item {
        width: 320px;
        height: 280px;
    }
    
    .video-play-btn {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-nav.prev {
        left: 1rem;
    }
    
    .gallery-nav.next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-section, .video-gallery-section {
        padding: 3rem 0;
    }
    
    .gallery-title, .video-gallery-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .gallery-container, .video-gallery-container {
        margin: 0 0.5rem;
        padding: 1.5rem 0;
    }
    
    .gallery-item {
        width: 240px;
        height: 300px;
    }
    
    .video-item {
        width: 280px;
        height: 240px;
    }
    
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* MODAL DE IMÁGENES */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.image-modal-content h3 {
    color: var(--blanco);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* FOOTER PREMIUM */
.footer {
    background: var(--negro-suave);
    color: var(--blanco);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--rosa-suave);
    text-decoration: none;
    transition: var(--transition-suave);
}

.footer-link:hover {
    color: var(--rosa-principal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-oscuro);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: center;
    }
    
    .trust-number,
    .trust-label {
        margin: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .gallery-item {
        width: 250px;
        height: 300px;
    }
    
    .video-item {
        width: 280px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
}
