/* ============================================================
   LA PERLA — Landing pública
   Paleta (4 colores): Verde Esmeralda #0B3F36 · Negro #0E0E0E
                       Dorado #C9A227 · Blanco #F5F5F5
   Tipografía: Fraunces (display) + DM Sans (cuerpo)
   ============================================================ */

:root {
    --noir: #0E0E0E;
    --noir-soft: #151513;
    --noir-card: #171715;
    --emerald: #0B3F36;
    --emerald-deep: #062820;
    --emerald-black: #04160f;
    --gold: #C9A227;
    --gold-light: #E6C767;
    --gold-dim: rgba(201, 162, 39, 0.32);
    --gold-faint: rgba(201, 162, 39, 0.14);
    --gold-deep: #8A6D15; /* dorado accesible sobre canvas claro (>=4.5:1 en ivory) */
    --ivory: #F5F5F5;
    --ivory-72: rgba(245, 245, 245, 0.72);
    --ivory-55: rgba(245, 245, 245, 0.55);
    --ivory-10: rgba(245, 245, 245, 0.10);
    --ink: #10201b;
    --ink-soft: rgba(16, 32, 27, 0.66);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --section-pad: clamp(84px, 11vw, 148px);
    --gutter: clamp(20px, 5vw, 64px);
    --radius: 18px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--noir);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: var(--gold); color: var(--noir); }

/* ---------- Accesibilidad: skip-link y foco visible ---------- */
.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 300;
    padding: 12px 22px;
    background: var(--gold);
    color: var(--noir);
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 13px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Sobre canvas claro el anillo dorado pierde contraste: usar esmeralda */
.allies a:focus-visible,
.reserve a:focus-visible,
.location a:focus-visible,
.location button:focus-visible {
    outline-color: var(--emerald);
}

/* Dentro de la tarjeta esmeralda el anillo vuelve a ser dorado claro */
.reserve-card input:focus-visible,
.reserve-card select:focus-visible,
.reserve-card button:focus-visible {
    outline-color: var(--gold-light);
}

/* Grano fílmico sobre toda la página */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 2000;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
    width: min(1200px, 100% - var(--gutter) * 2);
    margin-inline: auto;
}

section { position: relative; }
section[id] { scroll-margin-top: 70px; }

/* ---------- Utilidades tipográficas ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--gold);
}

/* la "perla": punto nacarado que acompaña cada kicker */
.kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    background: radial-gradient(circle at 32% 30%, #fff 0%, var(--gold-light) 38%, var(--gold) 72%, #7a621a 100%);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.55);
}

.display {
    font-family: var(--font-display);
    font-weight: 420;
    line-height: 1.06;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.display em {
    font-style: italic;
    font-weight: 380;
    color: var(--gold);
}

h2.display { font-size: clamp(2.1rem, 5vw, 3.4rem); }

.lede {
    font-size: clamp(1.02rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    color: var(--ivory-72);
    max-width: 56ch;
}

.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .kicker { margin-bottom: 18px; }
.section-head .lede { margin-top: 20px; }

.section-num {
    position: absolute;
    top: clamp(30px, 5vw, 60px);
    right: var(--gutter);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-dim);
    user-select: none;
    pointer-events: none;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 130%);
    color: var(--noir);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.22);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(201, 162, 39, 0.38);
}

.btn-line {
    border: 1px solid var(--gold-dim);
    color: var(--ivory);
    background: rgba(245, 245, 245, 0.02);
}
.btn-line:hover {
    border-color: var(--gold);
    background: var(--gold-faint);
    transform: translateY(-3px);
}

.btn-ghost {
    padding: 15px 8px;
    color: var(--ivory-72);
    border-radius: 0;
    border-bottom: 1px solid transparent;
}
.btn-ghost:hover { color: var(--gold-light); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(14, 14, 14, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(201, 162, 39, 0.16);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 70px;
}

.nav-brand img { height: 60px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 34px);
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ivory-72);
    padding: 6px 0;
    position: relative;
    transition: color 0.25s;
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--gold-dim);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.nav-cta svg { width: 15px; height: 15px; }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--noir); }

