/* Malabares · Tributo a Estopa — hoja de estilos */

:root {
  --bg: #0d0b0b;
  --bg-2: #171212;
  --panel: #1f1818;
  --line: #2e2424;
  --text: #f3ece4;
  --muted: #b9aca3;
  --red: #b71c1c;
  --red-2: #e53935;
  --amber: #f0b429;
  --radius: 10px;
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-marker: "Permanent Marker", cursive;
  --gutter: 16px;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(183, 28, 28, .28), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .03em; line-height: 1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 11, 11, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { height: 44px; width: auto; }
.brand span { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .06em; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.menu a {
  display: block; padding: 10px 14px; color: var(--text); text-decoration: none;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .08em; border-radius: 6px;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--amber); background: rgba(255,255,255,.04); }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 8px 10px; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 720px) {
  .burger { display: inline-block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 12px; }
  .menu.open { display: flex; }
}

/* ---------- Hero (versión A: foto de escenario + logo encima) ---------- */
.hero {
  position: relative; min-height: 82vh; display: grid; place-items: center; text-align: center;
  padding: 48px var(--gutter);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/foto-02.webp") center 30% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,11,11,.55) 0%, rgba(13,11,11,.75) 60%, var(--bg) 100%);
}
.hero img.logo { width: min(620px, 90vw); margin: 0 auto 24px; filter: drop-shadow(0 12px 30px rgba(0,0,0,.7)); }
.hero p.lead { max-width: 680px; margin: 0 auto 28px; font-size: 1.15rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero .kicker { font-family: var(--font-marker); color: var(--amber); font-size: clamp(1.3rem, 3.4vw, 2rem); transform: rotate(-2deg); display: inline-block; margin: 0 0 10px; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

/* ---------- Hero (versión B: foto-banner con el logo ya integrado) ---------- */
.hero.hero-banner { min-height: 88vh; align-content: end; padding-top: 40vh; padding-bottom: 56px; }
.hero.hero-banner::before { background: url("../img/foto-banner.webp") center top / cover no-repeat; }
.hero.hero-banner::after { background: linear-gradient(180deg, rgba(13,11,11,.05) 0%, rgba(13,11,11,.25) 45%, rgba(13,11,11,.85) 80%, var(--bg) 100%); }
.hero.hero-banner img.logo { display: none; }
@media (max-width: 720px), (orientation: portrait) {
  .hero.hero-banner { min-height: 100svh; padding-top: 62svh; }
  .hero.hero-banner::before { background-image: url("../img/foto-banner-portrait.webp"); background-position: center top; }
}

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .08em;
  background: var(--red); color: #fff; border: 2px solid var(--red-2);
  box-shadow: 0 8px 24px rgba(183,28,28,.45); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(229,57,53,.55); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--text); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Instagram destacado ---------- */
.btn.ig, .menu a.ig {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff; border: 0;
}
.btn.ig { box-shadow: 0 8px 24px rgba(220,39,67,.45); }
.btn.ig:hover { box-shadow: 0 12px 30px rgba(220,39,67,.6); }
.menu a.ig { padding: 8px 14px; border-radius: 999px; margin-left: 6px; }
.menu a.ig:hover { color: #fff; filter: brightness(1.1); }
.btn.ig svg, .menu a.ig svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 720px) { .menu a.ig { margin: 6px 0 0; justify-content: center; } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 span { color: var(--red-2); }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--red-2), var(--amber)); }
.card .ico { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--muted); margin: 0; }

.quote {
  background: linear-gradient(135deg, #2a0d0d, #1a1111); border: 1px solid #3a1c1c;
  border-radius: var(--radius); padding: 40px 28px; text-align: center; max-width: 820px; margin: 0 auto;
}
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-style: italic; line-height: 1.5; }
.quote blockquote::before { content: "“"; font-family: var(--font-display); font-size: 5rem; color: var(--red-2); line-height: 0; display: block; margin-top: 30px; }
.quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--amber); font-family: var(--font-display); letter-spacing: .08em; font-size: 1.2rem; }

.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.stat { font-family: var(--font-display); font-size: 4rem; color: var(--amber); line-height: 1; }
.stat small { font-size: 1.4rem; color: var(--text); margin-left: 6px; }

