/* Base variables & System */
:root {
    /* Colors */
    --color-primary: #d6006e; /* Vibrant Magenta (Tacones) */
    --color-primary-light: #f78bb6; /* Light Rose */
    --color-secondary: #0f0f15; /* Elegant Midnight Slate (Liderazgo) */
    --color-secondary-light: #222230; /* Lighter Midnight */
    --color-accent: #fbc2eb; /* Butterfly Pastel Pink */
    --color-bg: #fffbfd; /* Warm Blush White Background */
    --color-surface: #ffffff;
    --color-text-main: #0f0f15;
    --color-text-muted: #555b6e;
    
    /* Typography */
    --font-heading: 'Outfit', 'Playfair Display', serif;
    --font-body: 'Montserrat', 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-image: url('imagenes/2026/imagenes principales/Recurso 6.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 251, 253, 0.3); /* Lower opacity so the background image is clearly visible */
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), #17223d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(214, 0, 110, 0.35);
}

.btn-primary:hover {
    background-color: #b3005c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 0, 110, 0.25);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(var(--nav-height) + 1.5rem) 2rem 2.5rem;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 3.5rem;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--color-primary-light);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--color-secondary-light);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(214, 0, 110, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-actions .btn {
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-image {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 440px;
    width: 100%;
}

.stat-card {
    position: absolute;
    bottom: -15px;
    left: -20px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: transparent;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.rounded-image {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--color-secondary);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.experience-year {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-text {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-list li {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    background: rgba(43, 169, 140, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features-list h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.features-list p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Speakers Section */
.speakers {
    padding: 6rem 2rem;
    background-color: transparent;
}

.speakers-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.speakers-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.speaker-card {
    background: var(--color-surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.speaker-img-wrapper {
    height: 350px;
    overflow: hidden;
}

.speaker-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.speaker-card:hover .speaker-img-wrapper img {
    transform: scale(1.05);
}

.speaker-info {
    padding: 1.5rem;
    text-align: center;
}

.speaker-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.speaker-role {
    color: var(--color-primary);
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.registration-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    outline: none;
    font-family: var(--font-body);
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-submit {
    background-color: var(--color-accent);
    color: var(--color-text-main);
}

.form-submit:hover {
    background-color: #e09245;
    color: var(--color-text-main);
}

/* Footer */
.footer {
    background-color: #111;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #aaa;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: background var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        height: 320px;
    }
    
    .stat-card {
        left: 20px;
        bottom: -20px;
    }
    
    .about-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for prototype */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .registration-form .form-group {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Nuevos estilos agregados para las secciones añadidas */
.bg-light {
    background-color: transparent;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 6rem 2rem;
}

.text-center {
    text-align: center;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Ejes tematicos */
.eje-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    padding-left: 4rem;
}

.eje-num {
    position: absolute;
    left: -15px;
    top: 20px;
    background: var(--color-primary);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
}

.eje-card ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: var(--color-text-muted);
}

.speaker-bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.price-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--color-primary-light);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-top: 1rem;
}

.small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.timeline {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.timeline li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.comite-title {
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.p-2 {
    padding: 2rem;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: 0.875rem; }

/* --- SECCIÓN DE AUSPICIANTES PREMIUM --- */
.sponsors-section {
    padding: 6rem 2rem;
    background-color: var(--color-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.sponsors-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.sponsors-group {
    margin-bottom: 4.5rem;
    text-align: center;
}

.sponsors-group:last-child {
    margin-bottom: 0;
}

.sponsors-group-title {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.sponsors-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--color-primary-light);
    border-radius: 2px;
}

/* Ajustes especiales por Tiers */
.sponsors-group.tier-premium .sponsors-group-title {
    color: var(--color-primary);
    font-size: 1.4rem;
}
.sponsors-group.tier-premium .sponsors-group-title::after {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.sponsors-group.tier-metamorfosis .sponsors-group-title {
    color: var(--color-secondary-light);
    font-size: 1.25rem;
}

.sponsors-grid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* Tarjeta individual de auspiciante */
.sponsor-card-item {
    display: block;
    background: #A0125C;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.sponsor-card-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.sponsor-logo-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    box-sizing: border-box;
    text-align: center;
}

.sponsor-logo-box img,
.sponsor-logo-box svg {
    width: 95%;
    height: 90%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-normal);
}

.sponsor-card-item:hover .sponsor-logo-box img,
.sponsor-card-item:hover .sponsor-logo-box svg {
    transform: scale(1.04);
}

.sponsor-fallback-label {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Sizing por Tiers */
.tier-premium .sponsor-card-item {
    width: 320px;
    height: 160px;
    border: 2px solid var(--color-primary-light);
    box-shadow: 0 8px 20px rgba(214, 0, 110, 0.08);
}
.tier-premium .sponsor-fallback-label {
    color: var(--color-primary);
    font-size: 1rem;
}

.tier-metamorfosis .sponsor-card-item {
    width: 280px;
    height: 140px;
    border: 1.5px solid var(--color-accent);
}
.tier-metamorfosis .sponsor-fallback-label {
    color: var(--color-secondary-light);
}

.tier-gold .sponsor-card-item {
    width: 280px;
    height: 140px;
    border: 1px solid rgba(214, 0, 110, 0.1);
}
.tier-gold .sponsor-fallback-label {
    color: #c99c00;
}

.tier-impulsor .sponsor-card-item {
    width: 280px;
    height: 140px;
}
.tier-impulsor .sponsor-fallback-label {
    font-size: 0.75rem;
}

/* Ajustes responsivos para grids */
@media (max-width: 768px) {
    .sponsors-grid-layout {
        gap: 1.5rem;
    }
    
    .tier-premium .sponsor-card-item {
        width: 280px;
        height: 140px;
    }
    
    .tier-metamorfosis .sponsor-card-item {
        width: 240px;
        height: 120px;
    }
    
    .tier-gold .sponsor-card-item {
        width: 240px;
        height: 120px;
    }
    
    .tier-impulsor .sponsor-card-item {
        width: 240px;
        height: 120px;
    }
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
    margin-top: 2rem;
}

/* --- V2 STYLES --- */

/* Horizontal Grid for Desktop (Convertido a Flexbox para centrado dinámico) */
.grid-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.grid-horizontal > * {
    width: calc((100% - 6rem) / 4);
    flex-grow: 0;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .grid-horizontal > * {
        width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .grid-horizontal > * {
        width: 100%;
    }
}

.px-container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Remove icons from features list */
.features-list.no-icons li {
    padding-left: 1.5rem;
    position: relative;
}
.features-list.no-icons li::before {
    content: "•";
    color: var(--color-primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Cards layout */
.d-flex-col {
    display: flex;
    flex-direction: column;
}
.flex-grow {
    flex-grow: 1;
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Prices */
.price-currency {
    font-size: 1rem;
    font-weight: normal;
    color: var(--color-text-muted);
    display: block;
    margin-top: 0.5rem;
}
.price-card.popular {
    position: relative;
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-text-main);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}
@media (max-width: 768px) {
    .price-card.popular {
        transform: none;
    }
}

/* Date Cards */
.date-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
    border-top: 4px solid var(--color-secondary);
}
.date-card:hover {
    transform: translateY(-5px);
}
.date-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Pulsing CTA */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 0, 110, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(214, 0, 110, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 0, 110, 0); }
}
.cta-pulse {
    animation: pulse 2s infinite;
}

/* Agency card */
.travel-agency-card {
    border-left: 4px solid var(--color-secondary);
    background: #fff;
}
.whatsapp-btn:hover {
    background: #20b858 !important;
}
.w-100 {
    width: 100%;
}

/* --- GALLERY & LIGHTBOX STYLES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    background-color: var(--color-secondary-light);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214, 0, 110, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon-wrapper {
    background: white;
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-icon-wrapper {
    transform: scale(1);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    z-index: 2010;
}

.lightbox-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.lightbox-btn-prev {
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-btn-next {
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    top: -60px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
}

.lightbox-counter {
    color: white;
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .lightbox-btn-prev {
        left: -60px;
    }
    .lightbox-btn-next {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .lightbox-btn-prev {
        left: 20px;
        top: auto;
        bottom: -65px;
        transform: none;
    }
    .lightbox-btn-next {
        right: 20px;
        top: auto;
        bottom: -65px;
        transform: none;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
    .lightbox-content {
        max-width: 95%;
    }
}

/* --- SPEAKER MODAL PREMIUM STYLES --- */
.speaker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.speaker-modal.active {
    opacity: 1;
    visibility: visible;
}

.speaker-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 21, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.speaker-modal-content {
    position: relative;
    background: var(--color-surface);
    border-radius: 24px;
    max-width: 680px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem 2.5rem 2.5rem;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
    z-index: 2510;
}

.speaker-modal.active .speaker-modal-content {
    transform: translateY(0);
}

.speaker-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.speaker-modal-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
    background-color: rgba(214, 0, 110, 0.05);
}

.speaker-modal-title {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.speaker-modal-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speaker-modal-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.speaker-modal-text p:last-child {
    margin-bottom: 0;
}

/* Custom Scrollbar for Modal content */
.speaker-modal-content::-webkit-scrollbar {
    width: 6px;
}
.speaker-modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.speaker-modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.speaker-modal-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .speaker-modal-content {
        padding: 2.5rem 1.5rem 1.5rem;
        width: 95%;
        max-height: 90vh;
    }
    .speaker-modal-title {
        font-size: 1.75rem;
    }
    .speaker-modal-role {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

/* --- COUNTDOWN & BRANDING IMPROVEMENTS --- */
.countdown-container {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(214, 0, 110, 0.06);
    text-align: center;
    max-width: 420px;
    animation: fadeIn 0.8s ease-out;
}

.countdown-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0.4rem 0.25rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(214, 0, 110, 0.03);
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(214, 0, 110, 0.08);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #17223d; /* Dark Blue from branding */
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.35rem;
}

.congress-started-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(214, 0, 110, 0.15);
    animation: pulse-glow 2s infinite ease-in-out;
    padding: 0.75rem;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.04); opacity: 1; }
    100% { transform: scale(1); opacity: 0.95; }
}

/* Decorative image elements */
.hero-decor-img {
    position: absolute;
    width: 150px;
    height: auto;
    opacity: 0.9;
    z-index: 2;
    pointer-events: none;
    animation: float-slow 8s ease-in-out infinite;
    display: block;
}

.hero-decor-img-1 {
    top: 5%;
    right: 5%;
    transform: rotate(15deg);
}

@keyframes float-slow {
    0% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(20deg); }
    100% { transform: translateY(0px) rotate(15deg); }
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 12px;
    vertical-align: middle;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Adjust layout spacing if needed */
@media (max-width: 992px) {
    .countdown-container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- CIUDAD SEDE & CAROUSEL --- */
.ciudad-sede-section {
    padding: 6rem 2rem;
    background-color: transparent;
    position: relative;
    border-top: none;
}

.sede-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .sede-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.sede-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background-color: var(--color-secondary-light);
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .sede-carousel {
        aspect-ratio: 1 / 1.08;
    }
    
    .sede-slide {
        display: flex;
        flex-direction: column;
    }
    
    .sede-slide.active {
        display: flex;
    }
    
    .sede-slide img {
        height: 62%;
        object-fit: cover;
    }
    
    .slide-caption {
        position: static;
        background: var(--color-surface);
        color: var(--color-text-main);
        padding: 1.25rem 1rem 2.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .slide-caption h4 {
        color: var(--color-primary);
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .slide-caption p {
        color: var(--color-text-muted);
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .sede-carousel-btn {
        top: 31%; /* Centered vertically on the image portion */
        width: 38px;
        height: 38px;
        background: transparent;
        color: rgba(255, 255, 255, 0.85);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }
    
    .sede-carousel-btn:hover,
    .sede-carousel-btn:active {
        background: rgba(0, 0, 0, 0.25);
        color: white;
    }
    
    .sede-carousel-btn.prev-btn { left: 0.75rem; }
    .sede-carousel-btn.next-btn { right: 0.75rem; }
    
    .sede-carousel-indicators {
        bottom: 0.75rem;
    }
    
    .sede-carousel-indicators .indicator {
        background: rgba(0, 0, 0, 0.15);
    }
    
    .sede-carousel-indicators .indicator.active {
        background: var(--color-primary);
    }
}

.sede-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    transition: opacity 0.8s ease;
}

.sede-slide.active {
    opacity: 1;
    display: block;
}

.sede-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 2.5rem 2rem 2rem;
    color: white;
}

.slide-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    color: white;
}

.slide-caption p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.sede-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
}

.sede-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-50%) scale(1.08);
}

.sede-carousel-btn.prev-btn { left: 1.5rem; }
.sede-carousel-btn.next-btn { right: 1.5rem; }

.sede-carousel-indicators {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.sede-carousel-indicators .indicator {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sede-carousel-indicators .indicator.active {
    width: 24px;
    background: white;
}

/* ==========================================================================
   Estilos de Video A/B (Metamorfosis 2026)
   ========================================================================== */

/* --- Estilos Comunes --- */
.badge-accent {
    background-color: var(--color-primary) !important;
    color: white !important;
}

/* --- WIDGET SELECTOR A/B (Para Pruebas) --- */
.version-selector-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 10000;
    background: rgba(15, 15, 21, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: var(--font-body);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.version-selector-widget:hover {
    transform: translateY(-2px);
}
.selector-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    text-align: center;
}
.selector-buttons {
    display: flex;
    gap: 0.5rem;
}
.selector-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.selector-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
.selector-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(214, 0, 110, 0.3);
}

/* --- OPCIÓN B: VIDEO DE FONDO EN EL HERO --- */
.layout-version-b .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding-top: var(--nav-height);
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    background: #000; /* Fondo base negro mientras carga */
}

/* Ocultamos elementos innecesarios del layout original en la versión B */
.layout-version-b .hero-image-wrapper,
.layout-version-b .hero-bg-shapes {
    display: none !important;
}

/* Centrado y redimensión del contenido con animación de fade-up diferida */
.layout-version-b .hero-content {
    max-width: 850px;
    margin: 0 auto;
    z-index: 10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(25px);
    animation: heroContentFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 1.4s;
}

@keyframes heroContentFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Marquesina Decorativa Estilo Create & Cultivate */
.layout-version-b .hero-marquee {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    margin-top: 2rem;
    padding: 0.5rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.20);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.20);
    display: flex;
    opacity: 0.8;
}
.layout-version-b .marquee-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee-slide 16s linear infinite;
}
.layout-version-b .marquee-track span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
}
@keyframes marquee-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.layout-version-b .hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.layout-version-b .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* Eliminar sombra del texto degradado */
}
.layout-version-b .hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 700px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.layout-version-b .countdown-container {
    background: rgba(15, 15, 21, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
}
.layout-version-b .countdown-title {
    color: rgba(255, 255, 255, 0.85);
}
.layout-version-b .countdown-value {
    color: white;
}
.layout-version-b .countdown-label {
    color: rgba(255, 255, 255, 0.6);
}
.layout-version-b .hero-actions {
    justify-content: center;
}

/* Contenedor del video en la versión B */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.hero-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 21, 0.8) 0%, rgba(214, 0, 110, 0.4) 100%);
    z-index: 3;
}

