/* ==========================================================================
   Diamond Fresh Cleaning — Longmont, CO
   Brand: black / silver / gold
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Black */
  --black-900: #050506;
  --black-800: #0a0a0c;
  --black-700: #111115;
  --black-600: #17171d;
  --black-500: #1f1f27;

  /* Silver */
  --silver-100: #f6f7f9;
  --silver-200: #e3e6ea;
  --silver-300: #c7ccd4;
  --silver-400: #a4abb6;
  --silver-500: #7e8695;
  --silver-600: #5a616e;

  /* Gold */
  --gold-100: #f7e9b8;
  --gold-200: #f0d67e;
  --gold-300: #e2c158;
  --gold-400: #d4af37;
  --gold-500: #b8952b;
  --gold-600: #8c6f1d;

  --gold-grad: linear-gradient(135deg, #b8952b 0%, #d4af37 25%, #f7e9b8 50%, #d4af37 75%, #b8952b 100%);
  --silver-grad: linear-gradient(135deg, #7e8695 0%, #c7ccd4 40%, #f6f7f9 50%, #c7ccd4 60%, #7e8695 100%);

  /* Semantic */
  --bg: var(--black-900);
  --bg-alt: var(--black-800);
  --surface: var(--black-700);
  --surface-2: var(--black-600);
  --border: rgba(199, 204, 212, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);
  --text: var(--silver-200);
  --text-dim: var(--silver-400);
  --heading: #ffffff;

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype",
    Georgia, "Times New Roman", serif;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --header-h: 76px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 34px rgba(212, 175, 55, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-300); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-200); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold-400); color: var(--black-900); }

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-line { border-top: 1px solid var(--border); }

.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--gold-400); color: var(--black-900); font-weight: 700;
  padding: 0.7rem 1.2rem; border-radius: 0 0 8px 8px; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: var(--black-900); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-300);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold-400);
}
.center .eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--gold-400);
}

.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--text-dim); }

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

.section-head { max-width: 720px; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

.divider-diamond {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: 1.4rem 0 0;
}
.divider-diamond::before,
.divider-diamond::after {
  content: ""; height: 1px; width: clamp(40px, 12vw, 110px);
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.divider-diamond span {
  width: 9px; height: 9px; background: var(--gold-400);
  transform: rotate(45deg); display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-align: center; line-height: 1;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold-grad); background-size: 200% 100%;
  color: var(--black-900); box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background-position: 100% 0; color: var(--black-900); }

.btn-outline {
  border-color: var(--border-gold); color: var(--gold-200);
  background: rgba(212, 175, 55, 0.06);
}
.btn-outline:hover {
  border-color: var(--gold-300); background: rgba(212, 175, 55, 0.14);
  color: var(--gold-100);
}

.btn-silver {
  background: transparent; border-color: rgba(199, 204, 212, 0.35);
  color: var(--silver-200);
}
.btn-silver:hover { border-color: var(--silver-200); color: #fff; background: rgba(255,255,255,0.05); }

.btn-lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
}
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 5, 6, 0.96);
  border-bottom-color: var(--border-gold);
}

.topbar {
  background: linear-gradient(90deg, var(--black-800), var(--black-600), var(--black-800));
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem; color: var(--silver-400);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: var(--silver-300); }
.topbar a:hover { color: var(--gold-200); }
.topbar-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar-item svg { width: 14px; height: 14px; flex: none; color: var(--gold-400); }
.topbar-right { display: flex; gap: 1.4rem; align-items: center; }
@media (max-width: 720px) { .topbar-left { display: none; } .topbar .wrap { justify-content: center; } }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand:hover { color: inherit; }
/* The supplied logo already contains the wordmark and the "Commercial
   Cleaning" line, so it replaces the old text lockup entirely. Sized by
   height so the 4.5:1 artwork keeps its proportions. */
.brand-logo {
  height: 48px; width: auto; display: block;
  transition: opacity 0.2s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.85; }
