/* ============================================================
   BRASA — Burgers de fuego real
   Sistema de diseño: dark editorial / big type / acento fuego
   ============================================================ */

:root {
  --bg-primary: #0a0300;
  --bg-secondary: #232323;
  --text-primary: #f6f6f6;
  --text-secondary: #c4c4c4;
  --text-tertiary: #7d7d7d;
  --accent-fire: #ff2720;
  --accent-pop: #c3ff00;
  --border-subtle: #2a2a2a;

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1300px;
  --pad-x: 24px;
  --section-y: clamp(64px, 11vw, 150px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;

  /* Firma personal (kit JD) — tenue respecto al footer */
  --signature-color: rgba(246, 246, 246, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 4.6vw, 62px); margin-bottom: 0.7em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { color: var(--text-secondary); }
p + p { margin-top: 1em; }

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-fire);
  margin-bottom: 18px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
@media (min-width: 992px) {
  .container { padding-inline: 80px; }
}

.section { padding-block: var(--section-y); }
.section-alt { background: #100906; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out),
              background 250ms var(--ease-out), color 250ms var(--ease-out),
              border-color 250ms var(--ease-out);
  will-change: transform;
}
.btn-fire {
  background: var(--accent-fire);
  color: #0a0300;
}
.btn-fire:hover, .btn-fire:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 8px 34px rgba(255, 39, 32, 0.45);
}
.btn-ghost {
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  transform: scale(1.03);
  border-color: var(--accent-fire);
  box-shadow: 0 8px 30px rgba(255, 39, 32, 0.22);
}
.btn-lg { padding: 17px 34px; font-size: 15px; }

:focus-visible { outline: 2px solid var(--accent-pop); outline-offset: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 3, 0, 0.72);
  border-bottom-color: var(--border-subtle);
}
@supports (backdrop-filter: blur(14px)) {
  .site-header.is-scrolled {
    background: rgba(10, 3, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 992px) { .header-inner { padding-inline: 80px; } }

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 250ms ease;
}
.brand-lockup:hover { opacity: 0.8; }
.brand-badge { width: auto; height: 44px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 200ms ease;
  position: relative;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent-pop);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.site-nav > a:not(.btn):hover { color: var(--text-primary); }
.site-nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 110; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

@media (max-width: 767px) {
  .brand-badge { height: 34px; }
  .brand-word { font-size: 20px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 3, 0, 0.96);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; }
  .site-nav > a:not(.btn) { font-size: 24px; font-family: var(--font-display); font-weight: 600; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.9);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,3,0,0.55) 0%, rgba(10,3,0,0.35) 40%, rgba(10,3,0,0.88) 100%),
    linear-gradient(100deg, rgba(10,3,0,0.82) 0%, rgba(10,3,0,0.45) 55%, rgba(10,3,0,0.15) 100%);
}

