:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-card: #161616;
  --text: #f2ece6;
  --muted: #9a9590;
  --teal: #489fb5;
  --magenta: #c40077;
  --orange: #e07a2c;
  --teal-soft: rgba(72, 159, 181, 0.15);
  --magenta-soft: rgba(196, 0, 119, 0.14);
  --orange-soft: rgba(224, 122, 44, 0.14);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 14px;
  --topbar-h: 4.25rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: min(1140px, calc(100% - 2rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { width: var(--container); margin-inline: auto; }

.c-teal { color: var(--teal); }
.c-magenta { color: var(--magenta); }
.c-orange { color: var(--orange); }

/* Fondo continuo en toda la página */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% 8%, rgba(72, 159, 181, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 88% 12%, rgba(196, 0, 119, 0.12), transparent 52%),
    radial-gradient(ellipse 70% 45% at 75% 88%, rgba(224, 122, 44, 0.1), transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(20, 20, 20, 0.9), transparent 60%),
    linear-gradient(180deg, #0d1218 0%, #0a0a0a 35%, #0a0a0a 100%);
}

/* Texture & brush strokes */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.brush {
  position: fixed;
  width: 45vw;
  height: 45vw;
  max-width: 420px;
  max-height: 420px;
  border-radius: 40% 60% 55% 45%;
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  animation: brushFloat 12s ease-in-out infinite alternate;
}
.brush--teal { top: -8%; left: -10%; background: var(--teal); }
.brush--magenta { top: -5%; right: -12%; background: var(--magenta); animation-delay: -4s; }
.brush--orange { bottom: 10%; right: -8%; background: var(--orange); animation-delay: -8s; }

@keyframes brushFloat {
  to { transform: translate(20px, 30px) rotate(8deg) scale(1.08); }
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  padding: 0 1rem 0 0.75rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.75rem;
  padding: 0 0.85rem 0 0.65rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: border-color 0.2s var(--ease), background 0.2s;
}
.menu-btn__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.1rem;
}
.menu-btn__icon span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.menu-btn__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-btn:hover { border-color: var(--teal); background: var(--teal-soft); }

.topbar__widgets {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  text-align: center;
  min-width: 4.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s;
}
.widget:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-1px); }
.widget--countdown {
  border-color: rgba(72,159,181,0.35);
  min-width: 6.75rem;
}
.widget--weather { border-color: rgba(196,0,119,0.35); cursor: pointer; }
.widget__label {
  display: block;
  width: 100%;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.widget__value {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
}
.widget--countdown .widget__value {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Side menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.menu-overlay.is-visible { opacity: 1; }

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: min(320px, 88vw);
  height: 100%;
  padding: 1.25rem;
  background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
  border-right: 1px solid rgba(255,255,255,0.06);
  transform: translateX(-105%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.side-menu.is-open { transform: translateX(0); }
.side-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.side-menu__logo { width: 110px; border-radius: 8px; }
.side-menu__close {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  padding: 0.25rem;
}
.side-menu__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.side-menu__list a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.side-menu__list a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  padding-left: 0.85rem;
}
.side-menu__cta { width: 100%; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--tickets {
  background: linear-gradient(135deg, var(--magenta), #9a0058);
  color: #fff;
  box-shadow: 0 8px 28px rgba(196,0,119,0.35);
}
.btn--tickets:hover { box-shadow: 0 12px 36px rgba(196,0,119,0.45); }
.btn--ghost {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--maps {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  background: var(--teal-soft);
  border: 1px solid rgba(72,159,181,0.4);
  color: var(--teal);
  border-radius: var(--radius);
  padding: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--topbar-h) + 2rem) 1.5rem 4rem;
  overflow: visible;
  background: transparent;
}
.hero__lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(224,122,44,0.2), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,180,80,0.1), transparent 50%),
    radial-gradient(ellipse 70% 55% at 80% 0%, rgba(224,122,44,0.15), transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  animation: lightsPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lightsPulse { to { opacity: 0.7; } }

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}
.hero__logo {
  width: min(480px, 90vw);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
  animation: heroIn 1s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
}
.hero__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.hero__date-num {
  font-size: clamp(2.8rem, 9vw, 4rem);
  line-height: 1;
}
.hero__date-y {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--orange);
  font-weight: 400;
}
.hero__date-month {
  width: 100%;
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__script {
  margin: 0 0 1.75rem;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text);
  transform: rotate(-3deg);
  display: inline-block;
  position: relative;
}
.hero__script::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 2px;
  height: 8px;
  background: var(--magenta);
  opacity: 0.55;
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-8deg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Banner alargado — cartelera general */
.lineup-banner {
  position: relative;
  z-index: 1;
  padding: 0.5rem clamp(1rem, 3vw, 2rem) 1.75rem;
  margin-top: -0.5rem;
}
.lineup-banner__glow {
  position: absolute;
  inset: 20% 8% auto;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(72, 159, 181, 0.1), transparent 70%);
  pointer-events: none;
}
.lineup-banner__img {
  display: block;
  width: min(100%, 1040px);
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Sections */
#cartelera {
  padding-top: 3rem;
  margin-top: -1.5rem;
}
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.section--alt {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.section__head { margin-bottom: 2.5rem; }
.section__eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.section__sub {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.6;
}

/* Cartelera — detalle y «muy pronto» */
.cartelera-soon {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}
.cartelera-soon img {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.35));
}

