/* =====================================================================
   Luna's Roofing Service PC — design system
   Brand: amber #FBA80E on black, Poppins headings / Inter body.
   Mobile-first. All breakpoints are min-width.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */

:root {
  /* brand — amber from the logo roofline */
  --gold: #fba80e;         /* brand amber from the logo roofline */
  --gold-light: #ffc95c;   /* lighter amber for dark grounds */
  --gold-deep: #f8910e;    /* the logo's second amber, for gradients */
  /* Text amber. Darkened from the brand value so it clears WCAG AA (4.5:1)
     on light surfaces — the raw #FBA80E is far too light for body text. */
  --gold-dark: #96590a;
  --gold-soft: rgba(251, 168, 14, 0.12);
  --gold-line: rgba(251, 168, 14, 0.32);

  --black: #000000;
  --ink: #0b0b0d;
  --ink-2: #141418;
  --ink-3: #1e1e24;

  --text: #3d3d44;
  --text-muted: #66666f;
  --text-invert: #ffffff;
  --text-invert-muted: rgba(255, 255, 255, 0.74);

  --surface: #ffffff;
  --surface-2: #f7f7f9;
  --surface-3: #f1f1f4;
  --border: #e5e5ea;
  --border-strong: #d2d2d9;

  --danger: #c0392b;
  --success: #1e7b48;

  /* type */
  --font-head: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.16), 0 6px 14px rgba(0, 0, 0, 0.07);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(0.4, 0.14, 0.3, 1);
}

/* ---------- 2. Reset ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

img, svg, video { display: block; max-width: 100%; height: auto; }
/* Inline icons carry a 24x24 viewBox and no intrinsic size, so an unstyled one
   balloons to 300x150. This is the floor; every component rule overrides it,
   and icons given an explicit size attribute are left alone. */
svg:not([width]) { width: 1.15em; height: 1.15em; flex: none; }
/* Placeholder tint while photos load. Never on the logo — it is a transparent
   PNG sitting on a black header, and a tint would box it in. */
.card__media img,
.split__media img,
.gallery img,
.area-card img,
.prose img { background-color: var(--surface-3); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
li { margin-bottom: var(--s-2); }

strong { font-weight: 600; color: var(--ink); }
/* …but --ink is near-black, so inherit instead anywhere the ground is dark. */
:is(.section--dark, .cta-band, .hero, .page-hero, .drawer, .topbar,
    .side-card--gold, .footer, .mobile-bar) strong { color: inherit; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-6) 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-family: var(--font-head);
}
.skip-link:focus { left: 0; }

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

/* ---------- 3. Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { padding-block: var(--s-7); }
@media (min-width: 768px) { .section { padding-block: var(--s-8); } }
@media (min-width: 1100px) { .section { padding-block: 5rem; } }

.section--tight { padding-block: var(--s-6); }
.section--light { background: var(--surface-2); }
.section--gray { background: var(--surface-3); }
.section--dark { background: var(--ink); color: var(--text-invert-muted); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
/* :not(.btn) — otherwise this beats .btn--primary's own colour on specificity
   and paints gold text onto a gold button. */
.section--dark a:not(.btn) { color: var(--gold-light); }

/* Grid and flex items default to min-width:auto, which lets a wide child
   (a scrolling anchor bar, a long table) blow out the whole track. Every
   layout child here is allowed to shrink and let its own overflow handle it. */
.grid > *,
.split > *,
.article-layout > *,
.hero__inner > *,
.stats > *,
.contact-tiles > * { min-width: 0; }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .split--media-first > .split__media { order: -1; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  /* For a short form beside a long column: pin it to the top and let it
     travel, rather than centring it into the middle of nowhere. */
  .split--top { align-items: start; }
  .split--top > :last-child { position: sticky; top: calc(var(--header-h) + 20px); }
}
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

.stack > * + * { margin-top: var(--s-4); }
.text-center { text-align: center; }
.measure { max-width: 68ch; }
.measure-center { max-width: 68ch; margin-inline: auto; }

