/* =====================================================================
   VILLAGE HEARTH & VILLAGE SWEEP — SHARED STYLESHEET
   Design system for multi-page site
   ===================================================================== */

/* ─── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0c;
  color: #f0ebe0;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── CSS VARIABLES ────────────────────────────────────────────────── */
:root {
  --fire-orange: #E8702A;
  --fire-amber: #F5A623;
  --fire-red: #C0392B;
  --fire-deep: #8B3A1A;
  --dark-bg: #0a0a0c;
  --dark-card: #111114;
  --dark-card2: #17171c;
  --dark-card3: #1e1e24;
  --border: rgba(232,112,42,0.2);
  --border-soft: rgba(255,255,255,0.06);
  --text-primary: #f0ebe0;
  --text-muted: #9a958a;
  --text-dim: #6b675f;
  --white: #ffffff;
  --gold: #D4AF37;
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.5);
  --shadow-md: 0 14px 40px rgba(0,0,0,0.35);
  --shadow-sm: 0 6px 18px rgba(0,0,0,0.25);
  --glow-orange: 0 0 40px rgba(232,112,42,0.35);

  /* Light/cream section palette */
  --cream-bg: #f5f0e5;
  --cream-bg2: #faf6ec;
  --cream-card: #ffffff;
  --cream-text: #1a1a1e;
  --cream-text-muted: #5a554d;
  --cream-text-dim: #8a857c;
  --cream-border: rgba(26,26,30,0.08);
  --cream-border-soft: rgba(26,26,30,0.05);
}

/* ─── SCROLLBAR ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb { background: var(--fire-orange); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fire-amber); }

/* ─── UTILITY ──────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 140px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire-amber);
  margin-bottom: 14px;
}

.divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--fire-orange), var(--fire-amber));
  border-radius: 2px;
  margin: 0 0 22px 0;
}
.divider.center { margin: 0 auto 22px; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────────────── */
.display-xxl {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.display-xl {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.section-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}
.section-desc.center { margin: 0 auto 40px; }
.accent { color: var(--fire-orange); font-style: italic; }
.gold-accent { color: var(--gold); }

/* ─── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(.2,.9,.2,1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
  box-shadow: 0 10px 30px rgba(232,112,42,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(232,112,42,0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--fire-orange);
  color: var(--fire-amber);
}
.btn-outline {
  background: transparent;
  color: var(--fire-amber);
  border: 1.5px solid var(--fire-orange);
}
.btn-outline:hover {
  background: var(--fire-orange);
  color: #fff;
}
.btn-lg { padding: 20px 40px; font-size: 15px; }
.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ─── REVEAL ANIMATIONS ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .8s ease, transform .8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ─── TOP ANNOUNCE BAR ─────────────────────────────────────────────── */
.announce-bar {
  background: linear-gradient(90deg, var(--fire-deep), var(--fire-orange), var(--fire-deep));
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 101;
}
.announce-bar strong { font-weight: 700; }
.announce-bar a { text-decoration: underline; margin-left: 6px; }

/* ─── NAVIGATION ───────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10,10,12,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background .3s ease, border-color .3s ease;
}
#navbar.scrolled {
  background: rgba(10,10,12,0.96);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 90px;
  width: auto;
  transition: transform .3s;
}
.nav-logo:hover img { transform: scale(1.03); }
@media (max-width: 1024px) {
  .nav-inner { height: 96px; }
  .nav-logo img { height: 76px; }
}
@media (max-width: 640px) {
  .nav-inner { height: 84px; }
  .nav-logo img { height: 64px; }
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fire-orange);
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--fire-amber);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ─── MOBILE MENU ──────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #0a0a0c;
  border-left: 1px solid var(--border);
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
  transition: right .35s cubic-bezier(.2,.9,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.mobile-menu a:hover { color: var(--fire-amber); }
.mobile-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 22px;
  color: var(--text-primary);
  padding: 10px;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── PAGE HERO (inner pages) ──────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(232,112,42,0.12), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(245,166,35,0.08), transparent 55%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.breadcrumbs a:hover { color: var(--fire-amber); }
.breadcrumbs .sep { color: var(--text-dim); }
.breadcrumbs .current { color: var(--fire-amber); }

/* ─── TRUST BAR ────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--dark-card);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 0;
}
.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon { font-size: 26px; }
.trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.trust-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── SERVICE CARDS ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 60px;
}
.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 40px 32px;
  position: relative;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,112,42,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  position: absolute;
  top: 22px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 400;
  color: rgba(232,112,42,0.12);
  font-style: italic;
  line-height: 1;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,112,42,0.14), rgba(245,166,35,0.06));
  border: 1px solid rgba(232,112,42,0.2);
  font-size: 26px;
  margin-bottom: 22px;
  position: relative;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  position: relative;
}
.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  margin-bottom: 16px;
}
.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fire-amber);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s;
  position: relative;
}
.service-link:hover { gap: 12px; color: var(--fire-orange); }

/* ─── BRAND GRID ───────────────────────────────────────────────────── */
.brand-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 44px 20px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-top: 32px;
}
.brand-logo-item {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.9,.2,1);
  opacity: 0.88;
}
.brand-logo-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.brand-logo-item img {
  max-height: 56px;
  max-width: 200px;
  width: auto;
  height: auto;
  filter: none;
  object-fit: contain;
}
/* Whiten dark-text logos so they read on dark bg */
.brand-logo-item img[src*="logo-davinci"],
.brand-logo-item img[src*="logo-fpx"],
.brand-logo-item img[src*="logo-modernflame"] {
  filter: brightness(0) invert(1);
}
/* Lopi keeps original (its medallion is designed for dark bg) */
.brand-logo-item img[src*="logo-lopi"] {
  max-height: 64px;
}
@media (max-width: 640px) {
  .brand-logo-strip { gap: 36px; padding: 32px 14px; }
  .brand-logo-item img { max-height: 44px; max-width: 160px; }
  .brand-logo-item img[src*="logo-lopi"] { max-height: 52px; }
}

