/* ============================================================
   EKLEIPSIS FEST 2026 — styles.css
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --black: #08080F;
  --night: #0F1426;
  --indigo: #282553;
  --purple: #5B3ABA;
  --orange: #FF8B47;
  --gold: #FFD166;
  --light: #F2F2F5;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font-title: 'Judson', serif;
  --font-body: 'Inter', sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 0%, rgba(91,58,186,0.28), transparent 36rem),
    radial-gradient(circle at 80% 10%, rgba(255,139,71,0.16), transparent 30rem),
    linear-gradient(180deg, var(--black), var(--night) 45%, var(--black));
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,0.25) 1px, transparent 1px);
  background-size: 90px 90px, 150px 150px;
  background-position: 0 0, 40px 60px;
  z-index: -2;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease;
}

.site-header.visible {
  transform: translateY(0);
  opacity: 1;
  background: rgba(8,8,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
}

.main-nav {
  display: none;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(242,242,245,0.78);
}

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

.menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--light);
}

.main-nav.active {
  display: flex;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  flex-direction: column;
  background: var(--night);
  padding: 20px;
}

.main-nav.active a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── LANGUAGE SWITCHER ──────────────────────────────────────── */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px 6% 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url('../assets/img/hero_web.jpg');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 55% 47%, rgba(255,209,102,0.10), transparent 18rem),
    linear-gradient(90deg, rgba(8,8,15,0.42) 0%, rgba(8,8,15,0.12) 48%, rgba(8,8,15,0.35) 100%),
    linear-gradient(180deg, rgba(8,8,15,0.00) 0%, rgba(8,8,15,0.48) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,209,102,0.5) 1px, transparent 1px);
  background-size: 120px 120px, 190px 190px;
  background-position: 20px 40px, 80px 20px;
  opacity: 0.28;
}

.hero-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 520px 1fr 280px;
  align-items: center;
  column-gap: 64px;
}

.hero-content {
  grid-column: 1;
  max-width: 520px;
}

.hero-center {
  grid-column: 2;
  min-height: 300px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}

.hero-logo {
  width: min(420px, 88vw);
  height: auto;
  margin-bottom: 22px;
}

.hero-subtitle {
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--font-title);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
}

.hero-text {
  max-width: 430px;
  margin-bottom: 30px;
  color: rgba(242,242,245,0.86);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.65;
}

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

.hero-eclipse {
  position: absolute;
  z-index: 1;
  top: 47%;
  left: 55%;
  width: clamp(110px, 13vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #020204;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 5px 1px rgba(255,255,255,0.98),
    0 0 22px 7px rgba(255,238,202,0.95),
    0 0 55px 18px rgba(255,166,74,0.62),
    0 0 95px 34px rgba(255,111,63,0.32);
}

.hero-eclipse::before {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.85) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,209,102,0.42), transparent 55%);
  filter: blur(6px);
  opacity: 0.7;
  z-index: -1;
}

.hero-eclipse::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255,255,255,0.08), transparent 38%);
}

.hero-card {
  grid-column: 3;
  justify-self: end;
  width: 270px;
  padding: 26px 24px;
  border: 1px solid rgba(255,209,102,0.28);
  border-radius: 14px;
  background: rgba(8,8,15,0.48);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.32), 0 0 30px 4px rgba(255,209,102,0.30);
  text-align: center;
}

.hero-card-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-card-item:last-child {
  margin-bottom: 0;
}

.hero-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold) !important;
  stroke-width: 1.5;
  fill: none !important;
  color: var(--gold) !important;
}