/* Hamburguesa */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    align-items: center;
    z-index: 210;
}
.nav-burger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--ivory);
    transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menú mobile a pantalla completa */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px var(--gutter) 48px;
    background:
        radial-gradient(90% 70% at 80% 10%, rgba(11, 63, 54, 0.55) 0%, transparent 60%),
        radial-gradient(70% 60% at 10% 90%, rgba(201, 162, 39, 0.10) 0%, transparent 55%),
        var(--noir);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu a.mm-link {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    font-weight: 400;
    padding: 10px 0;
    color: var(--ivory);
    display: flex;
    align-items: baseline;
    gap: 16px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.25s;
    transition-delay: var(--d, 0s);
}
.mobile-menu.open a.mm-link { opacity: 1; transform: none; }
.mobile-menu a.mm-link:hover { color: var(--gold-light); }
.mobile-menu a.mm-link small {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.mobile-menu .mm-foot {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 18px;
}

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

/* Capa de video (si existe el archivo) */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: brightness(0.5) saturate(0.9);
}

/* Escena atmosférica CSS (respaldo del video y base siempre presente) */
.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(180deg, rgba(14, 14, 14, 0.55) 0%, rgba(14, 14, 14, 0.35) 45%, var(--noir) 100%),
        url('https://images.unsplash.com/photo-1572116469696-31de0f17cc34?q=60&w=1800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 42% at 18% 82%, rgba(11, 63, 54, 0.65) 0%, transparent 65%),
        radial-gradient(48% 38% at 84% 16%, rgba(201, 162, 39, 0.16) 0%, transparent 60%),
        radial-gradient(120% 70% at 50% 108%, rgba(14, 14, 14, 0.95) 0%, transparent 55%);
}

/* Humo: dos masas difusas en deriva lenta */
.hero-smoke { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-smoke::before,
.hero-smoke::after {
    content: '';
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}
.hero-smoke::before {
    background: radial-gradient(circle, rgba(11, 63, 54, 0.5) 0%, transparent 70%);
    bottom: -30vmax;
    left: -18vmax;
    animation: smoke-a 26s ease-in-out infinite alternate;
}
.hero-smoke::after {
    background: radial-gradient(circle, rgba(201, 162, 39, 0.14) 0%, transparent 70%);
    top: -28vmax;
    right: -16vmax;
    animation: smoke-b 32s ease-in-out infinite alternate;
}
@keyframes smoke-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(9vmax, -7vmax) scale(1.25); } }
@keyframes smoke-b { from { transform: translate(0, 0) scale(1.15); } to { transform: translate(-8vmax, 6vmax) scale(0.95); } }

/* Partículas doradas (luces) */
.hero-dust { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-dust i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-light);
    opacity: 0;
    animation: dust 9s linear infinite;
    animation-delay: var(--d);
    left: var(--x);
    top: var(--y);
}
@keyframes dust {
    0%   { opacity: 0; transform: translateY(0) scale(0.6); }
    12%  { opacity: 0.85; }
    55%  { opacity: 0.35; }
    100% { opacity: 0; transform: translateY(-110px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    /* El padding inferior reserva la franja del indicador "Desliza"
       (bottom 26px + línea 52px + texto) para que nunca pise los CTAs */
    padding: 120px var(--gutter) 150px;
    max-width: 900px;
}

.hero-logo {
    width: clamp(230px, 34vw, 360px);
    margin-inline: auto;
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.6));
}

.hero-kicker { justify-content: center; margin-bottom: 26px; }
.hero-kicker::after {
    content: '';
    width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
    background: radial-gradient(circle at 32% 30%, #fff 0%, var(--gold-light) 38%, var(--gold) 72%, #7a621a 100%);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.55);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.6rem);
    margin: 30px 0 18px;
}

.hero-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 340;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--ivory-72);
    margin-bottom: 42px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* Entrada orquestada del hero */
.hero-content > * {
    opacity: 0;
    transform: translateY(26px);
    animation: hero-in 1.1s var(--ease-out) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.15s; }
