:root {
    --bg-main: #0a0a0a;
    --bg-secondary: #121212;
    --bg-darker: #050505;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #8b5cf6;
    /* Violet */
    --accent-secondary: #3b82f6;
    /* Blue */
    --accent-hover: #7c3aed;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

/* Utilities */
.bg-darker {
    background-color: var(--bg-darker);
}

.bg-image {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.accent {
    color: var(--accent-primary);
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 span {
    color: var(--accent-primary);
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background-size: 300% 300%;
    will-change: transform, background-position;
}

.btn-primary {
    background-image: linear-gradient(115deg,
            #8b5cf6 0%,
            #6366f1 28%,
            #3b82f6 52%,
            #a855f7 76%,
            #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    animation: button-gradient-flow 8s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55);
}

/* CTA del hero: identidad de Instagram con un flujo cromático tipo ola. */
.hero-instagram-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: #fff;
    background-image: linear-gradient(120deg,
            #405de6 0%,
            #5851db 14%,
            #833ab4 28%,
            #c13584 43%,
            #e1306c 57%,
            #fd1d1d 70%,
            #f56040 82%,
            #fcaf45 92%,
            #405de6 100%);
    background-size: 360% 360%;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
    animation: instagram-color-wave 8s ease-in-out infinite;
}

.hero-instagram-btn::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -55% -20%;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.26) 0%,
            rgba(255, 255, 255, 0.08) 36%,
            transparent 68%);
    transform: translateX(-62%) rotate(-8deg);
    animation: instagram-light-wave 6s ease-in-out infinite;
}

.hero-instagram-btn i {
    font-size: 1.12rem;
}

.hero-instagram-btn:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(193, 53, 132, 0.48);
}

@keyframes instagram-color-wave {
    0%,
    100% {
        background-position: 0% 48%;
    }

    35% {
        background-position: 48% 100%;
    }

    70% {
        background-position: 100% 42%;
    }
}

@keyframes instagram-light-wave {
    0%,
    100% {
        transform: translateX(-62%) rotate(-8deg) scaleY(0.86);
    }

    50% {
        transform: translateX(62%) rotate(8deg) scaleY(1.12);
    }
}

.btn-outline {
    background-image: linear-gradient(115deg,
            #241a3d 0%,
            #111c38 32%,
            #30183d 66%,
            #241a3d 100%);
    border: 2px solid rgba(139, 92, 246, 0.9);
    color: var(--text-main);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    animation: button-gradient-flow 8s ease-in-out infinite reverse;
}

.btn-outline:hover {
    background-image: linear-gradient(115deg,
            #7c3aed 0%,
            #2563eb 45%,
            #9333ea 100%);
    border-color: rgba(167, 139, 250, 1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.38);
}

.btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 4px;
}

@keyframes button-gradient-flow {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-outline,
    .hero-instagram-btn,
    .hero-instagram-btn::before {
        animation: none;
        background-position: 50% 50%;
    }
}

/* Navbar Redesign - Dark Theme */
.navbar.custom-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    /* Original */
    border-bottom: 1px solid transparent;
}

.navbar.custom-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 3%;
    border-bottom: 1px solid var(--border-color);
}

.custom-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0;
}

.nav-img-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    border-radius: 8px;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.custom-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.custom-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.custom-links a:hover,
.custom-links a.active {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #8b5cf6 !important;
}

.custom-links i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.custom-links a:hover i,
.custom-links a.active i {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #8b5cf6 !important;
}

.nav-gradient-icon {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #8b5cf6 !important;
}