.hero-card-title {
  color: var(--light);
  font-family: var(--font-title);
  font-size: 1rem;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card-small {
  margin-top: 4px;
  color: #026CDF;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── TICKER ─────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden;
  background: rgba(255,209,102,0.06);
  border-top: 1px solid rgba(255,209,102,0.2);
  border-bottom: 1px solid rgba(255,209,102,0.2);
  padding: 14px 0;
  white-space: nowrap;
}

.ticker {
  display: inline-flex;
  gap: 60px;
  animation: ticker 18s linear infinite;
}

.ticker span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FESTIVAL RESUMEN ───────────────────────────────────────── */
.festival-summary {
  width: min(1180px, 100%);
  margin: 70px auto 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(8,8,15,0.72);
  box-shadow:
    0 0 5px 1px rgba(255,255,255,0.14),
    0 24px 70px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.summary-item {
  position: relative;
  min-height: 160px;
  padding: 28px 32px 30px;
  text-align: center;
}

.summary-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  width: 1px;
  height: calc(100% - 56px);
  background: rgba(255,255,255,0.18);
}

.summary-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold) !important;
  stroke-width: 1.5;
  fill: none !important;
  color: var(--gold) !important;
}

.summary-item h3 {
  margin: 0 0 8px;
  color: #fff4d8;
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-item p {
  margin: 0 auto;
  max-width: 190px;
  color: rgba(255,255,255,0.64);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ── ECLIPSE SECTION ────────────────────────────────────────── */
.eclipse-section {
  position: relative;
  padding: 110px 6%;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,209,102,0.10), transparent 28rem),
    radial-gradient(circle at 85% 70%, rgba(116,92,255,0.10), transparent 30rem),
    #08080f;
  color: #fff;
  overflow: hidden;
}

.eclipse-container {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.eclipse-content {
  max-width: 590px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd166;
}

.eclipse-content h2 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.eclipse-content p {
  margin: 0 0 18px;
  max-width: 560px;
  color: rgba(255,255,255,0.76);
  font-size: 1.02rem;
  line-height: 1.75;
}

.eclipse-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.eclipse-highlights div {
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.eclipse-highlights strong {
  display: block;
  margin-bottom: 6px;
  color: #ffd166;
  font-size: 1.35rem;
}

.eclipse-highlights span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.82rem;
}

.eclipse-map-card {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 5px 1px rgba(255,255,255,0.22),
    0 28px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(14px);
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px 16px;
}

.map-card-header span {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.map-card-header small {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

.map-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  aspect-ratio: 4 / 3;
}

.map-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.map-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.38)),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(8,8,15,0.18));
  pointer-events: none;
}

.map-caption {
  margin: 16px 4px 4px;
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #130c03;
  background: linear-gradient(135deg, var(--gold), #f5a623);
  border: 1px solid rgba(255,209,102,0.8);
  box-shadow: 0 14px 36px rgba(255,139,71,0.28);
}

.btn-secondary {
  color: var(--gold);
  border: 1px solid rgba(255,209,102,0.7);
  background: rgba(8,8,15,0.35);
  backdrop-filter: blur(10px);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  position: relative;
  padding: 92px 0;
}

.section h2 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.section h3 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1.05rem;
}

.section p {
  color: rgba(242,242,245,0.78);
}

.section-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255,209,102,0.34);
  border-radius: 999px;
  background: rgba(255,209,102,0.08);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(91,58,186,0.26), transparent 36rem),
    rgba(15,20,38,0.72);
}

.section-warning {
  background:
    radial-gradient(circle at 0 0, rgba(255,209,102,0.6), transparent 30rem),
    linear-gradient(135deg, var(--orange), #ff6f3f);
  color: #150c05;
}

.section-warning p,
.section-warning .section-tag {
  color: #150c05;
}

.section-warning .section-tag {
  background: rgba(8,8,15,0.08);
  border-color: rgba(8,8,15,0.18);
}

.two-columns,
.tickets-layout,
.map-layout {
  display: grid;
  gap: 28px;
}

.info-card,
.program-day,
.price-box,
.phase,
.map-info,
.faq-list details,
.warning-grid > div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-strong), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.info-card {
  padding: 28px;
}

.info-card ul {
  padding-left: 18px;
  color: rgba(242,242,245,0.78);
}

/* ── PROGRAMA ───────────────────────────────────────────────── */
.program-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.program-day {
  overflow: hidden;
}

.program-day.featured {
  border-color: rgba(255,209,102,0.38);
  box-shadow: 0 24px 90px rgba(255,139,71,0.12);
}