/* ─── GALLERY ──────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--dark-card);
}
.g-item.tall { aspect-ratio: 3 / 4; }
.g-item.wide { aspect-ratio: 16 / 10; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.9,.2,1);
}
.g-item:hover img { transform: scale(1.08); }
.g-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.g-item:hover .g-item-overlay { opacity: 1; }

/* ─── LIGHTBOX ─────────────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 40px;
  animation: fadeIn .25s ease;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 95%;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 28px;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
#lightbox-close:hover { background: var(--fire-orange); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ─── CTA BANNER ───────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--fire-deep) 0%, var(--dark-card) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  line-height: 1.15;
}
.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-banner .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.testimonial {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 36px 30px;
  transition: border-color .3s;
}
.testimonial:hover { border-color: var(--border); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 1px; }
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}
.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.testimonial-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── STATS ROW ────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding: 48px 40px;
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
}
.stat {
  text-align: center;
  border-right: 1px solid var(--border-soft);
  padding: 0 16px;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--fire-amber);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── FOOTER ───────────────────────────────────────────────────────── */
footer {
  background: #050507;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 80px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand img { height: 88px; width: auto; margin-bottom: 22px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--fire-amber); }
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-line span:first-child { color: var(--fire-orange); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--fire-amber); }

/* ─── MOBILE STICKY CTA ────────────────────────────────────────────── */
#mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: rgba(10,10,12,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  z-index: 90;
  gap: 10px;
}
#mobile-cta-bar a {
  flex: 1;
  padding: 13px 16px;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mob-call {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
}
.mob-dir {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ─── SCROLL TOP BUTTON ────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fire-orange);
  color: #fff;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: var(--shadow-md);
  transition: transform .25s;
}
#scroll-top:hover { transform: translateY(-4px); }
#scroll-top.visible { display: flex; }

/* ─── FORM ─────────────────────────────────────────────────────────── */
.form-card {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 48px 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--fire-orange);
  background: rgba(255,255,255,0.05);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ─── SECTION LIGHT VARIANT ────────────────────────────────────────── */
/* Apply `.section-light` to a section to flip it from dark to cream.
   Everything inside auto-adjusts for readability. */
.section-light {
  background: var(--cream-bg);
  color: var(--cream-text);
  position: relative;
}
.section-light.warm-gradient {
  background: linear-gradient(180deg, var(--cream-bg2) 0%, var(--cream-bg) 100%);
}
/* Decorative top/bottom accents for smooth transition */
.section-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,112,42,0.3), transparent);
}
.section-light .section-heading,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--cream-text);
}
.section-light p,
.section-light .section-desc,
.section-light li {
  color: var(--cream-text-muted);
}
.section-light .tag { color: var(--fire-red); }
.section-light .accent {
  color: var(--fire-orange);
}
.section-light .divider {
  background: linear-gradient(90deg, var(--fire-orange), var(--fire-amber));
}
/* Process step borders on light bg */
.section-light .process-num {
  -webkit-text-stroke: 1.5px var(--fire-red);
  color: transparent;
}
.section-light .process-step h3 { color: var(--cream-text); }
.section-light .process-step p { color: var(--cream-text-muted); }

/* Testimonial slideshow on cream */
.section-light .slideshow-track {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 30px 60px rgba(26,26,30,0.08);
}
.section-light .slideshow-track::before {
  background: radial-gradient(ellipse, rgba(232,112,42,0.08), transparent 60%);
}
.section-light .slide-quote { color: var(--cream-text); }
.section-light .slide-name { color: var(--cream-text); }
.section-light .slide-meta { color: var(--cream-text-muted); }
.section-light .slide-source {
  color: var(--cream-text-dim);
  border-color: var(--cream-border);
}
.section-light .slide-quote-mark { color: rgba(232,112,42,0.25); }
.section-light .slide-arrow {
  background: var(--cream-card);
  border-color: var(--cream-border);
  color: var(--cream-text);
}
.section-light .slide-arrow:hover {
  background: var(--fire-orange);
  color: #fff;
}
.section-light .slide-dot { background: rgba(26,26,30,0.15); }
.section-light .slide-dot:hover { background: rgba(232,112,42,0.5); }
.section-light .slide-dot.active { background: var(--fire-orange); }

/* Team section placeholder on cream */
.section-light .team-photo-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(232,112,42,0.08) 0 20px, rgba(245,166,35,0.03) 20px 40px),
    var(--cream-card);
  border: 2px dashed rgba(232,112,42,0.4);
}
.section-light .team-photo-placeholder .ph-title { color: var(--fire-red); }
.section-light .team-photo-placeholder .ph-sub { color: var(--cream-text-muted); }
.section-light .team-photo-placeholder .ph-note {
  background: rgba(255,255,255,0.85);
  color: var(--cream-text-muted);
  border-color: var(--cream-border);
}

