/* ===================== VARIABLES ===================== */
:root {
  --navy:   #21244D;
  --coral:  #F47A66;
  --blue:   #234BB9;
  --black:  #040404;
  --pale:   #D4ECFC;
  --white:  #ffffff;
  --grey:   #6b6f8a;
  --border: #d9dbe6;

  --font-display: "Dela Gothic One", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --container: 1100px;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Footer pegado abajo aunque la página tenga poco contenido */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main { flex: 1 0 auto; }
body > .site-header,
body > .site-footer { flex-shrink: 0; }

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===================== HEADER ===================== */
.site-header { position: relative; z-index: 50; }

/* Barra superior azul */
.topbar { background: var(--navy); }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.site-header__logo img { height: 48px; width: auto; }

/* Barra blanca con el botón de menú */
.menubar { background: var(--white); }

.menubar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--border);
}

/* Social icons */
.social { display: flex; align-items: center; gap: 12px; }

.social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  transition: background .2s ease, color .2s ease;
}

.social a:hover { background: var(--coral); color: var(--white); }

/* Hamburger */
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--black);
  border: none;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Barra superior: idioma + redes */
.topbar__right { display: flex; align-items: center; gap: 18px; }

/* Selector de idioma */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; }
.lang-switch--top { color: rgba(255,255,255,.55); }
.lang-switch--top a { color: rgba(255,255,255,.6); letter-spacing: .04em; transition: color .2s; }
.lang-switch--top a:hover { color: #fff; }
.lang-switch--top a.is-active { color: var(--coral); }

.menubar__inner { justify-content: space-between; }
.menubar__label {
  font-family: var(--font-display);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); order: -1;
}

/* ===================== MEGA MENÚ FULL-WIDTH ===================== */
.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  background: radial-gradient(120% 120% at 15% 0%, #2b2f63 0%, var(--navy) 45%, #14162f 100%);
  color: #fff;
  overflow-y: auto;
  display: flex;
  align-items: center;
  padding: 72px 0 40px;
  animation: megaFade .35s ease both;
}
.mega-menu[hidden] { display: none; }

@keyframes megaFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes megaUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.mega-menu__close {
  position: absolute;
  top: 26px; right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  display: grid; place-content: center;
  transition: background .2s, transform .2s;
}
.mega-menu__close:hover { background: var(--coral); border-color: var(--coral); transform: rotate(90deg); }

.mega-menu__inner {
  display: grid;
  grid-template-columns: 3.4fr 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
  max-width: 1400px;
}

/* Enlaces en naranja, dos columnas */
.mega-menu__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 40px;
}

.mega-item {
  animation: megaUp .45s ease both;
}
.mega-item:nth-child(1) { animation-delay: .04s; }
.mega-item:nth-child(2) { animation-delay: .08s; }
.mega-item:nth-child(3) { animation-delay: .12s; }
.mega-item:nth-child(4) { animation-delay: .16s; }
.mega-item:nth-child(5) { animation-delay: .20s; }
.mega-item:nth-child(6) { animation-delay: .24s; }
.mega-item:nth-child(7) { animation-delay: .28s; }
.mega-item:nth-child(8) { animation-delay: .32s; }
.mega-item:nth-child(9) { animation-delay: .36s; }
.mega-item:nth-child(10) { animation-delay: .40s; }

.mega-item { padding: 9px 0 4px; }

.mega-link {
  display: block;
  padding: 0 4px 2px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.1;
  letter-spacing: -.4px;
  white-space: nowrap;
  color: var(--coral);
  position: relative;
  transition: color .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}