.hero-content > *:nth-child(2) { animation-delay: 0.35s; }
.hero-content > *:nth-child(3) { animation-delay: 0.55s; }
.hero-content > *:nth-child(4) { animation-delay: 0.75s; }
.hero-content > *:nth-child(5) { animation-delay: 0.95s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

.hero-scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ivory-55);
    opacity: 0;
    animation: hero-in 1s var(--ease-out) 1.4s forwards;
}
.hero-scroll::after {
    content: '';
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-pulse 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scroll-pulse { 0%, 100% { transform: scaleY(0.35); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* En pantallas muy bajas (landscape móvil, ventanas pequeñas) el indicador
   no aporta y compite con los CTAs: fuera */
@media (max-height: 700px) {
    .hero-scroll { display: none; }
    .hero-content { padding-bottom: 90px; }
}

/* ============================================================
   REVELADO AL SCROLL (activado por JS)
   ============================================================ */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   SECCIÓN 2 — ¿QUÉ ES LA PERLA?
   ============================================================ */
.about {
    padding: var(--section-pad) 0;
    background:
        radial-gradient(70% 55% at 85% 0%, rgba(11, 63, 54, 0.38) 0%, transparent 60%),
        var(--noir);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar {
    position: relative;
    padding: 44px 34px 40px;
    background: var(--noir-card);
    border: 1px solid var(--ivory-10);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 50% -10%, var(--gold-faint) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}
.pillar:hover {
    transform: translateY(-8px);
    border-color: var(--gold-dim);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.pillar:hover::before { opacity: 1; }

.pillar-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
    color: var(--gold-light);
    background: rgba(201, 162, 39, 0.06);
}
.pillar-icon svg { width: 24px; height: 24px; }

.pillar h3 {
    font-family: var(--font-display);
    font-weight: 460;
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.pillar p { color: var(--ivory-72); font-size: 0.96rem; }

/* ============================================================
   SECCIÓN 3 — EXPERIENCIAS
   ============================================================ */
.experiences { padding: var(--section-pad) 0; }

.exp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 210px;
    gap: 16px;
}

.exp-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    grid-column: span 2;
    isolation: isolate;
}
/* mosaico asimétrico: 2 grandes arriba, 3 abajo */
.exp-card:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.exp-card:nth-child(2) { grid-column: span 3; grid-row: span 2; }

.exp-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62) saturate(0.92);
    transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.exp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.88) 0%, rgba(14, 14, 14, 0.12) 55%, transparent 100%);
    z-index: 1;
}
.exp-card:hover img { transform: scale(1.07); filter: brightness(0.75) saturate(1); }

.exp-label {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
}
.exp-label small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.exp-label h3 {
    font-family: var(--font-display);
    font-weight: 440;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.15;
}

/* Fallback si una imagen remota falla */
.img-fallback { background: linear-gradient(150deg, var(--emerald-deep), var(--noir-soft) 70%); }
.img-fallback img { display: none; }

/* ============================================================
   SECCIÓN 4 — PRÓXIMOS EVENTOS
   ============================================================ */
.events {
    padding: var(--section-pad) 0;
    background:
        radial-gradient(60% 50% at 12% 100%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
        linear-gradient(170deg, var(--emerald-black) 0%, var(--emerald-deep) 55%, var(--noir) 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: rgba(14, 14, 14, 0.45);
    border: 1px solid var(--ivory-10);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-dim);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5);
}

.event-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(150deg, var(--emerald-deep), var(--noir-soft));
}
.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.8s var(--ease-out);
}
.event-card:hover .event-media img { transform: scale(1.06); }

/* Evento sin imagen: inicial gigante */
.event-media .event-initial {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 5rem;
    color: var(--gold-dim);
}

.event-date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(14, 14, 14, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid var(--gold-dim);
    border-radius: 12px;
    padding: 8px 14px;
    text-align: center;
    line-height: 1.1;
}
.event-date b {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 560;
    color: var(--gold-light);
}
.event-date span {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory-72);
}

.event-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
    gap: 8px;
}
.event-body h3 {
    font-family: var(--font-display);
    font-weight: 470;
    font-size: 1.35rem;
    line-height: 1.2;
}
.event-body .event-meta {
    font-size: 0.9rem;
    color: var(--ivory-72);
}
.event-body .event-time {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.event-body .btn { margin-top: auto; align-self: flex-start; padding: 12px 24px; }

/* Estado vacío */
.events-empty {
    border: 1px dashed var(--gold-dim);
    border-radius: var(--radius);
    padding: clamp(48px, 7vw, 80px) 30px;
    text-align: center;
}
.events-empty h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
}
.events-empty p { color: var(--ivory-72); margin-bottom: 26px; }

/* ---------- Banda carta + spotify ---------- */
.discover { padding: clamp(56px, 8vw, 96px) 0 var(--section-pad); background: var(--noir); }

.discover-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.discover-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(36px, 5vw, 56px);
    border-radius: var(--radius);
    border: 1px solid var(--ivory-10);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.discover-tile:hover { transform: translateY(-6px); border-color: var(--gold-dim); }

.discover-tile.carta {
    background:
        radial-gradient(80% 90% at 100% 0%, rgba(201, 162, 39, 0.14) 0%, transparent 60%),
        var(--noir-card);
}
.discover-tile.spotify {
    background:
        radial-gradient(80% 90% at 0% 100%, rgba(11, 63, 54, 0.55) 0%, transparent 65%),
        var(--noir-card);
}

.discover-tile small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
}
.discover-tile h3 {
    font-family: var(--font-display);
    font-weight: 430;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.15;
}
.discover-tile h3 em { font-style: italic; color: var(--gold-light); }
.discover-tile p { color: var(--ivory-72); font-size: 0.97rem; max-width: 42ch; }
.discover-tile .btn { margin-top: 14px; }