@media (min-width: 900px) {
  .cartelera-soon img {
    width: min(100%, 640px);
  }
}

.cartelera-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.artist-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(72,159,181,0.35);
}
.artist-card__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.artist-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.artist-card:hover .artist-card__img-wrap img { transform: scale(1.06); }
.artist-card__time {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.75);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
}
.artist-card__body { padding: 1rem 1.1rem 1.25rem; }
.artist-card__genre {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
}
.artist-card__name {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.tickets-block { text-align: center; max-width: 640px; margin-inline: auto; }
.tickets-block .section__sub { margin-inline: auto; margin-bottom: 1.25rem; }
.tickets-macro {
  margin: 0 auto 1.5rem;
  max-width: 480px;
}
.tickets-macro img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.4));
}

/* Live player */
.live-player__screen {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #000;
  aspect-ratio: 16/9;
}
.live-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.live-player__embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.live-player__embed.is-loading {
  opacity: 0;
  pointer-events: none;
}
.live-player__embed[hidden],
.live-player__video[hidden],
.live-player__placeholder[hidden],
.live-badge--on-air[hidden],
.live-player__status[hidden] {
  display: none !important;
}
.live-badge--on-air {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  pointer-events: none;
}
.live-player__status {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  margin: 0;
  padding: 0.45rem 0.85rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-size: 0.82rem;
  text-align: center;
}
.live-player__placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.live-player__placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  max-width: 28ch;
}
.live-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  background: var(--magenta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  50% { opacity: 0.7; box-shadow: 0 0 20px rgba(196,0,119,0.5); }
}

.sponsors-carousel {
  margin-top: 2rem;
  overflow: hidden;
  width: 100%;
}
.sponsors-carousel__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.sponsors-carousel__track {
  display: flex;
  width: max-content;
  animation: sponsorScroll var(--sponsor-duration, 28s) linear infinite;
  will-change: transform;
}
.sponsors-carousel__group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  padding-right: 1.25rem;
}
.sponsor-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.sponsor-slide img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.95;
}
@keyframes sponsorScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--sponsor-loop-width, 50%))); }
}

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.map {
  height: 380px;
  width: 100%;
  min-height: 280px;
  background: #1a1a1a;
  z-index: 1;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin-inline: auto;
}
.gallery-item {
  position: relative;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: zoom-in;
  aspect-ratio: 3/4;
  background: #0a0a0a;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 0.65rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.78rem;
  text-align: left;
}