.badge-nav {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-menu-header,
.mobile-menu-footer {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-events-trigger {
    font-family: inherit;
}

/* Split Hero Section for Eventos */
.hero-split.eventos-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    /* Match main dark background */
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-split-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-split-left h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-split-left h1 span {
    color: var(--accent-primary);
}

.hero-split-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-split-left .hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
}

.hero-social-links {
    display: flex;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.hero-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 1.4rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.hero-social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.hero-split-right {
    position: relative;
    padding-right: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.hero-main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/4.5;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-secondary);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.hero-tag i {
    color: #ef4444;
}

.hero-floating-box {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 250px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    z-index: 3;
    backdrop-filter: blur(10px);
    animation: floatingBox 4s ease-in-out infinite;
}

@keyframes floatingBox {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.floating-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-split-left,
    .hero-split-left .hero-buttons,
    .hero-social-links {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .hero-split-left p {
        max-width: 100%;
    }

    .hero-floating-box {
        right: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0 0 24px 24px;
    }

    .hero-split-right {
        padding-right: 0;
    }
}

/* Nosotros Section - Modern Layout */
.about-modern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-modern-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Images Composition */
.about-visuals {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.img-main {
    width: 85%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: block;
}

.img-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    border-radius: 12px;
    border: 8px solid var(--bg-main);
    /* Match background color to create cut-out effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: 5%;
    width: 130px;
    height: 130px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--border-color);
}

.badge-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .experience-badge {
        width: 100px;
        height: 100px;
    }

    .badge-icon {
        font-size: 1.8rem;
    }
}

/* Text Content */
.about-content .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    color: var(--accent-primary);
}

.about-content .desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.about-features li i {
    color: var(--accent-secondary);
    font-size: 1.2rem;
}

.btn-about {
    border-radius: 6px;
    /* Slightly less rounded for a corporate look matching the image */
    text-transform: none;
    font-size: 1rem;
}

/* Galería multimedia */
.media-gallery-section {
    position: relative;
    overflow: hidden;
    background: #08080d;
}

.gallery-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.8fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.gallery-intro {
    max-width: 390px;
}

.gallery-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
    color: #6ea2ff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-kicker i {
    color: var(--accent-primary);
    font-size: 1.35rem;
}

.gallery-intro h2 {
    max-width: 360px;
    margin-bottom: 1.35rem;
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.gallery-intro h2 span {
    display: block;
    color: var(--accent-primary);
}

.gallery-accent-line {
    width: 64px;
    height: 3px;
    margin-bottom: 1.8rem;
    border-radius: 999px;
    background: var(--accent-secondary);
    box-shadow: 28px 0 0 var(--accent-primary);
}

.gallery-intro p {
    max-width: 390px;
    margin-bottom: 0;
    color: #aab6ca;
    font-size: 1.05rem;
    line-height: 1.75;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.media-gallery-card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: #111118;
    color: var(--text-main);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.media-gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 18px 40px rgba(48, 36, 92, 0.42);
}

.media-gallery-card:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.92);
    outline-offset: 4px;
}

.media-card-visual {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0b0b10;
}

.media-card-visual img,
.media-card-visual video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.78) saturate(0.92);
    transition: transform 0.55s ease, filter 0.35s ease;
}

.media-gallery-card:hover .media-card-visual img,
.media-gallery-card:hover .media-card-visual video {
    transform: scale(1.045);
    filter: brightness(0.9) saturate(1);
}

.media-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 2px solid #7c5cff;
    border-radius: 50%;
    background: rgba(8, 8, 13, 0.78);
    color: #d8b4fe;
    font-size: 1rem;
    box-shadow: 0 0 22px rgba(124, 92, 255, 0.38);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.media-card-play i {
    margin-left: 3px;
}

.media-gallery-card:hover .media-card-play {
    background: rgba(99, 102, 241, 0.88);
    transform: translate(-50%, -50%) scale(1.08);
}

.media-card-duration,
.media-card-kind {
    position: absolute;
    right: 0.65rem;
    bottom: 0.55rem;
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(8, 8, 13, 0.86);
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.media-card-kind {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.media-card-copy {
    display: block;
    padding: 0.82rem 0.9rem 0.9rem;
}

.media-card-copy strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    line-height: 1.25;
}

.media-card-copy small {
    display: block;
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(2, 2, 6, 0.9);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.gallery-lightbox-dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 18px;
    background: #111118;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s ease;
}

.gallery-lightbox-dialog.is-portrait {
    width: min(820px, 100%);
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr);
    grid-template-areas:
        "media content"
        "media nav";
    align-items: end;
    overflow: hidden;
}

