/* ============================================================
   MADMAN'S KITCHEN — style.css
   Dark, fiery, editorial — derived from the brand's BBQ flyer
   ============================================================ */

:root {
  --bg: #0b0a08;
  --bg-2: #14110d;
  --surface: #1a1610;
  --surface-2: #211b13;
  --line: #2e2619;
  --text: #f7f2e8;
  --muted: #b7ab97;
  --flame: #ff7a1a;
  --flame-2: #ffb347;
  --ember: #e23b12;
  --deep: #8f1d04;
  --grad-flame: linear-gradient(92deg, #e23b12 0%, #ff7a1a 55%, #ffb347 100%);
  --radius-s: 10px;
  --radius-m: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --font-head: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--flame); color: #140b04; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .95;
  text-transform: uppercase;
}

.script {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--flame-2);
  font-weight: 700;
  letter-spacing: 0;
}

.flame-text {
  background: var(--grad-flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
.section-kicker { font-size: clamp(1.5rem, 2.6vw, 2rem); display: block; margin-bottom: .35rem; }
.lead { color: var(--muted); max-width: 62ch; }

/* brush underline accent */
.brush {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}
.brush::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: .02em;
  height: .28em;
  background: var(--grad-flame);
  z-index: -1;
  transform: skew(-12deg) rotate(-1.2deg);
  border-radius: 3px;
  opacity: .9;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { margin-bottom: clamp(34px, 5vw, 56px); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.9rem .7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s;
  line-height: 1;
}
.btn-primary {
  background: var(--grad-flame);
  color: #1a0d02;
  box-shadow: 0 8px 28px rgba(255, 122, 26, .35);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 36px rgba(255, 122, 26, .5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: #4a3d28;
}
.btn-ghost:hover { border-color: var(--flame); color: var(--flame-2); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--flame-2);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background .3s ease, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(11, 10, 8, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: .8rem clamp(18px, 4vw, 44px);
  max-width: 1400px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand span {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.main-nav a.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s;
  white-space: nowrap;
}
.main-nav a.nav-link:hover { color: var(--flame-2); }
.lang-switch {
  display: flex;
  border: 1.5px solid #4a3d28;
  border-radius: 999px;
  overflow: hidden;
  font-weight: 700;
  font-size: .85rem;
}
.lang-switch a {
  padding: .35rem .8rem;
  text-decoration: none;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-switch a.active { background: var(--grad-flame); color: #1a0d02; }
.header-cta { white-space: nowrap; }

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
  z-index: 120;
}
.burger span {
  display: block;
  height: 3px;
  width: 26px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 172px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 26, .14), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(226, 59, 18, .12), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero h1 { font-size: clamp(3.6rem, 8.5vw, 7.5rem); margin: .2rem 0 1rem; }
.hero .script { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hero p.lead { margin-bottom: 2rem; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1.5px solid #4a3d28;
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--flame-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.2rem;
}
.hero-badge::before { content: "🔥"; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  align-items: start;
}

/* hero brand video (replaces hero cards) */
.hero-video-wrap { display: flex; justify-content: center; width: 100%; }
.hero-video-frame {
  width: min(430px, 92%);
  transform: rotate(1.5deg);
}
.hero-video-frame:hover { transform: rotate(0deg) scale(1.01); }
.hero-video-frame video {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-m) - 6px);
}

/* orange line accents so the text side isn't empty black */
.hero-text { position: relative; }
.hero-text::before {
  content: "";
  position: absolute;
  left: -26px; top: 6%;
  height: 88%; width: 5px;
  background: var(--grad-flame);
  border-radius: 4px;
  box-shadow: 0 0 26px rgba(255, 122, 26, .4);
}
/* slogan bar fixed at the very top of the page */
.hero-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  height: 52px;
  background: linear-gradient(100deg, #e23b12, #ff7a1a, #ffb347, #ff7a1a, #e23b12);
  background-size: 220% 100%;
  animation: bannerflow 9s linear infinite;
  box-shadow: 0 10px 34px rgba(255, 122, 26, .35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(20px, 4vw, 60px);
}
@keyframes bannerflow { to { background-position: 220% 0; } }
.hero-banner .hb-text {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #1a0d02;
  line-height: 1;
  text-align: center;
  flex: 1;
}
.hero-banner .hb-flame { font-size: clamp(1rem, 2vw, 1.4rem); }

/* when the banner is present, push the header below it */
.hero-banner + .site-header { top: 52px; }
@media (max-width: 900px) {
  .hero-banner { height: 44px; }
  .hero-banner + .site-header { top: 44px; }
}
section { scroll-margin-top: 120px; }

/* full-width flame line at the bottom of the hero */
.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  bottom: 24px;
  height: 4px;
  background: var(--grad-flame);
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(255, 122, 26, .35);
  opacity: .9;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-text::before { left: -14px; width: 4px; }
}
.flame-frame {
  padding: 6px;
  background: var(--grad-flame);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  transition: transform .35s ease;
}
.flame-frame:hover { transform: rotate(0deg) scale(1.02); }
.flame-frame:nth-child(2) { transform: rotate(1.8deg) translateY(26px); }
.flame-frame:nth-child(2):hover { transform: rotate(0deg) translateY(26px) scale(1.02); }
.flame-frame.wide { grid-column: 1 / -1; transform: rotate(-.8deg); }
.flame-frame img {
  border-radius: calc(var(--radius-m) - 6px);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.flame-frame.wide img { aspect-ratio: 16 / 9; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--grad-flame);
  color: #1a0d02;
  overflow: hidden;
  padding: .55rem 0 .4rem;
  transform: rotate(-1deg) scale(1.02);
  border-top: 3px solid #0b0a08;
  border-bottom: 3px solid #0b0a08;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 26, .55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 122, 26, .25);
}
.card-img { position: relative; overflow: hidden; }
.card-img img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11, 10, 8, .85);
  backdrop-filter: blur(6px);
  color: var(--flame-2);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 26, .4);
}
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3 { font-size: 1.7rem; }
.card-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-link {
  font-weight: 800;
  color: var(--flame-2);
  text-decoration: none;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.card-link::after { content: " →"; transition: margin .2s; }
.card-link:hover::after { margin-left: 4px; }

/* ---------- Gallery ---------- */
#galerie, #gallery { background: var(--bg-2); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.2rem;
  justify-content: center;
}
.filter-btn {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .22s;
}
.filter-btn:hover { border-color: var(--flame); color: var(--flame-2); }
.filter-btn.active {
  background: var(--grad-flame);
  border-color: transparent;
  color: #1a0d02;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.g-item {
  border: 0;
  padding: 0;
  background: var(--surface);
  border-radius: var(--radius-s);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.g-item img { aspect-ratio: 3/4; object-fit: cover; width: 100%; height: 100%; transition: transform .45s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover { box-shadow: 0 14px 34px rgba(0,0,0,.5); z-index: 2; }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .88));
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transition: opacity .3s;
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; }
.g-item.hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 4, 3, .94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 78vh;
  max-width: min(92vw, 720px);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
  object-fit: contain;
}
.lightbox .lb-cap { color: var(--muted); margin-top: 1rem; text-align: center; max-width: 60ch; }
.lb-btn {
  position: absolute;
  background: rgba(26, 22, 16, .9);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { border-color: var(--flame); color: var(--flame-2); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Videos ---------- */
.reels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
.reel {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.reel:hover { transform: translateY(-5px); border-color: rgba(255,122,26,.6); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.reel img, .reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel .play-pill {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(transparent 55%, rgba(0,0,0,.75));
  transition: background .3s;
}
.reel .play-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--grad-flame);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(255,122,26,.45);
  transition: transform .25s;
}
.reel:hover .play-icon { transform: scale(1.1); }
.play-icon svg { margin-left: 4px; }
.reel .reel-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .9rem .85rem .8rem;
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
}
.video-note { text-align: center; color: var(--muted); margin-top: 1.8rem; font-size: .95rem; }

/* ---------- Sauce ---------- */
.sauce-section {
  background:
    radial-gradient(800px 420px at 12% 20%, rgba(255, 122, 26, .12), transparent 60%),
    var(--bg-2);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.sauce-img { max-width: 420px; margin: 0 auto; width: 100%; }
.sauce-video-slot {
  margin-top: 2rem;
  border: 2px dashed rgba(255, 122, 26, .55);
  border-radius: var(--radius-m);
  padding: 1.8rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: rgba(255, 122, 26, .05);
}
.sauce-video-slot .play-icon { flex: none; width: 54px; height: 54px; opacity: .9; }
.sauce-video-slot p { color: var(--muted); font-size: .95rem; }
.sauce-video-slot strong { color: var(--flame-2); }
.sauce-list { list-style: none; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.sauce-list li { padding-left: 1.7rem; position: relative; color: var(--muted); }
.sauce-list li::before { content: "🔥"; position: absolute; left: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(255,122,26,.5); }
.step .num {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  background: var(--grad-flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: .6rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- About ---------- */
.about-img-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-img-stack .flame-frame:nth-child(2) { transform: rotate(1.6deg) translateY(20px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-list details[open] { border-color: rgba(255, 122, 26, .55); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--flame-2);
  transition: transform .25s;
  flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 1.4rem 1.25rem; color: var(--muted); }

/* ---------- Quote form ---------- */
.quote-section {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(226, 59, 18, .12), transparent 55%),
    var(--bg-2);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(26px, 4vw, 48px);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--flame); }
.field .hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #ff9d7a; font-size: .82rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--ember); }
.field.invalid .err { display: block; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; color: var(--muted); }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--flame); flex: none; }
.form-error-summary {
  display: none;
  background: rgba(226, 59, 18, .12);
  border: 1px solid rgba(226, 59, 18, .6);
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.form-error-summary.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: block; }
.form-success .big { font-size: 3.4rem; }
.form-success h3 { font-size: 2.2rem; margin: .8rem 0 .6rem; }
.form-success p { color: var(--muted); max-width: 48ch; margin: 0 auto; }
.form-fail {
  display: none;
  background: rgba(226,59,18,.12);
  border: 1px solid rgba(226,59,18,.6);
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
}
.form-fail.show { display: block; }
.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(26, 13, 2, .35);
  border-top-color: #1a0d02;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 24px;
  text-align: center;
  text-decoration: none;
  transition: transform .3s, border-color .3s;
  display: block;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(255,122,26,.55); }
.contact-card .ico { font-size: 2rem; }
.contact-card h3 { font-size: 1.4rem; margin: .7rem 0 .35rem; }
.contact-card p { color: var(--muted); font-size: .95rem; word-break: break-word; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--grad-flame);
  color: #1a0d02;
  text-align: center;
  transform: rotate(-1deg) scale(1.02);
  padding: clamp(50px, 7vw, 80px) 0;
}
.cta-band h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.cta-band p { max-width: 55ch; margin: .8rem auto 1.8rem; font-weight: 600; }
.cta-band .btn-ghost { border-color: #1a0d02; color: #1a0d02; }
.cta-band .btn-ghost:hover { background: #1a0d02; color: var(--flame-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: #080706;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer .brand img { height: 54px; }
.site-footer p { color: var(--muted); font-size: .92rem; margin-top: .8rem; max-width: 34ch; }
.site-footer h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--flame-2);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: grid; gap: .55rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--flame-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: .85rem;
}
.footer-bottom button.linklike {
  background: none; border: 0; color: var(--muted);
  font: inherit; cursor: pointer; text-decoration: underline;
}
.footer-bottom button.linklike:hover { color: var(--flame-2); }