/* ---------- 4. Section headings ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--s-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.section--dark .eyebrow { color: var(--gold-light); }
.text-center .eyebrow,
.section-head--center .eyebrow { justify-content: center; }

.section-head { margin-bottom: var(--s-6); }
.section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section-head p { color: var(--text-invert-muted); }

.rule {
  width: 62px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 0 var(--s-4);
}
.section-head--center .rule { margin-inline: auto; }

/* ---------- 5. Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              color 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1206;
  box-shadow: 0 6px 18px rgba(191, 147, 74, 0.32);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #1a1206;
  box-shadow: 0 10px 26px rgba(191, 147, 74, 0.4);
}

.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--gold-light); }

.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold-dark); }
.btn--outline:hover { background: var(--gold); color: #1a1206; }

.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.text-center .btn-row,
.section-head--center .btn-row { justify-content: center; }

/* ---------- 6. Top bar ---------- */

.topbar {
  background: var(--black);
  color: var(--text-invert-muted);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
}
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.topbar a { color: var(--text-invert-muted); text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.topbar__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--gold-light); font-weight: 500;
}

/* ---------- 7. Header + nav ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}
@media (min-width: 1280px) { .header__inner { gap: var(--s-4); } }

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 178px; height: auto; }
@media (min-width: 640px) { .brand img { width: 196px; } }
@media (min-width: 1400px) { .brand img { width: 214px; } }

.nav { display: none; }
@media (min-width: 1100px) { .nav { display: block; margin-left: auto; } }
.nav__list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-family: var(--font-head);
  font-size: 0.815rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: 0.65rem 0.52rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
@media (min-width: 1340px) {
  .nav__link { font-size: 0.865rem; padding-inline: 0.68rem; }
}
.nav__link:hover,
.nav__link[aria-current='page'] { color: var(--gold-light); background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current='page'] { color: var(--gold); }
.nav__caret { width: 9px; height: 9px; opacity: 0.7; transition: transform 0.18s var(--ease); }
.nav__list > li:hover .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  max-height: min(70vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav__list > li:hover > .nav__sub,
.nav__list > li:focus-within > .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub li { margin: 0; }
.nav__sub a {
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.855rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}
.nav__sub a:hover { background: rgba(191, 147, 74, 0.16); color: var(--gold-light); }
.nav__sub a[aria-current='page'] { color: var(--gold); background: rgba(191, 147, 74, 0.1); }

.header__cta { display: none; align-items: center; gap: 0.75rem; flex: none; }
@media (min-width: 1100px) { .header__cta { display: flex; margin-left: 0.75rem; } }

/* The phone block needs real estate the nav also wants. Below 1360px the
   nav wins and the gold Free Quote button carries the CTA on its own. */