.gallery-lightbox.active .gallery-lightbox-dialog {
    transform: translateY(0) scale(1);
}

.gallery-lightbox-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(8, 8, 13, 0.82);
    color: #fff;
    cursor: pointer;
}

.gallery-lightbox-media {
    position: relative;
    grid-area: media;
    aspect-ratio: var(--gallery-aspect, 16 / 9);
    overflow: hidden;
    background: #050508;
}

.gallery-lightbox-dialog.is-landscape .gallery-lightbox-media {
    max-height: min(68vh, 680px);
}

.gallery-lightbox-dialog.is-portrait .gallery-lightbox-media {
    height: min(78vh, 720px);
}

.gallery-lightbox-media img,
.gallery-lightbox-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #050508;
}

.gallery-lightbox-media [hidden] {
    display: none;
}

.gallery-lightbox-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    display: none;
    place-items: center;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    background: rgba(8, 8, 13, 0.78);
    color: #e9d5ff;
    font-size: 1.35rem;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox-play.visible {
    display: grid;
}

.gallery-lightbox-play:hover {
    background: rgba(124, 92, 255, 0.92);
    transform: translate(-50%, -50%) scale(1.06);
}

.gallery-lightbox-play i {
    margin-left: 4px;
}

.gallery-lightbox-audio {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.58rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 8, 13, 0.82);
    color: #fff;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.gallery-lightbox-audio[hidden] {
    display: none;
}

.gallery-lightbox-content {
    grid-area: content;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 1.75rem 1.1rem;
}

.gallery-lightbox-meta {
    display: block;
    margin-bottom: 0.55rem;
    color: #8db4ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-lightbox-content h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.gallery-lightbox-content p {
    margin: 0;
}

.gallery-lightbox-counter {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-weight: 700;
}

.gallery-lightbox-nav {
    grid-area: nav;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.75rem 1.5rem;
}

.gallery-lightbox-nav button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    background: transparent;
    color: #c4b5fd;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-play:focus-visible,
.gallery-lightbox-audio:focus-visible,
.gallery-lightbox-nav button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.gallery-lightbox-dialog.is-portrait .gallery-lightbox-content {
    align-self: end;
    padding: 1.75rem 1.5rem 1rem;
}

.gallery-lightbox-dialog.is-portrait .gallery-lightbox-nav {
    align-self: start;
    padding: 0.8rem 1.5rem 1.5rem;
}

@media (max-width: 1050px) {
    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-intro {
        max-width: 680px;
    }

    .gallery-intro h2,
    .gallery-intro p {
        max-width: 620px;
    }
}

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

    .gallery-layout {
        gap: 2.4rem;
        padding: 0 1rem;
    }

    .gallery-intro h2 {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .gallery-intro p {
        font-size: 0.98rem;
    }

    .media-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .media-gallery-card {
        border-radius: 12px;
    }

    .media-card-play {
        width: 44px;
        height: 44px;
        font-size: 0.82rem;
    }

    .media-card-copy {
        padding: 0.8rem 0.75rem 0.9rem;
    }

    .media-card-copy strong {
        font-size: 0.9rem;
    }

    .media-card-copy small {
        font-size: 0.75rem;
    }

    .gallery-lightbox {
        padding: 0.75rem;
    }

    .gallery-lightbox-dialog {
        max-height: calc(100vh - 1.5rem);
        border-radius: 14px;
    }

    .gallery-lightbox-dialog.is-portrait {
        width: min(440px, 100%);
        display: block;
        overflow-y: auto;
    }

    .gallery-lightbox-dialog.is-portrait .gallery-lightbox-media {
        width: 100%;
        height: auto;
        max-height: 62vh;
    }

    .gallery-lightbox-dialog.is-landscape .gallery-lightbox-media {
        max-height: 58vh;
    }

    .gallery-lightbox-content {
        align-items: flex-start;
        padding: 1.2rem 1.1rem 0.8rem;
    }

    .gallery-lightbox-content p {
        font-size: 0.9rem;
    }

    .gallery-lightbox-nav {
        padding: 0.8rem 1.1rem 1.2rem;
    }

    .gallery-lightbox-dialog.is-portrait .gallery-lightbox-content {
        padding: 1.2rem 1.1rem 0.8rem;
    }

    .gallery-lightbox-dialog.is-portrait .gallery-lightbox-nav {
        padding: 0.8rem 1.1rem 1.2rem;
    }

    .gallery-lightbox-audio span {
        display: none;
    }

    .gallery-lightbox-audio {
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 360px) {
    .media-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .media-gallery-card {
        border-radius: 10px;
    }

    .media-card-play {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }

    .media-card-duration,
    .media-card-kind {
        right: 0.4rem;
        bottom: 0.4rem;
        padding: 0.18rem 0.4rem;
        font-size: 0.62rem;
    }

    .media-card-copy {
        padding: 0.65rem 0.55rem 0.7rem;
    }

    .media-card-copy strong {
        margin-bottom: 0.25rem;
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .media-card-copy small {
        font-size: 0.68rem;
        line-height: 1.3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-gallery-card,
    .media-card-visual img,
    .media-card-visual video,
    .media-card-play,
    .gallery-lightbox,
    .gallery-lightbox-dialog {
        transition: none;
    }
}

/* Content Slider Section */
.content-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: var(--bg-secondary);
}

.content-slider-wrapper.full-width {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.content-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.c-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .c-slide {
        flex-direction: row;
        height: 400px;
    }

    .content-slider-wrapper.full-width .c-slide {
        height: 600px;
    }
}

.c-slide-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .c-slide-img {
        width: 50%;
        height: auto;
    }
}

.c-slide-text {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-secondary);
}