.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-title {
  font-size: clamp(42px, 8.2vw, 118px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 11ch;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 44ch;
  margin-bottom: 38px;
}
.hero .kicker { color: var(--accent-pop); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.video-toggle {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  right: 34px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(246, 246, 246, 0.35);
  display: grid;
  place-items: center;
  color: var(--text-primary);
  background: rgba(10, 3, 0, 0.4);
  transition: border-color 250ms ease, transform 250ms var(--ease-out);
}
.video-toggle:hover { border-color: var(--text-primary); transform: scale(1.06); }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

.hero-scroll-hint {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-tertiary);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll-hint svg { width: 16px; height: 16px; animation: hintNudge 2.2s ease-in-out infinite; }
@keyframes hintNudge {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (max-width: 767px) {
  .hero-scroll-hint { display: none; }
  .video-toggle { bottom: 20px; right: 20px; }
}

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.stats {
  border-block: 1px solid var(--border-subtle);
  background: #0d0502;
  position: relative;
  z-index: 5;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-block: 56px;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.stat:nth-child(4) .stat-num { color: var(--accent-fire); }
.stat:last-child .stat-num { color: var(--accent-pop); }
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 991px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 539px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HISTORIA
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.story-text .btn { margin-top: 34px; }
.story-text h2 { max-width: 12ch; }

.story-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 70px);
  gap: 14px;
}
.story-collage figure {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
.story-collage img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateY(var(--py, 0));
  scale: 1.12;
  will-change: transform;
}
.collage-a { grid-area: 1 / 1 / 4 / 4; }
.collage-b { grid-area: 1 / 4 / 3 / 7; }
.collage-c { grid-area: 4 / 1 / 7 / 3; }
.collage-d { grid-area: 3 / 3 / 7 / 7; }

@media (max-width: 991px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-collage { grid-template-rows: repeat(6, 46px); }
}

/* ============================================================
   MÉTODO
   ============================================================ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.method-card {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 34px 28px;
  background: rgba(35, 35, 35, 0.25);
  position: relative;
  transition: border-color 300ms ease, transform 300ms var(--ease-out);
}
.method-card:hover { border-color: rgba(255, 39, 32, 0.5); transform: translateY(-4px); }
.method-icon {
  width: 38px; height: 38px;
  color: var(--accent-fire);
  margin-bottom: 22px;
}
.method-card:nth-child(even) .method-icon { color: var(--accent-pop); }
.method-step {
  position: absolute;
  top: 28px; right: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-tertiary);
}
.method-card h3 { font-size: 20px; margin-bottom: 12px; }
.method-card p { font-size: 15px; color: var(--text-tertiary); }
@media (max-width: 991px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 539px) { .method-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MAESTROS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.team-photo {
  position: relative;
  aspect-ratio: 3 / 3.6;
  margin-bottom: 18px;
}
.team-blob {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 0;
  transition: transform 500ms var(--ease-out);
}
.blob-fire path { fill: var(--accent-fire); opacity: 0.14; }
.blob-pop path { fill: var(--accent-pop); opacity: 0.10; }
.team-card:hover .team-blob { transform: rotate(8deg) scale(1.05); }
.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(0.25) contrast(1.05);
  transition: filter 400ms ease;
}
.team-card:hover .team-photo img { filter: grayscale(0) contrast(1.05); }
.team-card h3 { font-size: 19px; }
.team-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-fire);
  font-weight: 600;
  margin: 6px 0 10px;
}
.team-quote { font-size: 14px; color: var(--text-tertiary); font-style: italic; }
@media (max-width: 991px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 539px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 20px;
  /* Áreas explícitas: las 8 imágenes teselan un 4×4 sin dejar celdas vacías */
  grid-template-areas:
    "g1 g1 g2 g3"
    "g1 g1 g4 g4"
    "g5 g6 g6 g7"
    "g5 g8 g8 g7";
}
.gallery-grid figure {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateY(var(--py, 0));
  scale: 1.15;
  will-change: transform;
  transition: filter 400ms ease;
  filter: saturate(0.9);
}
.gallery-grid figure:hover img { filter: saturate(1.15); }
.g-1 { grid-area: g1; }
.g-2 { grid-area: g2; }
.g-3 { grid-area: g3; }
.g-4 { grid-area: g4; }
.g-5 { grid-area: g5; }
.g-6 { grid-area: g6; }
.g-7 { grid-area: g7; }
.g-8 { grid-area: g8; }
@media (max-width: 991px) {
  /* Tablet: 3 columnas, teselado completo sin huecos */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    grid-template-areas:
      "g1 g1 g2"
      "g1 g1 g3"
      "g4 g5 g5"
      "g6 g7 g8";
  }
}
@media (max-width: 767px) {
  /* Móvil: 2 columnas, teselado completo sin huecos */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-template-areas:
      "g1 g1"
      "g1 g1"
      "g2 g3"
      "g4 g4"
      "g5 g6"
      "g7 g7"
      "g8 g8";
  }
}

