/* ==========================================================================
   Morno — web
   Tokens do DS (Figma "Morno Beta"). Desktop ≥1200 · Tablet 768–1199 · Mobile <768
   ========================================================================== */

:root {
  /* Paleta */
  --ink: #1e1e1e;
  --cream: #f4eedf;
  --sand: #e5dabe;
  --sand-2: #cfc2a0;
  --stone: #5e5a51;
  --green: #217868;
  --signal: #ff5b3f;

  /* Modo Crema (por defecto) */
  --color-bg-canvas: var(--cream);
  --color-text-primary: var(--ink);
  --color-text-secondary: var(--stone);
  --color-border-default: var(--ink);
  --color-border-subtle: var(--sand-2);
  --color-bg-inverse: var(--ink);
  --color-text-inverse: var(--sand);

  --color-bg-brand: var(--green);
  --color-text-on-brand: var(--cream);

  --border-rule: 2px;
  --border-hairline: 1px;

  /* Escala — desktop */
  --layout-margin: 64px;
  --layout-section: 96px;
  --size-display-xl: 112px;
  --size-display-l: 80px;
  --size-display-m: 40px;
  --size-heading-h1: 44px;
  --size-heading-h2: 32px;
  --size-heading-h3: 24px;
  --size-body-l: 18px;
  --size-body-m: 16px;
  --size-label-m: 14px;
  --size-label-s: 12px;
  --size-meta-s: 12px;
  --size-brand-wordmark: 24px;

  --font-sans: "Inter", system-ui, sans-serif;
  --font-cond: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-brand: "Bungee", var(--font-sans);
}

@media (max-width: 1199px) {
  :root {
    --layout-margin: 40px;
    --layout-section: 72px;
    --size-display-xl: 80px;
    --size-display-l: 56px;
    --size-display-m: 32px;
    --size-heading-h1: 36px;
    --size-heading-h2: 28px;
    --size-heading-h3: 22px;
  }
}

@media (max-width: 767px) {
  :root {
    --layout-margin: 20px;
    --layout-section: 56px;
    --size-display-xl: 44px;
    --size-display-l: 36px;
    --size-display-m: 26px;
    --size-heading-h1: 30px;
    --size-heading-h2: 24px;
    --size-heading-h3: 20px;
    --size-body-l: 17px;
    --size-brand-wordmark: 20px;
  }
}

/* Modo Noche */
.noche {
  --color-bg-canvas: var(--ink);
  --color-text-primary: var(--sand);
  --color-text-secondary: var(--sand-2);
  --color-border-default: var(--sand);
  --color-bg-inverse: var(--sand);
  --color-text-inverse: var(--ink);
  background: var(--color-bg-canvas);
  color: var(--color-text-primary);
}