.accordion-btn {
  width: 100%;
  padding: 22px;
  border: 0;
  background: transparent;
  color: var(--gold);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 1.08rem;
  font-weight: 950;
  cursor: pointer;
}

.accordion-plus {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,209,102,0.13);
  color: var(--gold);
}

.accordion-content {
  display: none;
  padding: 0 22px 24px;
}

.program-day.active .accordion-content {
  display: block;
}

.accordion-content h3 {
  margin-top: 18px;
}

/* ── ENTRADAS ───────────────────────────────────────────────── */
.tickets-section {
  padding: 90px 0 120px;
  background: radial-gradient(circle at top, rgba(255,180,80,0.12), transparent 35%), #080b18;
  color: #fff;
}

.tickets-section > .container > h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tickets-section > .container > h2 span {
  color: var(--gold);
  text-transform: none;
}

.tickets-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

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

.ticket-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.ticket-featured {
  border-color: rgba(255,190,90,0.7);
  background: linear-gradient(180deg, rgba(255,190,90,0.18), rgba(255,255,255,0.07));
}

.ticket-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,190,90,0.18);
  color: #ffd28a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticket-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.ticket-price {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}

.ticket-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.ticket-total {
  margin: 8px 0 22px;
  color: rgba(255,255,255,0.68);
}

.ticket-card ul {
  margin: 0 0 26px;
  padding-left: 18px;
  color: rgba(255,255,255,0.8);
}

.ticket-card li {
  margin-bottom: 8px;
}

.ticket-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: #f6b24b;
  color: #111;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ticket-btn:hover {
  transform: translateY(-2px);
  background: #ffd28a;
}

/* ── MAPA INTERACTIVO ───────────────────────────────────────── */
.visual-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 60% 30%, rgba(255,209,102,0.2), transparent 9rem),
    radial-gradient(circle at 24% 72%, rgba(91,58,186,0.45), transparent 14rem),
    linear-gradient(135deg, #151b34, #08080f);
  box-shadow: var(--shadow);
}

.visual-map::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 28px;
  z-index: 1;
}



.map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  z-index: 0;
}

.map-point {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(242,242,245,0.12);
  color: var(--light);
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.map-point::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 50%;
  top: calc(100% + 8px);
  translate: -50% 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(255,209,102,0.12), 0 0 28px rgba(255,209,102,0.7);
}

.map-point.selected,
.map-point:hover {
  color: #170c02;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

/* Posiciones desktop */
.camping     { top: 30%; left: 54%; }
.visionado   { top: 45%; left: 13%; }
.escenario   { top: 8%; left: 45%; }
.actividades { top: 5%; left: 75%; }
.parking     { top: 62%; left: 45%; }
.acceso      { top: 70%; left: 75%; }

.map-info {
  padding: 28px;
  min-height: 220px;
}

/* ── SEGURIDAD ──────────────────────────────────────────────── */
.warning-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.warning-grid > div {
  padding: 24px;
  background: rgba(8,8,15,0.12);
  border-color: rgba(8,8,15,0.16);
  box-shadow: none;
}

.warning-grid h3 {
  color: #150c05;
  font-size: 1.25rem;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--light);
}

.faq-list p {
  margin-top: 12px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  padding: 50px 0;
  background: #050509;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  height: 44px;
  width: fit-content;
  margin-bottom: 12px;
}

.site-footer a:not(.btn) {
  color: var(--gold);
  text-decoration: none;
}

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes pinPulse {
  from { transform: scale(0.55); opacity: 0.9; }
  to   { transform: scale(1.45); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   MEDIA QUERIES
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 980px) and (min-width: 768px) {
  .tickets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 110px 5% 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr 240px;
    gap: 40px;
  }

  .hero-content {
    grid-column: 1;
  }

  .hero-center {
    display: none;
  }

  .hero-card {
    grid-column: 2;
  }

  .hero-eclipse {
    display: none;
  }
}