@media (min-width: 768px) {
    .c-slide-text {
        width: 50%;
        padding: 3rem;
    }
}

.c-slide-text h3 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.content-slider-wrapper button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.content-slider-wrapper button:hover {
    background: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.c-prev {
    left: 10px;
}

.c-next {
    right: 10px;
}

.c-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.c-dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

/* Horarios Section - Interactive Cards */
.schedule-slider {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-interact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.schedule-dots {
    display: none;
}

.s-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.s-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

@media (min-width: 768px) {
    .s-card {
        flex-direction: row;
        height: 200px;
    }

    .s-card:hover {
        transform: translateX(20px);
    }
}

.s-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #09090d;
    transition: var(--transition);
}

.s-card-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.86) saturate(0.94);
    transition: filter 0.35s ease, transform 0.55s ease;
}

@media (min-width: 768px) {
    .s-card-img {
        width: 300px;
        height: auto;
    }
}

.s-card:hover .s-card-video {
    filter: brightness(1.04) saturate(1);
    transform: scale(1.025);
}

.s-time {
    background: rgba(10, 10, 10, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.s-time.mobile-only {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.s-time.desktop-only {
    display: none;
    margin-bottom: 0.5rem;
    background: transparent;
    padding: 0;
}

@media (min-width: 768px) {
    .s-time.mobile-only {
        display: none;
    }

    .s-time.desktop-only {
        display: inline-flex;
    }
}

.s-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.s-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.s-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.s-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .schedule-slider {
        position: relative;
        left: 50%;
        width: calc(100vw - 2rem);
        max-width: none;
        margin-left: calc(-50vw + 1rem);
        overflow: hidden;
    }

    .schedule-interact {
        flex-direction: row;
        gap: 0;
        transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform;
        touch-action: pan-y;
        user-select: none;
    }

    .s-card {
        flex: 0 0 100%;
        min-width: 100%;
        border-radius: 12px;
        cursor: grab;
    }

    .s-card:active {
        cursor: grabbing;
    }

    .s-card:hover {
        transform: none;
    }

    .s-card-img {
        height: 240px;
    }

    .s-card-content {
        min-height: 300px;
        padding: 2rem 1.5rem;
    }

    .schedule-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-top: 1.5rem;
    }

    .schedule-dot {
        width: 12px;
        height: 12px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: var(--transition);
    }

    .schedule-dot.active {
        background: var(--accent-primary);
        border-color: var(--accent-primary);
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
    }

    .schedule-dot:focus-visible {
        outline: 2px solid white;
        outline-offset: 4px;
    }
}

/* Eventos Section */
.home-event-dots {
    display: none;
}

.events-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .home-events-slider {
        position: relative;
        left: 50%;
        width: calc(100vw - 2rem);
        max-width: none;
        margin-left: calc(-50vw + 1rem);
        overflow: hidden;
    }

    .home-events-slider .events-container {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        margin-bottom: 0;
        transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform;
        touch-action: pan-y;
        user-select: none;
    }

    .home-events-slider .event-card {
        flex: 0 0 100%;
        min-width: 100%;
        cursor: grab;
    }

    .home-events-slider .event-card:active {
        cursor: grabbing;
    }

    .home-events-slider .event-card:hover {
        transform: none;
    }

    .home-event-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-top: 1.5rem;
    }

    .home-event-dot {
        width: 12px;
        height: 12px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: var(--transition);
    }

    .home-event-dot.active {
        background: var(--accent-primary);
        border-color: var(--accent-primary);
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
    }

    .home-event-dot:focus-visible {
        outline: 2px solid white;
        outline-offset: 4px;
    }
}