/* Service cards / info boxes on cream */
.section-light .service-card,
.section-light .info-box,
.section-light .value-card,
.section-light .visit-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 6px 20px rgba(26,26,30,0.04);
}
.section-light .service-card:hover,
.section-light .value-card:hover {
  border-color: rgba(232,112,42,0.4);
  box-shadow: 0 18px 40px rgba(232,112,42,0.15);
}
.section-light .service-card h3,
.section-light .value-card h3,
.section-light .visit-card h3,
.section-light .info-box h4 {
  color: var(--cream-text);
}
.section-light .service-card p,
.section-light .value-card p,
.section-light .visit-card p,
.section-light .info-box p { color: var(--cream-text-muted); }
.section-light .service-num,
.section-light .value-card-num { color: rgba(232,112,42,0.18); }

/* Buttons on light bg */
.section-light .btn-ghost {
  background: rgba(26,26,30,0.05);
  color: var(--cream-text);
  border-color: rgba(26,26,30,0.12);
}
.section-light .btn-ghost:hover {
  background: rgba(26,26,30,0.1);
  border-color: var(--fire-orange);
  color: var(--fire-red);
}
.section-light .btn-outline {
  color: var(--fire-red);
  border-color: var(--fire-orange);
}
.section-light .btn-outline:hover {
  background: var(--fire-orange);
  color: #fff;
}

/* Stats row on cream */
.section-light .stats-row {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 12px 30px rgba(26,26,30,0.06);
}
.section-light .stat { border-right-color: var(--cream-border-soft); }
.section-light .stat-label { color: var(--cream-text-muted); }

/* Timeline on cream */
.section-light .timeline::before {
  background: linear-gradient(to bottom, var(--fire-orange), rgba(232,112,42,0.1));
}
.section-light .timeline-item h3 { color: var(--cream-text); }
.section-light .timeline-item p { color: var(--cream-text-muted); }

/* FAQ on cream */
.section-light .faq-item { border-bottom-color: var(--cream-border); }
.section-light .faq-q { color: var(--cream-text); }
.section-light .faq-a { color: var(--cream-text-muted); }

/* ─── MOBILE CLAIM-OFFER POPUP ─────────────────────────────────────── */
#claim-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  pointer-events: none;
}
#claim-popup.show {
  display: block;
  pointer-events: auto;
}
.claim-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s ease;
}
#claim-popup.show .claim-overlay { opacity: 1; }
.claim-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--dark-card2), var(--dark-card));
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--fire-orange), var(--fire-amber), var(--fire-orange)) 1;
  border-radius: 24px 24px 0 0;
  padding: 26px 24px 32px;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
}
#claim-popup.show .claim-sheet {
  transform: translateY(0);
}
.claim-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 18px;
}
.claim-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  z-index: 10;
  transition: background .2s, transform .2s, border-color .2s;
}
.claim-close:hover, .claim-close:focus {
  background: var(--fire-orange);
  border-color: var(--fire-orange);
  transform: scale(1.05);
  outline: none;
}

.claim-optout {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.claim-optout:hover, .claim-optout:focus {
  color: var(--fire-amber);
  outline: none;
}
.claim-header {
  text-align: center;
  margin-bottom: 22px;
}
.claim-label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(232,112,42,0.15);
  border: 1px solid rgba(232,112,42,0.3);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire-amber);
  font-weight: 600;
  margin-bottom: 12px;
}
.claim-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.claim-title .accent {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.claim-sub {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}
.claim-form .form-field { margin-bottom: 14px; }
.claim-form .form-field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.claim-form input,
.claim-form select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color .2s;
}
.claim-form input:focus,
.claim-form select:focus {
  outline: none;
  border-color: var(--fire-orange);
}
.claim-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.claim-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 10px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.claim-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232,112,42,0.35);
}
.claim-fine {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.claim-success {
  text-align: center;
  padding: 30px 20px;
}
.claim-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d7a3a, #1e5e2a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 18px;
}
.claim-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.claim-success-sub {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Only show on mobile */
@media (min-width: 769px) {
  #claim-popup { display: none !important; }
}

/* ─── FIRE CANVAS (hero animation) ─────────────────────────────────── */
#fire-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* ─── VAN / FLEET SECTION ──────────────────────────────────────────── */
.fleet-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(232,112,42,0.08), transparent 60%), var(--dark-bg);
}
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.fleet-img {
  position: relative;
}
.fleet-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
.fleet-img::before {
  content: '';
  position: absolute;
  inset: -10% 5% auto 5%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(232,112,42,0.15), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.county-phones {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.county-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  transition: border-color .3s, transform .3s;
}
.county-phone:hover {
  border-color: var(--border);
  transform: translateX(6px);
}
.county-phone-name {
  display: flex;
  align-items: center;
  gap: 14px;
}
.county-phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(232,112,42,0.15), rgba(245,166,35,0.08));
  border: 1px solid rgba(232,112,42,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.county-phone-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.county-phone-county {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.county-phone-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fire-amber);
  letter-spacing: -0.01em;
}