/* ============================================================
   SECCIÓN 5 — GALERÍA (masonry)
   ============================================================ */
.gallery { padding: var(--section-pad) 0; }

.masonry {
    columns: 3;
    column-gap: 16px;
}

.masonry-item {
    position: relative;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    break-inside: avoid;
    isolation: isolate;
}
.masonry-item img {
    width: 100%;
    filter: brightness(0.78) saturate(0.92);
    transition: transform 0.9s var(--ease-out), filter 0.5s;
}
.masonry-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 40, 32, 0.55), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
}
.masonry-item:hover img { transform: scale(1.06); filter: brightness(0.95) saturate(1.05); }
.masonry-item:hover::after { opacity: 1; }

/* ============================================================
   SECCIÓN 6 — NÚMEROS
   ============================================================ */
.numbers {
    padding: var(--section-pad) 0;
    background:
        radial-gradient(70% 80% at 50% 120%, rgba(201, 162, 39, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--noir) 0%, var(--emerald-deep) 30%, var(--emerald-deep) 75%, var(--noir) 100%);
    text-align: center;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 20px;
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-weight: 480;
    font-size: clamp(2.6rem, 5.6vw, 4.2rem);
    line-height: 1;
    color: var(--gold-light);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.stat span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ivory-72);
}

.stat .stars { display: inline-flex; gap: 6px; margin-bottom: 14px; }
.stat .stars svg {
    width: clamp(22px, 3vw, 32px);
    height: clamp(22px, 3vw, 32px);
    fill: var(--gold-light);
    filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.5));
}
.js .stat .stars svg { opacity: 0; transform: scale(0.4); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); transition-delay: calc(var(--i) * 0.12s + 0.3s); }
.js .stat.in .stars svg { opacity: 1; transform: none; }

/* ============================================================
   SECCIÓN 7 — ALIADOS (canvas claro)
   ============================================================ */
.allies {
    padding: clamp(64px, 8vw, 100px) 0;
    background: var(--ivory);
    color: var(--ink);
    overflow: hidden;
}

.allies .kicker { color: var(--emerald); }
.allies .kicker::before { box-shadow: 0 0 10px rgba(11, 63, 54, 0.35); }
.allies-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.allies-head .kicker { justify-content: center; }

.marquee {
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
    width: max-content;
    animation: marquee 34s linear infinite;
    padding-block: 8px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 430;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--ink-soft);
    white-space: nowrap;
    transition: color 0.3s;
}
.marquee-track span:hover { color: var(--emerald); }
.marquee-track i {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
    background: radial-gradient(circle at 32% 30%, #fff 0%, var(--gold-light) 38%, var(--gold) 75%, #7a621a 100%);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECCIÓN 8 — RESERVA (canvas claro)
   ============================================================ */
.reserve {
    padding: var(--section-pad) 0;
    background: var(--ivory);
    color: var(--ink);
}

.reserve .kicker { color: var(--emerald); }
.reserve .lede { color: var(--ink-soft); }
.reserve .display em,
.location .display em { color: var(--gold-deep); }

.reserve-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.reserve-notes {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.reserve-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 46ch;
}
.reserve-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-deep); margin-top: 2px; }
.reserve-note b { color: var(--ink); font-weight: 600; }

/* Tarjeta del formulario: esmeralda profundo sobre canvas claro */
.reserve-card {
    background:
        radial-gradient(90% 70% at 90% -10%, rgba(201, 162, 39, 0.14) 0%, transparent 55%),
        linear-gradient(160deg, var(--emerald) 0%, var(--emerald-deep) 100%);
    border-radius: 24px;
    padding: clamp(32px, 4.5vw, 52px);
    color: var(--ivory);
    box-shadow: 0 40px 80px rgba(6, 40, 32, 0.35);
}

.reserve-card h3 {
    font-family: var(--font-display);
    font-weight: 430;
    font-size: 1.6rem;
    margin-bottom: 4px;
}
.reserve-card > p { color: var(--ivory-72); font-size: 0.92rem; margin-bottom: 30px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
}
.form-field.full { grid-column: 1 / -1; }

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.form-field input,
.form-field select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(245, 245, 245, 0.25);
    border-radius: 0;
    padding: 10px 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ivory);
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A227' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 26px;
}
.form-field select option { background: var(--emerald-deep); color: var(--ivory); }
.form-field input::placeholder { color: var(--ivory-72); }
.form-field input:focus,
.form-field select:focus { border-bottom-color: var(--gold); }