/* Disparo de animación de entrada del video */
.layout-version-b .video-ready #hero-video {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.layout-version-b .video-ready .hero-video-poster {
    opacity: 0;
    pointer-events: none;
}


/* --- OPCIÓN A: SECCIÓN DE VIDEO PROMO (DEBAJO DEL HERO) --- */
.promo-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: transparent;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.promo-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.promo-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    max-width: 100%;
    background-color: #000;
    opacity: 0;
    clip-path: inset(var(--inset-y, 25%) var(--inset-x, 10%) var(--inset-y, 25%) var(--inset-x, 10%) round var(--border-radius, 28px));
    -webkit-clip-path: inset(var(--inset-y, 25%) var(--inset-x, 10%) var(--inset-y, 25%) var(--inset-x, 10%) round var(--border-radius, 28px));
    transition: opacity 0.8s ease, clip-path 0.05s ease-out, -webkit-clip-path 0.05s ease-out;
    overflow: hidden;
    z-index: 1;
}
/* Revelación de la sección por scroll */
.promo-video-wrapper.active-reveal {
    opacity: 1;
}

.promo-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 1s ease;
}
.promo-video-wrapper.video-playing video {
    opacity: 1;
    transform: scale(1);
}

.promo-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
    transition: opacity 0.8s ease;
}
.promo-video-wrapper.video-playing .promo-video-poster {
    opacity: 0;
    pointer-events: none;
}