/* ---------- Chat widget ---------- */
.chat-launcher {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 150;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 0;
  background: var(--grad-flame);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(255, 122, 26, .5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, bottom .3s ease;
}
.chat-launcher:hover { transform: scale(1.08); }
body.cookies-open .chat-launcher { bottom: 98px; }
body.cookies-open .chat-panel { bottom: 172px; }
.chat-panel {
  position: fixed;
  bottom: 96px; right: 22px;
  z-index: 150;
  width: min(370px, calc(100vw - 44px));
  background: var(--surface);
  border: 1px solid rgba(255, 122, 26, .4);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head {
  background: var(--grad-flame);
  color: #1a0d02;
  padding: 1rem 1.2rem;
}
.chat-head strong { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; display: block; }
.chat-head span { font-size: .82rem; font-weight: 600; }
.chat-body { padding: 1.2rem; display: grid; gap: .8rem; }
.chat-body p { font-size: .92rem; color: var(--muted); }
.chat-body input, .chat-body textarea {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .7rem .9rem;
  width: 100%;
}
.chat-body textarea { min-height: 84px; resize: vertical; }
.chat-body input:focus, .chat-body textarea:focus { border-color: var(--flame); outline: none; }
.chat-status { font-size: .88rem; font-weight: 700; min-height: 1.2em; }
.chat-status.ok { color: #8ce99a; }
.chat-status.bad { color: #ff9d7a; }

/* ---------- Cookie notice ---------- */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 160;
  background: rgba(20, 17, 13, .97);
  border-top: 1px solid var(--line);
  padding: 1rem clamp(18px, 4vw, 44px);
  display: none;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--muted);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { flex: 1; min-width: 240px; }
.cookie-bar a { color: var(--flame-2); }

/* ---------- Small pages (legal / 404) ---------- */
.page-simple { padding-top: 140px; min-height: 100vh; }
.page-simple h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1.6rem; }
.page-simple h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; color: var(--flame-2); }
.page-simple p, .page-simple li { color: var(--muted); max-width: 75ch; }
.page-simple ul { padding-left: 1.3rem; display: grid; gap: .35rem; margin: .6rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-cards { max-width: 560px; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 7, 6, .98);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 110;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a.nav-link { font-size: 1.5rem; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
  .burger { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav .header-cta-mobile { display: inline-flex; }
  .contact-cards { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reels { gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .marquee-track { font-size: 1.2rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ---------- Mobile image sizing (phone polish) ---------- */
@media (max-width: 700px) {
  /* service cards: wide short images instead of tall portraits */
  .card-img img { aspect-ratio: 16 / 10; }
  /* split sections (sauce bottle, BBQ poster): narrower, centered */
  .sauce-img { max-width: 290px; }
  /* hero logo video a bit smaller */
  .hero-video-frame { width: min(330px, 82%); }
  /* about images: keep them modest */
  .about-img-stack .flame-frame img { aspect-ratio: 4 / 5; }
  /* gallery: smaller tiles, 3 per row */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .g-item figcaption { display: none; }
  /* footer: stack everything so nothing is cut off */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .site-footer p { max-width: none; }
}

