/* ========================
   RESET & BASE STYLES
   ======================== */

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

:root {
    /* Brand Colors - Vibrant Latin Theme */
    --primary-color: #E63946;      /* Passionate Red */
    --secondary-color: #F77F00;    /* Warm Orange */
    --accent-color: #D62828;       /* Deep Red */
    --gold-color: #FFB703;         /* Gold */

    /* Neutral Colors */
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --gray: #6B7280;
    --light-gray: #E5E7EB;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    --gradient-secondary: linear-gradient(135deg, #F77F00 0%, #FFB703 100%);
    --gradient-hero: linear-gradient(135deg, rgba(230, 57, 70, 0.95) 0%, rgba(214, 40, 40, 0.95) 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================
   NAVIGATION
   ======================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    overflow: visible;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-brand .logo {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
    position: relative;
    top: 60px;
    margin-top: -60px;
    flex-shrink: 0;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-brand h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    overflow: hidden;
    margin-top: 70px;
}

.hero::after {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 127, 0, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-gray);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.brand-name {
    display: block;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-gray);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--light-gray);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================
   BUTTONS
   ======================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta .btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark);
    border: none;
    font-weight: 700;
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ========================
   SECTION HEADERS
   ======================== */

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ========================
   BENEFITS SECTION
   ======================== */

.benefits {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
    z-index: 1;
}

.benefits::before {
    display: none;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

.benefits .section-title {
    color: var(--dark);
}

.benefits .section-subtitle {
    color: var(--gray);
}

.benefits .benefit-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    backdrop-filter: none;
}

.benefits .benefit-title {
    color: var(--dark);
}

.benefits .benefit-description {
    color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================
   SOCIAL PROOF SECTION
   ======================== */

.social-proof {
    padding: 2rem 0;
    background: var(--white);
    text-align: center;
}

.social-proof .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.social-proof .section-title::after {
    margin-top: 0.4rem;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.2rem;
}

.logo-item img {
    max-height: 55px;
    max-width: 140px;
    object-fit: contain;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.logo-item:hover {
    transform: scale(1.05);
}

/* ========================
   PRICING SECTION
   ======================== */

.pricing {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--gray);
    margin-left: 0.5rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--dark);
    font-size: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ========================
   SCHEDULE SECTION
   ======================== */

/* ── Directions Section ─────────────────────────────── */
.directions-section {
    padding: var(--section-padding);
    background: var(--white);
}

.directions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.directions-column {
    background: var(--light);
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem;
    border-top: 4px solid var(--primary);
}

.directions-column-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.directions-icon {
    color: var(--primary);
    font-size: 1.3rem;
}

.directions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.direction-item {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
}

.direction-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.direction-detail {
    color: var(--gray);
    font-size: 0.8rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .schedule-carousel {
        gap: 0;
    }

    .schedule-nav {
        display: none !important;
    }

    .schedule-track-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-day {
        min-width: calc(100vw - 3rem);
        max-width: calc(100vw - 3rem);
    }
}

.directions-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto;
}

.directions-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    background: var(--white);
}

.directions-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

.directions-toggle:hover {
    background: rgba(230, 57, 70, 0.04);
}

.directions-toggle[aria-expanded="true"] {
    border-bottom: 1px solid var(--light-gray);
    color: var(--primary-color);
}

.directions-chevron {
    width: 20px;
    height: 20px;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gray);
}

.directions-toggle[aria-expanded="true"] .directions-chevron {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.directions-toggle .directions-icon {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.directions-item .directions-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.5rem 1rem;
}

.directions-item .directions-list.open {
    display: flex;
}

.directions-item .direction-item {
    border-left: none;
    background: none;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-gray);
    border-radius: 0;
    gap: 0.5rem;
}

.directions-item .direction-item:last-child {
    border-bottom: none;
}

.schedule-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #F3F4F6 0%, #F9FAFB 100%);
}

.schedule-section .container {
    position: relative;
    z-index: 1;
}

.schedule-carousel {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 3rem;
}