.mega-link__desc {
  display: block;
  padding-left: 4px;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.35;
}
.mega-link::before {
  content: '→';
  position: absolute;
  left: 4px;
  top: 0;
  opacity: 0;
  color: var(--coral);
  transform: translateX(-.6em);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.mega-link:hover {
  color: #fff;
  transform: translateX(1.3em);
}
.mega-link:hover::before {
  opacity: 1;
  transform: translateX(-1.3em);
}

.mega-link__subs { display: flex; flex-wrap: wrap; gap: 1px 14px; padding: 0 0 11px 4px; }
.mega-link__subs li { position: relative; }
.mega-link__subs li:not(:last-child)::after {
  content: '·'; color: rgba(255,255,255,.28); position: absolute; right: -9px;
}
.mega-link__subs a {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  line-height: 1.5;
  transition: color .2s;
}
.mega-link__subs a:hover { color: var(--coral); }

/* Panel lateral */
.mega-menu__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: megaUp .5s ease .3s both;
}
.mega-menu__block { display: flex; flex-direction: column; gap: 12px; }
.mega-menu__label {
  font-family: var(--font-display);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.mega-menu__tagline { font-size: 1.05rem; line-height: 1.5; color: rgba(255,255,255,.85); max-width: 340px; }

.lang-switch--mega { display: flex; gap: 10px; }
.lang-switch--mega a {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700; font-size: .9rem;
  color: rgba(255,255,255,.8);
  transition: all .2s;
}
.lang-switch--mega a:hover { border-color: #fff; color: #fff; }
.lang-switch--mega a.is-active { background: var(--coral); border-color: var(--coral); color: #fff; }

.social--mega a { width: 40px; height: 40px; border-width: 1.5px; }
.mega-menu__stripes { width: 160px; opacity: .8; margin-top: 4px; }

@media (max-width: 820px) {
  .mega-menu { padding: 72px 0 40px; align-items: flex-start; }
  .mega-menu__inner { grid-template-columns: 1fr; gap: 32px; }
  .mega-menu__nav { grid-template-columns: 1fr; }
  .mega-link { font-size: clamp(1.3rem, 6vw, 1.9rem); white-space: normal; }
  .lang-switch--top { display: none; }
}

/* Navegación por subtipos en las secciones del directorio */
.subtipo-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.subtipo-nav a { color: var(--navy); font-size: .95rem; }
.subtipo-nav a:hover { color: var(--coral); }
.subtipo-nav a.is-active { font-weight: 700; color: var(--coral); }

.ficha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ficha-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: box-shadow .2s, transform .2s;
}
.ficha-card:hover { box-shadow: 0 8px 24px rgba(33,36,77,.10); transform: translateY(-2px); }
.ficha-card__head { display: flex; flex-direction: column; gap: 8px; }
.ficha-card__name { font-size: 1.1rem; line-height: 1.2; color: var(--navy); }
.ficha-card__tag { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: var(--pale); color: var(--blue); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ficha-card__desc { color: #4a5878; font-size: .88rem; line-height: 1.5; }
.ficha-card__meta { display: flex; flex-direction: column; gap: 5px; list-style: none; padding: 0; margin: 0; }
.ficha-card__meta li { display: flex; align-items: center; gap: 7px; color: #55698c; font-size: .85rem; }
.ficha-card__meta svg { color: var(--coral); flex-shrink: 0; }
.ficha-card__meta a { color: var(--blue); text-decoration: none; word-break: break-word; }
.ficha-card__meta a:hover { text-decoration: underline; }
.ficha-card__spotify { border-radius: 12px; margin-top: 4px; display: block; background: #282828; } /* fondo mientras carga */
.ficha-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.ficha-card__links a {
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--navy); transition: all .18s;
}
.ficha-card__links a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ===================== HERO ===================== */
.hero { padding-top: 48px; }

.hero__title {
  font-family: var(--font-display);
  color: var(--black);
  font-size: clamp(1.2rem, 7vw, 4.8rem);
  line-height: 1;
  margin: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2%;
  width: 100%;
  white-space: nowrap;
  letter-spacing: -1px;
}

.hero__title-text { flex: 0 1 auto; }

.hero__stars {
  height: clamp(34px, 5vw, 58px);
  width: auto;
  flex: none;
}

.hero__banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  padding-left: 34px;
}

/* Etiqueta vertical reutilizable: línea arriba + texto debajo, sin solaparse */
.hero__sidelabel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* La línea crece para ocupar la altura libre; el texto queda abajo */
.vlabel__line {
  width: 2px;
  background: var(--navy);
  flex: 1 1 auto;
  margin-bottom: 16px;
}

.vlabel__text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: 1px;
  color: var(--navy);
}

.hero__media {
  position: relative;
  z-index: 2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.hero__panel {
  background: var(--blue);
  color: var(--white);
  margin-left: -40px;
  padding: 32px 32px 26px 64px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__panel p {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.45;
  letter-spacing: .5px;
  margin: 0;
  margin-top: 14%;
}

.hero__boton {
  align-self: flex-start;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1.5px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.hero__boton:hover { background: var(--white); color: var(--blue); }

.hero__stripes {
  width: 78%;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 28px;
}

/* ===================== INTRO ===================== */
.intro {
  text-align: center;
  padding-block: 56px 64px;
}

.intro p {
  color: var(--blue);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  max-width: 620px;
  margin-inline: auto;
}

/* ===================== SECTION TITLES ===================== */
.section-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 28px;
}

.section-title--light { color: var(--white); text-align: right; }

/* ===================== SEARCH BLOCK / CARD ===================== */
.search-block { padding-block: 24px; }

.search-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: 0 18px 40px -28px rgba(33,36,77,.45);
}

.field { margin-bottom: 26px; }
.field:last-of-type { margin-bottom: 0; }

.field--inline {
  display: flex;
  align-items: center;
  gap: 28px;
}

.field--inline label,
.field__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .5px;
  color: var(--navy);
  text-transform: uppercase;
  white-space: nowrap;
}

.field__label { display: block; margin-bottom: 16px; }

.field input[type="text"] {
  flex: 1;
  max-width: 320px;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 8px 4px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--navy);
  background: transparent;
}

.field input[type="text"]::placeholder { color: #b7bacb; }
.field input[type="text"]:focus { outline: none; border-bottom-color: var(--coral); }

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}

.checkbox-grid--single { grid-template-columns: 1fr; }

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--navy);
  cursor: pointer;
}

.checkbox input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
  display: grid;
  place-content: center;
  flex-shrink: 0;
}

.checkbox input::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: scale(0);
  transition: transform .12s ease;
  background: var(--coral);
  border-radius: 1px;
}

.checkbox input:checked { border-color: var(--coral); }
.checkbox input:checked::before { transform: scale(1); }

/* Action / button */
.search-card__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.search-card--simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 44px;
}

.search-card--simple .field { margin-bottom: 0; flex: 1; }
.search-card--simple .search-card__action { margin-top: 0; }

.btn {
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, filter .15s ease;
}

.btn--search { background: var(--coral); color: var(--white); }
.btn--search:hover { filter: brightness(1.05); transform: translateY(-1px); }

.btn__icon { display: block; flex: none; }

/* ===================== EMPRESAS ===================== */
.empresas {
  background: var(--navy);
  padding-block: 56px;
  margin-block: 32px;
}

/* ===================== FESTIVAL BANNER ===================== */
.festival-banner {
  position: relative;
  padding-left: 34px;
  padding-block: 24px 16px;
}