@media (min-width: 992px) {
    .events-container {
        grid-template-columns: 1fr 1fr;
    }
}

.event-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.event-poster {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.8s ease;
}

.event-card:hover .event-poster {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.event-date.highlight {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.2);
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.event-date.highlight .month {
    color: white;
}

.event-info {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    /* To cover scaled image overflow */
}

.event-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.event-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.tag-primary {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.tag-primary.highlight {
    background: var(--accent-primary);
    color: white;
}

.tag-secondary {
    background: var(--card-bg);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.event-info h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-location i {
    color: var(--accent-secondary);
}

.btn-reserve {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-reserve span {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.events-all {
    text-align: center;
    margin-top: 2rem;
}

/* Ad Banner Section */
.ad-banner {
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ad-banner h2 {
    font-size: 3rem;
    color: white;
}

.ad-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Precios Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--bg-secondary), #171120);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent-primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-card ul li {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-card ul li i {
    color: var(--accent-primary);
    margin-right: 10px;
}

.pricing-card ul li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-card ul li.disabled i {
    color: var(--text-muted);
}

.btn-whatsapp-plan {
    position: relative;
    isolation: isolate;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #25d366 0%, #16a56f 48%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-plan::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -70%;
    left: -35%;
    width: 32%;
    height: 240%;
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(24deg) translateX(-220%);
    transition: transform 0.65s ease;
}

.btn-whatsapp-plan:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, #34e477 0%, #20b779 48%, #149687 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.3);
    transform: translateY(-3px);
}

.btn-whatsapp-plan:hover::before {
    transform: rotate(24deg) translateX(620%);
}

.btn-whatsapp-plan i {
    font-size: 1.25rem;
}

.pricing-whatsapp-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.3;
}

.pricing-whatsapp-note i {
    color: #25d366;
}

/* Contacto Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.info-item h4 {
    margin-bottom: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.8);
}

.form-group select option {
    background: var(--bg-main);
    color: var(--text-main);
}

.contact-form .btn {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form .btn:disabled {
    opacity: 0.72;
    cursor: wait;
}

.form-status {
    min-height: 1.4rem;
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.form-status.is-success {
    color: #6ee7b7;
}

.form-status.is-error {
    color: #fca5a5;
}

/* Footer */
footer {
    background: #030303;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-img-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.creator {
    color: var(--accent-primary);
    font-weight: 600;
    margin-left: 10px;
}

/* Animations classes */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .nav-actions {
        display: none;
        /* Hide on small screens to fit menu */
    }
}

@media (max-width: 768px) {
    .nav-links.custom-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--bg-main) 0%, #17112c 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 4rem 2rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        gap: 1.5rem;
    }

    .nav-links.custom-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 3rem 5px !important;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .event-slider-container {
        padding: 2rem 0px !important;
    }

    .event-slide {
        padding: 0 10px !important;
    }

    .es-prev,
    .es-next {
        display: none !important;
    }

    .event-info {
        padding: 1.5rem 1rem;
    }

    .event-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .event-footer>div {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .event-footer .btn-more-info {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .event-footer .event-location {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

/* Pantalla de Precarga */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.loader-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-spinner {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    border-right-color: var(--accent-secondary);
    animation: spinLoader 1s ease-in-out infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.6));
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
    }
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .mobile-menu-header {
        display: block;
        margin-bottom: 2rem;
    }

    .mobile-menu-header img {
        height: 60px;
        width: auto;
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    }

    .mobile-menu-footer {
        display: flex;
        gap: 1.5rem;
        margin-top: auto;
        padding-top: 2rem;
    }

    .mobile-menu-footer a {
        color: var(--text-main);
        font-size: 1.5rem;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu-footer a:hover {
        color: var(--accent-primary);
        transform: translateY(-3px) scale(1.1);
    }

    /* Make nav links larger for mobile */
    .custom-links a {
        font-size: 1.2rem;
    }
}

/* Event Slider (Carousel) Styles */
.event-slider-container {
    position: relative;
    width: 100vw;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 2rem 80px;
    /* Margen horizontal más amplio para los botones */
}

/* Add padding wrapper to the track to ensure shadow visibility */
.event-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    padding: 1rem 0;
    /* Espacio para las sombras */
}

