* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  background: #08090c;
  color: #f2f2f2;
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: #ff4d4d;
  color: white;
}

.hero {
  --page-pad: clamp(14px, 4vw, 24px);
  --hero-content-offset: 0;
  --hero-bg-position: center center;
  --hero-bg-size: auto min(94svh, 1536px);

  position: relative;
  min-height: 100svh;
  overflow: hidden;

  padding: var(--page-pad);

  display: block;

  background: transparent;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      circle at center 46%,
      rgba(0,0,0,.05),
      rgba(0,0,0,.34) 44%,
      rgba(0,0,0,.78) 100%
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - (var(--page-pad) * 2));

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

nav {
  position: relative;
  z-index: 30;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.nav-text-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-text-links {
  flex-wrap: wrap;
  justify-content: center;
}

.social-links {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 143, 143, .3);
  border-radius: 12px;
  background: rgba(0, 0, 0, .4);
}



.nav-links a,
.nav-text-links a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;

  color: #ffd0d0;
  cursor: pointer;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);

  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.nav-text-links a {
  position: relative;
  padding: 0 2px;
}

.nav-text-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-text-links a:hover::after,
.nav-text-links a:focus-visible::after {
  opacity: .8;
  transform: scaleX(1);
}

.nav-icon {
  width: 40px;

  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 8px;
  background: rgba(0, 0, 0, .56);
  box-shadow: 0 8px 24px rgba(0,0,0,.26);
}

.nav-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.nav-icon:hover,
.nav-icon:focus-visible {
  transform: translateY(-2px);
}

.nav-icon[aria-label*="YouTube"] {
  color: #ff4d4d;
}

.nav-icon[aria-label*="YouTube"]:hover,
.nav-icon[aria-label*="YouTube"]:focus-visible {
  border-color: #ff4d4d;
  background: rgba(255, 77, 77, .16);
}

.nav-icon[aria-label*="Instagram"] {
  color: #ff6aa8;
}

.nav-icon[aria-label*="Instagram"]:hover,
.nav-icon[aria-label*="Instagram"]:focus-visible {
  border-color: #ff6aa8;
  background: rgba(255, 106, 168, .16);
}

.nav-icon[aria-label*="SoundCloud"] {
  color: #ff9a3d;
}

.nav-icon[aria-label*="SoundCloud"]:hover,
.nav-icon[aria-label*="SoundCloud"]:focus-visible {
  border-color: #ff9a3d;
  background: rgba(255, 154, 61, .16);
}

.hero-content {
  padding: var(--hero-content-offset) 0 0;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-logo {
  align-self: center;
  justify-self: center;

  display: block;
  width: min(980px, 92vw);
  height: auto;
  max-height: min(48svh, 420px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  pointer-events: none;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;

  margin: 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 208, 208, .68);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.75);
  pointer-events: none;
}

.intro {
  max-width: 640px;

  line-height: 1.7;
  font-size: 1.2rem;
  color: #d0d0d0;
}

.hero-buttons {
  margin-top: 32px;

  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border-radius: 999px;

  text-decoration: none;
  font-weight: 800;

  transition: .2s ease;
}

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

.primary {
  background: #f2f2f2;
  color: #111;
}

.secondary {
  border: 1px solid #555;
  color: white;
}

.block {
  display: none;
  padding: clamp(48px, 12vw, 72px) clamp(16px, 5vw, 24px);
  border: 0;
  scroll-margin-top: 24px;
  background: transparent;
}

.block:target {
  display: block;
}

body:has(.block:target) .hero {
  min-height: auto;
  background: transparent;
}

body:has(.block:target) .hero-content {
  min-height: auto;
  display: block;
}

body:has(.block:target) .hero-logo {
  display: none;
}

body:has(.block:target) main {
  padding-bottom: 64px;
}