.header__phone { display: none; }
@media (min-width: 1360px) {
  .header__phone {
    display: flex; align-items: center; gap: 0.55rem;
    color: #fff; text-decoration: none; font-family: var(--font-head);
    white-space: nowrap;
  }
}
.header__phone svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.header__phone > span { display: block; }
/* the label only — not the wrapper, or the number inherits its muted colour */
.header__phone > span > span {
  display: block; font-size: 0.64rem; font-weight: 500;
  color: var(--text-invert-muted); letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1.4;
}
.header__phone strong { display: block; font-size: 0.98rem; font-weight: 700; line-height: 1.25; color: #fff; }
.header__phone:hover strong { color: var(--gold-light); }
.header__cta .btn { white-space: nowrap; }

/* burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  cursor: pointer;
  flex: none;
}
@media (min-width: 1100px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.24s var(--ease), opacity 0.18s var(--ease);
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__quick { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1100px) { .header__quick { display: none; } }
.header__quick .btn { padding: 0.62rem 0.95rem; font-size: 0.8rem; }
@media (max-width: 400px) { .header__quick .btn--call-label { display: none; } }

/* ---------- 8. Mobile drawer ---------- */

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  background: #0b0b0b;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--s-4) var(--s-4) var(--s-8);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer[data-open='true'] { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.drawer__top img { width: 156px; }
.drawer__close {
  width: 42px; height: 42px;
  background: transparent; color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.drawer__list { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.drawer__list > li > a,
.drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  width: 100%;
  padding: 0.9rem 0.25rem;
  font-family: var(--font-head); font-size: 0.98rem; font-weight: 600;
  color: #fff; background: none; border: 0; text-align: left;
  text-decoration: none; cursor: pointer;
}
.drawer__list a[aria-current='page'] { color: var(--gold); }
.drawer__toggle svg { width: 13px; height: 13px; color: var(--gold); transition: transform 0.22s var(--ease); flex: none; }
.drawer__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.drawer__sub {
  list-style: none; margin: 0; padding: 0 0 0.6rem 0.25rem;
  display: none;
}
.drawer__sub[data-open='true'] { display: block; }
.drawer__sub li { border: 0; }
.drawer__sub a {
  display: block; padding: 0.55rem 0.5rem;
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); text-decoration: none;
  border-left: 2px solid rgba(191, 147, 74, 0.35);
}
.drawer__sub a:hover { color: var(--gold-light); border-left-color: var(--gold); }
.drawer__contact { display: grid; gap: var(--s-3); }
.drawer__contact a.tile {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  color: #fff; text-decoration: none; font-size: 0.9rem;
}
.drawer__contact a.tile svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.drawer__contact a.tile:hover { border-color: var(--gold); }

.scrim {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 150;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.scrim[data-open='true'] { opacity: 1; visibility: visible; }
body.is-locked { overflow: hidden; }

/* ---------- 9. Hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
/* Mobile: the copy sits over the full width, so shade the whole frame.
   Desktop (below): shade hard on the left where the text is, and let the
   photograph come through on the right behind the quote card. */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(178deg,
    rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.9) 100%);
}
@media (min-width: 1024px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%),
      linear-gradient(100deg,
        rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.85) 34%,
        rgba(0,0,0,0.55) 62%, rgba(0,0,0,0.42) 100%);
  }
}
.hero__inner {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-7) var(--s-7);
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: var(--s-7);
    align-items: center;
    padding-block: 4.5rem 4.5rem;
  }
}
.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}
.hero__lead {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 40rem;
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) { .hero__lead { font-size: 1.14rem; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(191, 147, 74, 0.16);
  border: 1px solid var(--gold-line);
  color: var(--gold-light);
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.45rem 0.95rem; border-radius: 100px;
  margin-bottom: var(--s-4);
}
.hero__badge svg { width: 14px; height: 14px; flex: none; }

.hero__points { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 0.6rem; }
@media (min-width: 560px) { .hero__points { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-4); } }
.hero__points li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.92rem; color: rgba(255,255,255,0.9); margin: 0;
}
.hero__points svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  margin-top: var(--s-6); padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero__trust-item { display: flex; align-items: center; gap: 0.6rem; }
.hero__trust-item > span { display: block; }
.hero__trust-item strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.15; }
.hero__trust-item > span > span { display: block; font-size: 0.74rem; color: rgba(255,255,255,0.62); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.4; }

/* page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--s-7);
}
@media (min-width: 768px) { .page-hero { padding-block: var(--s-8); } }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.74) 55%, rgba(0,0,0,0.55) 100%);
}
.page-hero h1 { color: #fff; margin-bottom: var(--s-3); }
.page-hero__lead { color: rgba(255,255,255,0.86); font-size: 1.05rem; max-width: 56ch; }
.page-hero__inner { max-width: 62rem; }
.page-hero .btn-row { margin-top: var(--s-5); }

/* ---------- 10. Quote form ---------- */

.quote-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
  border-top: 4px solid var(--gold);
}
.quote-card__head {
  padding: var(--s-5) var(--s-5) var(--s-4);
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--surface-2));
}
.quote-card__head h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.quote-card__head p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.quote-card__body { padding: var(--s-5); }

.form-grid { display: grid; gap: var(--s-4); }
@media (min-width: 480px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: block; }
.field > label,
.field-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field .req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.78rem 0.9rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 108px; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236a6a6a' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.input::placeholder, .textarea::placeholder { color: #a4a09a; }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}
.field__error {
  display: none;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.3rem;
}
.field__error[data-show='true'] { display: block; }

.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin: var(--s-3) 0 0; line-height: 1.55; }
.form-status {
  display: none;
  padding: var(--s-4);
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: var(--s-4);
}
.form-status[data-state='ok'] { display: block; background: #e8f5ee; border: 1px solid #b7e0c8; color: var(--success); }
.form-status[data-state='error'] { display: block; background: #fdecea; border: 1px solid #f5c6c0; color: var(--danger); }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ---------- 11. Cards ---------- */

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.6rem; font-size: 1.16rem; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--gold-dark); }
/* The title link covers the whole card: one large tap target instead of a
   23px line of text, and the entire card becomes clickable. */