.promo-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 21, 0.85) 0%, rgba(214, 0, 110, 0.2) 100%);
    z-index: 3;
    transition: background 0.4s ease;
}
.promo-video-wrapper.video-playing:hover .promo-video-overlay {
    background: linear-gradient(to top, rgba(15, 15, 21, 0.75) 0%, rgba(214, 0, 110, 0.1) 100%);
}

.promo-video-content {
    position: absolute;
    bottom: calc(var(--inset-y, 25%) + 2rem);
    left: calc(var(--inset-x, 10%) + 2rem);
    right: calc(var(--inset-x, 10%) + 2rem);
    padding: 1rem;
    z-index: 4;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.4s ease, opacity 0.4s ease, bottom 0.05s ease-out, left 0.05s ease-out, right 0.05s ease-out;
}
.promo-video-title {
    font-size: 2.25rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.promo-video-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-video-play-toggle {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(214, 0, 110, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-video-play-toggle:hover {
    background-color: #b3005c;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 0, 110, 0.5);
}

/* Responsividad para Video */
@media (max-width: 992px) {
    .layout-version-b .hero-title {
        font-size: 2.75rem;
    }
}
@media (max-width: 768px) {
    .layout-version-b .hero {
        height: 100vh;
        height: 100dvh;
        padding-top: var(--nav-height);
    }
    .layout-version-b .hero-title {
        font-size: 2.25rem;
    }
    .promo-video-content {
        bottom: calc(var(--inset-y, 25%) + 1rem);
        left: calc(var(--inset-x, 10%) + 1rem);
        right: calc(var(--inset-x, 10%) + 1rem);
        padding: 0.5rem;
    }
    .promo-video-title {
        font-size: 1.75rem;
    }
    .promo-video-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .btn-video-play-toggle {
        width: 50px;
        height: 50px;
    }
}





/* --- ESTILOS PREMIUM PARA MODALES DE CONFERENCISTAS 2026 --- */

/* Expandir el ancho del modal para dar espacio al diseño de dos columnas */
#modal-nory .speaker-modal-content,
#modal-domenica .speaker-modal-content,
#modal-carolina .speaker-modal-content,
#modal-mishelle-2026 .speaker-modal-content,
#modal-ivanna .speaker-modal-content,
#modal-natalia .speaker-modal-content,
#modal-gabriela-vaca .speaker-modal-content {
    max-width: 850px;
}

.premium-modal-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.modal-flyer-container {
    flex: 0 0 35%;
    max-width: 250px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.modal-flyer-container:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.modal-flyer-img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

.modal-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Ajustes y mejoras tipográficas para los textos del modal premium */
.premium-modal-layout .speaker-modal-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.premium-modal-layout .speaker-modal-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.premium-modal-layout .speaker-modal-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.premium-modal-layout .speaker-modal-text p:last-child {
    margin-bottom: 0;
}

/* Responsividad para tabletas y dispositivos móviles */
@media (max-width: 768px) {
    .premium-modal-layout {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
    }
    
    .modal-flyer-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 220px;
        margin-bottom: 0.5rem;
    }
    
    .premium-modal-layout .speaker-modal-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .premium-modal-layout .speaker-modal-role {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .premium-modal-layout .speaker-modal-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
    }
}

/* --- MEJORAS DE ENCUADRE Y CORRECCIÓN DE SCROLLBAR EN MÓVIL --- */
html {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    /* Ocultar barra de desplazamiento nativa de escritorio en móviles, iframes o webviews */
    html, body {
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE y Edge */
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none; /* Chrome, Safari y Opera */
    }

    /* Reducir el doble padding lateral que comprimía las tarjetas de las conferencistas */
    .speakers {
        padding: 4rem 1.25rem;
    }
    .px-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Desactivar scroll horizontal innecesario en la cuadrícula de conferencistas en móvil */
    .grid-horizontal {
        overflow-x: hidden;
        padding-bottom: 0;
    }
}