/* Contenedor invisible que ocupa el espacio del slider */
.event-slide {
    min-width: 100%;
    /* For mobile, 1 item per view */
    padding: 0 1.5rem;
    /* El espacio transparente entre tarjetas */
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .event-slide {
        min-width: 50%;
        /* 2 items per view on desktop exactly like index.html */
    }
}

/* La tarjeta real, que respeta el padding del slide y muestra sus bordes separados */
.event-slide .event-card {
    height: 100%;
}

.event-slider-container button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.event-slider-container button:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.1);
}

.es-prev {
    left: 5px;
}

.es-next {
    right: 5px;
}

/* Event Slider Dots */
.es-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.es-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.es-dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

/* Calendar Section Background */
#calendario-eventos {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)), url('../img/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
    /* Asegurar espaciado en la sección completa */
}

/* Calendar Styles */
.calendar-wrapper {
    background: rgba(20, 20, 25, 0.7);
    /* Fondo traslúcido para ver el fondo general */
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-main);
    text-transform: capitalize;
}

.calendar-header button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-header button:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    height: 90px;
    /* Reducción de la altura total en aprox 200px */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    position: relative;
    font-weight: 500;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

/* Efecto Neón siguiendo el ratón */
.calendar-day::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(139, 92, 246, 0.4),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.calendar-dates:hover .calendar-day:not(.empty)::before {
    opacity: 1;
}

.calendar-day>* {
    z-index: 1;
}

.calendar-day:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.05);
    /* Escala de interactividad */
    z-index: 2;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    /* Brillante borde neón en hover */
}