@media (max-width: 950px) {
  .eclipse-section {
    padding: 85px 6%;
  }

  .eclipse-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .eclipse-content {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    padding: 110px 20px 46px;
    background-image: url('../assets/img/hero_movil.jpg');
    background-position: center top;
    align-items: flex-end;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8,8,15,0.18) 0%, rgba(8,8,15,0.34) 45%, rgba(8,8,15,0.55) 100%);
  }

  .hero::after {
    opacity: 0.15;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo {
    width: min(330px, 86vw);
  }

  .hero-text {
    max-width: 320px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(320px, 100%);
  }

  .hero-eclipse {
    top: 32%;
    left: 50%;
    width: 105px;
  }

  .hero-center {
    display: none;
  }

  .hero-card {
    width: min(330px, 100%);
    padding: 22px;
  }

  .hero-card-item {
    margin-bottom: 18px;
  }

  .festival-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-item:nth-child(2)::after {
    display: none;
  }

  .summary-item {
    min-height: 150px;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .lang-btn {
    font-size: 0.72rem;
    padding: 8px 12px;
  }
}

@media (max-width: 620px) {
  .eclipse-highlights {
    grid-template-columns: 1fr;
  }

  .map-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .eclipse-map-card {
    padding: 12px;
    border-radius: 22px;
  }

  .map-image-wrap {
    border-radius: 18px;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .festival-summary {
    grid-template-columns: 1fr;
  }

  .summary-item:not(:last-child)::after {
    top: auto;
    right: 28px;
    bottom: 0;
    width: calc(100% - 56px);
    height: 1px;
  }

  .summary-item:nth-child(2)::after {
    display: block;
  }
}

@media (max-width: 767px) {
  .header-container {
    position: relative;
    justify-content: space-between;
    height: 72px;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    position: static;
  }

  .main-nav.active {
    top: 72px;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 20px 42px;
    background-image: url('../assets/img/hero_movil.jpg');
    background-position: center top;
    align-items: flex-end;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(8,8,15,0.08) 0%,
      rgba(8,8,15,0.16) 45%,
      rgba(8,8,15,0.50) 100%
    );
  }

  .hero::after {
    opacity: 0.12;
  }

  .hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .hero-logo {
    width: min(310px, 86vw);
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.09em;
  }

  .hero-text {
    max-width: 320px;
    font-size: 0.95rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(320px, 100%);
  }

  .hero-eclipse,
  .hero-center {
    display: none;
  }

  .hero-card {
    width: min(320px, 100%);
    padding: 22px;
  }

  .hero-card-item {
    text-align: left;
    margin-bottom: 18px;
  }

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

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

  .ticket-price {
    font-size: 2rem;
  }

  .eclipse-section {
    padding: 85px 6%;
  }

  .eclipse-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .eclipse-content {
    max-width: none;
  }

  .eclipse-highlights {
    grid-template-columns: 1fr;
  }

  .map-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .eclipse-map-card {
    padding: 12px;
    border-radius: 22px;
  }

  .map-image-wrap {
    border-radius: 18px;
    aspect-ratio: 1 / 1;
  }

  /* Mapa interactivo móvil */
  .visual-map {
    aspect-ratio: auto;
    width: 100%;
    min-height: unset;
    background: none;
    border: none;
    box-shadow: none;
  }

  .visual-map::before,
  .visual-map::after {
    display: none;
  }

  .map-bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: unset;
    border-radius: 18px;
  }

  .map-layout {
    gap: 16px;
  }

  /* Posiciones móvil */
  .camping     { top: 21%; left: 54%; }
  .visionado   { top: 29%; left: 15%; }
  .escenario   { top: 0%; left: 40%; }
  .actividades { top: 0.2%; left: 65%; }
  .parking     { top: 52%; left: 45%; }
  .acceso      { top: 55%; left: 68%; }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
  }
}

@media (min-width: 850px) {
  .main-nav {
    align-items: center;
    width: auto;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .main-nav a {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .two-columns,
  .tickets-layout,
  .map-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
  }

  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .accordion-btn {
    padding: 22px 22px 10px;
    cursor: default;
    pointer-events: none;
    font-size: 1rem;
    color: var(--gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .accordion-plus {
    display: none;
  }

  .accordion-content {
    display: block;
  }

  .warning-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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