.section-title p {
  color: #ff8f8f;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

.section-title h2 {
  margin: 8px 0 24px;

  color: #fff;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 16px rgba(0,0,0,.85);
}

.contact .section-title h2 {
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.agenda-list,
.shop-box,
.contact-box {
  min-height: clamp(180px, 48vw, 260px);

  display: grid;
  place-items: center;

  border-radius: 8px;

  border: 1px solid rgba(255, 255, 255, .14);

  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    #0b0b0b;
  box-shadow:
    0 24px 70px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.06);

  color: #b8b8b8;

  text-align: center;
  padding: 24px;
}

.contact-box {
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.contact-box p {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.agenda-list {
  align-items: stretch;
  place-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

.agenda-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.agenda-table th,
.agenda-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  vertical-align: middle;
}

.agenda-table th {
  color: #ff8f8f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.agenda-table td {
  color: #f2f2f2;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.35;
}

.agenda-table td:first-child {
  color: #ffd0d0;
  font-weight: 800;
  white-space: nowrap;
}

.agenda-table td:nth-child(2) {
  font-weight: 800;
}

.agenda-table tr:last-child td {
  border-bottom: 0;
}

.shop {
  text-align: center;
}

.contact {
  text-align: center;
}

.center {
  text-align: center;
}

@media (min-width: 900px) {

  .hero-logo {
    justify-self: center;
    width: min(44vw, 780px);
    margin: 0 auto;
  }

  .hero {
    --page-pad: 12px;
    --hero-bg-size: 0;
  }

  .hero,
  .block {
    padding: var(--page-pad);
  }

  .hero {
    background: transparent;
  }

  .overlay {
    display: none;
  }

  body:has(.block:target) .hero {
    background: transparent;
  }

  .hero-topline {
    justify-content: stretch;
  }

  nav,
  .nav-links {
    width: 100%;
  }

  .nav-links {
    flex-direction: row;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    gap: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 143, 143, .3);
    border-radius: 14px;
    background: rgba(12, 8, 10, .82);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  }

  .nav-text-links {
    justify-content: flex-start;
    gap: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
    padding: 0 0 0 20px;
    border: 0;
    border-left: 1px solid rgba(255, 143, 143, .22);
    border-radius: 0;
    background: transparent;
  }


  .block {
    max-width: 1200px;
    margin: 0 auto;
  }

}

@media (max-width: 720px) {

  .hero {
    --hero-bg-position: center 40%;
    --hero-bg-size: auto 112svh;
    background: transparent;
  }

  .overlay {
    display: none;
  }

  body:has(.block:target) .hero {
    padding-bottom: 16px;
  }

  body:has(.block:target) .hero-content {
    display: block;
  }

  .hero-content {
    grid-template-rows: auto 1fr auto;
    gap: 24px;
  }

  .hero-topline {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  nav {
    justify-content: center;
  }

  .nav-links {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .nav-text-links {
    justify-content: center;
    gap: 10px 14px;
  }

  .social-links {
    gap: 12px;
  }

  .nav-links a,
  .nav-text-links a,
  .social-links a {
    height: 36px;
    font-size: .86rem;
  }


  .nav-text-links a {
    padding: 0;
  }

  .nav-icon {
    width: 36px;
  }

  .nav-icon svg {
    width: 21px;
    height: 21px;
  }

  .hero-logo {
    width: min(100%, 560px);
    max-height: 42svh;
  }

  .site-footer {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    font-size: .82rem;
  }

  .agenda-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .agenda-table {
    min-width: 0;
  }

  .agenda-table th,
  .agenda-table td {
    padding: 13px 12px;
  }

  .agenda-table td {
    font-size: .95rem;
  }

  .block:target {
    padding-top: 40px;
    margin: 0 12px 40px;
    border-radius: 8px;
  }

}

@media (max-width: 420px) {

  .hero {
    --page-pad: 12px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-text-links {
    gap: 8px 10px;
  }

  .nav-links a:not(.nav-icon) {
    font-size: .8rem;
  }


}

/* Contacto y administración */
.site-footer a { color: inherit; text-decoration: none; pointer-events: auto; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }
.stack-form { display: grid; gap: 16px; width: 100%; text-align: left; }
.form-trap { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
#mail-form + .admin-actions { margin-top: 24px; justify-content: flex-start; }
.stack-form label, .event-row label { display: grid; gap: 8px; color: #ffd0d0; font-size: .9rem; }
.stack-form input, .stack-form textarea, .stack-form select, .event-row input {
  width: 100%; min-width: 0; padding: 12px; color: #fff; background: #181818;
  border: 1px solid #555; border-radius: 8px; font: inherit;
}
.stack-form textarea { resize: vertical; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
#admin-dialog {
  width: min(900px, calc(100% - 32px)); max-height: 85svh; overflow-y: auto;
  padding: 24px; color: #f2f2f2; background: #101010; border: 1px solid #744;
  border-radius: 12px;
}
#admin-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
.admin-heading, .admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#admin-dialog button { padding: 10px 16px; border: 1px solid #744; border-radius: 8px; background: #242020; color: #ffd0d0; }
#admin-dialog .primary { background: #f2f2f2; color: #111; }
.event-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; margin: 16px 0; }
.message { padding: 16px 0; border-bottom: 1px solid #444; overflow-wrap: anywhere; }
.message p { white-space: pre-wrap; }
#admin-status, #contact-status { line-height: 1.5; color: #ffd0d0; }
[hidden] { display: none !important; }
@media (max-width: 720px) { .event-row { grid-template-columns: 1fr; } }

/* Tienda */
.shop-intro { margin: -8px 0 12px; color: #ffd0d0; font-size: 1.15rem; }
.shop-note { color: #b9adaf; font-size: .85rem; line-height: 1.6; max-width: 700px; margin: 12px auto 24px; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; margin-top: 28px; text-align: left; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; background: #101012; border: 1px solid #403034; border-radius: 12px; display: flex; flex-direction: column; }
.product-photo { display:block; width:100%; padding:0; border:0; background:#191416; cursor:zoom-in; }
.product-photo > img { display:block; width:100%; aspect-ratio:320 / 290; object-fit:contain; }
.product-gallery { display:flex; gap:8px; padding:10px 14px 0; flex-wrap:wrap; }
.product-gallery button { padding:2px; border:2px solid transparent; border-radius:7px; background:#241a1d; }
.product-gallery button[aria-pressed="true"] { border-color:#ff9c9c; }
.product-gallery img { display:block; width:52px; height:52px; object-fit:cover; border-radius:3px; }
.product-photo-dialog { width:min(850px,calc(100% - 24px)); max-height:94svh; padding:18px; color:#fff; background:#101012; border:1px solid #744; border-radius:12px; }
.product-photo-dialog::backdrop { background:rgba(0,0,0,.85); }
.product-photo-dialog h2 { font-size:1.15rem; margin:0; }
.product-photo-dialog > img { display:block; width:100%; height:min(65svh,650px); object-fit:contain; margin:14px 0; }
.product-photo-dialog button { padding:10px 14px; color:#ffd0d0; background:#242020; border:1px solid #744; border-radius:8px; }
.photo-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.product-content { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 20px; flex: 1; }
.product-content h3 { font-size: 1.1rem; margin: 0; }
.product-content p { color: #c3b9bc; margin: 0; line-height: 1.6; flex: 1; }
.product-content > strong { font-size: 1.25rem; color: #ffd0d0; }
.product-content label { display: grid; gap: 8px; font-size: .8rem; color: #c3b9bc; }
.product-content select, .product-fields select { color: #fff; background: #181818; border: 1px solid #555; padding: 10px; border-radius: 8px; font: inherit; width: 100%; }
.product-content button { border: 0; border-radius: 8px; }
.cart-box { position: sticky; top: 20px; padding: 20px; border-radius: 12px; border: 1px solid #654045; background: #100d0f; }
.cart-box h3 { margin: 0 0 20px; }
#cart-count { color: #ff9c9c; margin-left: 8px; }
.cart-item { display: grid; gap: 10px; border-bottom: 1px solid #403034; padding: 16px 0; overflow-wrap: anywhere; }
.cart-item small { color: #c3b9bc; }
.cart-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cart-box button { border: 1px solid #694348; color: #ffd0d0; background: #251a1d; border-radius: 6px; padding: 8px 10px; }
.cart-total { display: flex; justify-content: space-between; gap: 12px; }
.cart-box .shop-note { margin-bottom: 0; }
.product-editor { border: 1px solid #694348; border-radius: 10px; padding: 16px; margin: 20px 0; min-width: 0; }
.product-editor legend { color: #ffd0d0; padding: 0 8px; }
.product-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.product-fields label { display: grid; gap: 8px; color: #ffd0d0; font-size: .9rem; }
.product-fields input:not([type="checkbox"]), .product-fields textarea { width: 100%; min-width: 0; padding: 12px; color: #fff; background: #181818; border: 1px solid #555; border-radius: 8px; font: inherit; }
.product-fields .checkbox-label { display: flex; align-items: center; }
#products-status, #shop-status { color: #ffd0d0; line-height: 1.5; }
@media (max-width: 1000px) { .shop-layout { grid-template-columns: 1fr; } .cart-box { position: static; } }
@media (max-width: 600px) { .product-grid, .product-fields { grid-template-columns: 1fr; } .product-content { padding: 16px; } }

/* Menú de administración y fichas plegables */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid #403034; padding-bottom: 18px; margin-bottom: 24px; }
#admin-dialog .admin-nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; width: auto; min-height: 0; z-index: auto; }
#admin-dialog .admin-nav button[aria-pressed="true"] { color: #111; background: #ffd0d0; border-color: #ffd0d0; }
#admin-welcome { padding: 32px 0; color: #c3b9bc; }
.product-editor { padding: 0; overflow: hidden; }
.product-editor > summary { display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer; list-style: none; background: #191316; }
.product-editor > summary::-webkit-details-marker { display: none; }
.product-editor > summary::after { content: '+'; font-size: 1.4rem; color: #ffd0d0; }
.product-editor[open] > summary::after { content: '−'; }
.product-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #251a1d; }
.product-summary-text { flex: 1; display: grid; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.product-summary-text small { color: #c3b9bc; }
.admin-product-preview { display: block; width: min(240px, calc(100% - 32px)); aspect-ratio: 1; object-fit: contain; margin: 20px auto; border-radius: 10px; background: #191416; }
.product-image-link { display: block; margin: 0 16px 20px; color: #ffd0d0; font-size: .85rem; overflow-wrap: anywhere; }
.product-editor > .product-fields, .product-editor > p { margin: 16px; }
.product-editor > button { margin: 0 16px 16px; }
@media (max-width: 600px) { .product-editor > summary { gap: 10px; padding: 12px; } .product-editor > summary > span:last-of-type { display: none; } }

/* Localización de conciertos */
.agenda-table td:last-child small { display: block; color: #c3b9bc; font-size: .85rem; margin-bottom: 8px; }
.location-link { display: inline-block; color: #ffd0d0; text-underline-offset: 4px; line-height: 1.5; }
.location-link:hover, .location-link:focus-visible { color: #fff; }
.agenda-list { max-width: 1000px; overflow-x: auto; }
.event-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; border: 1px solid #403034; border-radius: 8px; }
.event-row label:has(input[name="mapsUrl"]) { grid-column: span 2; }
@media (max-width: 720px) {
  .agenda-table { min-width: 0; }
  .event-row { grid-template-columns: 1fr; }
  .event-row label:has(input[name="mapsUrl"]) { grid-column: auto; }
}

.calendar-button { display: inline-flex; align-items: center; gap: 10px; max-width: 220px; padding: 12px 14px; border: 1px solid #9b5962; border-radius: 10px; background: linear-gradient(135deg, #44232b, #21171b); color: #ffe1e1; text-decoration: none; font-size: .85rem; font-weight: 700; line-height: 1.4; box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: background .2s, border-color .2s, transform .2s; }
.calendar-button svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.calendar-button:hover, .calendar-button:focus-visible { background: #58313a; border-color: #ff9c9c; color: #fff; transform: translateY(-1px); }
.agenda-table { min-width: 0; }


/* Agenda compacta: cuatro columnas, sin desplazamiento lateral */
.agenda-list { width: 100%; max-width: 880px; min-height: 0; padding: 6px 14px; overflow: visible; }
.agenda-table { width: 100%; min-width: 0; }
.agenda-table th, .agenda-table td { padding: 16px 8px; }
.agenda-table td { font-size: .9rem; }
.agenda-table td:first-child { white-space: normal; }
.agenda-when time, .agenda-hours { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }
.agenda-when time { width: 11ch; }
.agenda-hours { margin-left: 8px; color: #b9adaf; font-size: .82rem; font-weight: 500; }
.agenda-table .agenda-venue { font-weight: 800; overflow-wrap: anywhere; }
.agenda-table th:nth-child(3), .agenda-table th:nth-child(4),
.agenda-table .agenda-location, .agenda-table .agenda-calendar { text-align: center; }
.agenda-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border: 1px solid #694348; border-radius: 9px; color: #ffe1e1; background: #21171b; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1.4; }
.agenda-action svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.agenda-action:hover, .agenda-action:focus-visible { color: #fff; border-color: #ff9c9c; background: #44232b; }
.agenda-action.calendar-button { max-width: none; background: linear-gradient(135deg, #44232b, #21171b); }
.agenda-empty td { text-align: center; padding: 28px 10px; }
@media (min-width: 701px) { .agenda-when { white-space: nowrap !important; } }
@media (max-width: 1000px) and (min-width: 701px) {
  .agenda-list { padding: 6px 10px; }
  .agenda-table th, .agenda-table td { padding: 18px 6px; }
  .agenda-hours { margin-left: 8px; }
  .agenda-action { padding: 9px 8px; gap: 5px; font-size: .75rem; }
  .agenda-table td { font-size: .82rem; }
}
@media (max-width: 700px) {
  .agenda-list { padding: 0 16px; }
  .agenda-table, .agenda-table tbody { display: block; }
  .agenda-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .agenda-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 10px; padding: 20px 0; border-bottom: 1px solid #403034; }
  .agenda-table tr:last-child { border-bottom: 0; }
  .agenda-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .agenda-when time { font-size: .92rem; }
  .agenda-hours { display: block; margin: 6px 0 0; }
  .agenda-table .agenda-venue { align-self: center; text-align: right; font-size: 1rem; }
  .agenda-action { width: 100%; min-height: 50px; padding: 12px 6px; gap: 6px; font-size: .75rem; box-sizing: border-box; white-space: normal; text-align: center; }
  .agenda-table .agenda-location { text-align: left; }
  .agenda-empty td { grid-column: 1 / -1; }
}
#checkout { width: 100%; margin: 4px 0 12px; background: #f2f2f2; color: #111; border-radius: 8px; font-weight: 800; padding: 14px; }
#checkout-dialog { width: min(520px, calc(100% - 32px)); max-height: 85svh; overflow-y: auto; padding: 24px; background: #101010; color: #f2f2f2; border: 1px solid #744; border-radius: 12px; }
#checkout-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
#checkout-dialog p { line-height: 1.6; }
#close-checkout { padding: 8px 12px; border: 1px solid #744; border-radius: 6px; background: #242020; color: #ffd0d0; }

.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cart-heading h3 { margin: 0; }
#clear-cart { display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; padding: 8px; align-items: center; justify-content: center; background: transparent; border-color: #694348; }
#clear-cart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#clear-cart:hover, #clear-cart:focus-visible { color: #fff; border-color: #ff8f8f; background: #44232b; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#checkout-form h3 { margin: 8px 0 0; font-size: 1rem; color: #ffd0d0; }
@media (max-width: 500px) { .checkout-fields { grid-template-columns: 1fr; } }
.order-status-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.order-status-controls label { display: grid; gap: 8px; }
.order-status-controls select { padding: 10px; border-radius: 8px; background: #181818; color: #fff; border: 1px solid #744; font: inherit; }

/* La banda: fotos y contenido del dosier original. */
.band-story { --band-red: #ee4d52; background: #0c0a0b; }
.band-cover { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 650px; background: #130e10; border: 1px solid #453036; overflow: hidden; }
.band-cover-copy { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px); align-self: center; }
.band-eyebrow { color: #ef989c; font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.7; }
.band-cover h2 { font-size: clamp(3rem, 5.6vw, 5rem); letter-spacing: -.065em; line-height: 1.02; margin: 24px 0; }
.band-cover h2 em { color: var(--band-red); font-style: normal; }
.band-lead { color: #d6c7cb; line-height: 1.75; max-width: 390px; font-size: 1.08rem; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.band-actions .button { font-size: .82rem; text-align: center; line-height: 1.5; }
.band-text-link { color: #e4bec3; font-size: .8rem; text-underline-offset: 5px; }
.band-text-link span { font-size: .7rem; }
.band-cover-photo { margin: 0; position: relative; min-width: 0; background: #0b090a; }
.band-cover-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 48% 48%; filter: saturate(.6) contrast(1.1); }
.band-cover-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#130e10,transparent 25%),linear-gradient(0deg,#130e10,transparent 40%); pointer-events: none; }
.band-cover-photo figcaption { position: absolute; bottom: 25px; right: 24px; z-index: 1; font-size: .65rem; letter-spacing: .16em; color: #e7bfc4; }
.band-cover-index { position: absolute; top: 20px; right: 20px; z-index: 2; font: 600 .65rem monospace; letter-spacing: .12em; color: #d7b9bd; }
.band-strip { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 15px 25px; padding: 24px 16px; border-bottom: 1px solid #513238; color: #efa0a5; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.band-origin { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 85px 20px; }
.band-story h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.07; letter-spacing: -.045em; margin: 18px 0 28px; }
.band-prose p,.band-people p { color: #cabbc0; line-height: 1.85; font-size: .96rem; }
.band-prose p:first-child { margin-top: 0; color: #f0e4e7; }
.band-live { position: relative; margin: 0; min-height: 560px; background: #090d13; overflow: hidden; }
.band-live img { width: 100%; height: 100%; position: absolute; object-fit: cover; filter: saturate(.75) contrast(1.1); }
.band-live::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.96),rgba(0,0,0,.02) 85%); }
.band-live figcaption { position: absolute; bottom: 35px; left: 40px; right: 40px; z-index: 1; }
.band-live figcaption span { font: 600 .68rem monospace; letter-spacing: .16em; color: #ffb2b6; }
.band-live strong { display: block; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.08; letter-spacing: -.04em; margin-top: 18px; }
.band-live p { color: #e3cdd2; max-width: 450px; line-height: 1.7; font-size: .9rem; }
.band-people { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 100px 20px; }
.band-people figure { margin: 0; transform: rotate(-3deg); }
.band-people figure img { display: block; width: 100%; height: auto; border: 8px solid #e5ded3; box-shadow: 15px 18px 0 #3b2027; }
.band-people figcaption { font: 600 .6rem monospace; letter-spacing: .12em; padding: 18px 0; color: #c99ba6; }
.band-names { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 28px 0; }
.band-names li { border: 1px solid #6d414a; padding: 10px 15px; border-radius: 2px; color: #f8d2d6; font-size: .9rem; }
.band-people .band-small { color: #c2929e; font-size: .8rem; }
.band-finale { position: relative; overflow: hidden; background: #1a0e13; padding: 60px 40px; min-height: 360px; }
.band-finale > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .22; }
.band-finale > div { position: relative; z-index: 1; }
.band-finale h3 { margin: 16px 0; }
.band-story a:focus-visible { outline: 3px solid #ffb4bb; outline-offset: 5px; }
@media (max-width: 760px) {
 .band-cover { grid-template-columns: 1fr; }
 .band-cover-copy { padding: 40px 24px 25px; }
 .band-cover h2 { font-size: clamp(2.7rem,10vw,4.5rem); }
 .band-cover-photo { height: 440px; }
 .band-cover-photo img { object-fit: contain; }
 .band-cover-photo::after { background: linear-gradient(0deg,#130e10,transparent 35%); }
 .band-cover-index { top: 12px; font-size: .55rem; }
 .band-origin,.band-people { grid-template-columns: 1fr; gap: 25px; padding: 55px 8px; }
 .band-people { padding-left: 18px; padding-right: 18px; }
 .band-people figure { max-width: 430px; margin: 0 auto 20px; }
 .band-live { min-height: 490px; }
 .band-live img { object-position: 48% center; }
 .band-live figcaption { left: 23px; right: 23px; bottom: 20px; }
 .band-finale { padding: 40px 24px; }
 .band-strip { justify-content: flex-start; font-size: .58rem; gap: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Foto de directo: portada completa con fundido al fondo general. */
body { background: #08090c; }
body::before, body::after { content: none; }
.hero, body:has(.block:target) .hero {
  background-image:
    linear-gradient(180deg, rgba(4, 6, 9, .35), rgba(4, 6, 9, .12) 40%, #08090c 100%),
    url("assets/banda/directo.webp");
  background-size: cover;
  background-position: center, center 48%;
  background-repeat: no-repeat;
}
.overlay { display: none; }
.hero-logo { filter: drop-shadow(0 3px 20px rgba(0, 0, 0, .65)); }
@media (max-width: 720px) {
  .hero, body:has(.block:target) .hero {
    background-position: center, 48% center;
  }
}