.brand-logo-footer { height: 58px; }
@media (max-width: 1000px) { .brand-logo { height: 42px; } }
@media (max-width: 400px)  { .brand-logo { height: 36px; } }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  color: var(--silver-300); font-size: 0.9rem; font-weight: 500;
  padding: 0.55rem 0.85rem; border-radius: 8px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem;
  height: 1px; background: var(--gold-400); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-200); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--silver-200);
  border-radius: 2px; position: relative; transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--silver-200); border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  /* backdrop-filter on .site-header would make the header the containing
     block for its position:fixed descendants — which would size this drawer
     against the header instead of the viewport. Drop the blur at these widths. */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(5, 5, 6, 0.98);
  }

  /* The drawer stays inside the viewport when closed (opacity + visibility
     rather than an off-screen translate) — a fixed element parked at
     translateX(100%) is NOT clipped by overflow-x:hidden and would let the
     whole page scroll sideways on a phone.
     --header-total is measured by main.js so the top padding always clears
     the real header, however the top bar happens to wrap. */
  /* Keep the logo, top bar and close button painted above the open drawer. */
  .topbar,
  .header-inner .brand,
  .header-inner .header-cta { position: relative; z-index: 2; }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--black-900); flex-direction: column; align-items: stretch;
    gap: 0; overflow-y: auto;
    padding: calc(var(--header-total, 114px) + 1.1rem) var(--gutter) 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0s linear 0.25s;
  }
  .nav.open {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition-delay: 0s;
  }
  .nav a {
    padding: 1rem 0.25rem; font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav a::after { display: none; }
  .nav .nav-mobile-cta { display: block; margin-top: 1.6rem; }
  /* `.nav a` outranks `.btn-gold`, so restate the button styling here. */
  .nav .nav-mobile-cta .btn {
    display: flex; margin-bottom: 0.7rem;
    padding: 1.05rem 1.7rem; font-size: 0.95rem; border-bottom: 0;
  }
  .nav .nav-mobile-cta .btn-gold { color: var(--black-900); }
  .nav .nav-mobile-cta .btn-outline {
    color: var(--gold-200); border: 1px solid var(--border-gold);
  }
}
@media (min-width: 1001px) { .nav-mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(212, 175, 55, 0.16), transparent 62%),
    radial-gradient(760px 420px at 8% 105%, rgba(199, 204, 212, 0.09), transparent 60%),
    linear-gradient(180deg, var(--black-900), var(--black-700) 65%, var(--black-800));
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(199, 204, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 204, 212, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  /* padding-BLOCK, not the padding shorthand. This element also carries
     .wrap, and a shorthand here would reset .wrap's padding-inline to zero —
     which is exactly what pinned the hero text and buttons to both screen
     edges on phones while every other section was correctly inset. */
  padding-block: clamp(3.2rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem);
}
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; }
}

.hero h1 { margin-bottom: 1rem; }
.hero h1 .gold-text { display: inline-block; }
.hero-sub {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: var(--silver-300);
  max-width: 56ch; margin-bottom: 1.9rem;
}
.hero .btn-row { margin-bottom: 2rem; }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem;
  padding-top: 1.6rem; border-top: 1px solid var(--border);
  font-size: 0.86rem; color: var(--silver-400);
}
.hero-badges div { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-badges svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-gold); box-shadow: var(--shadow);
  background: var(--surface);
}
.hero-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-float {
  position: absolute; left: -8px; bottom: 22px;
  background: rgba(10, 10, 12, 0.92); border: 1px solid var(--border-gold);
  border-radius: var(--radius); padding: 0.85rem 1.1rem; backdrop-filter: blur(8px);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.75rem;
  max-width: 260px;
}
.hero-float .stars { color: var(--gold-300); font-size: 0.95rem; letter-spacing: 2px; }
.hero-float strong { display: block; color: #fff; font-size: 0.9rem; }
.hero-float span { font-size: 0.76rem; color: var(--silver-500); }

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--black-800); border-block: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trustbar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.trustbar-grid > div { padding: 0.4rem 0.6rem; }
.trustbar strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold-300); line-height: 1.1;
}
.trustbar span {
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver-500);
}
@media (max-width: 640px) { .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.5rem; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, var(--surface), var(--black-800));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--gold-grad); opacity: 0; transition: opacity 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-5px); border-color: var(--border-gold);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border-gold);
  color: var(--gold-300);
}
.card-icon svg { width: 26px; height: 26px; }

.card-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.card-list li {
  position: relative; padding-left: 1.5rem; font-size: 0.9rem;
  color: var(--silver-400); margin-bottom: 0.35rem;
}
.card-list li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.6em;
  width: 7px; height: 7px; background: var(--gold-400); transform: rotate(45deg);
}