/* ============================================================
   MENÚ DESTACADO
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.menu-card {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(35, 35, 35, 0.25);
  transition: border-color 300ms ease, transform 300ms var(--ease-out), box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  border-color: rgba(255, 39, 32, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.menu-card figure { aspect-ratio: 16 / 10; overflow: hidden; }
.menu-card figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.menu-card:hover figure img { transform: scale(1.06); }
.menu-card-body { padding: 24px 26px 28px; }
.menu-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.menu-card-head h3 { font-size: 22px; }
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--accent-pop);
  white-space: nowrap;
}
.menu-card-body > p { font-size: 15px; color: var(--text-tertiary); }

.menu-card-cta {
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px;
  background: var(--accent-fire);
  border-color: var(--accent-fire);
}
.menu-card-cta:hover { border-color: var(--accent-fire); box-shadow: 0 18px 50px rgba(255, 39, 32, 0.35); }
.menu-cta-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0a0300;
}
.menu-cta-arrow {
  font-size: 44px;
  color: #0a0300;
  align-self: flex-end;
  transition: transform 300ms var(--ease-out);
}
.menu-card-cta:hover .menu-cta-arrow { transform: translateX(8px); }
@media (max-width: 991px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 539px) { .menu-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COMBOS / PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  background: rgba(35, 35, 35, 0.25);
  position: relative;
  transition: border-color 300ms ease, transform 300ms var(--ease-out);
}
.price-card:hover { transform: translateY(-5px); border-color: rgba(255, 39, 32, 0.4); }
.price-card-featured {
  border-color: var(--accent-fire);
  background: linear-gradient(180deg, rgba(255, 39, 32, 0.10), rgba(35, 35, 35, 0.25) 55%);
}
.price-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-pop);
  color: #0a0300;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; }
.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4vw, 54px);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.price-card ul { flex: 1; margin-bottom: 30px; }
.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
}
.price-card li::before { content: "—"; color: var(--accent-fire); }
@media (max-width: 991px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ============================================================
   EVENTOS
   ============================================================ */
.events-list { margin-top: 44px; display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 110px 200px 1fr auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding-block: 30px;
  border-top: 1px solid var(--border-subtle);
}
.event-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.event-date { text-align: center; }
.event-day {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--text-primary);
}
.event-month {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-fire);
  font-weight: 600;
  margin-top: 4px;
}
.event-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-body h3 { margin-bottom: 8px; }
.event-body p { font-size: 15px; color: var(--text-tertiary); max-width: 52ch; }
@media (max-width: 767px) {
  .event-row { grid-template-columns: 80px 1fr; }
  .event-img { grid-column: 1 / -1; order: 3; }
  .event-btn { grid-column: 1 / -1; justify-self: start; }
  .event-day { font-size: 34px; }
}

/* ============================================================
   LOCALES
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.location-card {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 36px 30px;
  background: rgba(35, 35, 35, 0.25);
  transition: border-color 300ms ease;
}
.location-card:hover { border-color: rgba(195, 255, 0, 0.4); }
.location-card h3 { font-size: 21px; }
.location-city {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-pop);
  font-weight: 600;
  margin: 6px 0 16px;
}
.location-card p { font-size: 15px; }
.location-hours { margin-top: 14px; color: var(--text-tertiary); font-size: 13px; }
@media (max-width: 991px) { .locations-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ============================================================
   MARQUESINAS
   ============================================================ */
.marquee { overflow: clip; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-block: 30px;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.suppliers { padding-block: clamp(48px, 7vw, 90px) 0; border-top: 1px solid var(--border-subtle); }
.suppliers-kicker { text-align: center; color: var(--text-tertiary); }
.supplier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  color: var(--text-tertiary);
  transition: color 300ms ease;
}
.supplier:hover { color: var(--text-primary); }
.supplier-dot { color: var(--accent-fire); font-size: 28px; }