.festival-banner__label {
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.festival-banner__label .vlabel__text { font-size: 1rem; }

.festival-banner__media {
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.festival-banner__media img { width: 100%; height: 100%; object-fit: cover; }

.festival-banner__media.is-placeholder {
  background: linear-gradient(120deg, #2a1a3a, #b8551f 55%, #f4a14a);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  margin-top: 56px;
}

/* Cuando la sección previa ya es azul marino, el footer va pegado
   para que el fondo parezca continuo */
.site-footer--flush { margin-top: 0; }

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-block: 56px 40px;
  align-items: start;
}

.site-footer__brand img { width: 220px; max-width: 60%; margin-bottom: 24px; }

.site-footer__address {
  font-style: normal;
  font-size: .9rem;
  text-align: center;
  align-self: center;
  color: rgba(255,255,255,.85);
}

.site-footer__contact { text-align: right; font-size: .9rem; }
.site-footer__contact > a { font-weight: 600; display: inline-block; margin-bottom: 18px; }
.site-footer__contact > a:hover { color: var(--coral); }
.site-footer__contact ul { display: flex; flex-direction: column; gap: 6px; color: rgba(255,255,255,.85); }
.site-footer__contact li a:hover { color: var(--coral); }

.social--footer a { width: 28px; height: 28px; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 16px;
}

.site-footer__bottom p {
  margin: 0;
  text-align: center;
  font-size: .72rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,.7);
}

/* ===================== PÁGINA: BANNER SUPERIOR ===================== */
.page-banner {
  position: relative;
  padding-top: 40px;
  padding-right: 44px;
}

.page-banner__media {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.page-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

/* Parallelogram azul inferior derecha */
.page-banner__shape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 40%;
  background: var(--blue);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.page-banner__title {
  position: absolute;
  right: 5%;
  bottom: 7%;
  margin: 0;
  z-index: 2;
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Etiqueta vertical en el lado derecho */
.page-banner__sidelabel {
  position: absolute;
  right: 0;
  top: 40px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===================== PÁGINA: LISTADO ===================== */
.listing {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
  padding-block: 56px;
}

/* Separa un poco los filtros del borde izquierdo */
.listing__filters { padding-left: 18px; }

/* Tarjeta de filtros */
.filter-card {
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  padding: 28px 26px 32px;
}

.filter-card .field { margin-bottom: 24px; }

.filter-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--navy);
}

.filter-input::placeholder { color: #b7bacb; }
.filter-input:focus { outline: none; border-color: var(--coral); }

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-card .btn--search { margin-top: 4px; }

.filter-stripes {
  width: 100%;
  margin-top: 22px;
}

/* Rejilla de artistas */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.artist-cell { display: flex; flex-direction: column; gap: 8px; }

.artist-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.artist-card__spotify { border-radius: 10px; display: block; background: #282828; } /* fondo mientras carga */

.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.artist-card:hover img { transform: scale(1.04); }

.artist-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 4, .72), rgba(4, 4, 4, 0) 48%);
}

.artist-card__name {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.artist-card--placeholder {
  display: grid;
  place-content: end start;
  background: repeating-linear-gradient(135deg, #262a55, #262a55 12px, #2d3162 12px, #2d3162 24px);
}

.artist-card--placeholder::after { background: none; }

/* Paginación */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 18px;
}

.pagination__info { color: var(--navy); font-weight: 500; font-size: .95rem; }

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pagination__pages a {
  color: var(--blue);
  font-weight: 700;
  font-size: .95rem;
}

.pagination__pages a.is-active {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pagination__pages a:hover { color: var(--coral); }

.pagination__next { display: grid; place-items: center; color: var(--navy); }

/* ===================== PÁGINA: BANNER INFERIOR ===================== */
.page-banner-bottom { margin-top: 8px; }

.page-banner-bottom img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
}

/* ===================== FICHA DE ARTISTA ===================== */
/* Sección foto + bio con fondo azul claro */
.artist-intro {
  background: var(--pale);
  display: flow-root;            /* evita colapso de márgenes */
  margin-top: 150px;             /* hueco blanco sobre la sección */
  padding-bottom: 120px;         /* aire para que las bandas no toquen el vídeo */
}

.artist-banner {
  margin-top: -110px;            /* la foto sube dejando un hueco bajo la línea */
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.artist-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fotos verticales o cuadradas: enteras, sobre un fondo desenfocado de la misma foto */
.artist-banner--vertical { position: relative; background: var(--navy); }
.artist-banner--vertical .artist-banner__fondo {
  position: absolute;
  inset: 0;
  filter: blur(28px) brightness(.75);
  transform: scale(1.2);
}
.artist-banner--vertical .artist-banner__foto { position: relative; object-fit: contain; }

.artist-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-top: 48px;
}

.artist-name {
  font-family: var(--font-display);
  color: var(--black);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 28px;
  text-transform: uppercase;
}

/* Datos */
.artist-meta { margin: 0 0 26px; }

.artist-meta > div {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .95rem;
}

.artist-meta dt {
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.artist-meta dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  color: var(--navy);
}

.artist-email {
  display: inline-block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.artist-phone { display: block; margin-top: -14px; }
.artist-email:hover { color: var(--coral); }

.artist-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

.artist-social a { color: var(--blue); display: block; }
.artist-social a:hover { color: var(--coral); }

.artist-stripes { width: 58%; display: block; }

/* Bio (columna derecha) */
.artist-info__bio { color: var(--navy); }
.artist-info__bio p {
  margin: 0 0 18px;
  font-size: .98rem;
  line-height: 1.7;
}

/* Sección vídeo + spotify con fondo azul marino */
.artist-media {
  background: var(--navy);
  display: flow-root;
  padding-bottom: 80px;
}

.artist-video {
  display: block;
  width: min(620px, 80%);
  margin: -70px auto 0;          /* el vídeo sube y pisa el azul claro */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
}

.artist-video img { width: 100%; display: block; }

.artist-spotify {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
}

.artist-spotify__text h2 {
  font-family: var(--font-display);
  color: var(--coral);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.artist-spotify__text p {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

.artist-spotify__player img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* ===================== PÁGINA: FESTIVALES ===================== */
/* Banner con título grande a lo ancho */
.page-banner--events .page-banner__shape {
  width: 52%;
  height: 46%;
}

.page-banner--events .page-banner__title {
  left: 4%;
  right: 4%;
  bottom: 9%;
  font-size: clamp(1.2rem, 4.8vw, 3.2rem);
  white-space: nowrap;
}

.festival-list { padding-block: 56px; }

.festival-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.festival-item + .festival-item {
  border-top: 2px solid var(--navy);
  padding-top: 40px;
}

.festival-item__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.event-social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.event-social a { color: var(--blue); display: block; }
.event-social a:hover { color: var(--coral); }

.event-name {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.05;
  margin: 4px 0 22px;
  text-transform: uppercase;
}

.event-contact {
  margin: 20px 0 0;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}
.event-contact a { display: block; }
.event-contact a:hover { color: var(--coral); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hero__banner { grid-template-columns: 1fr; padding-left: 26px; }
  .hero__panel { margin-left: 0; padding: 28px 24px; }
  /* Foto, texto y botón seguidos: sin el hueco de escritorio sobre el texto */
  .hero__panel p { margin-top: 0; }
  .hero__media { order: -1; }

  .search-card { padding: 28px 22px; }
  .checkbox-grid { grid-template-columns: 1fr; }

  .search-card--simple { flex-direction: column; align-items: stretch; }
  .field--inline { flex-direction: column; align-items: flex-start; gap: 10px; }
  .field input[type="text"] { max-width: 100%; width: 100%; }
  .search-card--simple .search-card__action { justify-content: flex-start; }

  .section-title--light { text-align: left; }

  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer__address,
  .site-footer__contact { text-align: center; }
  .site-footer__contact ul { align-items: center; }
  .site-footer__brand img { margin-inline: auto; }

  /* Página Artistas */
  .listing { grid-template-columns: 1fr; gap: 32px; }
  .page-banner__title { font-size: clamp(1.6rem, 8vw, 2.6rem); }

  /* Ficha de artista */
  .artist-info { grid-template-columns: 1fr; gap: 32px; }
  /* Móvil: nombre, luego el resumen y debajo los datos */
  .artist-info { row-gap: 0; }
  .artist-info__main { display: contents; }
  /* Con display: contents los hijos de __main son elementos de la rejilla: todos al final… */
  .artist-info > *,
  .artist-info__main > * { order: 3; }
  .artist-info .ficha-back,
  .artist-info .ficha-logo,
  .artist-info .artist-name { order: 1; }
  .artist-info .artist-info__bio { order: 2; margin-bottom: 32px; }
  .artist-info .artist-info__bio:empty { display: none; }
  .artist-info .artist-email,
  .artist-info .ficha-back,
  .artist-info .ficha-logo { justify-self: start; }
  /* Nombres largos («Muestra d'asturianada electrónica», «Musicasturiana.com») caben en pantalla:
     sin min-width 0 la rejilla se ensancha hasta la palabra más larga en vez de partirla */
  .artist-name { font-size: clamp(1.7rem, 7.5vw, 2.4rem); hyphens: auto; overflow-wrap: anywhere; }
  .artist-info > *,
  .artist-info__main > * { min-width: 0; }
  /* Foto vertical en la cabecera: franja más alta para que no quede diminuta */
  .artist-banner--vertical { aspect-ratio: 4 / 3; }
  /* Menos hueco entre las rayas y «Siéntilo en Spotify» */
  .artist-intro { padding-bottom: 72px; }
  .artist-video { margin-top: -40px; }
  .artist-spotify { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .artist-video { width: 100%; }

  /* Festivales */
  .festival-item { grid-template-columns: 1fr; gap: 22px; }
  .page-banner--events .page-banner__title { font-size: clamp(1.3rem, 6vw, 2.4rem); }
}

@media (max-width: 520px) {
  .artist-grid { grid-template-columns: 1fr; }
  .pagination { justify-content: center; }
}

/* ===================== BANNER FINANCIACIÓN ===================== */
.site-footer__funding {
  background: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--border);
}
.site-footer__funding img {
  width: 100%;
  max-width: 760px;
  height: auto;
}

/* ===================== PÁGINAS LEGALES ===================== */
.legal {
  padding: 56px 0 72px;
}
.legal__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--navy);
  margin: 0 0 8px;
  text-align: center;
}
.legal__updated {
  color: var(--grey);
  font-size: .85rem;
  margin: 0 0 32px;
  text-align: center;
}
.legal__body {
  max-width: 820px;
  margin: 0 auto;
  color: #2c2f52;
}
.legal__body h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 30px 0 10px;
}
.legal__body h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 22px 0 8px;
}
.legal__body p { margin: 0 0 14px; line-height: 1.7; }
.legal__body ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal__body li { margin-bottom: 6px; line-height: 1.6; }
.legal__body a { color: var(--blue); text-decoration: underline; }

.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.sitemap__group ul { list-style: none; padding-left: 0; }
.sitemap__group li { margin-bottom: 8px; }
.legal__note {
  background: var(--pale);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .9rem;
  color: #1c3a6e;
  margin: 8px 0 20px;
}

/* ===================== TIENDA ===================== */
.shop { padding: 40px 0 70px; }
.cart, .checkout, .confirmacion { padding: 48px 0 72px; }

/* Carrito en la barra superior */
.cart-link { position: relative; display: inline-flex; align-items: center; color: #fff; }
.cart-link svg { display: block; }
.cart-link__count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px;
  background: var(--coral); color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 800;
  display: grid; place-content: center; padding: 0 4px;
}

/* Categorías */
.shop-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.shop-cat { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--border); font-weight: 700; font-size: .88rem; color: var(--navy); transition: all .2s; }
.shop-cat:hover { border-color: var(--navy); }
.shop-cat.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Rejilla de productos */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(33,36,77,.12); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--pale); display: grid; place-items: center; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media--placeholder .product-card__ph, .product__ph { font-family: var(--font-display); color: #fff; opacity: .5; font-size: 1.4rem; }
.product-card__badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-card__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.product-card__name { font-weight: 700; color: var(--navy); }
.product-card__price { color: var(--coral); font-weight: 800; }

/* Ficha de producto */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0 72px; align-items: start; }
.product__media { aspect-ratio: 1 / 1; background: var(--pale); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__cat { color: var(--blue); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.product__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.4rem); color: var(--navy); margin: 8px 0; }
.product__artist { color: var(--grey); }
.product__artist a { color: var(--blue); }
.product__price { font-size: 1.8rem; font-weight: 800; color: var(--coral); margin: 12px 0 18px; }
.product__desc { color: #3a3d63; line-height: 1.7; margin-bottom: 20px; }
.product__desc p { margin: 0 0 10px; }
.product__form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.product__field { display: flex; flex-direction: column; gap: 6px; }
.product__field label { font-weight: 700; font-size: .82rem; }
.product__field select, .product__field input { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-family: var(--font-body); min-width: 100px; }
.product__field input { width: 90px; }
.product__add { align-self: flex-end; }
.product__error { background: #fde7e7; color: #b23434; padding: 10px 14px; border-radius: 10px; font-weight: 600; margin-bottom: 14px; }
.product__agotado { font-weight: 800; color: var(--grey); }

/* Carrito */
.cart__ok { background: #e2f6ea; color: #1c7a44; padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 20px; }
.cart-line { display: grid; grid-template-columns: 70px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line__media { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; background: var(--pale); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { display: flex; flex-direction: column; gap: 2px; }
.cart-line__name { font-weight: 700; color: var(--navy); }
.cart-line__talla { color: var(--grey); font-size: .85rem; }
.cart-line__price { color: var(--grey); font-size: .9rem; }
.cart-line__qty input { width: 64px; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px; text-align: center; }
.cart-line__subtotal { font-weight: 800; color: var(--navy); min-width: 80px; text-align: right; }
.cart-line__del { background: none; border: none; color: var(--grey); font-size: 1.1rem; padding: 6px; }
.cart-line__del:hover { color: #e14b4b; }
.cart__foot { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cart__total { display: flex; gap: 16px; font-size: 1.2rem; }
.cart__note { color: var(--grey); font-size: .85rem; }
.cart__actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.btn--ghost-dark { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }

/* Checkout */
.checkout__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.checkout__errors { background: #fde7e7; color: #b23434; padding: 12px 18px; border-radius: 10px; margin-bottom: 20px; }
.checkout__errors ul { padding-left: 18px; list-style: disc; }
.checkout__h2 { font-size: 1.1rem; color: var(--navy); margin: 8px 0 14px; }
.checkout__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-bottom: 26px; }
.field2 { display: flex; flex-direction: column; gap: 6px; }
.field2.full { grid-column: 1 / -1; }
.field2 label { font-weight: 700; font-size: .82rem; }
.field2 input, .field2 textarea { border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px; font-family: var(--font-body); }
.checkout__envios { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.envio-op { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 16px; cursor: pointer; }
.envio-op__nombre { flex: 1; font-weight: 600; }
.envio-op__nombre small { color: var(--grey); font-weight: 400; }
.envio-op__precio { font-weight: 800; color: var(--navy); }
.checkout__resumen { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; position: sticky; top: 20px; }
.resumen__lineas { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.resumen__lineas li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.resumen__fila { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); }
.resumen__total { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.resumen__pago { background: var(--pale); border-radius: 10px; padding: 12px 14px; font-size: .85rem; margin: 16px 0; color: #1c3a6e; }
.checkout__btn { width: 100%; justify-content: center; }

/* Confirmación */
.confirmacion__box { max-width: 620px; margin: 0 auto; text-align: center; }
.confirmacion__check { width: 74px; height: 74px; border-radius: 50%; background: #e2f6ea; color: #1c7a44; font-size: 2.2rem; display: grid; place-content: center; margin: 0 auto 18px; }
.confirmacion__ref { font-size: 1.05rem; }
.confirmacion__resumen { text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 26px 0; }
.confirmacion__resumen ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.confirmacion__resumen li { display: flex; justify-content: space-between; gap: 12px; }

.confirmacion__pago { text-align: left; background: var(--pale); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 26px 0; color: #1c3a6e; }
.confirmacion__pago h2 { margin-bottom: 12px; }
.pago__fila { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.pago__fila:last-of-type { border-bottom: none; }
.pago__fila span { color: #55698c; }
.pago__fila strong { text-align: right; }
.pago__nota { margin-top: 12px; font-size: .85rem; }

@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__fields { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 56px 1fr auto; grid-template-areas: "media info sub" "media qty del"; }
}

/* ===================== ARTISTES: etiquetas clicables y filtros activos ===================== */
.artist-meta dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(244, 122, 102, .5);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.artist-meta dd a:hover { color: var(--coral); text-decoration-color: var(--coral); }

select.filter-input { background: var(--white); appearance: auto; }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.active-filters__label { font-size: .85rem; color: var(--grey); }
.active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--navy);
  font-size: .85rem;
  text-decoration: none;
}
.active-filters__chip span { color: var(--coral); font-weight: 700; }
.active-filters__chip:hover { background: #c3e2f8; }
.active-filters__clear { font-size: .85rem; color: var(--coral); }

.artist-banner--placeholder {
  background: repeating-linear-gradient(135deg, #262a55, #262a55 12px, #2d3162 12px, #2d3162 24px);
}

/* Textos breves de la guía (~100 caracteres): se muestran como cita destacada */
.artist-info__bio--corta {
  align-self: center;
  border-left: 4px solid var(--coral);
  padding-left: 28px;
}
.artist-info__bio--corta p {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
}

/* Portada: carrusel de fotos al azar del banco de imágenes */
.hero__media--carrusel { position: relative; aspect-ratio: 2 / 1; min-height: 100%; overflow: hidden; }
.hero__media--carrusel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__media--carrusel img.is-active { opacity: 1; }

/* ===================== DIRECTORIO (formato Artistes en todas las secciones) ===================== */
.artist-card__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 4px;
}
.ficha-back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.ficha-back:hover { color: var(--coral); }
.artist-banner--short { aspect-ratio: 16 / 3; }
.ficha-destacados {
  margin-top: 22px !important;
  font-size: .92rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
.ficha-destacados span {
  display: block;
  font-family: var(--font-display);
  font-size: .78rem;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.artist-info__bio--corta:empty { border-left: 0; }

/* "Un proyecto de musicasturiana.com" (pie y mega menú) */
.site-footer__proyecto { margin: 0; }
.site-footer__proyecto a { color: var(--white); font-weight: 700; font-size: 1.05rem; }
.site-footer__proyecto a:hover { color: var(--coral); }
.mega-menu__proyecto { margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.75); }
.mega-menu__proyecto a { color: var(--coral); font-weight: 700; }

/* Títulos de cabecera largos (p. ej. "Empreses industria musical y pa eventos"):
   que no se corten en pantallas estrechas */
.page-banner__title,
.page-banner--events .page-banner__title {
  left: 5%;
  right: 5%;
  text-align: right;
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
@media (max-width: 900px) {
  .page-banner__title,
  .page-banner--events .page-banner__title { font-size: clamp(.95rem, 4.6vw, 2.2rem); bottom: 8%; }
}

/* Logo de la empresa/proyecto en su ficha */
.ficha-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 240px;
  max-height: 110px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 8px 24px -14px rgba(33, 36, 77, .45);
}
.page-banner__title { text-shadow: 0 2px 14px rgba(4, 4, 4, .55); }
.site-footer__proyecto span,
.mega-menu__proyecto span { display: block; margin-bottom: 10px; }
.site-footer__proyecto img { width: 200px; max-width: 100%; height: auto; display: inline-block; }
.mega-menu__proyecto img { width: 180px; max-width: 100%; height: auto; display: block; }
.site-footer__proyecto a:hover img,
.mega-menu__proyecto a:hover img { opacity: .8; }
.artist-card__nospotify { display: block; width: 100%; height: 80px; object-fit: fill; border-radius: 10px; }

/* Icono {a} de musicaasturiana.com: SVG en línea, toma el color del enlace */
.icono-a { display: block; }

/* Iconos de redes: círculo más grande y más aire alrededor del icono */
.social a,
.social--footer a { width: 40px; height: 40px; }
.social--mega a { width: 48px; height: 48px; }
.social a svg,
.social a .icono-a { width: 18px; height: 18px; }
.social--mega a svg,
.social--mega a .icono-a { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .social { gap: 8px; }
  .social--header a { width: 34px; height: 34px; }
  .social--header a svg,
  .social--header a .icono-a { width: 15px; height: 15px; }
}
@media (max-width: 400px) {
  .social { gap: 6px; }
  .social--header a { width: 30px; height: 30px; }
  .social--header a svg,
  .social--header a .icono-a { width: 14px; height: 14px; }
}

/* Pie: logo y fila de iconos con el mismo ancho */
.site-footer__brand { width: 300px; max-width: 100%; }
.site-footer__brand img { display: block; width: 100%; max-width: 100%; height: auto; }
.site-footer__brand .social--footer { justify-content: space-between; gap: 0; }
@media (max-width: 900px) {
  .site-footer__brand { margin-inline: auto; }
}
@media (max-width: 360px) {
  .site-footer__brand { width: 270px; }
  .site-footer__brand .social--footer a { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .mega-link, .mega-link::before { transition: color .2s, opacity .2s; }
  .mega-link:hover { transform: none; }
}

/* ===================== SELECTOR DE VISTA: «Fotos» / «Fichas» ===================== */
.vista-switch {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  border-radius: 14px 0 0 14px;
  padding: 6px;
  gap: 4px;
  box-shadow: 0 10px 30px -12px rgba(4, 4, 4, .45);
}
.vista-switch button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px;
  padding: 10px 4px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.vista-switch button:hover { color: var(--white); }
.vista-switch button[aria-pressed="true"] { background: var(--coral); color: var(--white); }
@media (max-width: 700px) {
  .vista-switch { top: auto; bottom: 16px; transform: none; flex-direction: row; border-radius: 14px 0 0 14px; }
  .vista-switch button { width: 58px; padding: 8px 4px 6px; }
}

/* Tarjetas de información: ocultas en la vista «Fotos» */
.ficha-card--vista { display: none; }
html[data-vista="fichas"] .artist-cell > .artist-card,
html[data-vista="fichas"] .artist-cell > .artist-card__spotify,
html[data-vista="fichas"] .artist-cell > .artist-card__nospotify { display: none; }
html[data-vista="fichas"] .ficha-card--vista { display: flex; height: 100%; }
html[data-vista="fichas"] .artist-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: stretch; }

.ficha-card--vista { overflow: hidden; }
.ficha-card__img {
  display: block;
  margin: -20px -20px 4px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.ficha-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ficha-card--vista:hover .ficha-card__img img { transform: scale(1.04); }
.ficha-card__img--vacia { background: repeating-linear-gradient(135deg, #262a55, #262a55 12px, #2d3162 12px, #2d3162 24px); }
.ficha-card__name a { color: inherit; text-decoration: none; }
.ficha-card__name a:hover { color: var(--coral); }
.ficha-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ficha-card__more { border-color: var(--navy) !important; }

/* Tarjetas: redes como iconos redondos y logo en el listado */
.ficha-card__links { align-items: center; }
.ficha-card__links a.ficha-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--coral);
  color: var(--coral);
  background: transparent;
}
.ficha-card__links a.ficha-card__icon:hover { background: var(--coral); color: var(--white); }
.ficha-card__links a.ficha-card__icon svg { width: 16px; height: 16px; }
.ficha-card__more { margin-left: auto; }
.ficha-card__img--logo img { object-fit: cover; }
.ficha-card--vista:hover .ficha-card__img--logo img { transform: none; }
a.ficha-card__tag { text-decoration: none; transition: background .2s ease, color .2s ease; }
a.ficha-card__tag:hover { background: var(--blue); color: var(--white); }
button.menubar__label {
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  transition: color .25s ease;
}
button.menubar__label:hover { color: var(--coral); }

/* Título de portada «La guía de musicasturiana.com» (más largo que el anterior) */
.hero__title { font-size: clamp(1rem, 3.9vw, 2.9rem); }
.hero__title-text { text-transform: uppercase; }

/* ===================== PORTADA: una tarjeta por sección ===================== */
.home-secciones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 64px 40px;
  padding-block: 40px 72px;
}
.seccion-tile {
  position: relative;
  display: block;
  padding: 44px 44px 0 0;
  text-decoration: none;
  color: inherit;
}
.seccion-tile__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 66%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.seccion-tile__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 78%;
  min-height: 250px;
  padding: 26px 24px 22px;
  background: var(--white);
  border: 1px solid #eceef4;
  box-shadow: 0 34px 40px -24px rgba(4, 4, 4, .35);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease;
}
.seccion-tile__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--navy);
  text-transform: uppercase;
}
.seccion-tile__desc { font-size: .8rem; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--grey); }
.seccion-tile__total { margin-top: auto; font-weight: 700; color: var(--coral); }
.seccion-tile__more {
  align-self: flex-start;
  font-size: .9rem;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
}
.seccion-tile:hover .seccion-tile__card { transform: translateY(-4px); box-shadow: 0 40px 44px -24px rgba(4, 4, 4, .42); }
.seccion-tile:hover .seccion-tile__img { transform: translate(6px, -6px); }
.seccion-tile:hover .seccion-tile__more { color: var(--coral); border-color: var(--coral); }
@media (max-width: 520px) {
  .home-secciones { grid-template-columns: 1fr; gap: 48px; }
}
.seccion-tile__card { width: 84%; }
.seccion-tile__title { font-size: 1.02rem; letter-spacing: -.2px; overflow-wrap: break-word; }

/* Pie: datos de contacto de musicasturiana */
.site-footer__datos {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
}
.site-footer__datos li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__datos svg { flex-shrink: 0; margin-top: 2px; color: var(--coral); }
.site-footer__datos a { color: inherit; text-decoration: none; }
.site-footer__datos a:hover { color: var(--coral); }
.site-footer__proyecto { align-self: start; }
@media (max-width: 900px) {
  .site-footer__datos { align-items: center; text-align: center; }
  .site-footer__datos li { justify-content: center; }
  /* Icono en línea con el texto: si este ocupa dos líneas, el icono queda junto a la primera palabra */
  .site-footer__datos li { display: block; }
  .site-footer__datos svg { display: inline-block; vertical-align: -3px; margin: 0 4px 0 0; }
}
.site-footer__proyecto .site-footer__datos a { font-weight: 400; font-size: inherit; }

/* Mega menú: selector de idioma arriba del todo */
.mega-menu__idioma {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.mega-menu__idioma .mega-menu__label { margin: 0; }

/* ===================== PÁGINA «¿QUÉ YE SIENTI?» ===================== */
.sienti { padding-block: 48px 96px; color: var(--navy); }
.sienti p { line-height: 1.7; }
.sienti h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.sienti__intro { max-width: 820px; margin: 0 auto 64px; text-align: center; font-size: 1.15rem; }
.sienti__lema {
  font-family: var(--font-display);
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 1rem;
}
.sienti__bloque { margin-bottom: 72px; }
.sienti__porque { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.sienti__porque li { border-top: 3px solid var(--coral); padding-top: 16px; }
.sienti__num { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--coral); margin-bottom: 6px; }
.sienti__porque strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.sienti__porque p { margin: 0; font-size: .95rem; color: #4a5878; }
.sienti__perfiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.sienti__perfil { background: var(--pale); border-radius: var(--radius); padding: 22px 24px; }
.sienti__perfil strong { display: block; margin-bottom: 6px; }
.sienti__perfil p { margin: 0; font-size: .95rem; }
.sienti__bloque--azul { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 48px 40px; }
.sienti__logros { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 32px; }
.sienti__logros li { position: relative; padding-left: 30px; line-height: 1.5; }
.sienti__logros li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 700; }
.sienti__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin: 32px 0; }
.sienti__datos div { text-align: center; }
.sienti__datos dt { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--blue); }
.sienti__datos dd { margin: 4px 0 0; font-size: .88rem; color: #4a5878; }
.sienti__organiza { text-align: center; font-weight: 700; }
.sienti__cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.sienti__cta > div { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: 0 24px 40px -28px rgba(33, 36, 77, .35); }
.sienti__cta .btn { display: inline-flex; margin-top: 8px; text-decoration: none; }
.sienti__mail { color: var(--blue); font-weight: 700; }
.sienti__datos { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 20px; }
.sienti__datos dt { font-size: clamp(1.5rem, 2.4vw, 2.1rem); white-space: nowrap; }
.seccion-tile__desc { text-transform: none; font-size: .88rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; }
.hero__title { font-size: clamp(1rem, 4.1vw, 3.15rem); }
.hero__title { font-size: clamp(1rem, 4.1vw, 2.85rem); }

/* Pie: «Con el apoyo de» */
.site-footer__apoyo { background: #1b1d40; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__apoyo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  padding-block: 18px;
}
.site-footer__apoyo-label {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer__apoyo img { height: 58px; width: auto; display: block; }
@media (max-width: 700px) {
  .site-footer__apoyo-inner { justify-content: center; }
  .site-footer__apoyo-label { width: 100%; text-align: center; }
  .site-footer__apoyo img { height: 48px; }
}

/* ===================== CONVOCATORIA «¿Quieres aparecer en SIENTI?» ===================== */
.convocatoria { padding-block: 40px 96px; max-width: 900px; }
.convocatoria__plazo { font-weight: 700; color: var(--coral); font-size: 1.1rem; margin: 0 0 8px; }
.convocatoria__intro { color: var(--navy); margin: 0 0 20px; }
.convocatoria__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.convocatoria__lista a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--navy);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.convocatoria__lista a:hover { border-color: var(--coral); background: var(--coral); color: var(--white); }
.convocatoria__pre { grid-column: 1; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.convocatoria__nombre { grid-column: 1; font-weight: 700; line-height: 1.3; }
.convocatoria__flecha { grid-column: 2; grid-row: 1 / span 2; font-size: 1.2rem; }

.convo-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 4, 4, .6);
}
.convo-pop[hidden] { display: none; }
.convo-pop__caja {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 30px;
  box-shadow: 0 30px 60px -20px rgba(4, 4, 4, .5);
  border-top: 6px solid var(--coral);
}
.convo-pop__caja h2 { font-family: var(--font-display); color: var(--navy); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; margin: 0 40px 12px 0; }
.convo-pop__cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--pale);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.convo-pop__cerrar:hover { background: var(--coral); color: var(--white); }

.convo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 26px 32px;
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 24px 40px -26px rgba(244, 122, 102, .9);
}
.convo-banner__texto { display: flex; flex-direction: column; gap: 4px; }
.convo-banner__texto strong { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.8rem); line-height: 1.15; }
.convo-banner__boton {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease;
}
.convo-banner:hover .convo-banner__boton { background: var(--black); }
.mega-item--destacado .mega-link { color: var(--white); }

/* Sin la etiqueta vertical «SIENTI» en las cabeceras */
.hero__sidelabel,
.page-banner__sidelabel { display: none !important; }
.hero__banner { padding-left: 0; }
.page-banner.container { padding-inline: 24px; }

/* ===================== MÓVIL: menú y ventana emergente más compactos ===================== */
@media (max-width: 820px) {
  .mega-menu { padding: 64px 0 32px; }
  .mega-menu__inner { gap: 20px; }
  .mega-menu__idioma { padding-bottom: 12px; margin-bottom: 4px; }
  .mega-item { padding: 7px 0 7px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mega-link { font-size: 1.02rem; line-height: 1.2; letter-spacing: -.2px; }
  .mega-link__desc { display: block; font-size: .74rem; line-height: 1.35; padding: 3px 4px 0; opacity: .75; }
  .mega-link:hover { transform: none; }
  .mega-menu__tagline { font-size: .9rem; }
}

@media (max-width: 600px) {
  .convo-pop { padding: 10px; align-items: center; }
  .convo-pop__caja { padding: 22px 16px 16px; border-radius: 16px; max-height: calc(100vh - 20px); }
  .convo-pop__caja h2 { font-size: 1.15rem; margin: 0 36px 8px 0; }
  .convo-pop__cerrar { top: 10px; right: 10px; width: 32px; height: 32px; }
  .convo-pop__cerrar svg { width: 18px; height: 18px; }
  .convo-pop .convocatoria__plazo { font-size: .85rem; margin-bottom: 4px; }
  .convo-pop .convocatoria__intro { font-size: .82rem; margin-bottom: 12px; }
  .convo-pop .convocatoria__lista { grid-template-columns: 1fr; gap: 6px; }
  .convo-pop .convocatoria__lista a { padding: 8px 12px; border-radius: 10px; }
  .convo-pop .convocatoria__pre { font-size: .6rem; }
  .convo-pop .convocatoria__nombre { font-size: .82rem; }
  .convo-pop .convocatoria__flecha { font-size: .95rem; }
}

/* Móvil: buscador centrado (sin el margen extra de la izquierda) */
@media (max-width: 900px) {
  .listing__filters { padding-left: 0; }
}

/* Móvil: «musicasturiana.com» en una línea a todo el ancho (tamaño ajustado por JS) */
.hero__dominio { white-space: nowrap; }
@media (max-width: 700px) {
  .hero__title { display: block; }
  .hero__title-text { display: block; }
  .hero__title-text { text-align: center; line-height: 1.05; }
  .hero__prefijo { display: block; }
  .hero__dominio { display: table; margin: 2px auto 0; }
}

/* Palabras largas (títulos, correos, enlaces) parten línea antes que salirse de la pantalla */
body { overflow-wrap: break-word; }