.card__body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__body h3 a:focus-visible::after { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius-lg); }
.card__body h3 a:focus-visible { outline: none; }
.card__body .card__link { position: relative; z-index: 2; }
.card__body p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: var(--s-4); }
.card__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold-dark); text-decoration: none;
  /* keeps the touch target at 44px without visibly moving the text */
  padding-block: 0.6rem;
  align-self: flex-start;
}
.card__link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
.card__tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  /* near-opaque so the label never has to fight the photo underneath */
  background: rgba(10, 10, 10, 0.92); color: var(--gold-light);
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32rem 0.65rem; border-radius: 100px;
}

/* icon card */
.icard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.icard__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  color: var(--gold-dark);
  margin-bottom: var(--s-4);
}
.icard__icon svg { width: 25px; height: 25px; }
.icard h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.icard p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.section--dark .icard {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.11);
}
.section--dark .icard:hover { border-color: var(--gold-line); background: rgba(255,255,255,0.06); }
.section--dark .icard p { color: var(--text-invert-muted); }
.section--dark .icard__icon { background: rgba(191,147,74,0.14); color: var(--gold-light); }

/* compact link list card */
.linklist {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.15rem;
}
@media (min-width: 640px) { .linklist { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-4); } }
@media (min-width: 1000px) { .linklist--3 { grid-template-columns: repeat(3, 1fr); } }
.linklist li { margin: 0; }
.linklist a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.62rem 0.2rem;
  font-size: 0.94rem; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}
.linklist a:hover { color: var(--gold-dark); padding-left: 0.5rem; }
.linklist svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.section--dark .linklist a { color: var(--text-invert-muted); border-bottom-color: rgba(255,255,255,0.1); }
.section--dark .linklist a:hover { color: var(--gold-light); }

/* ---------- 12. Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: var(--s-5) var(--s-4); text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}
.stat span { display: block; font-size: 0.83rem; color: var(--text-muted); letter-spacing: 0.04em; }
.section--dark .stats { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.12); }
.section--dark .stat { background: var(--ink); }
.section--dark .stat strong { color: var(--gold); }
.section--dark .stat span { color: var(--text-invert-muted); }

/* ---------- 13. Reviews ---------- */

.reviews-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--s-4); margin-bottom: var(--s-6); text-align: center;
}
.reviews-badge {
  display: inline-flex; align-items: center; gap: var(--s-3);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 0.85rem 1.3rem; box-shadow: var(--shadow-sm);
}
.reviews-badge img { width: 30px; height: 30px; }
.reviews-badge strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
/* Only the wrapper and the caption line — not .stars, which must stay a row. */
.reviews-badge > span { display: block; }
.reviews-badge > span > span {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem;
}