.schedule-track-wrap {
    overflow: hidden;
    flex: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.schedule-track-wrap:active {
    cursor: grabbing;
}

.schedule-track-wrap.dragging {
    cursor: grabbing;
}

.schedule-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.35s ease;
    will-change: transform;
}

.schedule-nav {
    flex-shrink: 0;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 5rem;
}

.schedule-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

.schedule-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.schedule-day {
    background: var(--white);
    padding: 2rem;
    min-width: 280px;
    flex-shrink: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.day-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
}

.schedule-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: var(--light-gray);
    border-radius: 10px;
    align-items: center;
    transition: var(--transition);
}

.schedule-item:hover {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(247, 127, 0, 0.1) 100%);
    transform: translateX(5px);
}

.schedule-item.highlight {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(247, 127, 0, 0.15) 100%);
    border: 2px solid var(--primary-color);
}

.schedule-item.party {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.schedule-item.party .time,
.schedule-item.party .dance-name,
.schedule-item.party .level {
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    white-space: nowrap;
}

.dance-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.level {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: right;
    white-space: nowrap;
}

/* ========================
   CTA SECTION
   ======================== */

.cta {
    padding: var(--section-padding);   background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta::after {
    display: none;
    background: var(--gradient-secondary);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    color: var(--white);
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1.5rem;
}

.cta-form button {
    width: 100%;
    background: var(--white);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-form button:hover {
    background: var(--light-gray);
}

.form-note {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--dark);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col:first-child {
    grid-column: span 1;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

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

.social-links svg {
    width: 22px;
    height: 22px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contacts li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contacts svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold-color);
}

.footer-contacts a:hover {
    color: var(--gold-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-legal {
    font-size: 0.9rem;
}

.footer-legal:hover {
    color: var(--gold-color);
}

.footer-dev {
    position: relative;
}

.footer-dev:hover {
    color: var(--gold-color);
}

/* ========================
   ANIMATIONS
   ======================== */

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }

    .hero-stats .stat:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        grid-template-columns: auto 1fr;
        gap: 0.8rem;
    }

    .dance-name {
        white-space: normal;
        word-break: break-word;
    }

    .level {
        grid-column: 2;
        text-align: left;
        margin-top: 0.3rem;
        font-size: 0.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-form {
        padding: 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header {
        margin-bottom: 2.5rem;
    }

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .gallery-tabs {
        width: 100%;
        justify-content: flex-start;
    }

    .gallery-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h2 {
        font-size: 1.4rem;
    }

    .nav-brand .logo {
        height: 60px;
        width: 60px;
        top: 30px;
        margin-top: -30px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .brand-name {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 3rem;
    }
}

/* ========================
   ACCESSIBILITY
   ======================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
/* ========================
   LIGHTBOX
   ======================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ========================
   GALLERY SECTION
   ======================== */

.gallery-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
}

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

.gallery-nav {
    display: flex;
    gap: 0.5rem;
}

.gallery-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--light-gray);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.gallery-arrow:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

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

.gallery-header .section-title {
    margin-bottom: 0;
}

.gallery-tabs {
    display: flex;
    gap: 1rem;
    margin: 0;
}

.gallery-tab {
    padding: 0.7rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--light-gray);
    background: transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab.active,
.gallery-tab:hover {
    background: var(--gradient-secondary);
    border-color: transparent;
    color: var(--dark);
}

.gallery-pane {
    display: none !important;
}

.gallery-pane.active {
    display: flex !important;
}

.logo-item {
    cursor: pointer;
}

/* ========================
   GALLERY SECTION
   ======================== */

.gallery-section {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    padding-bottom: 1rem;
    padding-right: 4rem;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid:active {
    cursor: grabbing;
}

.gallery-grid::-webkit-scrollbar {
    height: 4px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 2px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 2px;
}

.gallery-grid {
    scrollbar-width: thin;
    scrollbar-color: #E63946 var(--light-gray);
}

.gallery-item {
    flex: 0 0 280px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 3/4;
    scroll-snap-align: start;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
