/* ============================================================
   TULUM CHAMPIONSHIP - Events Landing
   ============================================================ */

:root {
    --color-emerald: #0B3D2E;
    --color-emerald-light: #145A43;
    --color-gold: #C9A84C;
    --color-gold-light: #E4C76B;
    --color-cream: #FAF7F2;
    --color-cream-dark: #F0EBE3;
    --color-charcoal: #1A1A1A;
    --color-stone: #6B6560;
    --color-white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---- Typography ---- */
h1, h2, h3, h4, .font-display { font-family: var(--font-display); }

.heading-xl {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.heading-lg {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
}

.body-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-stone);
}

.label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(11, 61, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

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

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--color-white); }
.nav-links a:hover::after { width: 100%; }

.nav-lang {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-lang button {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.6);
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.nav-lang button.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-charcoal);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-emerald);
    overflow: hidden;
}

/* Hero background
   --hero-bg-size controla el ajuste de la imagen:
       auto 100%  -> se ajusta a la ALTURA (recorta por los lados)  [DEFECTO]
       100% auto  -> se ajusta al ANCHO
       cover      -> cubre todo el area (comportamiento anterior)
       contain    -> imagen completa, sin recorte
   app.js sobrescribe estos valores con site.images.hero.fit / fit-mobile */
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-emerald);
    background-image:
        linear-gradient(135deg, rgba(11,61,46,0.92) 0%, rgba(20,90,67,0.7) 50%, rgba(11,61,46,0.85) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center center, var(--hero-bg-position, center center);
    background-size: auto, var(--hero-bg-size, auto 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background: radial-gradient(ellipse at 30% 80%, rgba(201,168,76,0.08) 0%, transparent 60%);*/
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: heroFadeIn 1.5s var(--ease-out-expo) forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    /*border: 1px solid rgba(201,168,76,0.4);*/
    border-radius: 100px;
    margin-bottom: 2.5rem;
    animation: heroFadeIn 1.5s 0.2s var(--ease-out-expo) both;
}

.hero-badge span {
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1rem;
    animation: heroFadeIn 1.5s 0.3s var(--ease-out-expo) both;
}

.hero-title em {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 300;
}

.hero-date {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: heroFadeIn 1.5s 0.5s var(--ease-out-expo) both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--color-gold);
    color: var(--color-emerald);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    animation: heroFadeIn 1.5s 0.7s var(--ease-out-expo) both;
}

.hero-cta:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201,168,76,0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    animation: float 3s ease-in-out infinite;
}

.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.2em; }

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

/* ---- Sections ---- */
.section { padding: 8rem 2rem; }

.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ---- About ---- */
.about { background: var(--color-cream); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image { position: relative; }

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    border-radius: 2px;
    z-index: -1;
}

.about-label {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

/* ---- Countdown ---- */
.countdown {
    background: var(--color-emerald);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 50%);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
    min-width: 5.5rem;
}

.countdown-number {
    font-family: var(--font-body);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.countdown-label {
    color: var(--color-gold);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.countdown-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    align-self: center;
}

/* ---- Program ---- */
.program { background: var(--color-white); }

.program-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.program-nav { list-style: none; }

.program-nav li {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-stone);
    border-left: 2px solid transparent;
    transition: all 0.3s;
}

.program-nav li:hover { color: var(--color-charcoal); }

.program-nav li.active {
    color: var(--color-emerald);
    border-left-color: var(--color-gold);
    background: rgba(201,168,76,0.05);
}

.program-card {
    background: var(--color-cream);
    border-radius: 4px;
    overflow: hidden;
}

.program-card-header {
    background: var(--color-emerald);
    color: var(--color-white);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.program-card-header:hover {
    background: var(--color-emerald-light);
}

.program-card-header h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
}

.program-card-header .date-badge {
    color: var(--color-gold);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
}

.program-card-body {
    padding: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo);
    padding-top: 0;
    padding-bottom: 0;
}

.program-card.active .program-card-body {
    max-height: 300px;
    padding: 2rem;
}