.calendar-day:active {
    transform: scale(0.95);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.today {
    border: 2px solid var(--accent-secondary);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.calendar-day.event-clase {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.calendar-day.event-clase::after {
    background: #3b82f6;
}

.calendar-day.event-intensivo {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.calendar-day.event-intensivo::after {
    background: #ef4444;
}

/* Red for Intensivos */

.calendar-day.event-convivencia {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.calendar-day.event-convivencia::after {
    background: #f97316;
}

/* Orange for Convivencias */

.calendar-day.event-congreso {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.calendar-day.event-congreso::after {
    background: #8b5cf6;
}

/* Purple for Congresos */

.calendar-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-clase {
    background: #3b82f6;
}

.legend-intensivo {
    background: #ef4444;
}

/* Red */
.legend-convivencia {
    background: #f97316;
}

/* Orange */
.legend-congreso {
    background: #8b5cf6;
}

/* Purple */

/* Event Modal Styles */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.event-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.event-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.event-modal-overlay.active .event-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.modal-event-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.modal-event-type.clase {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.modal-event-type.intensivo {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.modal-event-type.congreso {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.modal-event-type.fiesta {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.modal-date {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

body.modal-open {
    overflow: hidden;
}

/* Availability Modal */
.availability-modal-overlay {
    padding: 1rem;
    overflow-y: auto;
}

.availability-modal {
    width: min(860px, 100%);
    max-width: 860px;
    max-height: calc(100vh - 2rem);
    padding: 0;
    overflow-y: auto;
    border-color: rgba(139, 92, 246, 0.35);
    background:
        linear-gradient(145deg, rgba(139, 92, 246, 0.08), transparent 34%),
        var(--bg-secondary);
}

.availability-modal .modal-close {
    z-index: 3;
}

.availability-modal-header {
    padding: 2.5rem 4.5rem 1.75rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
    background: radial-gradient(circle at 90% 0%, rgba(59, 130, 246, 0.18), transparent 42%);
}

.availability-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.availability-modal-header h2 {
    max-width: 650px;
    margin-bottom: 0.85rem;
    font-size: 2.15rem;
}

.availability-modal-header p {
    max-width: 700px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.availability-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.5rem 2.5rem;
}

.availability-service {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.availability-service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.availability-service h3 {
    margin-bottom: 0.35rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.availability-service p {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.availability-details {
    margin: 0 2.5rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.06);
}

.availability-details h3 {
    margin-bottom: 0.9rem;
    font-size: 1.1rem;
}

.availability-details ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.25rem;
}

.availability-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.availability-details li i {
    margin-top: 0.25rem;
    color: var(--accent-secondary);
}

.availability-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2.5rem 2.25rem;
}

@media (max-width: 768px) {
    .availability-modal-overlay {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .availability-modal {
        max-height: calc(100vh - 1.5rem);
        border-radius: 14px;
    }

    .availability-modal-header {
        padding: 4rem 1.25rem 1.35rem;
    }

    .availability-modal-header h2 {
        font-size: 1.65rem;
    }

    .availability-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }

    .availability-service {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        min-width: 0;
        padding: 1rem 0.85rem;
    }

    .availability-service-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .availability-service h3 {
        margin-bottom: 0.3rem;
        font-size: 1rem;
    }

    .availability-service p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .availability-details {
        margin: 0 1.25rem;
    }

    .availability-details ul {
        grid-template-columns: 1fr;
    }

    .availability-modal-actions {
        flex-direction: column;
        padding: 1.25rem;
    }

    .availability-modal-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive adjust for event slider buttons */
@media (max-width: 768px) {
    .event-card .btn-reserve {
        display: none !important;
    }

    .event-card .event-footer {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .event-card .event-location {
        justify-content: flex-start;
        text-align: left;
        max-width: 100%;
    }

    .event-card .event-footer>div:last-child {
        display: block;
        width: 100% !important;
    }

    /* Event Modal Dynamic Descriptions */
    .modal-clase-desc {
        text-align: left;
        margin-top: 1rem;
    }

    .modal-clase-desc .highlight-text {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 1rem;
    }

    .modal-clase-desc p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .modal-clase-desc h4 {
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
        font-size: 1.05rem;
        color: var(--accent-secondary);
    }

    .schedule-list {
        margin-bottom: 1.5rem;
        padding-left: 0;
    }

    .schedule-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
        font-size: 0.95rem;
        color: var(--text-muted);
    }

    .schedule-list li strong {
        color: var(--text-main);
    }

    .color-dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .bg-orange {
        background-color: #f97316;
    }

    .bg-purple {
        background-color: #c084fc;
    }

    .bg-blue {
        background-color: #3b82f6;
    }

    .modal-clase-desc .footer-note {
        font-style: italic;
        color: #e2e8f0;
        font-size: 0.9rem;
        line-height: 1.5;
        background: rgba(139, 92, 246, 0.1);
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid var(--accent-primary);
        margin-bottom: 0;
    }

    .modal-location-footer {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-main);
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid var(--border-color);
    }

    .modal-location-footer i {
        color: #ef4444;
        font-size: 1.2rem;
    }

    .event-card .btn-more-info {
        display: flex;
        align-items: center;
        width: auto;
        text-align: center;
        padding: 0.8rem 1.5rem;
        width: 100% !important;
    }
}