/* Feature list with checkmarks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: 0.85rem;
  color: var(--text-dim);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212, 175, 55, 0.14); border: 1px solid var(--border-gold);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 0.62em;
  width: 5px; height: 9px; border: solid var(--gold-300);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check-list strong { color: var(--silver-100); }

/* ---------- Split / media sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative; padding-left: 4.2rem; margin-bottom: 2rem;
}
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--gold-300); width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--border-gold); border-radius: 50%;
  background: rgba(212, 175, 55, 0.06);
}
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  background: transparent; border: 1px solid var(--border); color: var(--silver-400);
  padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.84rem;
  font-family: inherit; font-weight: 600; cursor: pointer; letter-spacing: 0.03em;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { color: #fff; border-color: var(--silver-500); }
.filter-btn.active {
  background: rgba(212, 175, 55, 0.12); border-color: var(--gold-400);
  color: var(--gold-200);
}

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  cursor: zoom-in; padding: 0; display: block; width: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.gallery-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.35s var(--ease);
  filter: saturate(0.92);
}
.gallery-item:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery-item figcaption,
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(5, 5, 6, 0.92));
  text-align: left;
}
.gallery-cap strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.gallery-cap span { font-size: 0.76rem; color: var(--gold-300); letter-spacing: 0.12em; text-transform: uppercase; }
.gallery-item[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(3, 3, 4, 0.94); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain;
  border-radius: var(--radius); border: 1px solid var(--border-gold);
}
.lightbox-cap {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%;
  transform: translateX(-50%); color: var(--silver-300); font-size: 0.9rem;
  text-align: center; padding-inline: 1rem;
}
.lightbox-btn {
  position: absolute; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border); color: var(--silver-200);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  transition: all 0.2s var(--ease);
}
.lightbox-btn:hover { background: var(--gold-400); color: var(--black-900); border-color: var(--gold-400); }
.lightbox-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-prev { left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials (static fallback) ---------- */
.quote-card {
  background: linear-gradient(180deg, var(--surface), var(--black-800));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
}
.quote-card .stars { color: var(--gold-300); letter-spacing: 3px; margin-bottom: 0.7rem; font-size: 0.95rem; }
.quote-card p { font-size: 0.97rem; color: var(--silver-300); font-style: italic; }
.quote-card footer {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border);
  font-size: 0.86rem; color: var(--silver-500);
}
.quote-card footer strong { color: var(--silver-100); display: block; font-style: normal; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(900px 400px at 70% -20%, rgba(212, 175, 55, 0.14), transparent 62%),
    linear-gradient(180deg, var(--black-900), var(--black-800));
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-hero h1 { margin-bottom: 0.7rem; }
.page-hero p { max-width: 60ch; margin-inline: auto; color: var(--silver-400); }

.breadcrumb {
  font-size: 0.78rem; color: var(--silver-600); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--silver-500); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { margin-inline: 0.4rem; color: var(--gold-500); }

/* ---------- Embed panels (GHL) ---------- */
.embed-panel {
  background: linear-gradient(180deg, var(--surface), var(--black-800));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow);
}
.embed-panel.gold { border-color: var(--border-gold); }
.embed-head {
  display: flex; align-items: flex-start; gap: 0.9rem; flex-wrap: wrap;
  justify-content: space-between; margin-bottom: 1.2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.embed-head h2, .embed-head h3 { margin: 0 0 0.25rem; }
.embed-head p { font-size: 0.88rem; color: var(--silver-500); margin: 0; }
.embed-secure {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-300); border: 1px solid var(--border-gold);
  border-radius: 999px; padding: 0.35rem 0.8rem;
}
.embed-secure svg { width: 13px; height: 13px; }

.ghl-embed { position: relative; min-height: 200px; }
[data-ghl="reviews"].ghl-embed { min-height: 0; }
.ghl-embed iframe {
  width: 100%; border: 0; display: block; border-radius: var(--radius-sm);
  background: transparent;
  /* Floor the height. GHL's resize script occasionally reports a height of 0
     before the form has painted, which would collapse the frame to nothing
     and read as "the form isn't there". */
  min-height: 420px;
}

/* The reviews widget is the exception: review-widget.js measures the real
   content and posts back a height, which for a young profile is only a couple
   of hundred pixels. A 420px floor left a tall empty box under it, so this
   frame keeps only a small floor and otherwise sizes itself. */
.ghl-embed iframe.ghl-frame-auto {
  min-height: 160px;
  transition: height 0.25s var(--ease);
}