.cta-marquee {
  border-block: 1px solid var(--border-subtle);
  background: #0d0502;
}
.marquee-track-cta { gap: 48px; padding-block: 26px; animation-duration: 20s; }
.marquee-track-cta span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.marquee-track-cta .cta-dot { color: var(--accent-fire); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-container { max-width: 860px; }
.faq-list { margin-top: 44px; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-item h3 { font-size: inherit; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-primary);
  transition: color 250ms ease;
}
.faq-btn:hover { color: var(--accent-fire); }
.faq-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 350ms var(--ease-out), background 250ms ease, color 250ms ease;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-fire);
  border-color: var(--accent-fire);
  color: #0a0300;
}
.faq-panel {
  overflow: hidden;
  height: 0;
  transition: height 450ms var(--ease-out);
}
.faq-panel-inner { padding: 2px 4px 28px; }
.faq-panel-inner p { max-width: 64ch; font-size: 16px; }

/* ============================================================
   FRANJA DE FUEGO
   ============================================================ */
.fire-strip {
  position: relative;
  height: clamp(180px, 26vw, 300px);
  overflow: visible;
  background: var(--bg-primary);
  pointer-events: none;
  z-index: 2;
}
.fire-glow {
  position: absolute;
  inset: -70% -5% 0 -5%;
  background: radial-gradient(52% 60% at 50% 100%, rgba(255, 110, 30, 0.30), rgba(255, 39, 32, 0.10) 55%, transparent 78%);
  opacity: 0;
  transition: opacity 1600ms ease;
}
.flame-layer {
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background-repeat: repeat-x;
  opacity: 0;
  transform: translateY(14%) scaleY(0.85);
  transform-origin: bottom;
  will-change: transform, opacity;
}
.flame-back {
  height: 92%;
  background-image:
    radial-gradient(42% 100% at 10% 100%, rgba(122, 14, 14, 0.9) 18%, rgba(255, 39, 32, 0.5) 45%, transparent 72%),
    radial-gradient(36% 92% at 38% 100%, rgba(122, 14, 14, 0.85) 20%, rgba(255, 39, 32, 0.45) 48%, transparent 74%),
    radial-gradient(44% 100% at 66% 100%, rgba(122, 14, 14, 0.9) 16%, rgba(255, 39, 32, 0.5) 44%, transparent 72%),
    radial-gradient(38% 94% at 92% 100%, rgba(122, 14, 14, 0.85) 20%, rgba(255, 39, 32, 0.45) 46%, transparent 74%);
  background-size: 620px 100%;
  filter: url(#flameWarpA) blur(9px);
}
.flame-mid {
  height: 74%;
  background-image:
    radial-gradient(30% 100% at 18% 100%, #fff3cf 4%, rgba(255, 150, 40, 0.95) 24%, rgba(255, 39, 32, 0.75) 52%, transparent 76%),
    radial-gradient(26% 88% at 47% 100%, #ffedba 5%, rgba(255, 140, 35, 0.9) 26%, rgba(255, 39, 32, 0.7) 54%, transparent 78%),
    radial-gradient(30% 96% at 78% 100%, #fff3cf 4%, rgba(255, 150, 40, 0.95) 24%, rgba(255, 39, 32, 0.75) 52%, transparent 76%);
  background-size: 520px 100%;
  filter: url(#flameWarpB) blur(4px);
}
.flame-front {
  height: 48%;
  background-image:
    radial-gradient(22% 100% at 12% 100%, #fffbe8 6%, #ffd23f 26%, rgba(255, 110, 30, 0.9) 50%, transparent 74%),
    radial-gradient(18% 86% at 34% 100%, #fff7d6 8%, #ffc632 30%, rgba(255, 100, 28, 0.85) 54%, transparent 76%),
    radial-gradient(22% 94% at 58% 100%, #fffbe8 6%, #ffd23f 26%, rgba(255, 110, 30, 0.9) 50%, transparent 74%),
    radial-gradient(18% 90% at 84% 100%, #fff7d6 8%, #ffc632 30%, rgba(255, 100, 28, 0.85) 54%, transparent 76%);
  background-size: 440px 100%;
  filter: url(#flameWarpB) blur(2px);
  mix-blend-mode: screen;
}

/* Encendido: solo cuando .is-lit (IntersectionObserver) */
.fire-strip.is-lit .fire-glow { opacity: 1; }
.fire-strip.is-lit .flame-back {
  opacity: 0.85;
  animation: flameRise 7.3s ease-in-out infinite alternate, flameDrift 23s linear infinite;
  transition: opacity 1800ms ease 100ms;
}
.fire-strip.is-lit .flame-mid {
  opacity: 0.92;
  animation: flameRise 5.1s ease-in-out infinite alternate-reverse, flameDrift 17s linear infinite reverse;
  transition: opacity 1600ms ease 350ms;
}
.fire-strip.is-lit .flame-front {
  opacity: 1;
  animation: flameRise 3.7s ease-in-out infinite alternate, flameDrift 12s linear infinite;
  transition: opacity 1400ms ease 600ms;
}
@keyframes flameRise {
  0%   { transform: translateY(6%) scaleY(0.92) scaleX(1.01); }
  38%  { transform: translateY(1%) scaleY(1.04) scaleX(0.99); }
  71%  { transform: translateY(4%) scaleY(0.96) scaleX(1.02); }
  100% { transform: translateY(0%) scaleY(1.06) scaleX(1); }
}
@keyframes flameDrift {
  from { background-position-x: 0; }
  to { background-position-x: 640px; }
}
.embers {
  position: absolute;
  inset: -60% 0 0 0;
  width: 100%;
  height: 160%;
  opacity: 0;
  transition: opacity 1800ms ease 500ms;
}
.fire-strip.is-lit .embers { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .fire-strip.is-lit .flame-layer { animation: none; transform: none; }
  .embers { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--bg-primary);
  padding-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  padding-block: 60px 70px;
}
.footer-brand p { font-size: 15px; max-width: 34ch; margin-top: 18px; }
.brand-badge-footer { height: 32px; }
.footer-social { display: flex; gap: 14px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: border-color 250ms ease, color 250ms ease, transform 250ms var(--ease-out);
}
.footer-social a:hover { border-color: var(--accent-fire); color: var(--text-primary); transform: scale(1.08); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col a, .footer-col p { display: block; font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; }
.footer-col a:hover { color: var(--accent-pop); }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 17.5vw, 250px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-align: center;
  user-select: none;
  background: linear-gradient(180deg, var(--text-primary) 30%, rgba(246, 246, 246, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-inline: 10px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 30px 6px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 50px;
}
.footer-legal p { font-size: 13px; color: var(--text-tertiary); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 13px; color: var(--text-tertiary); transition: color 200ms ease; }
.footer-legal-links a:hover { color: var(--text-primary); }

@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 539px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Firma personal (kit JD — no modificar el SVG) ---------- */
.site-signature {
  margin-top: 2.5rem;
  padding: 1.5rem var(--pad-x) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}
.site-signature a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--signature-color);
  transition: opacity 0.3s ease;
  opacity: 0.85;
}
.site-signature a:hover,
.site-signature a:focus-visible { opacity: 1; }
.site-signature__mark { width: 18px; height: 18px; display: block; }
.site-signature__text { font-size: 0.68rem; letter-spacing: 0.03em; }

/* ============================================================
   PÁGINA CARTA (menu.html)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(50px, 9vw, 110px)) 0 clamp(40px, 6vw, 70px);
}
.page-hero h1 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.page-hero p { margin-top: 20px; max-width: 52ch; }

.carta-cat { padding-block: clamp(40px, 6vw, 70px); }
.carta-cat-head {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}
.carta-cat-head h2 { margin-bottom: 0; }
.carta-cat-head figure {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
.carta-cat-head img { width: 100%; height: 100%; object-fit: cover; }
.carta-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 80px); }
.carta-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}
.carta-item h3 { font-size: 19px; }
.carta-item .price { font-size: 18px; }
.carta-item p {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 52ch;
}
.carta-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-pop);
  border: 1px solid rgba(195, 255, 0, 0.4);
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .carta-cat-head { grid-template-columns: 1fr; }
  .carta-cat-head figure { order: -1; }
  .carta-items { grid-template-columns: 1fr; }
}

/* ============================================================
   REVEALS (scroll)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: elementos con split nunca deben quedarse invisibles */
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