/* Prensa */
.prensa-teaser { text-align: center; }
.prensa-teaser .section__sub {
  margin-inline: auto;
  margin-bottom: 2.25rem;
}
.prensa-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(224,122,44,0.35);
  background: var(--orange-soft);
}
.prensa-card__hint { margin: 0.75rem 0 0; font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; max-width: 720px; }
.faq-item {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.07);
  background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-card strong { font-size: 1rem; }
.contact-card--teal:hover { border-color: var(--teal); }
.contact-card--magenta:hover { border-color: var(--magenta); }
.contact-card--orange:hover { border-color: var(--orange); }
.contact-card--cyan:hover { border-color: #69c9d0; }

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  background: transparent;
}
.footer__logo { margin: 0 auto 1rem; width: 90px; opacity: 0.9; }
.footer p { margin: 0.25rem 0; color: var(--muted); font-size: 0.88rem; }
.footer__dev a { color: var(--text); font-weight: 600; }
.footer__dev a:hover { color: var(--teal); }

/* Weather modal */
.weather-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 2rem);
  width: 480px;
}
.weather-modal::backdrop { background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); }
.weather-modal__inner {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #181818, #0d0d0d);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.weather-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--muted);
}
.weather-modal__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.weather-modal__sub { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9rem; }
.weather-modal__loading { margin: 0 0 1rem; font-size: 0.85rem; color: var(--teal); }
.weather-modal__loading[hidden] { display: none; }
.weather-nights { display: grid; gap: 0.75rem; }
.weather-night-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}
.weather-night-card__label { font-weight: 700; color: var(--teal); }
.weather-night-card__date { font-size: 0.82rem; color: var(--muted); grid-column: 1; }
.weather-night-card__icon { font-size: 1.75rem; grid-row: 1 / 5; grid-column: 2; align-self: center; }
.weather-night-card__temp { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--text); }
.weather-night-card__desc { font-size: 0.82rem; color: var(--muted); }
.weather-night-card__note { grid-column: 1 / -1; font-size: 0.72rem; color: var(--orange); font-style: italic; }
.weather-error { color: #ffb4b4; text-align: center; }

/* Leaflet — tema oscuro */
.leaflet-container { background: #141414 !important; font-family: var(--font-body); }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #1a1a1a !important;
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.leaflet-popup-content { margin: 0.75rem 1rem; font-size: 0.9rem; line-height: 1.5; color: var(--text) !important; }
.leaflet-popup-content strong { color: var(--teal); }
.leaflet-control-attribution {
  background: rgba(10,10,10,0.8) !important;
  color: var(--muted) !important;
}
.leaflet-control-attribution a { color: var(--teal) !important; }

/* Diálogos nativos */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(0,0,0,0.8); }

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  width: min(96vw, 960px);
  max-height: 92vh;
  background: rgba(10,10,10,0.97);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(0,0,0,0.9); }
.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 2;
  font-size: 2rem;
  color: var(--muted);
}
.lightbox__toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lightbox__toolbar button,
.lightbox__download {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  max-height: 70vh;
  overflow: hidden;
  padding: 1rem;
}
.lightbox__stage img {
  max-height: 65vh;
  transition: transform 0.2s var(--ease);
  cursor: grab;
}
.lightbox__caption {
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--delay, 0) * 70ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.empty-msg { color: var(--muted); grid-column: 1 / -1; text-align: center; padding: 2rem; }

@media (max-width: 640px) {
  :root { --topbar-h: 5.35rem; }
  .topbar {
    height: auto;
    min-height: var(--topbar-h);
    padding-block: 0.55rem;
  }
  .topbar__widgets { gap: 0.35rem; flex-shrink: 0; }
  .widget {
    min-width: 4.35rem;
    min-height: 3.15rem;
    padding: 0.38rem 0.5rem;
    gap: 0.15rem;
  }
  .widget__label {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    color: var(--text);
    opacity: 0.88;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.25;
  }
  .widget__value { font-size: 0.92rem; line-height: 1.2; }
  .menu-btn__label { font-size: 0.75rem; }
  .hero { padding-bottom: 4rem; }
  .section { padding: 3.5rem 0; }
  .map { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .sponsors-carousel__track { animation: none; }
}