/* Modo Brand (banda verde) */
.brand {
  --color-text-primary: var(--cream);
  --color-text-secondary: var(--cream);
  background: var(--color-bg-brand);
  color: var(--color-text-on-brand);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.noche :focus-visible { outline-color: var(--sand); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Tipografía ---------- */
.t-display-xl { font-weight: 700; font-size: var(--size-display-xl); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; }
.t-display-l  { font-weight: 700; font-size: var(--size-display-l);  line-height: .96; letter-spacing: -.03em; text-transform: uppercase; }
.t-display-m  { font-weight: 700; font-size: var(--size-display-m);  line-height: 1;   letter-spacing: -.02em; text-transform: uppercase; }
.t-h1 { font-weight: 300; font-size: var(--size-heading-h1); line-height: 1.2;  letter-spacing: -.02em; }
.t-h2 { font-weight: 300; font-size: var(--size-heading-h2); line-height: 1.25; letter-spacing: -.02em; }
.t-h3 { font-weight: 400; font-size: var(--size-heading-h3); line-height: 1.27; letter-spacing: -.02em; }
.t-body-l { font-size: var(--size-body-l); line-height: 1.5; letter-spacing: -.01em; }
.t-body-m { font-size: var(--size-body-m); line-height: 1.4; letter-spacing: -.01em; }
.t-label-m { font-family: var(--font-cond); font-weight: 500; font-size: var(--size-label-m); line-height: 1.2;  letter-spacing: .1em; text-transform: uppercase; }
.t-label-s { font-family: var(--font-cond); font-weight: 500; font-size: var(--size-label-s); line-height: 1.34; letter-spacing: .1em; text-transform: uppercase; }
.t-meta-s  { font-family: var(--font-cond); font-weight: 300; font-size: var(--size-meta-s);  line-height: 1.34; letter-spacing: .2em; text-transform: uppercase; }

.c-secondary { color: var(--color-text-secondary); }

/* ---------- Botón ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border: var(--border-rule) solid var(--color-bg-brand);
  background: var(--color-bg-brand);
  color: var(--color-text-on-brand);
  font-family: var(--font-cond); font-weight: 500; font-size: var(--size-label-m);
  line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Primary: hover invirte o recheo */
.btn:hover { background: var(--cream); color: var(--green); }

/* Secondary: contorno */
.btn--secondary { background: transparent; border-color: var(--color-border-default); color: var(--color-text-primary); }
.btn--secondary:hover { background: var(--color-border-default); color: var(--color-bg-canvas); }

/* Inverse */
.btn--inverse { background: var(--color-bg-inverse); border-color: var(--color-bg-inverse); color: var(--color-text-inverse); }
.brand .btn--inverse { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.brand .btn--inverse:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: flex-start;
  padding: 4px 8px;
  border: var(--border-hairline) solid var(--color-border-default);
  color: var(--color-text-primary);
  font-family: var(--font-cond); font-weight: 500; font-size: var(--size-label-s);
  line-height: 1.34; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.tag--filled { background: var(--color-bg-inverse); border-color: var(--color-bg-inverse); color: var(--color-text-inverse); }
button.tag { cursor: pointer; transition: background-color .15s ease, color .15s ease; }
button.tag:not(.tag--filled):hover { background: rgba(30, 30, 30, .08); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.logo img { width: 38.228px; height: 28px; }
.logo span { font-family: var(--font-brand); font-size: var(--size-brand-wordmark); line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.symbol { width: 65.534px; height: 48px; flex-shrink: 0; }

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--layout-margin);
  background: var(--color-bg-canvas);
  border-bottom: var(--border-rule) solid var(--color-border-default);
}
.nav__links { display: flex; gap: 8px; }
.nav__link {
  display: block; padding: 8px 12px;
  font-family: var(--font-cond); font-weight: 500; font-size: var(--size-label-m);
  line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--color-text-primary);
  transition: background-color .15s ease, color .15s ease;
}
.nav__link:hover { background: rgba(229, 218, 190, .12); }
.nav__link[aria-current="page"] { background: var(--color-bg-inverse); color: var(--color-text-inverse); }

.nav__toggle { display: none; }

.menu-mobile { display: none; }

@media (max-width: 767px) {
  .nav { padding: 12px var(--layout-margin); }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__toggle[aria-expanded="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }

  .menu-mobile {
    position: fixed; inset: 74px 0 0 0; z-index: 19;
    display: flex; flex-direction: column;
    padding: 0 var(--layout-margin) 24px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .menu-mobile.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .menu-mobile__item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
    border-bottom: var(--border-rule) solid var(--color-border-default);
  }
  .menu-mobile .btn { width: 100%; margin-top: 32px; }
  .menu-mobile__meta { margin-top: 24px; color: var(--color-text-secondary); }
  .menu-mobile__meta a:hover { color: var(--sand); }
}

/* ---------- Page header (páxinas interiores) ---------- */
.page-header {
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  padding: var(--layout-section) var(--layout-margin) var(--layout-margin);
  border-bottom: var(--border-rule) solid var(--color-border-default);
}
.page-header .t-body-l { max-width: 640px; }

/* ---------- Hero (Inicio) ---------- */
.hero { display: flex; height: 720px; }
.hero__copy {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 64px 48px 64px 64px;
  border-right: var(--border-rule) solid var(--color-border-default);
}
.hero__top { display: flex; flex-direction: column; gap: 16px; }
.hero__bottom { display: flex; flex-direction: column; gap: 24px; }
.hero__photo { position: relative; width: 480px; flex-shrink: 0; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: var(--green); mix-blend-mode: multiply; opacity: .85; }
.hero__vertical {
  position: absolute; z-index: 1; top: 24px; right: 24px;
  writing-mode: vertical-rl;
  color: var(--sand);
}

.dates { display: flex; }
.date {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  border: var(--border-rule) solid var(--color-border-default);
  white-space: nowrap;
}
.date + .date { margin-left: -2px; }

.ctas { display: flex; gap: 16px; }

@media (max-width: 1199px) {
  .hero { flex-direction: column-reverse; height: auto; }
  .hero__photo { width: 100%; height: 480px; }
  .hero__copy {
    border-right: 0; justify-content: flex-start; gap: 24px;
    padding: 40px var(--layout-margin) var(--layout-section);
  }
  .hero__top { gap: 24px; }
  .hero__top .t-display-xl + .t-display-l { margin-top: -16px; }
  .hero__bottom { display: contents; }
}

@media (max-width: 767px) {
  .hero__photo { height: 360px; }
  .hero__vertical { top: 16px; right: 16px; }
  .hero__copy { padding-top: 20px; }
  .dates { flex-direction: column; }
  .date + .date { margin-left: 0; margin-top: -2px; }
  .ctas { flex-direction: column; }
  .ctas .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--green); color: var(--cream);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group { display: flex; gap: 48px; padding-left: 64px; white-space: nowrap; }
.marquee__group span { flex-shrink: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1199px) {
  .marquee { padding: 16px 0; }
  .marquee__group { gap: 32px; padding-left: 32px; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--layout-section) var(--layout-margin); }
.section--rule { border-top: var(--border-rule) solid var(--color-border-default); }

.section-heading {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px;
  padding-bottom: 32px;
  border-bottom: var(--border-rule) solid var(--color-border-default);
}
.section-heading__title { flex: 1 1 0; min-width: 300px; display: flex; flex-direction: column; gap: 8px; }
.section-heading__intro { flex: 1 1 0; min-width: 260px; max-width: 420px; color: var(--color-text-secondary); }

.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

@media (max-width: 767px) {
  .section-heading__title { min-width: 0; flex-basis: 100%; }
  .section-heading__intro { min-width: 0; }
}

/* ---------- Event row ---------- */
.events { display: flex; flex-direction: column; }
.event {
  display: flex; align-items: center; gap: 32px;
  padding: 24px;
  border-bottom: var(--border-rule) solid var(--color-border-default);
}
.event[hidden] { display: none; }
.event__date { width: 140px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.event__artists { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.event__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.event__venue { width: 260px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.event__venue .t-h3 { white-space: nowrap; }
.event .btn { width: 200px; flex-shrink: 0; }

@media (max-width: 1199px) {
  .events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .event { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 4px; }
  .event__date { width: auto; flex-direction: row; align-items: baseline; gap: 12px; }
  .event__venue { width: auto; }
  .event .btn { width: 100%; }
}

@media (max-width: 767px) {
  .events { grid-template-columns: minmax(0, 1fr); }
}

.events-empty { padding: 32px 0; color: var(--color-text-secondary); }

/* ---------- Artist card ---------- */
.artist-grid { display: flex; }
.artist-grid > * + * { margin-left: -2px; }

.artist-card {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column;
  background: var(--cream);
  border: var(--border-rule) solid var(--color-border-default);
}
.artist-card[hidden] { display: none; }
.artist-card__photo { height: 360px; overflow: hidden; }
.artist-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.artist-card__photo img.pos-bottom { object-position: bottom; }
.artist-card__body {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 24px;
  border-top: var(--border-rule) solid var(--color-border-default);
}
.artist-card__body .t-body-m { color: var(--color-text-secondary); }

.manifesto-card {
  flex: 1.153 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px;
  border: var(--border-rule) solid var(--color-border-default);
}
.manifesto-card__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.home-artists { height: 632px; }

@media (max-width: 1199px) {
  .home-artists { height: auto; flex-wrap: wrap; }
  .home-artists .manifesto-card {
    flex-basis: 100%; margin: 32px 0 0;
    justify-content: flex-start; gap: 24px;
  }
  .manifesto-card__text { gap: 24px; }
}

@media (max-width: 767px) {
  .artist-grid { flex-direction: column; }
  .artist-grid > * + * { margin-left: 0; margin-top: -2px; }
  .home-artists .manifesto-card { margin-top: 32px; padding: 24px; }
}

/* Páxina Artistas */
.artists-page { padding: 64px var(--layout-margin) var(--layout-section); }
@media (max-width: 1199px) {
  .artists-page { padding: var(--layout-section) var(--layout-margin); }
  .artists-page .artist-grid { gap: 24px; }
  .artists-page .artist-grid > * + * { margin-left: 0; }
}
@media (max-width: 767px) {
  .artists-page .artist-grid { gap: 0; }
  .artists-page .artist-grid > * + * { margin-top: -2px; }
}

/* ---------- Filtros ---------- */
.filters {
  display: flex; align-items: center; gap: 8px;
  padding: 20px var(--layout-margin);
  border-bottom: var(--border-rule) solid var(--color-border-default);
  overflow-x: auto; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters > * { flex-shrink: 0; }
.filters__spacer { flex: 1 1 0; min-width: 16px; }
.filters .c-secondary { white-space: nowrap; }

@media (max-width: 767px) {
  .filters { padding-top: 16px; padding-bottom: 16px; }
  .filters__spacer, .filters__count { display: none; }
}

/* ---------- Axenda: meses ---------- */
.month { padding: 64px var(--layout-margin) 32px; }
.month--last { padding-bottom: var(--layout-section); }
@media (max-width: 1199px) {
  .month, .month--last { padding: var(--layout-section) var(--layout-margin); display: flex; flex-direction: column; gap: 32px; }
}

.empty-state {
  display: flex; align-items: center; gap: 48px;
  padding: 48px;
  border: var(--border-rule) dashed var(--color-border-default);
}
.empty-state__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.empty-state__copy .t-body-m { color: var(--color-text-secondary); }
@media (max-width: 1199px) {
  .empty-state { gap: 24px; padding: 40px; }
}
@media (max-width: 767px) {
  .empty-state { flex-direction: column; align-items: flex-start; padding: 24px; }
  .empty-state__copy { flex: none; }
  .empty-state .btn { width: 100%; }
}

/* ---------- Bandas CTA (newsletter / booking / salas) ---------- */
.band {
  display: flex; align-items: flex-end; gap: 64px;
  padding: var(--layout-section) var(--layout-margin);
}
.band--80 { padding-top: 80px; padding-bottom: 80px; }
.band__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.band__copy .t-body-l { max-width: 640px; color: var(--color-text-secondary); }

.newsletter { display: flex; align-items: flex-end; gap: 24px; }
.field { width: 320px; display: flex; flex-direction: column; gap: 8px; }
.field label { color: var(--color-text-secondary); }
.field input {
  width: 100%;
  padding: 8px 0;
  background: transparent;
  border: 0; border-bottom: var(--border-hairline) solid var(--color-border-default);
  border-radius: 0;
  color: var(--color-text-primary);
  font-family: var(--font-sans); font-size: var(--size-body-m); line-height: 1.4; letter-spacing: -.01em;
  outline: none;
}
.field input::placeholder { color: var(--color-text-secondary); opacity: 1; }
.field input:focus { border-bottom: 2px solid var(--green); padding-bottom: 7px; }
.field.is-error input { border-bottom: 2px solid var(--signal); padding-bottom: 7px; }
.field__help { display: none; color: var(--signal); }
.field.is-error .field__help { display: block; }
.newsletter__ok { color: var(--color-text-primary); }

@media (min-width: 1200px) {
  .band__copy .nowrap-d { white-space: nowrap; }
}

@media (max-width: 1199px) {
  .band { flex-direction: column; align-items: flex-start; gap: 32px; }
  .band--80 { padding-top: var(--layout-section); padding-bottom: var(--layout-section); gap: 24px; }
  .band .newsletter { width: 100%; }
  .band .field { flex: 1 1 0; width: auto; }
}

@media (max-width: 767px) {
  .band .newsletter { flex-direction: column; align-items: stretch; }
  .band .field { flex: none; }
  .band .btn { width: 100%; }
}

/* ---------- Salas ---------- */
.venues { display: flex; flex-direction: column; gap: 64px; padding: 64px var(--layout-margin) var(--layout-section); }
.venue { display: flex; align-items: stretch; background: var(--cream); }
.venue__photo {
  position: relative; width: 560px; flex-shrink: 0; overflow: hidden;
  border: var(--border-rule) solid var(--color-border-default);
}
.venue__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.venue__info {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  padding: 32px;
  border: var(--border-rule) solid var(--color-border-default);
}
.venue--left .venue__photo { margin-right: -2px; }
.venue--right .venue__info { margin-right: -2px; }
.venue__info > .t-body-l { color: var(--color-text-secondary); }
.specs { width: 100%; margin: 0; display: flex; flex-direction: column; }
.spec {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 0;
  border-bottom: var(--border-hairline) solid var(--color-border-subtle);
}
.spec dt { width: 120px; flex-shrink: 0; margin: 0; color: var(--color-text-secondary); }
.spec dd { flex: 1 1 0; min-width: 0; margin: 0; }

@media (max-width: 1199px) {
  .venues { gap: var(--layout-section); padding: var(--layout-section) var(--layout-margin); }
  .venue { flex-direction: column; }
  .venue--right .venue__photo { order: -1; }
  .venue__photo { width: 100%; height: 240px; }
  .venue--left .venue__photo, .venue--right .venue__photo { margin: 0 0 -2px; }
  .venue--right .venue__info { margin-right: 0; }
}
@media (max-width: 767px) {
  .venue__info { padding: 24px; }
  .spec dt { width: 96px; }
  .venue .ctas .btn { width: 100%; }
}

/* ---------- Sobre Morno ---------- */
.about { display: flex; gap: 96px; padding: var(--layout-section) var(--layout-margin); }
.about__statement { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; color: var(--color-text-secondary); }
.about-photo { width: 100%; aspect-ratio: 1440 / 561; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

@media (max-width: 1199px) {
  .about { flex-direction: column; gap: 32px; }
  .about__statement { gap: 32px; }
  .about__text { gap: 16px; }
  .about-photo { aspect-ratio: auto; height: 325px; }
}
@media (max-width: 767px) {
  .about-photo { height: 300px; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--layout-margin);
  background: var(--cream); color: var(--ink);
  border-top: var(--border-rule) solid var(--ink);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer a:hover { color: var(--green); }

@media (max-width: 1199px) {
  .footer { flex-direction: column-reverse; align-items: flex-start; gap: 20px; padding: 32px var(--layout-margin); }
  .footer__links { gap: 12px 24px; }
}

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--ink); color: var(--sand);
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.splash.is-done { opacity: 0; visibility: hidden; }
.splash__symbol {
  position: relative; width: 326px; height: 141.5px;
  animation: splash-pulse 3.4s linear both;
}
.splash__left, .splash__right { position: absolute; top: 0; }
.splash__left  { left: 66.41px;  width: 89.7344px;  height: 141.498px; animation: splash-left 3.4s linear both; }
.splash__right { left: 136.8px;  width: 122.795px;  height: 141.499px; animation: splash-right 3.4s linear both; }
.splash__right img { transform: scaleX(-1); }
.splash__word {
  display: flex; height: 80px; margin-top: 20px; overflow: hidden;
  font-family: var(--font-brand); font-size: 77.218px; line-height: 77.218px; letter-spacing: 7.7218px;
}
.splash__word span { display: inline-block; animation: splash-letter 3.4s linear both; }
.splash__word span:nth-child(2) { animation-name: splash-letter-2; }
.splash__word span:nth-child(3) { animation-name: splash-letter-3; }
.splash__word span:nth-child(4) { animation-name: splash-letter-4; }
.splash__word span:nth-child(5) { animation-name: splash-letter-5; }
.splash__claim {
  margin-top: 36px; letter-spacing: .16em;
  animation: splash-claim-o 3.4s linear both, splash-claim-y 3.4s linear both;
}

@keyframes splash-pulse {
  0% { scale: 1; } 70.588% { animation-timing-function: ease-in-out; scale: 1; }
  80.882% { animation-timing-function: ease-in-out; scale: 1.04; } 91.176%, 100% { scale: 1; }
}
@keyframes splash-left {
  0% { opacity: 0; translate: 0 80px; }
  5.882% { opacity: 0; translate: 0 80px; animation-timing-function: linear(0, .0764, .2463, .4435, .6282, .7805, .8939, .9704, 1.0162, 1.0389, 1.0459, 1.0433, 1.0359, 1.0269, 1.0182, 1.011, 1.0055, 1.0018, .9995, .9983, .9979, .998, .9983, .9987, .9991, .9995); }
  16.176% { opacity: 1; }
  32.353%, 100% { opacity: 1; translate: 0 0; }
}
@keyframes splash-right {
  0% { opacity: 0; translate: 0 80px; }
  10.294% { opacity: 0; translate: 0 80px; animation-timing-function: linear(0, .0764, .2463, .4435, .6282, .7805, .8939, .9704, 1.0162, 1.0389, 1.0459, 1.0433, 1.0359, 1.0269, 1.0182, 1.011, 1.0055, 1.0018, .9995, .9983, .9979, .998, .9983, .9987, .9991, .9995); }
  20.588% { opacity: 1; }
  36.765%, 100% { opacity: 1; translate: 0 0; }
}
@keyframes splash-letter   { 0%, 29.412% { translate: 0 85px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 47.059%, 100% { translate: 0 0; } }
@keyframes splash-letter-2 { 0%, 31.471% { translate: 0 85px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 49.118%, 100% { translate: 0 0; } }
@keyframes splash-letter-3 { 0%, 33.529% { translate: 0 85px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 51.176%, 100% { translate: 0 0; } }
@keyframes splash-letter-4 { 0%, 35.588% { translate: 0 85px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 53.235%, 100% { translate: 0 0; } }
@keyframes splash-letter-5 { 0%, 37.647% { translate: 0 85px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 55.294%, 100% { translate: 0 0; } }
@keyframes splash-claim-o { 0%, 55.882% { opacity: 0; animation-timing-function: ease-out; } 70.588%, 100% { opacity: 1; } }
@keyframes splash-claim-y { 0%, 55.882% { translate: 0 12px; animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 73.529%, 100% { translate: 0 0; } }

@media (max-width: 767px) {
  .splash__inner { transform: scale(.7); }
}

/* ---------- Animacións GSAP (js/animations.js) ----------
   html.js-anim agóchase o contido ata que GSAP fixa os estados iniciais,
   para evitar un parpadeo. Se GSAP non carga, animations.js quita a clase. */
.js-anim main { visibility: hidden; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- Axustes de Inicio ---------- */
.splash__inner { display: flex; flex-direction: column; align-items: center; }

@media (min-width: 1200px) {
  .section-heading--plain { padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 1199px) {
  .home-axenda { display: flex; flex-direction: column; gap: 32px; }
  .home-artistas { gap: 32px; }
}

/* ---------- Axustes tablet (Salas / bandas) ---------- */
@media (max-width: 1199px) {
  .venue__info { padding: 24px; }
  .venue .ctas { flex-direction: column; align-items: flex-start; }
  .band__copy .t-body-l { max-width: none; }
}
@media (max-width: 767px) {
  .venue .ctas { align-items: stretch; }
}

/* ---------- Aviso legal (modal) ---------- */
.footer__legal {
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
  cursor: pointer;
}
.footer__legal:hover { color: var(--green); }

.legal {
  width: min(760px, calc(100% - 32px));
  max-height: min(85vh, 900px);
  margin: auto; padding: 0;
  display: flex; flex-direction: column;
  border: var(--border-rule) solid var(--color-border-default);
  border-radius: 0;
  overflow: hidden;
}
.legal:not([open]) { display: none; }
.legal::backdrop { background: rgba(30, 30, 30, .72); }

.legal__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 32px 32px 24px;
  border-bottom: var(--border-rule) solid var(--color-border-default);
}
.legal__heading { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.legal__close { flex-shrink: 0; }

.legal__body {
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 32px 32px;
  scrollbar-color: var(--sand-2) transparent;
}
.legal__body section {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 0;
  border-bottom: var(--border-hairline) solid rgba(229, 218, 190, .25);
}
.legal__body section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal__body h3 { color: var(--color-text-primary); }
.legal__body p, .legal__body li { color: var(--color-text-secondary); max-width: 62ch; }
.legal__body strong { color: var(--color-text-primary); font-weight: 400; }
.legal__body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.legal__body a { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__body a:hover { color: var(--sand-2); }

.legal__data { margin: 0; display: flex; flex-direction: column; }
.legal__data > div {
  display: flex; align-items: baseline; gap: 16px;
  padding: 8px 0;
  border-bottom: var(--border-hairline) solid rgba(229, 218, 190, .25);
}
.legal__data dt { width: 96px; flex-shrink: 0; color: var(--color-text-secondary); }
.legal__data dd { margin: 0; flex: 1 1 0; min-width: 0; color: var(--color-text-primary); overflow-wrap: anywhere; }
.legal__todo { color: var(--signal) !important; }

.legal[open] { animation: legal-in .35s cubic-bezier(.16, 1, .3, 1); }
.legal[open]::backdrop { animation: legal-fade .35s ease; }
@keyframes legal-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes legal-fade { from { opacity: 0; } }

@media (max-width: 767px) {
  .legal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border: 0; }
  .legal__head { padding: 20px var(--layout-margin) 20px; align-items: center; }
  .legal__body { padding: 0 var(--layout-margin) 32px; }
  .legal__data > div { flex-direction: column; gap: 2px; }
  .legal__data dt { width: auto; }
}

/* ---------- Newsletter: campo trampa e estado de envío ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter .btn:disabled { opacity: .7; cursor: progress; }

/* ---------- Aviso ao copiar o correo ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: var(--ink); color: var(--sand);
  border: var(--border-rule) solid var(--sand);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
