@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #030303;
    --card-bg: rgba(22, 22, 22, 0.7);
    --card-hover-bg: rgba(30, 30, 30, 0.9);
    --accent-color: #ff003c;
    --accent-dark: #cc0030;
    --accent-glow: rgba(255, 0, 60, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --swiper-theme-color: var(--accent-color);
}

html {
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

h1,
h2,
h3,
.stat-number,
.stat-number-small,
.btn,
.nav-links a,
.hero-label,
.contact-label,
.lang-btn {
    font-family: 'Hanken Grotesk', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #333 #0a0a0a;
}

/* Background Gradients - Subtle & Clean */
.bg-glow {
    position: fixed;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.08) 0%, transparent 60%);
    top: -30%;
    right: -20%;
    z-index: 5;
    /* Changed from -1 to 5 to be in front */
    pointer-events: none;
}

.bg-glow-2 {
    position: fixed;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.03) 0%, transparent 60%);
    bottom: -20%;
    left: -20%;
    z-index: 5;
    pointer-events: none;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-content img {
    width: 150px;
    animation: pulse-logo 2s infinite ease-in-out;
}

.loader-line {
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 4px;
    animation: load-line 2s ease-in-out forwards;
}

@keyframes pulse-logo {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes load-line {
    0% {
        width: 0%;
    }

    50% {
        width: 50%;
    }

    100% {
        width: 100%;
    }
}

/* Typography Refined */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 60px 0;
}

/* Navigation - Capsule Style */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1280px;
    z-index: 1000;
    padding: 0.35rem 0;
    /* Reducido de 0.5rem */
    border-radius: 16px;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    overflow: visible;
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    top: 15px;
    padding: 0.35rem 0;
    /* Reducido de 0.5rem */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    /* Reducido de 2rem */
}

.logo img {
    height: 32px;
    /* Reducido de 40px */
    width: auto;
    display: block;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    /* Reducido de 2.5rem */
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    /* Reducido de 0.95rem */
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.35rem;
    /* Reducido de 0.5rem */
}