/* Placeholder shown until IDs are configured in site-config.js */
.embed-placeholder {
  border: 1px dashed var(--border-gold); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center;
  background: rgba(212, 175, 55, 0.04);
}
.embed-placeholder h4 {
  color: var(--gold-200); font-family: var(--font-body); font-size: 0.95rem;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.embed-placeholder p { color: var(--silver-500); font-size: 0.9rem; max-width: 52ch; margin-inline: auto; }
.embed-placeholder code {
  background: rgba(255, 255, 255, 0.07); padding: 0.15em 0.45em; border-radius: 4px;
  color: var(--gold-200); font-size: 0.85em;
}
.embed-loading {
  display: grid; place-items: center; min-height: 280px; gap: 0.9rem;
  color: var(--silver-500); font-size: 0.86rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(199, 204, 212, 0.15); border-top-color: var(--gold-400);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ---------- Pricing / pay options ---------- */
.pay-methods {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem; margin-top: 1.2rem;
}
.pay-method {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.9rem 1rem; text-align: center; background: rgba(255, 255, 255, 0.02);
}
.pay-method strong { display: block; color: var(--silver-100); font-size: 0.92rem; }
.pay-method span { font-size: 0.78rem; color: var(--silver-500); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 0.8rem; overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] { border-color: var(--border-gold); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-weight: 600; color: var(--silver-100); position: relative; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--gold-400);
  border-bottom: 2px solid var(--gold-400); transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.3rem; color: var(--text-dim); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(212, 175, 55, 0.18), transparent 65%),
    linear-gradient(120deg, var(--black-700), var(--black-500));
  border-block: 1px solid var(--border-gold);
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { color: var(--silver-400); margin: 0; max-width: 50ch; }

/* ---------- Contact info blocks ---------- */
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.info-card .card-icon { margin: 0; width: 44px; height: 44px; }
.info-card .card-icon svg { width: 21px; height: 21px; }
.info-card h4 { margin: 0 0 0.2rem; font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-500); }
.info-card a, .info-card p { font-size: 1rem; color: var(--silver-100); margin: 0; }
.info-card a:hover { color: var(--gold-200); }
.info-card small { display: block; color: var(--silver-500); font-size: 0.82rem; margin-top: 0.15rem; }

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { color: var(--silver-400); }
.hours-list span:last-child { color: var(--silver-100); font-weight: 600; }

/* ---------- Service areas ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.area-tags li {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.85rem; color: var(--silver-300);
  background: rgba(255, 255, 255, 0.02); margin: 0;
  transition: all 0.2s var(--ease);
}
.area-tags li:hover { border-color: var(--border-gold); color: var(--gold-200); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-900); border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0; margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem;
}
.footer-grid p { font-size: 0.9rem; color: var(--silver-500); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: var(--silver-400); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-200); }

.footer-brand .brand { margin-bottom: 1rem; }
.social { display: flex; gap: 0.55rem; margin-top: 1.2rem; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--silver-400);
  transition: all 0.2s var(--ease);
}
.social a:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--silver-600);
}
.footer-bottom a { color: var(--silver-500); }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 1px; background: var(--border);
  border-top: 1px solid var(--border-gold);
}
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0.6rem 0.4rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 5, 6, 0.97); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--silver-300); font-weight: 600;
}
.mobile-bar a svg { width: 18px; height: 18px; color: var(--gold-300); }
.mobile-bar a.primary { background: var(--gold-400); color: var(--black-900); }
.mobile-bar a.primary svg { color: var(--black-900); }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 62px; }
}

/* ==========================================================================
   MOBILE: center-aligned layout
   On phones the whole page reads as a single centered column. Three things
   stay left-aligned on purpose, because centering them hurts readability:
   long legal paragraphs, FAQ questions (the chevron sits on the right), and
   the text inside bullet lists — those lists are instead centered as a block
   with their items left-aligned so the markers stay in a straight line.
   ========================================================================== */