.stars { display: inline-flex; gap: 2px; color: #f5a623; flex: none; }
.stars svg { width: 16px; height: 16px; flex: none; }

.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-3); }
.review__who { display: flex; align-items: center; gap: 0.7rem; }
.review__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: #1a1206;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  flex: none;
}
.review__name { font-family: var(--font-head); font-weight: 700; font-size: 0.93rem; color: var(--ink); line-height: 1.3; }
.review__src { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.review__src img { width: 13px; height: 13px; }
.review p { font-size: 0.93rem; color: var(--text); margin: 0; }
.review--clamp p {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 14. Accordion / FAQ ---------- */

.accordion { border-top: 1px solid var(--border); }
.acc {
  border-bottom: 1px solid var(--border);
}
.acc__btn {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4);
  width: 100%;
  padding: 1.15rem 0;
  background: none; border: 0;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600;
  color: var(--ink); text-align: left; cursor: pointer;
  line-height: 1.45;
}
.acc__btn:hover { color: var(--gold-dark); }
.acc__icon {
  width: 26px; height: 26px; flex: none;
  border: 1.5px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-dark);
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease), color 0.24s var(--ease);
  margin-top: 2px;
}
.acc__icon svg { width: 12px; height: 12px; }
.acc__btn[aria-expanded='true'] .acc__icon { transform: rotate(180deg); background: var(--gold); color: #fff; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}
.acc__panel[data-open='true'] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  padding: 0 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
  max-width: 72ch;
}
.section--dark .accordion,
.section--dark .acc { border-color: rgba(255,255,255,0.14); }
.section--dark .acc__btn { color: #fff; }
.section--dark .acc__btn:hover { color: var(--gold-light); }
.section--dark .acc__panel p { color: var(--text-invert-muted); }

/* ---------- 15. Steps / process ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 720px) { .steps--grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps--grid-3 { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  position: relative;
  margin: 0;
  padding-left: 4rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 800;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
}
.steps h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
.steps p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }
.section--dark .steps li::before { background: rgba(191,147,74,0.14); color: var(--gold-light); }
.section--dark .steps p { color: var(--text-invert-muted); }

/* ---------- 16. Check list ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 700px) { .checks--2 { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-5); } }
.checks li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin: 0; font-size: 0.96rem;
}
.checks svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 3px; }
.section--dark .checks li { color: var(--text-invert-muted); }

/* ---------- 17. CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; opacity: 0.3; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(0,0,0,0.94), rgba(0,0,0,0.72));
}
.cta-band__inner {
  display: grid; gap: var(--s-5); align-items: center;
  padding-block: var(--s-7);
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; gap: var(--s-7); padding-block: var(--s-8); }
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; font-size: 1.04rem; }
.cta-band .btn-row { flex-wrap: nowrap; }
@media (max-width: 520px) { .cta-band .btn-row { flex-wrap: wrap; } .cta-band .btn { width: 100%; } }

/* ---------- 18. Breadcrumbs ---------- */

.crumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  list-style: none; margin: 0; padding: 0.8rem 0;
  font-size: 0.82rem; color: var(--text-muted);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.crumbs li::after { content: '/'; color: var(--border-strong); }
.crumbs li:last-child::after { display: none; }
.crumbs a, .crumbs [aria-current='page'] { display: inline-block; padding-block: 0.35rem; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); text-decoration: underline; }
.crumbs [aria-current='page'] { color: var(--ink); font-weight: 500; }

/* ---------- 19. Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 700px)  { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 1050px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  padding: 0; border: 0; background: var(--surface-3);
  border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 1; position: relative; display: block; width: 100%;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.gallery button:hover img { transform: scale(1.07); }
.gallery button::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  place-items: center;
  padding: var(--s-4);
}
.lightbox[data-open='true'] { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--gold); color: #1a1206; border-color: var(--gold); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav[data-dir='prev'] { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav[data-dir='next'] { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 0.85rem;
}

/* ---------- 20. Prose (blog / long copy) ---------- */

.prose { max-width: 72ch; }
.prose > h2 { margin-top: var(--s-7); }
.prose > h3 { margin-top: var(--s-6); }
.prose > h2:first-child,
.prose > h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--radius-lg); margin-block: var(--s-5); box-shadow: var(--shadow-sm); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li::marker { color: var(--gold); }
.prose blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--gold);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
  color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table {
  width: 100%; border-collapse: collapse; margin-block: var(--s-5); font-size: 0.93rem;
}
.prose th, .prose td { border: 1px solid var(--border); padding: 0.7rem 0.85rem; text-align: left; }
.prose th { background: var(--surface-2); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.callout {
  display: flex; gap: var(--s-4);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  margin-block: var(--s-5);
}
.callout svg { width: 24px; height: 24px; color: var(--gold-dark); flex: none; margin-top: 3px; }
.callout h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.callout p { font-size: 0.94rem; margin: 0; }

/* article layout */
.article-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); align-items: start; } }
.sidebar { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + 20px); } }
.side-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}
.side-card--gold { background: var(--ink); color: var(--text-invert-muted); border-color: var(--ink); }
.side-card--gold h3 { color: #fff; }
.side-card h3 { font-size: 1.05rem; margin-bottom: var(--s-3); }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { margin: 0; }
.side-card li a {
  display: block; padding: 0.5rem 0; font-size: 0.9rem;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border);
}
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover { color: var(--gold-dark); }
.side-card--gold li a { color: var(--text-invert-muted); border-bottom-color: rgba(255,255,255,0.12); }
.side-card--gold li a:hover { color: var(--gold-light); }

.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: var(--s-5);
}
.meta-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.meta-row svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------- 21. Contact tiles ---------- */