/* ─── TEAM SECTION ─────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.team-photo-placeholder {
  position: relative;
  border-radius: 22px;
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, rgba(232,112,42,0.04) 0 20px, rgba(245,166,35,0.02) 20px 40px),
    var(--dark-card);
  border: 2px dashed rgba(232,112,42,0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}
.team-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,112,42,0.08), transparent 60%);
  pointer-events: none;
}
.team-photo-placeholder .ph-icon {
  font-size: 56px;
  margin-bottom: 20px;
  opacity: 0.7;
}
.team-photo-placeholder .ph-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fire-amber);
  margin-bottom: 10px;
}
.team-photo-placeholder .ph-sub {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}
.team-photo-placeholder .ph-note {
  position: absolute;
  bottom: 22px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  background: rgba(10,10,12,0.7);
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

/* ─── BRAND PAGES ──────────────────────────────────────────────────── */
.brand-hero {
  position: relative;
  padding: 110px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(232,112,42,0.14), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(245,166,35,0.08), transparent 55%);
  pointer-events: none;
}
.brand-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.brand-hero-content { max-width: 580px; }
.brand-hero-logo {
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
  max-width: none;
}
.brand-hero-logo img {
  max-height: 80px;
  max-width: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Whiten dark-text brand hero logos */
.brand-hero-logo img[src*="logo-davinci"],
.brand-hero-logo img[src*="logo-fpx"],
.brand-hero-logo img[src*="logo-modernflame"] {
  filter: brightness(0) invert(1);
}
.brand-hero-logo img[src*="logo-lopi"] {
  max-height: 100px;
}
.brand-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.brand-hero-content .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--fire-amber);
  margin-bottom: 20px;
}
.brand-hero-content p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.brand-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-hero-img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.brand-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.brand-hero-img:hover img { transform: scale(1.04); }
.brand-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(232,112,42,0.15));
  pointer-events: none;
}

/* Brand gallery — masonry style */
.brand-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 50px;
}
.brand-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: var(--dark-card);
  aspect-ratio: 4/3;
}
.brand-gallery-item.tall { aspect-ratio: 3/4; }
.brand-gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
.brand-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.9,.2,1);
}
.brand-gallery-item:hover img { transform: scale(1.06); }
.brand-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,0.5), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
}
.brand-gallery-item:hover::after { opacity: 1; }
.brand-gallery-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.brand-gallery-item:hover .brand-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Feature callouts for brand pages */
.brand-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.brand-feature {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px 28px;
}
.brand-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232,112,42,0.15), rgba(245,166,35,0.06));
  border: 1px solid rgba(232,112,42,0.25);
  font-size: 22px;
  margin-bottom: 16px;
}
.brand-feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.brand-feature p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Brand detail strip — 3-col quick facts */
.brand-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  margin-top: 40px;
}
.brand-fact {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--border-soft);
}
.brand-fact:last-child { border-right: none; }
.brand-fact-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--fire-amber);
  line-height: 1;
  margin-bottom: 8px;
}
.brand-fact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Other brands strip at bottom of brand pages */
.other-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.other-brand-card {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 30px 28px;
  text-align: center;
  transition: border-color .3s, transform .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.other-brand-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}
.other-brand-card-logo {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.other-brand-card-logo img {
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
}
/* Whiten dark-text logos */
.other-brand-card-logo img[src*="logo-davinci"],
.other-brand-card-logo img[src*="logo-fpx"],
.other-brand-card-logo img[src*="logo-modernflame"] {
  filter: brightness(0) invert(1);
}
.other-brand-card-logo img[src*="logo-lopi"] {
  max-height: 52px;
}
.other-brand-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.other-brand-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .brand-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 0; }
  .brand-hero-img { aspect-ratio: 16/10; max-height: 420px; }
  .brand-gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .brand-fact { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .brand-fact:last-child { border-bottom: none; }
}

/* ─── CUSTOM TRUST BADGES (SVG) ────────────────────────────────────── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(232,112,42,0.1), rgba(245,166,35,0.05));
  border: 1px solid rgba(232,112,42,0.3);
  border-radius: 12px;
  height: 58px;
}
.trust-badge-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.trust-badge-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fire-amber);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.trust-badge-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── DIMPLEX TEXT LOGO (CSS fallback) ─────────────────────────────── */
.dimplex-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dimplex-logo::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #E8141E;
  -webkit-mask: radial-gradient(circle at 35% 50%, transparent 4px, #000 5px, #000 12px, transparent 13px),
                radial-gradient(circle at 65% 50%, #000 6px, transparent 7px);
          mask: radial-gradient(circle at 35% 50%, transparent 4px, #000 5px, #000 12px, transparent 13px),
                radial-gradient(circle at 65% 50%, #000 6px, transparent 7px);
  -webkit-mask-composite: source-over;
          mask-composite: add;
  border-radius: 50%;
}

/* ─── TESTIMONIAL SLIDESHOW ────────────────────────────────────────── */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}
.slideshow-track {
  position: relative;
  min-height: 380px;
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
}
.slideshow-track::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(232,112,42,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, visibility 0s linear 0s;
}
.slide-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.5;
  color: rgba(232,112,42,0.2);
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
}
.slide-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.slide-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.slide-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.slide-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  font-family: 'Playfair Display', serif;
}
.slide-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}
.slide-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.slide-source {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
}