.program-card-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out-expo);
    opacity: 0.6;
}

.program-card.active .program-card-chevron {
    transform: rotate(180deg);
}

/* ---- Pro-Am ---- */
.proam { background: var(--color-cream); }

.proam-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.proam-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.proam-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2px;
}

.proam-images img:first-child {
    grid-column: 1 / -1;
    height: 300px;
}

/* ---- Sponsor CTA (espejo de Pro-Am: texto a la izquierda, imagenes a la derecha) ---- */
.sponsor-cta { background: var(--color-emerald); }

.sponsor-cta .body-text { color: rgba(255,255,255,0.7); }
.sponsor-cta .label { color: var(--color-gold); }
.sponsor-cta .heading-lg { color: var(--color-white); }
.sponsor-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.sponsor-cta-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sponsor-cta-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2px;
}

.sponsor-cta-images img:first-child {
    grid-column: 1 / -1;
    height: 300px;
}

/* ---- Sponsors ---- */
.sponsors {
    background: var(--color-white);
    padding: 5rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 4rem;
}

.sponsors-grid img {
    height: 40px;
    opacity: 0.4;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.sponsors-grid img:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* -- Bloques: sponsors principales + sponsors -- */
.sponsors-block[hidden] { display: none; }

.sponsors-label {
    text-align: center;
    color: var(--color-stone);
    margin-bottom: 2.5rem;
}

.sponsors-block + .sponsors-block {
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Sponsors principales: mas grandes, a color y con mas aire */
.sponsors-grid--main {
    gap: 2.5rem 5rem;
}

.sponsors-grid--main img {
    height: 72px;
    opacity: 0.85;
    filter: grayscale(0%);
}

.sponsors-grid--main img:hover {
    opacity: 1;
}

/* ---- Venue ---- */
.venue { background: var(--color-cream-dark); }

.venue-hero {
    position: relative;
    height: 450px;
    margin-bottom: 4rem;
    border-radius: 4px;
    overflow: hidden;
}

.venue-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.venue-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,61,46,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.venue-hero-overlay h2 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 2.5rem;
}

.venue-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ---- Experience ---- */
.experience { background: var(--color-white); }

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.experience-card {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.experience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.4s;
}

.experience-card:hover .experience-card-overlay {
    background: linear-gradient(to top, rgba(11,61,46,0.9) 0%, rgba(11,61,46,0.2) 60%);
}

.experience-card-overlay h4 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.experience-card-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ---- Destination ---- */
.destination {
    background: var(--color-emerald);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.destination::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.04) 0%, transparent 70%);
}

.destination-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.destination-text .body-text { color: rgba(255,255,255,0.7); }
.destination-text .label { color: var(--color-gold); }

.destination-image {
    border-radius: 4px;
    overflow: hidden;
    height: 500px;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Tickets ---- */
.tickets { background: var(--color-cream); }

.tickets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}

.ticket-card {
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.ticket-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.ticket-card-image {
    height: 220px;
    overflow: hidden;
}

.ticket-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.ticket-card-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ticket-card-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.ticket-card-features {
    list-style: none;
    margin: 1.5rem 0;
    flex: 1;
}

.ticket-card-features li {
    padding: 0.5rem 0;
    font-size: 0.82rem;
    color: var(--color-stone);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding-left: 1.2rem;
    position: relative;
}

.ticket-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.ticket-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
}

.ticket-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-emerald);
}

.ticket-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-stone);
    display: block;
    font-family: var(--font-body);
}

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: var(--color-emerald);
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--color-emerald-light);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--color-emerald);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1.5px solid var(--color-emerald);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-body);
}

.btn-outline:hover {
    background: var(--color-emerald);
    color: var(--color-white);
}
.btn-white{
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1.5px solid var(--color-cream);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-body);
}

.btn-white:hover {
    background: var(--color-cream);
    color: var(--color-emerald);
}
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: var(--color-gold);
    color: var(--color-emerald);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-body);
}

.btn-gold:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}

/* ---- App Section ---- */
.app-section { background: var(--color-white); }

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.app-mockup { display: flex; justify-content: center; }