/* Inputs date/time en dark scheme dentro de la tarjeta */
.reserve-card input[type="date"] { color-scheme: dark; }

.reserve-card .btn-gold {
    width: 100%;
    margin-top: 34px;
    padding: 17px 30px;
}

.reserve-card .form-hint {
    margin-top: 16px;
    font-size: 0.82rem;
    text-align: center;
    color: var(--ivory-55);
}

/* ============================================================
   SECCIÓN 9 — UBICACIÓN (canvas claro)
   ============================================================ */
.location {
    padding: 0 0 var(--section-pad);
    background: var(--ivory);
    color: var(--ink);
}

.location .kicker { color: var(--emerald); }

.location-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

.map-frame {
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(11, 63, 54, 0.14);
    box-shadow: 0 30px 60px rgba(6, 40, 32, 0.14);
}
.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
    filter: saturate(0.85) contrast(1.02);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: clamp(8px, 1vw, 16px) 0;
}

.info-block { display: flex; gap: 16px; }
.info-block svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold-deep); margin-top: 3px; }
.info-block h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 6px;
}
.info-block p { color: var(--ink-soft); font-size: 0.98rem; }
.info-block .schedule { display: grid; gap: 3px; font-size: 0.95rem; color: var(--ink-soft); }
.info-block .schedule b { color: var(--ink); font-weight: 600; }
.info-block .schedule div { display: flex; justify-content: space-between; gap: 18px; max-width: 320px; }

.location-info .btn-line {
    align-self: flex-start;
    border-color: rgba(11, 63, 54, 0.35);
    color: var(--emerald);
}
.location-info .btn-line:hover { border-color: var(--emerald); background: rgba(11, 63, 54, 0.06); }

/* Redes en canvas claro */
.gp-social { display: flex; gap: 12px; }
.gp-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(11, 63, 54, 0.28);
    color: var(--emerald);
    transition: all 0.3s;
}
.gp-social a:hover { background: var(--emerald); color: var(--ivory); transform: translateY(-3px); }

/* Redes en canvas oscuro (footer) */
.gp-social-dark a { border-color: var(--gold-dim); color: var(--gold-light); }
.gp-social-dark a:hover { background: var(--gold); border-color: var(--gold); color: var(--noir); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background:
        radial-gradient(80% 100% at 50% 130%, rgba(11, 63, 54, 0.5) 0%, transparent 65%),
        var(--noir);
    border-top: 1px solid rgba(201, 162, 39, 0.14);
    padding: clamp(60px, 8vw, 96px) 0 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 60px);
    border-bottom: 1px solid var(--ivory-10);
}

.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-brand p {
    color: var(--ivory-55);
    font-size: 0.93rem;
    max-width: 34ch;
    margin-bottom: 24px;
}

.footer h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col p {
    color: var(--ivory-72);
    font-size: 0.94rem;
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-col .schedule div { display: flex; justify-content: space-between; gap: 14px; max-width: 260px; color: var(--ivory-72); font-size: 0.9rem; margin-bottom: 6px; }
.footer-col .schedule b { color: var(--ivory); font-weight: 500; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 28px;
    font-size: 0.82rem;
    color: var(--ivory-55);
}
.footer-bottom a { color: var(--ivory-55); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Botón flotante de WhatsApp — oculto en el hero (allí ya hay CTA de
   WhatsApp y chocaría con el indicador "Desliza"); aparece al hacer scroll */
.wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 130%);
    color: var(--noir);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, opacity 0.35s, visibility 0.35s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float.show:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 42px rgba(201, 162, 39, 0.55); }
/* Sin JS nadie añade .show: mantenerlo siempre visible */
.no-js .wa-float { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-grid .pillar:last-child { grid-column: 1 / -1; }
    .masonry { columns: 2; }
    .numbers-grid { grid-template-columns: 1fr 1fr; }
    .reserve-grid { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-links, .nav .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .exp-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
    .exp-card, .exp-card:nth-child(n) { grid-column: span 1; grid-row: span 1; }
    .exp-card:first-child { grid-column: 1 / -1; }
    .discover-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .pillar:last-child { grid-column: auto; }
    .masonry { columns: 2; column-gap: 10px; }
    .masonry-item { margin-bottom: 10px; border-radius: 10px; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .numbers-grid { gap: 40px 12px; }
    .exp-grid { grid-auto-rows: 160px; }
}

/* ============================================================
   ACCESIBILIDAD — reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero-content > * { opacity: 1; transform: none; }
    /* El JS también pausa el video; esto cubre el caso sin JS */
    .hero-video { display: none; }
}
