/* =============================================
   CIRCO LAS VEGAS - Stylesheet v2
   Inspired by circoberlin.com
   ============================================= */

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

:root {
    --gold: #FFD700;
    --gold-hover: #FFE44D;
    --red: #E63946;
    --red-hover: #FF4D5A;
    --blue: #0A1628;
    --blue-light: #1A2D4A;
    --dark: #080C14;
    --dark-card: #0F1923;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-400: #999;
    --gray-600: #666;

    --font-display: 'Arbutus', cursive;
    --font-body: 'Montserrat', sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(8, 12, 20, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav-left {
    justify-content: flex-start;
}

.header-nav-right {
    justify-content: flex-end;
    gap: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition);
    position: relative;
}

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

.header-nav a:hover {
    color: var(--gold);
}

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

.header-center {
    display: flex;
    justify-content: center;
}

.brand-logo {
    height: 70px;
    width: auto;
    transition: transform var(--transition);
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all var(--transition);
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-menu-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-nav a:hover {
    color: var(--gold);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #080C14;
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 20, 0.4) 0%,
        rgba(8, 12, 20, 0.6) 50%,
        rgba(8, 12, 20, 0.95) 100%
    );
}

/* Spotlight effects */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-spotlight::before,
.hero-spotlight::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 800px;
    border-radius: 50%;
    filter: blur(50px);
    animation: spotSweep 2.5s ease-in-out infinite alternate;
}

.hero-spotlight::before {
    top: -20%;
    left: 10%;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.6) 0%, rgba(255, 215, 0, 0.2) 40%, transparent 70%);
    animation-delay: 0s;
}

.hero-spotlight::after {
    top: -15%;
    right: 10%;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.5) 0%, rgba(230, 57, 70, 0.15) 40%, transparent 70%);
    animation-delay: -2.5s;
}

@keyframes spotSweep {
    0% { transform: translateX(-120px) rotate(-30deg); }
    100% { transform: translateX(120px) rotate(30deg); }
}

/* Light rays */
.hero-rays {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-rays::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    width: 4px;
    height: 200%;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.5), transparent 50%);
    transform-origin: top center;
    animation: rayRotate 4s linear infinite;
    filter: blur(3px);
}

.hero-rays::after {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    width: 4px;
    height: 200%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 40%);
    transform-origin: top center;
    animation: rayRotate 4s linear infinite reverse;
    filter: blur(2px);
}

@keyframes rayRotate {
    0% { transform: translateX(-50%) rotate(-35deg); }
    50% { transform: translateX(-50%) rotate(35deg); }
    100% { transform: translateX(-50%) rotate(-35deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 32px;
    max-width: 800px;
}

.hero-overline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.35s forwards;
    background: linear-gradient(135deg, var(--white) 0%, #ffd700 40%, var(--white) 60%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    text-wrap: balance;
}

.hero h1.animate-shimmer {
    animation: fadeUp 0.8s var(--ease) 0.35s forwards, shimmer 6s ease-in-out 1.2s infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.65s forwards;
}

.hero-cta:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
    padding: 80px 40px;
}

.section-dark {
    background: var(--dark);
}

.section-blue {
    background: var(--blue);
}

.section-center {
    text-align: center;
}

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

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    padding: 0 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    line-height: 1;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s var(--ease);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 16px;
    text-align: center;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 8px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 215, 0, 0.3);
    color: var(--gold);
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.about-text p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition);
}

.about-cta:hover {
    background: var(--gold);
    color: var(--dark);
}

/* =============================================
   EVENTS — iframe perfectamente visible (sin cartel)
   ============================================= */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    border-radius: 16px;
}

.event-card:hover {
    border-color: rgba(255, 215, 0, 0.18);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.event-body {
    padding: 32px 32px 0;
    display: flex;
    flex-direction: column;
}

.event-city {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    text-align: center;
}

.event-dates {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
}

.event-iframe-wrap {
    position: relative;
    width: calc(100% + 64px);
    margin-left: -32px;
    margin-right: -32px;
    margin-top: 8px;
    height: 920px;
    min-height: 720px;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 18px;
    box-sizing: border-box;
}

.event-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #fff;
    border-radius: 10px;
}

.event-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
}

.event-btn:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
}

.event-iframe-fallback {
    margin-top: 12px;
    text-align: center;
}

.event-iframe-fallback a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.event-iframe-fallback a:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* Iframe loader */
.iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    gap: 12px;
    transition: opacity 0.4s ease;
}

.iframe-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(230, 57, 70, 0.15);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.loader-text {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform var(--transition);
}

.faq-icon::before {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-main {
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer-copy strong {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .site-header {
        grid-template-columns: auto 1fr auto;
    }

    .header-center {
        justify-self: center;
    }

    .header-right {
        justify-content: flex-end;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 20px;
    }

    .gallery-item {
        aspect-ratio: 3/4;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
        height: 70px;
    }

    .brand-logo {
        height: 50px;
    }

    .section {
        padding: 60px 20px;
    }

    .hero {
        min-height: 100svh;
        align-items: flex-end;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 0.85rem;
    }

    .hero-scroll {
        display: none;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 0 16px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .event-body {
        padding: 24px 20px 0;
    }
    .event-iframe-wrap {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        height: 850px;
        min-height: 680px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .event-iframe-wrap {
        height: 820px;
        min-height: 650px;
        padding: 10px;
    }
}

/* =============================================
   LEGAL PAGES (Aviso legal, Privacidad, Cookies)
   ============================================= */
.legal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 40px;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-logo img {
    height: 48px;
    width: auto;
}

.legal-back {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition);
    white-space: nowrap;
}

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

.legal-main {
    padding: 80px 40px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 44px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 14px;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
    margin: 0 0 14px 22px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--white);
}

.legal-section a {
    color: var(--gold);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-footer {
    padding: 36px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.legal-footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 16px;
}

.legal-footer-nav a {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

.legal-footer-copy {
    font-size: 0.8rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .legal-header {
        padding: 16px 20px;
    }

    .legal-logo img {
        height: 40px;
    }

    .legal-main {
        padding: 50px 20px;
    }

    .legal-footer {
        padding: 28px 20px;
    }
}