/* Slideshow controls */
.slideshow-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 20px;
}
.slideshow-arrows {
  display: flex;
  gap: 12px;
}
.slide-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
}
.slide-arrow:hover {
  background: var(--fire-orange);
  color: #fff;
  border-color: var(--fire-orange);
  transform: translateY(-2px);
}
.slideshow-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: all .25s;
  padding: 0;
}
.slide-dot:hover { background: rgba(232,112,42,0.5); }
.slide-dot.active {
  background: var(--fire-orange);
  width: 30px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(232,112,42,0.5);
}
.slideshow-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fire-orange), var(--fire-amber));
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 0 22px 22px;
}

@media (max-width: 768px) {
  .slide { padding: 40px 28px; }
  .slide-source { top: 14px; right: 14px; font-size: 9px; padding: 4px 10px; }
  .slideshow-track { min-height: 440px; }
}

/* ─── FUEL TYPES CHIP ROW ──────────────────────────────────────────── */
.fuel-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.fuel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(232,112,42,0.08);
  border: 1px solid rgba(232,112,42,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fire-amber);
}

@media (max-width: 1024px) {
  .fleet-grid, .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-photo-placeholder { aspect-ratio: 4/3; }
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
  .page-hero { padding: 70px 0 60px; }
  .cta-banner { padding: 50px 30px; }
  .stats-row { padding: 34px 20px; }
  .stat { border-right: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 22px; }
  .trust-items { justify-content: center; gap: 22px; }
  .section { padding: 60px 0; }
}
/* Mobile sticky CTA bar — show on phones, hide on tablet+ */
@media (max-width: 900px) {
  #mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
  #scroll-top { bottom: 88px; }
}


/* ─── LOGO VISIBILITY ON LIGHT SECTIONS ─────────────────────────────── */
.section-light .brand-logo-item img[src*="logo-davinci"],
.section-light .brand-logo-item img[src*="logo-fpx"],
.section-light .brand-logo-item img[src*="logo-modernflame"] {
  filter: brightness(0);
  opacity: 0.82;
}
.section-light .brand-logo-item:hover img {
  opacity: 1;
}
.section-light .dimplex-logo {
  color: #1a1a1e;
}

/* ─── FIRE BUILDER FEATURE CARDS ON LIGHT SECTIONS ──────────────────── */
.section-light .feature-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 6px 20px rgba(26,26,30,0.05);
}
.section-light .feature-card:hover {
  border-color: rgba(232,112,42,0.4);
  box-shadow: 0 14px 30px rgba(232,112,42,0.12);
  transform: translateY(-4px);
}
.section-light .feature-card h3 { color: var(--cream-text); }
.section-light .feature-card p { color: var(--cream-text-muted); }
.section-light .feature-card-icon {
  background: linear-gradient(135deg, rgba(232,112,42,0.18), rgba(245,166,35,0.08));
  border-color: rgba(232,112,42,0.3);
}

/* ─── NAV DROPDOWN (Brands) ─────────────────────────────────────────── */
.nav-links > li.has-dropdown {
  position: relative;
}
.nav-links > li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
  margin-left: 2px;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 240px;
  background: rgba(10,10,12,0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 0;
  margin-top: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  z-index: 110;
  box-shadow: 0 22px 50px rgba(0,0,0,0.55);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 12px;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown li { margin: 0; }
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background .2s, color .2s;
  white-space: nowrap;
  border-radius: 0;
}
.nav-dropdown li a::after { display: none !important; content: '' !important; width: 0 !important; }
.nav-dropdown li a:hover,
.nav-dropdown li a:focus {
  background: rgba(232,112,42,0.12);
  color: var(--fire-amber);
}
.nav-dropdown .dd-icon {
  font-size: 16px;
  opacity: 0.8;
}
.nav-dropdown li.dd-header {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 22px 4px;
  font-weight: 700;
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
}
.nav-dropdown li.dd-header:first-child { border-top: none; margin-top: 0; }

/* Mobile menu — brand links indented under "Brands" header */
.mobile-menu .mobile-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire-amber);
  font-weight: 700;
  padding: 18px 0 6px;
  border-bottom: none;
}
.mobile-menu .mobile-sub {
  padding: 10px 0 10px 18px !important;
  font-size: 15px !important;
  color: var(--text-muted) !important;
}
.mobile-menu .mobile-sub:hover { color: var(--fire-amber) !important; }

/* ─── BRAND FEATURE CARDS ON LIGHT SECTIONS ─────────────────────────── */
.section-light .brand-feature {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 6px 20px rgba(26,26,30,0.05);
}
.section-light .brand-feature:hover {
  border-color: rgba(232,112,42,0.4);
  box-shadow: 0 16px 34px rgba(232,112,42,0.14);
  transform: translateY(-4px);
}
.section-light .brand-feature h3 { color: var(--cream-text); }
.section-light .brand-feature p { color: var(--cream-text-muted); }
.section-light .brand-feature-icon {
  background: linear-gradient(135deg, rgba(232,112,42,0.18), rgba(245,166,35,0.08));
  border-color: rgba(232,112,42,0.3);
}
/* Other Brand cards on cream */
.section-light .other-brand-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
}
.section-light .other-brand-card:hover {
  border-color: rgba(232,112,42,0.4);
  box-shadow: 0 14px 28px rgba(232,112,42,0.12);
}
.section-light .other-brand-card h4 { color: var(--cream-text); }
.section-light .other-brand-card p { color: var(--cream-text-muted); }