.contact-tiles { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .contact-tiles { grid-template-columns: repeat(3, 1fr); } }
.ctile {
  display: flex; align-items: flex-start; gap: var(--s-4);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--s-5); text-decoration: none; color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.ctile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.ctile__icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  border-radius: 12px;
}
.ctile__icon svg { width: 22px; height: 22px; }
.ctile h3 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; font-weight: 700; }
.ctile strong { display: block; font-family: var(--font-head); font-size: 1.06rem; color: var(--ink); line-height: 1.35; word-break: break-word; }
.ctile:hover strong { color: var(--gold-dark); }
.ctile > span:last-child { display: block; min-width: 0; }
.ctile > span:last-child > span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ---------- 22. Areas / city chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chips a, .chips span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 100px; padding: 0.45rem 0.95rem;
  font-size: 0.86rem; color: var(--text); text-decoration: none;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.chips svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.chips a:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-soft); }
.section--dark .chips a,
.section--dark .chips span {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); color: var(--text-invert-muted);
}
.section--dark .chips a:hover { border-color: var(--gold); color: var(--gold-light); }

.area-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.5s var(--ease); }
.area-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.86));
  transition: background 0.3s var(--ease);
}
.area-card:hover img { transform: scale(1.06); }
.area-card:hover::after { background: linear-gradient(180deg, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.92)); }
.area-card__body { position: absolute; inset: auto 0 0 0; padding: var(--s-5); }
.area-card__body h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.2rem; }
.area-card__body p { font-size: 0.85rem; color: rgba(255,255,255,0.78); margin: 0; }
.area-card__go {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.6rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-light);
}
.area-card__go svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.area-card:hover .area-card__go svg { transform: translateX(4px); }

/* ---------- 23. Footer ---------- */

.footer { background: var(--black); color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; }
.footer__main { padding-block: var(--s-7); }
@media (min-width: 768px) { .footer__main { padding-block: var(--s-8); } }
.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-7); } }
.footer h3 {
  color: #fff; font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: var(--s-4); padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.footer h3::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 40px; height: 2px; background: var(--gold);
}
.footer__brand img { width: 216px; margin-bottom: var(--s-4); }
.footer__brand p { font-size: 0.9rem; line-height: 1.75; margin-bottom: var(--s-4); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.15rem; }
.footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; transition: color 0.16s var(--ease), padding-left 0.16s var(--ease); }
.footer__links a { display: block; padding: 0.34rem 0; font-size: 0.9rem; }
.footer__links a:hover { color: var(--gold-light); padding-left: 0.35rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: var(--s-4); }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 4px; }
.footer__contact strong { display: block; color: #fff; font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; word-break: break-word; }
.footer__contact a:hover strong { color: var(--gold-light); }
.footer__contact span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer__hours { margin-top: var(--s-4); }
.footer__hours dl { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem var(--s-4); margin: 0; font-size: 0.85rem; }
.footer__hours dt { color: rgba(255,255,255,0.6); }
.footer__hours dd { margin: 0; color: #fff; text-align: right; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--s-4);
  font-size: 0.82rem;
}
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer__legal a { padding-block: 0.6rem; display: inline-block; }
.footer__legal a:hover { color: var(--gold-light); }

/* ---------- 24. Mobile sticky CTA bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.16);
  border-top: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.24);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1100px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 0.5rem;
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 700;
  text-decoration: none;
}
.mobile-bar a:first-child { background: var(--ink); color: #fff; }
.mobile-bar a:last-child { background: var(--gold); color: #1a1206; }
.mobile-bar svg { width: 17px; height: 17px; flex: none; }
@media (max-width: 1099px) { body { padding-bottom: 60px; } }

/* ---------- 25. Utilities ---------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s-4); }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 0.8rem;
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.badge svg { width: 13px; height: 13px; color: var(--gold); }
.badge--gold { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-dark); }
/* On the black footer the dark text gold drops to 4.09:1 — use the light one. */
.footer .badge,
.section--dark .badge {
  background: rgba(191, 147, 74, 0.14);
  border-color: var(--gold-line);
  color: var(--gold-light);
}

.anchor-nav {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  max-width: 100%;
  overscroll-behavior-x: contain;
}
.anchor-nav a {
  flex: none;
  padding: 0.5rem 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.85rem; color: var(--text); text-decoration: none; white-space: nowrap;
}
.anchor-nav a:hover { border-color: var(--gold); color: var(--gold-dark); }

.svc-block { scroll-margin-top: calc(var(--header-h) + 16px); }
.svc-block + .svc-block { margin-top: var(--s-7); padding-top: var(--s-7); border-top: 1px solid var(--border); }

.notice {
  background: var(--surface-2);
  border-left: 3px solid var(--gold);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
}
.notice svg { display: inline-block; width: 17px; height: 17px; color: var(--gold-dark); vertical-align: -3px; }
.side-card h3 svg { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; color: var(--gold); }
.lightbox__close svg { width: 18px; height: 18px; }

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: initial; } }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }

/* =====================================================================
   25b. Components added for the Luna's Roofing Service PC layout
   ===================================================================== */

/* ---- pillar cards (the four headline services) ---- */

.card--pillar .card__media { aspect-ratio: 4 / 3; }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { transform: translateY(-3px) rotate(-6deg); background: var(--gold); color: #1a1206; }

/* ---- featured blog card ---- */

@media (max-width: 899px) {
  .card--feature .card__media { border-radius: 10px 10px 0 0 !important; }
}

/* ---- owner / team card ---- */

.owner-card {
  display: grid;
  gap: var(--s-5);
  align-items: start;
  max-width: 56rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) { .owner-card { grid-template-columns: auto 1fr; gap: var(--s-6); } }
.owner-card__mark {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  border-radius: 16px;
  flex: none;
}
.owner-card__mark svg { width: 34px; height: 34px; }
.owner-card h3 { font-size: 1.35rem; margin-bottom: 0.15rem; }
.owner-card__role {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: var(--s-4);
}

/* ---- hours card (contact page) ---- */

.hours-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 0.75rem;
}
.hours-card dl {
  display: grid; grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem; margin: 0; font-size: 0.95rem;
}
.hours-card dt { color: var(--text-muted); }
.hours-card dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; }

/* ---- embedded map ---- */

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 8;
}
@media (max-width: 700px) { .map-wrap { aspect-ratio: 4 / 3; } }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- footer additions ---- */

.footer__social { display: flex; gap: 0.6rem; margin-top: var(--s-4); }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: transform 0.24s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__social a:hover {
  background: var(--gold); border-color: var(--gold); color: #1a1206;
  transform: translateY(-3px);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__pay {
  display: flex; align-items: center; gap: 0.5rem;
  margin: var(--s-4) 0 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6);
}
.footer__pay svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* ---- review quote mark ---- */

.review { position: relative; }
.review__quote {
  position: absolute; top: 1rem; right: 1.15rem;
  color: var(--gold-soft);
  pointer-events: none;
}
.review__quote svg { width: 42px; height: 42px; }
.review__src { font-size: 0.75rem; color: var(--text-muted); }

/* =====================================================================
   26. Motion
   Everything here is opacity/transform only, so it stays on the compositor
   and never triggers layout. All of it is switched off wholesale under
   prefers-reduced-motion at the end of this block.
   ===================================================================== */

/* ---- scroll reveal ---- */

[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.68, 0.32, 1),
    transform 0.7s cubic-bezier(0.22, 0.68, 0.32, 1);
  transition-delay: var(--anim-delay, 0ms);
}
[data-anim='up']    { transform: translate3d(0, 34px, 0); }
[data-anim='down']  { transform: translate3d(0, -28px, 0); }
[data-anim='left']  { transform: translate3d(-38px, 0, 0); }
[data-anim='right'] { transform: translate3d(38px, 0, 0); }
[data-anim='zoom']  { transform: scale(0.93); }
[data-anim='fade']  { transform: none; }
[data-anim='clip']  { clip-path: inset(0 0 100% 0); transform: none; transition: opacity 0.5s var(--ease), clip-path 0.9s cubic-bezier(0.22, 0.68, 0.32, 1); }
[data-anim].is-in   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); clip-path: inset(0 0 0 0); }

/* legacy hook kept so older markup still animates */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- hero entrance (runs on load, not on scroll) ---- */

@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes slowPan {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(0, -1.2%, 0); }
}

.hero__bg img,
.page-hero__bg img {
  animation: slowPan 22s ease-out forwards;
}