@media (max-width: 1024px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-radius: 0 0 20px 20px;
        border: 1px solid var(--border-color);
        border-top: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Language Selector */
.lang-selector {
    position: relative;
    margin-left: 1rem;
    /* Reducido de 1.5rem */
}

.lang-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.4rem 0.8rem;
    /* Reducido */
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    /* Reducido de 0.9rem */
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    list-style: none;
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-selector.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li {
    padding: 0.5rem 0.8rem;
    /* Reducido de 0.6rem 1rem */
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    /* Reducido de 0.9rem */
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-menu li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.lang-menu li.active {
    color: var(--accent-color);
    font-weight: 700;
}

.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

/* Header Specific Button - Removed/Updated */

/* Buttons - Sharp & Professional */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    /* Slightly rounded */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section Refined */
.hero {
    min-height: 70vh;
    /* Reduced for a more compact hero */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #030303;
    padding-top: 100px;
    padding-bottom: 0;
    /* Removed space below */
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.45;
    /* Reducido para oscurecer un poco */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(3, 3, 3, 0.9) 0%,
            /* Más oscuro para contraste */
            rgba(3, 3, 3, 0.7) 40%,
            /* Más oscuro para contraste */
            rgba(3, 3, 3, 0.3) 100%);
    /* Más presencia de sombra */
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to top, #030303 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Grid Layout */
.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left Content Styles */
.hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.hero-label,
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255, 0, 60, 0.2);
    background: rgba(255, 0, 60, 0.05);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pulse-dot {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

.ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background-color: var(--accent-color);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Typography */
.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(30px) skewY(2deg);
    animation: revealText 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .highlight {
    animation-delay: 0.6s;
    position: relative;
    display: inline-block;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
    animation: revealText 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards,
        glowPulse 3s ease-in-out infinite;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 15px rgba(255, 0, 60, 0.3), 0 0 30px rgba(255, 0, 60, 0.1);
    }

    50% {
        text-shadow: 0 0 30px rgba(255, 0, 60, 0.6), 0 0 50px rgba(255, 0, 60, 0.2);
        transform: scale(1.02);
    }
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 35rem;
    font-weight: 300;
}

.text-white {
    color: #fff;
}

.font-semibold {
    font-weight: 600;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.hero-btn-main {
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    background: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 0, 60, 0.3);
}

.hero-btn-sec {
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: var(--transition);
}

.hero-btn-sec:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

/* Right Slider Styles (Swiper) */
.hero-slider-right {
    width: 100%;
    max-width: 700px;
    /* Increased from 600px */
    margin-left: auto;
    perspective: 1200px;
}

.swiper {
    width: 450px;
    height: 600px;
    --swiper-theme-color: var(--accent-color);
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: 0.2;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 4rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-content-left {
        align-items: center;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-slider-right {
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .swiper {
        width: 400px;
        height: 540px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-btn-main,
    .hero-btn-sec {
        width: 100%;
        text-align: center;
    }

    .swiper {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .swiper {
        width: 260px;
        height: 350px;
    }
}

/* Section Titles */
.section-title {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Event Cards - Professional Grid */
.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.event-card {
    flex: 1 1 300px;
    /* Responsive flexible width */
    max-width: 400px;
    /* Prevent excessive stretching */
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    background: var(--card-hover-bg);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.event-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #0a0a0a;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.event-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.event-location i {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Bento Grid - Structured Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-item {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(15, 15, 15, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    min-height: 300px;
    position: relative;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(20, 20, 20, 1));
}

.bento-large {
    grid-column: span 2;
}

.bento-small {
    grid-column: span 1;
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.stat-number-small {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--accent-color), #ff5e83);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer Styles (can reuse event card style wrapper if needed, or simple) */

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    /* Info, Schedule, Image */
    gap: 2rem;
    align-items: stretch;
}

/* New Image Visual */
.contact-image-wrapper {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: var(--transition);
}

.contact-image-wrapper:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
}

.contact-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-value a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--accent-color);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 1rem;
}

.day {
    color: var(--text-secondary);
    text-transform: lowercase;
    font-weight: 500;
}

.time {
    color: #fff;
}

.time.closed {
    color: var(--accent-color);
}

.current-day {
    color: var(--accent-color);
    font-weight: 700;
}

/* Desktop Bento Grid Configuration - Restored */
.bento-1 {
    grid-column: span 1;
}

.bento-2 {
    grid-column: span 1;
}

.bento-3 {
    grid-column: span 1;
}

.bento-4 {
    grid-column: span 3;
}

/* Full width below */

/* Footer */
.main-footer {
    background: #000;
    padding: 50px 0 25px;
    /* Reducido de 80px 0 30px */
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    /* Reducido de 4rem */
    margin-bottom: 40px;
    /* Reducido de 60px */
}

.footer-brand .footer-logo {
    height: 35px;
    /* Reducido de 40px */
    margin-bottom: 1rem;
    /* Reducido de 1.5rem */
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    color: #fff;
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 60, 0.3);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    /* Reducido de 1.1rem */
    font-weight: 700;
    margin-bottom: 1.25rem;
    /* Reducido de 2rem */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-item i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.footer-contact-item div {
    display: flex;
    flex-direction: column;
}

.footer-contact-item span:first-child {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-contact-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Event Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.modal-image {
    width: 80%;
    /* Reducido para que no sea tan gigante en escritorio */
    margin: 0 auto 1.5rem;
    /* Centrado horizontal */
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    /* Bordes redondeados añadidos */
}

.modal-date {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.modal h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.modal-location {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Google Maps Button */
.btn-map-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.btn-map-small:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    border: 1px solid #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    gap: 0.5rem;
    cursor: pointer;
}

.wa-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.btn-whatsapp:hover {
    background: #1ebc57;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

/* --- Media Queries Consilidadas --- */

/* Tablets y Desktop Pequeño */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 30px;
    }

    section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 4.8rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content-left {
        align-items: center;
    }

    .hero-desc {
        text-align: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slider-right {
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .swiper {
        width: 400px;
        height: 540px;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-4 {
        grid-column: span 3;
    }

    #servicios .events-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    #servicios .event-card {
        max-width: none;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 30px 0;
    }

    .logo img {
        height: 30px;
        /* Reducido de 40px */
    }

    .hero {
        height: auto;
        min-height: 85vh;
        padding-top: 90px;
        /* Reducido de 110px */
        padding-bottom: 60px;
    }

    .hero-video-bg iframe {
        top: 30%;
        opacity: 0.4;
        /* Video aún más oscuro */
    }

    .hero-overlay {
        background: linear-gradient(to bottom,
                rgba(3, 3, 3, 0.8) 0%,
                rgba(3, 3, 3, 0.4) 50%,
                rgba(3, 3, 3, 0.2) 100%);
        z-index: 1;
    }

    .hero-overlay::after {
        content: '';
        position: absolute;
        bottom: -1px;
        /* Solapamiento de 1px para evitar líneas claras */
        left: 0;
        width: 100%;
        height: 18rem;
        /* Fade más alto y marcado */
        background: linear-gradient(to top,
                #030303 0%,
                #030303 30%,
                transparent 100%);
        display: block;
        z-index: 2;
        pointer-events: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 0.25rem;
        /* Casi eliminado */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-label {
        font-size: 0.6rem;
        padding: 0.2rem 0.6rem;
        letter-spacing: 0.12em;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        gap: 0.6rem;
        margin-top: 0.25rem;
        /* Casi eliminado */
    }

    .hero-btn-main,
    .hero-btn-sec {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1.25rem;
        /* Más compacto */
        font-size: 0.8rem;
        /* Reducido de 0.85rem */
    }

    .swiper {
        width: 300px;
        height: 400px;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .bento-item {
        padding: 2rem;
        min-height: auto;
        grid-column: span 1 !important;
    }

    .bento-1,
    .bento-2,
    .bento-3,
    .bento-4 {
        grid-column: span 1 !important;
        height: auto;
    }

    #servicios .events-grid {
        display: flex;
        flex-direction: column;
        /* Una debajo de otra */
        gap: 1.5rem;
        width: 100%;
        align-items: center;
    }

    #servicios .event-card {
        width: 100%;
        max-width: 100%;
        flex: none;
        text-align: center;
    }

    .event-image {
        aspect-ratio: 4/3;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-image-wrapper {
        height: 300px;
        order: -1;
    }

    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        max-height: 90vh;
        /* Un poco más alto */
        overflow-y: auto;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 2.5rem 1.25rem 1.5rem;
        /* Padding optimizado */
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 30px 30px 0 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.08);
        z-index: 10;
    }

    .modal-image {
        width: 75%;
        /* Reducido de 90% */
        margin: 0 auto 1.25rem;
        /* Centrado horizontal */
        height: auto;
        /* Altura automática para que se adapte al flyer */
        background: transparent;
        /* Quitamos el fondo negro para que no se vea el "cuadro" si la foto es irregular */
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .modal-image img {
        width: 100%;
        height: auto;
        /* La imagen dicta la altura */
        display: block;
        object-fit: initial;
        border-radius: 16px;
        /* Curva aplicada directamente a la imagen */
    }

    .modal h3 {
        font-size: 1.6rem;
        /* Tamaño más adecuado para móvil */
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .modal-date {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .modal-location {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        justify-content: center;
    }

    .modal-description {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        /* Centrado en móvil para mejor balance */
        padding: 0 0.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .modal-actions .btn-primary,
    .modal-actions .btn-whatsapp {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .btn-map-small {
        margin-bottom: 1.25rem;
        padding: 0.35rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .swiper {
        width: 260px;
        height: 350px;
    }

    .stat-number {
        font-size: 3.5rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float .wa-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Convierte el icono negro en blanco */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}