/* ─── PRODUCT CARD (accessories w/ persistent title) ─────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .3s, box-shadow .3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,112,42,0.25);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-card2);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}
.product-card-body {
  padding: 20px 22px;
}
.product-card-brand {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire-amber);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.product-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Section-light variant */
.section-light .product-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-border);
  box-shadow: 0 6px 20px rgba(26,26,30,0.05);
}
.section-light .product-card:hover {
  border-color: rgba(232,112,42,0.4);
  box-shadow: 0 18px 38px rgba(232,112,42,0.15);
}
.section-light .product-card-name { color: var(--cream-text); }
.section-light .product-card-desc { color: var(--cream-text-muted); }
.section-light .product-card-brand { color: var(--fire-red); }
.section-light .product-card-img { background: var(--cream-bg2); }

/* ─── BRAND DROPDOWN WITH LOGOS (instead of emoji) ───────────────────── */
.nav-dropdown li a img.dd-logo {
  width: 28px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-dropdown li a img.dd-logo.white-filter {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.nav-dropdown li a:hover img.dd-logo.white-filter,
.nav-dropdown li a:focus img.dd-logo.white-filter {
  opacity: 1;
}
.nav-dropdown li a .dd-text-logo {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #D32323;
  flex-shrink: 0;
  min-width: 28px;
  letter-spacing: -0.02em;
}

/* ─── FPX LOGO READABILITY — bigger everywhere ───────────────────── */
/* Fireplace Xtrordinair logo has 2-line text ("FIREPLACE XTRORDINAIR")
   which becomes unreadable below ~52px height. Force larger sizing. */
.brand-logo-item img[src*="logo-fpx"] {
  max-height: 70px !important;
  max-width: 170px !important;
}
.brand-hero-logo img[src*="logo-fpx"] {
  max-height: 110px !important;
  max-width: 260px !important;
}
.brand-showcase-card-logo img[src*="logo-fpx"] {
  max-height: 62px !important;
  max-width: 150px !important;
}
.other-brand-card-logo img[src*="logo-fpx"] {
  max-height: 58px !important;
  max-width: 140px !important;
}
.nav-dropdown li a img.dd-logo[src*="logo-fpx"] {
  width: 40px !important;
  height: 24px !important;
}

/* ─── DEPTH & 3D POLISH PASS (May 2026) ──────────────────────────── */

/* Consistent shadow system (light from top-left) */
:root {
  --shadow-soft: 0 6px 14px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.12);
  --shadow-md:   0 14px 28px rgba(0,0,0,0.35), 0 6px 12px rgba(0,0,0,0.22);
  --shadow-lift: 0 28px 56px rgba(0,0,0,0.5),  0 12px 22px rgba(232,112,42,0.16);
  --tilt-ease: cubic-bezier(.2,.9,.2,1);
}

/* Tilt-on-hover for service cards */
.service-card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0) rotateY(0);
  box-shadow: var(--shadow-md);
  transition: transform .55s var(--tilt-ease), box-shadow .4s ease, border-color .3s;
  will-change: transform;
}
.service-card:hover {
  transform: perspective(1100px) translateY(-6px) rotateX(2.2deg) rotateY(-2.2deg);
  box-shadow: var(--shadow-lift);
  border-color: rgba(232,112,42,0.32);
}

/* Tilt-on-hover for feature cards (fire-builder, etc.) */
.feature-card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0) rotateY(0);
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--tilt-ease), box-shadow .4s ease, border-color .3s;
  will-change: transform;
}
.feature-card:hover {
  transform: perspective(1100px) translateY(-5px) rotateX(2deg) rotateY(-2deg);
  box-shadow: var(--shadow-lift);
  border-color: rgba(232,112,42,0.32);
}

/* Tilt-on-hover for product cards (accessories) */
.product-card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0) rotateY(0);
  box-shadow: var(--shadow-soft);
  transition: transform .55s var(--tilt-ease), box-shadow .4s ease;
  will-change: transform;
}
.product-card:hover {
  transform: perspective(1100px) translateY(-5px) rotateX(1.8deg) rotateY(-1.8deg);
  box-shadow: var(--shadow-lift);
}

/* Tilt-on-hover for "other brand" cross-link cards */
.other-brand-card {
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0) rotateY(0);
  transition: transform .55s var(--tilt-ease), box-shadow .4s ease, border-color .3s;
  will-change: transform;
}
.other-brand-card:hover {
  transform: perspective(1100px) translateY(-4px) rotateX(2deg) rotateY(-2deg);
  box-shadow: var(--shadow-lift);
}

/* Subtle floating animation for primary CTAs (idle, on hover) */
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.btn-primary.btn-lg {
  animation: ctaFloat 3.6s ease-in-out infinite;
}
.btn-primary.btn-lg:hover {
  animation-play-state: paused;
  transform: translateY(-5px);
  transition: transform .35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary.btn-lg,
  .service-card, .feature-card, .product-card, .other-brand-card,
  .brand-card, .brand-showcase-card { animation: none !important; transition: none !important; }
  .service-card:hover, .feature-card:hover, .product-card:hover,
  .other-brand-card:hover, .brand-card:hover, .brand-showcase-card:hover {
    transform: translateY(-3px) !important;
  }
}

