: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;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* 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;
}

/* 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;
}

/* Cursos Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

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

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

.course-info {
    padding: 2rem;
}

.course-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* 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-interact {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.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;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

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

.s-card:hover .s-card-img {
    filter: brightness(1.2);
}

.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;
}

.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;
}

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

@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);
}

/* 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%;
}

/* 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 0.4s ease;
}

.event-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.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;
}

/* 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;
    }
}