/* ---------- Conciertos ---------- */
.places { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: .9rem; }
.chip-prov { background: rgba(183,28,28,.18); border-color: rgba(229,57,53,.5); color: var(--text); font-family: var(--font-display); letter-spacing: .06em; font-size: 1.05rem; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--red-2), var(--line)); }
.timeline li { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 10px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 87px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--red-2); }
.timeline li.year { grid-template-columns: 1fr; padding: 22px 0 6px 112px; }
.timeline li.year::before { display: none; }
.timeline li.year span { font-family: var(--font-display); font-size: 2.2rem; color: var(--amber); letter-spacing: .06em; }
.timeline time { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .06em; color: var(--muted); text-align: right; }
.timeline div { padding-left: 36px; }
.timeline strong { display: block; font-weight: 600; }
.timeline small { color: var(--muted); font-size: .9rem; }
.timeline li > a { color: var(--muted); display: inline-flex; }
.timeline li > a svg { width: 20px; height: 20px; fill: currentColor; }
.timeline li > a:hover { color: #e6683c; }
.timeline-cta { text-align: center; margin-top: 36px; }
@media (max-width: 560px) {
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr auto; }
  .timeline li::before { left: 3px; top: 16px; }
  .timeline time { grid-column: 1; text-align: left; padding-left: 28px; font-size: 1rem; }
  .timeline div { grid-column: 1; padding-left: 28px; }
  .timeline li > a { grid-column: 2; grid-row: 1 / span 2; }
  .timeline li.year { padding-left: 28px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact .card a { text-decoration: none; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.contact .card ul { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.contact .card li { margin: 6px 0; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery a { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { transition: transform .3s, filter .3s; width: 100%; }
.gallery a:hover img { transform: scale(1.03); filter: brightness(1.1); }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.6); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Page header (sub pages) ---------- */
.page-head { padding: 56px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 96px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
.social { display: flex; gap: 14px; }
.social a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.whatsapp-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); text-decoration: none;
}
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

/* Posts estilo Instagram */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 420px)); gap: 28px; justify-content: center; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .95rem; }
.post header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #000; padding: 3px; border: 2px solid transparent; background-image: linear-gradient(#000,#000), linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); background-origin: border-box; background-clip: content-box, border-box; }
.post header div { flex: 1; line-height: 1.25; min-width: 0; }
.post header strong { display: block; font-weight: 600; }
.post header small { color: var(--muted); font-size: .8rem; }
.post header > a { color: var(--text); text-decoration: none; letter-spacing: .1em; font-weight: 700; }
.post .photo { display: block; aspect-ratio: 4 / 5; background: #000; }
.post .photo.sq { aspect-ratio: 1 / 1; }
.posts { align-items: start; }
.post .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .actions { display: flex; gap: 14px; padding: 12px 14px 4px; }
.post .actions svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linejoin: round; }
.post .actions svg:first-child { fill: var(--red-2); stroke: var(--red-2); }
.post p { margin: 0; padding: 4px 14px; }
.post .likes { font-weight: 600; }
.post .caption strong, .post .comments strong { font-weight: 600; margin-right: 4px; }
.post .comments { list-style: none; margin: 4px 0 0; padding: 0 14px; color: var(--muted); }
.post .comments li { padding: 3px 0; }
.post .comments strong { color: var(--text); }
.post time { display: block; padding: 8px 14px 14px; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.timeline-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Gira: cartel de fechas */
.tour-wrap { background: radial-gradient(ellipse at top, rgba(183,28,28,.18), transparent 60%), var(--bg); }
.tour-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 16px 40px; align-items: start; }
.tour-year:first-child .tour { columns: 2; column-gap: 32px; }
.tour li { break-inside: avoid; }
.tour-year h3 { margin: 0 0 6px; border-bottom: 2px solid var(--red-2); padding-bottom: 4px; }
.tour-year h3 span { font-family: var(--font-display); font-size: 2rem; color: var(--amber); letter-spacing: .06em; line-height: 1; }
.tour { list-style: none; margin: 0; padding: 0; }
.tour li { border-bottom: 1px dashed var(--line); display: flex; align-items: baseline; gap: 10px; padding: 6px 0; }
.tour li a { text-decoration: none; color: inherit; display: flex; align-items: baseline; gap: 10px; flex: 1; margin: -6px 0; padding: 6px 0; }
.tour li a:hover .p { color: var(--red-2); }
.tour .d { font-family: var(--font-display); font-size: .95rem; color: var(--amber); letter-spacing: .08em; text-transform: uppercase; min-width: 52px; }
.tour .p { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em; line-height: 1.1; white-space: nowrap; }
.tour .s { color: var(--muted); font-size: .8rem; margin-left: auto; text-align: right; }
.tour li a .p::after { content: " ↗"; font-size: .7rem; color: var(--muted); }
.tour-next { margin-top: 28px; text-align: center; }
.tour-next h3 { font-size: 1.6rem; margin: 0 0 12px; }
.cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cities li { font-family: var(--font-display); letter-spacing: .06em; font-size: 1.05rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; }
.cities li:last-child { border-color: var(--red-2); color: var(--amber); }
@media (max-width: 760px) { .tour-cols { grid-template-columns: 1fr; } .tour-year:first-child .tour { columns: 1; } }