.hero [data-enter],
.page-hero [data-enter] {
  opacity: 0;
  animation: riseIn 0.85s cubic-bezier(0.22, 0.68, 0.32, 1) forwards;
  animation-delay: var(--enter-delay, 0ms);
}
.hero .quote-card[data-enter] { animation-name: scaleIn; }

/* ---- accent rule draws itself in ---- */

.rule { transform-origin: left center; }
[data-anim].is-in .rule,
.section-head.is-in .rule { animation: ruleGrow 0.7s 0.15s cubic-bezier(0.22, 0.68, 0.32, 1) backwards; }
@keyframes ruleGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- counters ---- */

.stat strong[data-count] { font-variant-numeric: tabular-nums; }

/* ---- header condenses as you scroll ---- */

.header {
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.header.is-stuck {
  background: rgba(6, 6, 8, 0.97);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--gold-line);
}
.header.is-stuck .brand img { max-height: 42px; }
.brand img { transition: max-height 0.3s var(--ease); }

/* ---- nav underline sweep ---- */

.nav__link { position: relative; }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0.5rem; right: 0.5rem; bottom: 0.32rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0.32, 1);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); transform-origin: left center; }

/* ---- buttons ---- */

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(251, 168, 14, 0.42); }

/* pulsing ring on the urgent call action */
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(251, 168, 14, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(251, 168, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 168, 14, 0); }
}
.btn--pulse { animation: ringPulse 2.6s infinite; }

/* ---- cards ---- */

.card,
.icard,
.area-card,
.ctile,
.review { will-change: transform; }

.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.icard:hover { transform: translateY(-6px); }
.icard__icon { transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease); }
.icard:hover .icard__icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); background: var(--gold); color: #1a1206; }
.ctile:hover .ctile__icon { transform: scale(1.08) rotate(-5deg); }
.ctile__icon { transition: transform 0.35s var(--ease); }

/* gold sweep along the top edge of a card on hover */
.card::before,
.icard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
  z-index: 3;
}
.icard { position: relative; overflow: hidden; }
.card:hover::before,
.icard:hover::before { transform: scaleX(1); }

/* ---- numbered process steps ---- */

.steps li::before { transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease); }
.steps li:hover::before { transform: scale(1.1) rotate(-6deg); background: var(--gold); color: #1a1206; }

/* ---- links ---- */

.card__link svg,
.area-card__go svg { transition: transform 0.3s var(--ease); }
.card__link:hover svg,
.area-card:hover .area-card__go svg { transform: translateX(6px); }

.linklist a { position: relative; }
.linklist a::before {
  content: '';
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}
.linklist a:hover::before { transform: scaleX(1); }

/* ---- badges / chips ---- */

.chips a { transition: transform 0.22s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease), background-color 0.16s var(--ease); }
.chips a:hover { transform: translateY(-2px); }

/* ---- form focus lift ---- */

.input:focus, .select:focus, .textarea:focus { transform: translateY(-1px); }
.input, .select, .textarea { transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), transform 0.16s var(--ease); }

/* ---- mobile drawer items stagger in ---- */

.drawer[data-open='true'] .drawer__list > li {
  animation: riseIn 0.42s cubic-bezier(0.22, 0.68, 0.32, 1) backwards;
  animation-delay: calc(var(--i, 0) * 45ms + 90ms);
}

/* ---- gallery ---- */

.gallery button { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.gallery button:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---- scroll progress bar ---- */

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 130;
  pointer-events: none;
}

/* ---- back to top ---- */

.to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 115;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s,
              background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.to-top[data-show='true'] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #1a1206; }
@media (max-width: 1099px) { .to-top { bottom: calc(70px + env(safe-area-inset-bottom)); } }

/* ---- reduced motion: switch all of it off ---- */

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero [data-enter],
  .page-hero [data-enter] { opacity: 1; animation: none; }
  .hero__bg img,
  .page-hero__bg img,
  .btn--pulse,
  .drawer[data-open='true'] .drawer__list > li { animation: none; }
  .btn::before { display: none; }
  .scroll-progress { display: none; }
}

/* print */
@media print {
  .header, .topbar, .mobile-bar, .drawer, .scrim, .cta-band, .quote-card { display: none !important; }
  body { padding-bottom: 0; }
  .hero::after, .page-hero::after { background: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