@media (max-width: 760px) {
  /* Generous breathing room down both edges of a phone screen. */
  :root { --gutter: 2rem; }

  /* Body copy gets the full 32px gutter, but the panels holding GHL widgets
     must not: a booking calendar has seven day columns to fit, and the page
     gutter plus panel padding was costing it ~55px a side, squeezing it to
     265px on a small phone. These panels sit closer to the screen edge so
     the widget keeps its width. */
  .embed-panel {
    margin-inline: calc(16px - var(--gutter));
    padding-inline: 8px;
  }

  /* GHL forms and calendars are much taller on a phone because every field
     stacks. form_embed.js normally resizes the frame, but these floors mean
     a slow or blocked resize script can't leave a form clipped — CSS
     min-height overrides the inline pixel height set at mount time. */
  [data-ghl="contact"] iframe,
  [data-ghl="pay"] iframe,
  [data-ghl="estimate"] iframe { min-height: 760px; }
  /* A floor only — form_embed.js measures the real calendar and sets the
     height. Too high a floor just leaves dead space beneath it. */
  [data-ghl="calendar"] iframe { min-height: 620px; }
  /* reviews stays self-sizing on phones too */
  [data-ghl="reviews"] iframe.ghl-frame-auto { min-height: 160px; }

  .hero-inner > div,
  .section-head,
  .card,
  .split > div,
  .step,
  .cta-band .wrap > div,
  .footer-grid > div,
  .info-card,
  .info-card > div,
  .embed-panel,
  .embed-head,
  .embed-head > div,
  .trustbar-grid > div,
  .quote-card,
  .prose h2,
  .prose h3 { text-align: center; }

  /* Eyebrow gets a rule on both sides when centered. max-width (not width)
     keeps the rules hugging the text instead of flying out to the edges
     when the label wraps to two lines. */
  .eyebrow { justify-content: center; max-width: 100%; }
  .eyebrow::after {
    content: ""; width: 26px; height: 1px; background: var(--gold-400);
  }

  /* Headings and copy sit in a centered measure */
  .section-head { margin-inline: auto; }
  .hero-sub,
  .lead,
  .card p,
  .section-head p,
  .cta-band p { margin-inline: auto; }

  /* Buttons stack centered and full width */
  .btn-row { justify-content: center; }
  .btn-row > .btn { width: 100%; }

  .hero-badges { justify-content: center; }
  .hero-badges div { justify-content: center; width: 100%; }
  .hero-float { left: 50%; right: auto; transform: translateX(-50%); }

  /* Icons centered above their text */
  .card-icon { margin-inline: auto; }
  .info-card { flex-direction: column; align-items: center; }

  /* Lists: centered as a block, items still left-aligned */
  .card-list,
  .check-list { display: inline-block; text-align: left; }

  /* Numbered steps: badge above the text instead of beside it */
  .step { padding-left: 0; padding-top: 4.4rem; }
  .step::before { left: 50%; transform: translateX(-50%); top: 0; }

  /* Chips, tags and captions */
  .area-tags { justify-content: center; }
  .gallery-cap { text-align: center; }
  .pay-methods { justify-content: center; }

  /* Panel headers stack instead of splitting left/right */
  .embed-head { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-brand .brand { justify-content: center; }
  .social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom nav { justify-content: center; width: 100%; }
  .hours-list { max-width: 320px; margin-inline: auto; }

  /* Top bar contact links */
  .topbar .wrap { justify-content: center; }
  .topbar-right { justify-content: center; }
}

/* Small phones (iPhone SE and similar) can't spare 32px a side. */
@media (max-width: 380px) {
  .embed-panel {
    margin-inline: calc(8px - var(--gutter));
    padding-inline: 4px;
  }
}
@media (max-width: 359px) {
  :root { --gutter: 1.25rem; }
}

/* Mobile booking card, shown instead of the calendar iframe on phones. */
.calendar-cta { text-align: center; padding: 1rem 0.25rem 0.5rem; }
.calendar-cta svg {
  width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--gold-300);
}
.calendar-cta p {
  color: var(--text-dim); font-size: 0.92rem;
  max-width: 32ch; margin: 0 auto 1.4rem;
}
.calendar-cta .btn { width: 100%; max-width: 340px; }

/* Always-available escape hatch under the booking calendar: a phone screen is
   a cramped place to pick a date, and some visitors simply prefer the full
   page. Shown unconditionally — it is a convenience, not an error state. */
.embed-openlink {
  margin: 0.9rem 0 0; text-align: center; font-size: 0.86rem;
  color: var(--silver-500);
}
.embed-openlink a { color: var(--gold-200); font-weight: 600; }
.embed-openlink-cta { margin-top: 1.2rem; }
.embed-openlink-cta .btn { width: 100%; max-width: 340px; }

/* ---------- Reveal on scroll ----------
   Only hidden when JavaScript is running (html.js is set by an inline script
   in <head>). With JS off or broken, every section renders normally. */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Prose (policy pages) ---------- */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { color: var(--text-dim); }
.prose { color: var(--text-dim); }
.prose strong { color: var(--silver-100); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
