/* 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 ---------- */
.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.jpg") 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 .kicker { font-family: var(--font-marker); color: var(--amber); font-size: clamp(1.2rem, 3vw, 1.7rem); transform: rotate(-2deg); display: inline-block; margin-bottom: 8px; }

.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; }

/* ---------- 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; }

/* ---------- 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; }