/* Cascading stagger when a parent .reveal-stagger is in view */
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .07s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .35s; }

/* Hero parallax: only on desktop */
@media (max-width: 880px) {
  .hero-bg { transform: none !important; }
  /* Disable card tilts on mobile (touch UX) */
  .brand-card:hover, .brand-showcase-card:hover,
  .service-card:hover, .feature-card:hover, .product-card:hover,
  .other-brand-card:hover { transform: translateY(-3px) !important; }
  .btn-primary.btn-lg { animation: none; }
}

/* Universal min tap target on small screens */
@media (max-width: 720px) {
  .btn, .btn-sm, a.nav-phone, .mob-call, .mob-dir,
  .nav-links li a, .mobile-menu a, .footer-legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ─── MOBILE SAFETY NET (375–768px) ──────────────────────────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .container { padding-left: 22px; padding-right: 22px; }
  /* Tables/iframes/imgs never break the box */
  iframe, table, pre { max-width: 100%; }
  /* Section padding eased on phones */
  .section { padding: 60px 0; }
  /* Forms — make inputs full-width and tall enough to tap */
  input, select, textarea {
    width: 100%;
    min-height: 44px;
    font-size: 16px; /* prevent iOS zoom */
    box-sizing: border-box;
  }
  textarea { min-height: 120px; }
  /* Footer stacks cleanly */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-inner { padding: 60px 22px 50px !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-aside { align-items: center; }
  .floating-card { max-width: 100%; }
}

/* ─── SEASONAL OFFER POPUP ───────────────────────────────────────── */
#season-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
#season-popup.show { opacity: 1; pointer-events: auto; }

#season-popup .season-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,4,6,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes seasonGlow {
  0%, 100% { box-shadow: 0 50px 110px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,112,42,0.45), 0 0 32px rgba(232,112,42,0.18); }
  50%      { box-shadow: 0 50px 110px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,112,42,0.55), 0 0 44px rgba(232,112,42,0.30); }
}
#season-popup .season-card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%) translateY(16px) scale(0.96);
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  background:
    radial-gradient(ellipse at 78% -10%, rgba(232,112,42,0.18), transparent 55%),
    radial-gradient(ellipse at -10% 110%, rgba(245,166,35,0.10), transparent 55%),
    linear-gradient(180deg, #16161b 0%, #0c0c0f 100%);
  border: 1px solid rgba(232,112,42,0.4);
  border-radius: 18px;
  animation: seasonGlow 4s ease-in-out infinite;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,112,42,0.4) transparent;
}
#season-popup.show .season-card {
  transform: translateY(-50%) translateY(0) scale(1);
}
#season-popup .season-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.6), transparent);
}

#season-popup .season-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(240,235,224,0.7);
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .25s;
}
#season-popup .season-close:hover {
  background: rgba(232,112,42,0.3);
  color: #fff;
  transform: rotate(90deg);
}

#season-popup .season-body {
  position: relative;
  z-index: 2;
  padding: 26px 26px 22px;
}

#season-popup .season-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--fire-orange) 0%, var(--fire-red) 100%);
  border: 0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(232,112,42,0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#season-popup .season-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
#season-popup .season-headline .accent {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

#season-popup .season-sub {
  font-size: 13.5px;
  color: rgba(240,235,224,0.7);
  line-height: 1.55;
  margin-bottom: 18px;
}

#season-popup .season-form { display: flex; flex-direction: column; gap: 10px; }
#season-popup .season-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 10px;
}
#season-popup .season-field { display: flex; flex-direction: column; gap: 4px; }
#season-popup .season-field label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.45);
}
#season-popup .season-field label .opt {
  color: rgba(240,235,224,0.32);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 10px;
  margin-left: 4px;
}
#season-popup .season-field input,
#season-popup .season-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  box-sizing: border-box;
}
#season-popup .season-field textarea {
  resize: vertical;
  min-height: 60px;
  font-size: 13.5px;
  line-height: 1.5;
}
#season-popup .season-field input:focus,
#season-popup .season-field textarea:focus {
  outline: none;
  border-color: rgba(232,112,42,0.7);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(232,112,42,0.12);
}

#season-popup .season-submit {
  margin-top: 4px;
  padding: 13px 22px;
  width: 100%;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(232,112,42,0.4), 0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: transform .25s ease, box-shadow .25s ease, filter .2s ease;
}
#season-popup .season-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232,112,42,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
  filter: brightness(1.05);
}

#season-popup .season-trust {
  margin-top: 14px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.4);
  font-weight: 600;
}

/* Success state */
#season-popup .season-success { text-align: center; padding: 6px 4px; }
#season-popup .season-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-amber));
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 12px 28px rgba(232,112,42,0.45);
}
#season-popup .season-success h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
#season-popup .season-success p {
  font-size: 13.5px;
  color: rgba(240,235,224,0.72);
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 540px) {
  #season-popup .season-card {
    width: calc(100vw - 18px);
    border-radius: 16px;
  }
  #season-popup .season-body { padding: 22px 20px 18px; }
  #season-popup .season-headline { font-size: 1.5rem; }
  #season-popup .season-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #season-popup, #season-popup .season-card { transition: none !important; animation: none !important; }
  #season-popup .season-close:hover { transform: none; }
}