.app-mockup-frame {
    width: 280px;
    height: 560px;
    background: var(--color-charcoal);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.app-mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-emerald) 0%, var(--color-emerald-light) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-align: center;
    padding: 2rem;
}

/* ---- Footer ---- */
.footer {
    background: var(--color-charcoal);
    color: rgba(255,255,255,0.6);
    padding: 5rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--color-white); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s;
}

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

/* ---- Decorative ---- */
.gold-line {
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin-bottom: 2rem;
}

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

.section-header .label {
    display: block;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

/* ---- Hamburger Button ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.85);
    transform-origin: center;
    transition: transform 0.45s var(--ease-out-expo), opacity 0.3s, width 0.35s var(--ease-out-expo);
}

.nav-hamburger span:nth-child(3) {
    width: 60%;
    margin-left: auto;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 100%;
}

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

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 100%;
}

/* ---- Mobile Menu Overlay ---- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.65s var(--ease-out-expo);
    display: none;
}

.mobile-menu.open {
    pointer-events: all;
    clip-path: inset(0 0 0% 0);
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: var(--color-emerald);
    background-image:
        radial-gradient(ellipse at 88% 12%, rgba(201,168,76,0.10) 0%, transparent 52%),
        radial-gradient(ellipse at 8% 88%, rgba(20,90,67,0.55) 0%, transparent 48%);
}

/* Grain texture */
.mobile-menu-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Vertical gold accent line */
.mobile-menu-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 3rem;
    width: 1px;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.22) 40%, rgba(201,168,76,0.08) 100%);
}

.mobile-menu-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 7rem 2.5rem 3rem;
    justify-content: space-between;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu-item {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    text-decoration: none;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.35s var(--ease-out-expo), opacity 0.3s;
}

.mobile-menu-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.45s var(--ease-out-expo);
}

.mobile-menu-item:hover::after { width: 100%; }

.mobile-menu-item:hover .mobile-menu-label {
    transform: translateX(8px);
    color: var(--color-cream);
}

/* Items animate in when menu opens */
.mobile-menu.open .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s var(--ease-out-expo), opacity 0.55s;
    transition-delay: var(--menu-delay, 0.14s);
}

.mobile-menu-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--color-gold);
    opacity: 0.55;
    min-width: 22px;
    line-height: 1;
    letter-spacing: 0.06em;
    flex-shrink: 0;
    padding-bottom: 0.2em;
}

.mobile-menu-label {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 9.5vw, 3.4rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: -0.015em;
    line-height: 1;
    transition: transform 0.35s var(--ease-out-expo), color 0.3s;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s 0.15s, transform 0.45s 0.15s var(--ease-out-expo);
}

.mobile-menu.open .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.46s;
}

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mobile-menu-lang button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.45);
    padding: 0.4rem 0.9rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.mobile-menu-lang button.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-charcoal);
}

.mobile-menu-lang-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.mobile-menu-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
    .about-grid,
    .proam-grid,
    .sponsor-cta-grid,
    .destination-grid,
    .experience-grid,
    .tickets-grid,
    .app-grid { grid-template-columns: 1fr; gap: 3rem; }
    .program-nav { display: none; }  
    .program-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-lang { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-menu { display: block; }
    .section { padding: 5rem 1.5rem; }
    .countdown-grid { gap: 2rem; }
}

@media (max-width: 600px) {
    .sponsors-grid--main { gap: 2rem 3rem; }
    .sponsors-grid--main img { height: 52px; }
    .sponsors-block + .sponsors-block { margin-top: 2.5rem; padding-top: 2.5rem; }
    .countdown-grid { gap: 1.5rem; flex-wrap: wrap; }
    .countdown-divider { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .tickets-grid { grid-template-columns: 1fr; }
}

.hero-content--hidden {
  display: none !important;
}

/* Cuando el contenido del hero está oculto, centramos verticalmente
   el indicador de scroll para que no quede descolgado */
.hero:has(.hero-content--hidden) .hero-scroll {
  bottom: 4rem;
}