/* ─── VAN BANNER (contact page) ──────────────────────────────────── */
.van-banner {
  position: relative;
  margin: 40px 0 18px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(232,112,42,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, #1c1c22 0%, #0a0a0c 78%);
  border: 1px solid rgba(232,112,42,0.28);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(232,112,42,0.06) inset,
    0 0 50px rgba(232,112,42,0.14);
  isolation: isolate;
}
/* Top edge highlight */
.van-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.55), transparent);
  z-index: 3;
}
/* Vignette: darker corners, lighter center keeps focus on van */
.van-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 55%, transparent 28%, rgba(0,0,0,0.6) 95%),
    linear-gradient(180deg, transparent 55%, rgba(232,112,42,0.10) 100%);
  pointer-events: none;
  z-index: 1;
}
.van-banner-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 34px;
  z-index: 2;
}
.van-img {
  max-width: 80%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 22px 28px rgba(0,0,0,0.65))
    drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  transition: transform .55s cubic-bezier(.2,.9,.2,1);
}
.van-banner:hover .van-img {
  transform: translateY(-3px) scale(1.015);
}
.van-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: -2px auto 20px;
  max-width: 560px;
  letter-spacing: 0.01em;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .van-banner {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    margin: 32px 0 14px;
  }
  .van-banner-inner { padding: 18px 22px; }
  .van-img { max-width: 92%; max-height: 90%; }
}
@media (max-width: 480px) {
  .van-banner { aspect-ratio: 3 / 2; }
}

/* ─── FOOTER CREDIT (Mohr Impact backlink) ───────────────────────── */
.footer-credit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(240,235,224,0.32);
  font-weight: 500;
}
.footer-credit a {
  color: rgba(240,235,224,0.55);
  text-decoration: none;
  transition: color .25s ease, text-decoration-color .25s ease;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.footer-credit a:hover {
  color: var(--fire-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ─── NEW FPX LOGO OVERRIDE ────────────────────────────────────────
   The current logo-fpx.png is a full-color logo (orange X mark + white
   wordmark on transparent background). The original silhouette-style
   filters (brightness(0) invert(1)) would wreck it, so override them
   in every context the logo appears. */
img[src*="logo-fpx"].white-filter,
.brand-logo-item img[src*="logo-fpx"],
.brand-hero-logo img[src*="logo-fpx"],
.brand-showcase-card-logo img[src*="logo-fpx"],
.other-brand-card-logo img[src*="logo-fpx"],
.nav-dropdown li a img.dd-logo[src*="logo-fpx"],
.section-light .brand-logo-item img[src*="logo-fpx"] {
  filter: none !important;
  opacity: 1 !important;
}

/* Override for new builder-brand tiles on Fire Builder light section */
.builder-brand-tile img { filter: none !important; opacity: 1 !important; }

/* ─── TEAM PHOTO (real, replaces placeholder) ────────────────────── */
/* The team photo is landscape — give it more horizontal room than the old
   portrait placeholder. */
.section-light .team-grid:has(.team-photo) {
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
}
.team-photo {
  position: relative;
  margin: 0;
}
.team-photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-card);
  box-shadow:
    0 30px 70px rgba(26,26,30,0.18),
    0 8px 16px rgba(26,26,30,0.10),
    0 0 0 1px rgba(232,112,42,0.12);
  transition: transform .55s cubic-bezier(.2,.9,.2,1), box-shadow .4s ease;
}
.team-photo-frame::before {
  /* Subtle warm top edge highlight */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.5), transparent);
  z-index: 2;
}
.team-photo-frame::after {
  /* Very subtle vignette so the team pops against the cream section */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 55%, rgba(26,26,30,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.team-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%; /* keep faces + storefront sign in frame */
  display: block;
  transition: transform .7s cubic-bezier(.2,.9,.2,1);
}
.team-photo:hover .team-photo-frame {
  transform: translateY(-4px);
  box-shadow:
    0 40px 80px rgba(26,26,30,0.22),
    0 12px 22px rgba(232,112,42,0.16),
    0 0 0 1px rgba(232,112,42,0.22);
}
.team-photo:hover .team-photo-frame img {
  transform: scale(1.025);
}
.team-photo-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(26,26,30,0.5);
  text-align: center;
}
.team-photo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fire-orange);
  box-shadow: 0 0 8px rgba(232,112,42,0.55);
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .section-light .team-grid:has(.team-photo) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .team-photo-frame { aspect-ratio: 16 / 10; max-height: 500px; }
}
@media (max-width: 640px) {
  .team-photo-frame { aspect-ratio: 4 / 3; }
  .team-photo-caption { font-size: 11px; }
}

/* ─── SMS CONSENT CHECKBOX (A2P 10DLC) ───────────────────────────── */
.sms-consent {
  margin: 10px 0 12px;
}
.sms-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  cursor: pointer;
  margin: 0;
}
.sms-consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  accent-color: var(--fire-orange);
  cursor: pointer;
}
.sms-consent-text {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0;
}
.sms-consent-text a {
  color: var(--fire-amber);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sms-consent-text a:hover { color: var(--fire-orange); }
