/* ============================================================
   Quincy Service Pages — shared stylesheet
   Matches the Quincy landing page premium design system:
   black + yellow, Fraunces + Inter, premium spacing.
   ============================================================ */
:root {
  --ink: #0B0B0C;
  --ink-90: #131316;
  --charcoal: #1A1A1D;
  --charcoal-2: #232326;
  --bone: #F7F4EE;
  --bone-2: #EFEAE0;
  --paper: #FFFFFF;
  --goat-yellow: #FACC15;
  --goat-yellow-deep: #D4A50F;
  --goat-yellow-soft: #FFF3B8;
  --muted: #6B6B70;
  --muted-2: #9A9AA0;
  --hairline: rgba(255,255,255,0.08);
  --hairline-dark: rgba(11,11,12,0.08);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;

  --fs-h1: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 3.6vw, 2.75rem);
  --fs-h3: clamp(1.375rem, 2vw, 1.75rem);

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;
  --r-pill: 999px;

  --sh-md: 0 12px 32px rgba(11,11,12,0.08);
  --sh-lg: 0 24px 60px rgba(11,11,12,0.14);
  --sh-cta: 0 10px 30px rgba(212,165,15,0.30);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--goat-yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--goat-yellow); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 50, "WONK" 0;
  font-feature-settings: "calt" 1, "liga" 1, "kern" 1, "ss01" off, "salt" off;
}
h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.028em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
em { font-style: italic; color: var(--goat-yellow-deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
/* Inter-section spacing tightened ~26% to make long pages feel shorter
   without removing any content. Hero/cards keep their own (more specific)
   padding rules, so only the gaps between content sections shrink. */
section { padding: clamp(46px, 6.5vw, 84px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--goat-yellow-deep);
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px; background: var(--goat-yellow);
}
.eyebrow.on-dark { color: var(--goat-yellow); }
.eyebrow.on-dark::before { background: var(--goat-yellow); }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.on-dark .lede, .on-dark p.lede { color: rgba(255,255,255,0.78); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-weight: 600; font-size: 0.9375rem;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--goat-yellow);
  color: var(--ink);
  box-shadow: var(--sh-cta);
}
.btn-primary:hover { background: var(--goat-yellow-deep); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: white;
  border-color: rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.60); }
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-dark);
}
.btn-ghost-dark:hover { background: var(--ink); color: white; border-color: var(--ink); }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--bone-2);
  color: var(--ink);
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.utility-bar .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
}
.utility-bar .left, .utility-bar .right {
  display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap;
}
.utility-bar .dot { color: var(--goat-yellow-deep); }
.utility-bar .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
}
.utility-bar .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--goat-yellow-deep);
  box-shadow: 0 0 0 4px rgba(212,165,15,0.18);
}
.utility-bar .phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.utility-bar .phone:hover { color: var(--goat-yellow-deep); }
@media (max-width: 760px) {
  .utility-bar { font-size: 0.75rem; }
  .utility-bar .left .hide-mobile { display: none; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav .row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: var(--sp-5);
}
.nav .brand {
  display: inline-flex; align-items: center;
  color: var(--ink);
}
.nav .brand img { height: 48px; width: auto; }
.nav .links {
  display: flex; align-items: center; gap: var(--sp-6);
}
.nav .links a {
  color: var(--ink);
  font-size: 0.9375rem; font-weight: 500;
  position: relative;
  transition: color var(--t-fast) var(--ease-out);
}
.nav .links a:hover { color: var(--goat-yellow-deep); }
.nav .nav-dropdown { position: relative; }
.nav .nav-dropdown .has-menu { cursor: pointer; }
.nav .nav-dropdown .has-menu::after {
  content: " ▾"; opacity: 0.5;
}
.nav .nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  /* Center horizontally under the Services link by default;
     desktop wide rule below overrides to a centered mega-menu */
  left: 0;
  background: var(--paper);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-3);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility var(--t-base);
  z-index: 60;
}
.nav .nav-dropdown:hover .dropdown-menu,
.nav .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
/* Hover bridge — fills the transparent gap between the nav item and the dropdown
   panel (~18px on desktop, created by top + margin-top) so the menu stays open
   while the cursor travels down to it. It is a purely transparent hover surface
   (no background, no visual change) and is only interactive while the menu is
   shown, since it inherits the panel's visibility/pointer-events. This is the
   root-cause fix for the dropdown closing mid-transit. */
.nav .nav-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;       /* sits directly above the panel */
  height: 22px;       /* spans the gap + a few px into the nav item (no seam) */
}
.nav .nav-dropdown .dropdown-menu a {
  color: var(--ink);
  font-size: 0.875rem;
  border-radius: var(--r-2);
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.nav .nav-dropdown .dropdown-menu a.group-start {
  /* Grid handles grouping — no divider in the wide mega-menu */
  border-top: none;
  margin-top: 0;
  padding-top: inherit;
}

/* ============================================================
   DESKTOP MEGA-MENU (≥ 981px) — wide 5-column grid
   Mirrors the main homepage horizontal layout: balanced columns,
   yellow-dot accents, premium white card.
   Positioned relative to the NAVBAR (not the far-left Services link)
   so it always stays centered in the viewport.
   ============================================================ */
@media (min-width: 1025px) {
  /* Promote the nav itself to the dropdown's positioning context so the
     wide mega-menu can center across the full navbar width — not under
     the Services link which sits far to the left. */
  .nav .nav-dropdown { position: static; }

  .nav .nav-dropdown .dropdown-menu {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 4px 18px;
    padding: 20px 24px;
    /* Center within the navbar (which is the containing block now) */
    top: 100%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -6px);
    /* Width: comfortable 5-column desktop layout, clamps to viewport */
    width: clamp(720px, 1020px, calc(100vw - 80px));
    min-width: auto;
    max-width: calc(100vw - 80px);
  }
  .nav .nav-dropdown:hover .dropdown-menu,
  .nav .nav-dropdown:focus-within .dropdown-menu {
    transform: translate(-50%, 0);
  }
  /* On medium desktops (~981–1100px) where 5 columns get tight, fall back
     to whatever fits — auto-fit collapses gracefully (5 → 4 → 3 cols). */
  @media (max-width: 1100px) {
    .nav .nav-dropdown .dropdown-menu {
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
  }

  .nav .nav-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
  }
  /* Yellow dot accent — same as homepage */
  .nav .nav-dropdown .dropdown-menu a::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--goat-yellow);
    flex-shrink: 0;
    transition: transform var(--t-fast) var(--ease-out),
                box-shadow var(--t-base) var(--ease-out);
  }
  .nav .nav-dropdown .dropdown-menu a:hover {
    background: rgba(250,204,21,0.08);
    color: var(--goat-yellow-deep);
  }
  .nav .nav-dropdown .dropdown-menu a:hover::before {
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(250,204,21,0.18);
  }
}

/* Touch / tablet (≤980px): dropdown disabled — mobile-nav <details> handles it */
@media (max-width: 980px) {
  .nav .nav-dropdown .dropdown-menu { display: none !important; }
  .nav .nav-dropdown .has-menu::after { display: none; }
}
.nav .right { display: flex; align-items: center; gap: var(--sp-3); }
.nav .right .phone-link {
  font-weight: 700; color: var(--ink); font-size: 0.9375rem;
  white-space: nowrap;
}
.nav .right .phone-link:hover { color: var(--goat-yellow-deep); }
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bone-2);
  align-items: center; justify-content: center;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0;
}
.hamburger span::before { top: -6px; }
.hamburger span::after  { top: 6px; }

@media (max-width: 1024px) {
  /* Tablet + mobile: visible quick-nav row of the 5 links (scrollable) on a
     second row under the logo/CTA, PLUS the hamburger for the full menu.
     Hover dropdowns disabled here (their links live in the hamburger). */
  .nav .row { flex-wrap: wrap; align-content: center; row-gap: 2px; }
  .nav .brand { order: 1; }
  .nav .right { order: 2; }
  .nav .links {
    order: 3; flex-basis: 100%; width: 100%;
    display: flex; flex-wrap: nowrap; align-items: center;
    gap: clamp(14px, 4.2vw, 24px);
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    justify-content: safe center;
    padding: 2px 2px 6px;
  }
  .nav .links::-webkit-scrollbar { display: none; }
  .nav .links a { font-size: 0.9rem; padding: 4px 0; white-space: nowrap; }
  .nav .links .has-menu::after { display: none; }
  .nav .dropdown-menu { display: none !important; }
  .nav .right .phone-link { display: none; }
  .nav .right .btn { display: inline-flex; }
  .hamburger { display: inline-flex; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink);
  color: white;
  z-index: 100;
  padding: var(--sp-6);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 360ms var(--ease-out);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-6); }
.mobile-nav .top img { filter: none; height: 40px; width: auto; background: #F6F2EA; padding: 6px 11px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.mobile-nav .close {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: white; font-size: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.mobile-nav ul > li > a,
.mobile-nav details > summary {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 500;
  color: white; letter-spacing: -0.015em;
  padding: 8px 0;
  cursor: pointer;
}
.mobile-nav details > summary { display: flex; justify-content: space-between; align-items: center; list-style: none; }
.mobile-nav details > summary::-webkit-details-marker { display: none; }
.mobile-nav details > summary .chev { transition: transform 200ms var(--ease-out); }
.mobile-nav details[open] > summary .chev { transform: rotate(180deg); }
.mobile-nav details .sub { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 0 0; }
.mobile-nav details .sub a {
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 400;
  color: rgba(255,255,255,0.78);
  padding: 6px 0;
}
.mobile-nav details .sub a:hover { color: var(--goat-yellow); }
.mobile-nav details .sub a.sub-all {
  color: var(--goat-yellow); font-weight: 600;
  border-bottom: 1px dashed rgba(250,204,21,0.3);
  padding-bottom: 10px; margin-bottom: 6px;
}
.mobile-nav .ctas { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-6); }
.mobile-nav .ctas .btn { width: 100%; min-height: 54px; padding: 14px 24px; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; line-height: 1.1; box-sizing: border-box; }

/* ============================================================
   SERVICE HERO
   ============================================================ */
.svc-hero {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 12vw, 144px) 0 clamp(64px, 9vw, 112px);
}
.svc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 20% 0%, rgba(250,204,21,0.18) 0%, rgba(250,204,21,0) 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(212,165,15,0.10) 0%, rgba(212,165,15,0) 65%),
    linear-gradient(180deg, var(--ink) 0%, #050505 100%);
  z-index: -2;
}
.svc-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}
.svc-hero .crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-5);
}
.svc-hero .crumbs a { color: rgba(255,255,255,0.8); }
.svc-hero .crumbs a:hover { color: var(--goat-yellow); }
.svc-hero .crumbs span.sep { color: rgba(255,255,255,0.35); }
.svc-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.030em;
  margin: 0 0 var(--sp-5);
  max-width: 22ch;
  text-wrap: balance;
}
.svc-hero h1 em { color: var(--goat-yellow); font-style: italic; font-weight: 500; }
.svc-hero .lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: var(--sp-6);
}
.svc-hero .lede strong { color: white; font-weight: 600; }
.svc-hero .ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.svc-hero .trust-row { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.svc-hero .trust-row li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: rgba(255,255,255,0.85);
}
.svc-hero .trust-row .check {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--goat-yellow);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-hero .trust-row .check svg { width: 11px; height: 11px; }
.svc-hero .urgency {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(250,204,21,0.12);
  border: 1px solid rgba(250,204,21,0.32);
  border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white;
  margin-bottom: var(--sp-5);
  backdrop-filter: blur(8px);
}
.svc-hero .urgency .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--goat-yellow);
  box-shadow: 0 0 0 0 rgba(250,204,21,0.6);
  animation: pulseDot 2.2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(250,204,21,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(250,204,21,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,204,21,0); }
}

/* ============================================================
   DETAIL / WHAT WE DO
   ============================================================ */
.svc-detail { background: var(--paper); }
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .svc-detail-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.svc-detail h2 { margin-top: var(--sp-3); max-width: 22ch; }
.svc-detail .copy p { font-size: 1.0625rem; color: var(--muted); line-height: 1.7; }
.svc-detail .copy p + p { margin-top: var(--sp-4); }
.svc-detail .copy p strong { color: var(--ink); font-weight: 600; }

.signs {
  background: var(--bone-2);
  border-radius: var(--r-4);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--hairline-dark);
}
.signs h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.015em;
}
.signs ul { display: flex; flex-direction: column; gap: 12px; }
.signs li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem; color: var(--ink); line-height: 1.5;
}
.signs li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 7px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--goat-yellow);
  box-shadow: 0 0 0 3px rgba(250,204,21,0.22);
}

/* ============================================================
   PROCESS
   ============================================================ */
.svc-process { background: var(--ink); color: white; }
.svc-process h2 { color: white; }
.process-head { text-align: left; margin-bottom: var(--sp-7); max-width: 640px; }
.process-head h2 { margin-top: var(--sp-3); max-width: 22ch; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 980px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  padding: var(--sp-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.process-step .num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--goat-yellow);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem;
}
.process-step h4 {
  color: white; font-size: 1.0625rem;
  font-family: var(--font-display); letter-spacing: -0.01em;
}
.process-step p { font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.55; }

/* ============================================================
   AREAS
   ============================================================ */
.svc-areas { background: var(--bone); }
.svc-areas-head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-6); }
.svc-areas-head h2 { margin: var(--sp-3) 0; }
.svc-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  max-width: 960px; margin: 0 auto;
}
.svc-chips a {
  display: inline-flex; align-items: baseline;
  padding: 9px 16px;
  background: var(--paper);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.svc-chips a:hover { background: var(--ink); color: var(--goat-yellow); transform: translateY(-1px); }

/* ============================================================
   RELATED SERVICES
   ============================================================ */
.svc-related { background: var(--paper); }
.related-head { text-align: center; margin-bottom: var(--sp-7); max-width: 640px; margin-left: auto; margin-right: auto; }
.related-head h2 { margin-top: var(--sp-3); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  padding: var(--sp-5);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-3);
  background: var(--paper);
  transition: transform var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
  display: flex; flex-direction: column; gap: 8px;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--sh-md);
}
.related-card .name {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 500;
  color: var(--ink);
}
.related-card .arrow {
  font-size: 0.875rem; font-weight: 600; color: var(--goat-yellow-deep);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ============================================================
   QUOTE FORM
   ============================================================ */
.form-section { background: var(--bone-2); }
.form-card {
  max-width: 720px; margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-4);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--hairline-dark);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--goat-yellow), var(--goat-yellow-deep));
}
.form-card .label-top {
  font-size: 0.6875rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700;
  color: var(--goat-yellow-deep);
  margin-bottom: var(--sp-3);
}
.form-card h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--sp-2);
}
.form-card .form-lede {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-5);
  max-width: 56ch;
}
.quote-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .lbl {
  font-size: 0.6875rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  color: var(--muted);
}
.field .lbl em { color: #C53030; font-style: normal; }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  background: var(--bone);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-2);
  font-size: 0.9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--goat-yellow-deep);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(212,165,15,0.16);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.submit-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  margin-top: var(--sp-3);
}
.submit-row .btn { padding: 16px 28px; font-size: 1rem; }
.submit-row .micro { font-size: 0.75rem; color: var(--muted); max-width: 36ch; }

/* ============================================================
   FAQ
   ============================================================ */
.svc-faq { background: var(--paper); }
.svc-faq-head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.svc-faq-head h2 { margin-top: var(--sp-3); }
.svc-faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline-dark); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--bone-2); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--goat-yellow); }
.faq-item .answer {
  padding: 0 0 var(--sp-5);
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 70ch;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    radial-gradient(60% 100% at 30% 30%, rgba(250,204,21,0.20) 0%, rgba(250,204,21,0) 60%),
    var(--ink);
  color: white;
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-band .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (max-width: 860px) { .cta-band .row { grid-template-columns: 1fr; } }
.cta-band h2 { color: white; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: var(--sp-3); max-width: 50ch; }
.cta-band .actions { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-end; }
@media (max-width: 860px) { .cta-band .actions { align-items: flex-start; } }
.cta-band .phone-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--goat-yellow);
  color: var(--ink);
  padding: 18px 28px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 1.0625rem;
  box-shadow: 0 14px 40px rgba(212,165,15,0.32);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.cta-band .phone-big:hover { transform: translateY(-2px); background: var(--goat-yellow-deep); }
.cta-band .phone-big svg { width: 22px; height: 22px; color: var(--ink); }
.cta-band .sub-link { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.cta-band .sub-link a { color: var(--goat-yellow); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bone-2);
  color: var(--ink);
  padding: clamp(56px, 8vw, 96px) 0 var(--sp-6);
  border-top: 1px solid var(--hairline-dark);
}
.footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--hairline-dark);
}
@media (max-width: 860px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer .top { grid-template-columns: 1fr; gap: var(--sp-6); } }
.footer .brand-col { max-width: 38ch; display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.footer .brand-col img {
  height: clamp(88px, 7vw, 104px);
  width: auto;
  max-width: 100%;
  align-self: flex-start;   /* prevent flex-column stretch/squash */
  object-fit: contain;      /* preserve proportions, no distortion */
  display: block;
  margin-bottom: 18px;
}
.footer .brand-col .contact {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.9375rem;
}
.footer .brand-col .contact a, .footer .brand-col .contact span { color: var(--ink); }
.footer .brand-col .contact a:hover { color: var(--goat-yellow-deep); }
.footer h5 {
  font-family: var(--font-display);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--goat-yellow-deep);
  margin-bottom: var(--sp-4);
}
.footer ul.col { display: flex; flex-direction: column; gap: 8px; }
.footer ul.col a, .footer ul.col span {
  font-size: 0.9375rem; color: var(--ink);
  transition: color var(--t-fast) var(--ease-out);
}
.footer ul.col a:hover { color: var(--goat-yellow-deep); }
.footer .bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-3);
  padding-top: var(--sp-6);
  font-size: 0.75rem; color: var(--muted);
}
.footer .bottom .links { display: flex; gap: var(--sp-5); }

/* ============================================================
   STICKY MOBILE CALL BAR
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 60;
  background: var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 18px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: white;
}
.mobile-bar .left { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; }
.mobile-bar .star { color: var(--goat-yellow); }
.mobile-bar .call {
  background: var(--goat-yellow);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 92px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   GLOBAL FOOTER ENRICHMENT (map embed, 2-col cities, credentials,
   call button) — makes the shared .footer match the homepage footer.
   ============================================================ */
.footer ul { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; list-style: none; padding: 0; margin: 0; }
.footer ul a { color: var(--ink, #0B0B0C); text-decoration: none; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--goat-yellow-deep, #A8791C); }
.footer ul.footer-cities-2col { column-count: 2; column-gap: 32px; display: block; }
.footer ul.footer-cities-2col li { break-inside: avoid; padding: 4px 0; }
@media (max-width: 540px) { .footer ul.footer-cities-2col { column-count: 2; column-gap: 20px; } }
.footer .brand-col .footer-map {
  margin-top: 20px; position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--hairline-dark, rgba(11,11,12,0.12)); background: #fff;
  aspect-ratio: 4 / 3; max-width: 360px; box-shadow: 0 6px 20px rgba(11,11,12,0.08);
}
.footer .brand-col .footer-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.92); }
.footer .brand-col .footer-map .footer-map-cta {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 999px; background: #fff; color: #0B0B0C; font-size: 0.8125rem;
  font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(11,11,12,0.20);
  border: 1px solid var(--hairline-dark, rgba(11,11,12,0.12)); z-index: 2;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.footer .brand-col .footer-map .footer-map-cta:hover { background: #0B0B0C; color: #fff; border-color: #0B0B0C; transform: translateX(-50%) translateY(-2px); }
@media (max-width: 540px) { .footer .brand-col .footer-map { max-width: 100%; aspect-ratio: 16 / 11; } }
.footer .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer .chip {
  font-size: 11px; padding: 6px 10px; border: 1px solid var(--hairline-dark, rgba(11,11,12,0.18));
  border-radius: 999px; color: var(--ink, #0B0B0C); background: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.footer .brand-col .footer-call-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 13px 22px; border-radius: 999px; background: var(--goat-yellow, #E3B73B);
  color: #0B0B0C; font-weight: 700; font-size: 0.9rem; text-decoration: none; width: fit-content;
  transition: background 0.2s ease;
}
.footer .brand-col .footer-call-btn:hover { background: #F0CB5A; color: #0B0B0C; }

/* ===== Premium footer redesign (footer-only, additive) ===== */
.footer .footer-cta{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
  background:linear-gradient(135deg,#FFFFFF 0%,#F6F2EA 100%);
  border:1px solid var(--hairline-dark, rgba(11,11,12,0.12));
  border-radius:22px;
  padding:clamp(22px,3vw,34px) clamp(24px,4vw,40px);
  margin-bottom:clamp(34px,4.5vw,52px);
  box-shadow:0 18px 44px rgba(11,11,12,0.10);
}
.footer .footer-cta-text h3{
  font-family:'Fraunces',serif; font-weight:500;
  font-size:clamp(20px,2.2vw,29px); line-height:1.18; letter-spacing:-0.01em;
  color:var(--ink,#0B0B0C); margin:0 0 6px;
}
.footer .footer-cta-text p{
  margin:0; color:var(--muted,#43433f); font-family:'Inter',sans-serif;
  font-size:clamp(14px,1.1vw,16px); line-height:1.5;
}
.footer .footer-cta-actions{ display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }
.footer .footer-cta-call,
.footer .footer-cta-quote{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:54px; padding:14px 28px; border-radius:999px;
  font-family:'Inter',sans-serif; font-weight:700; font-size:0.95rem;
  text-decoration:none; white-space:nowrap; box-sizing:border-box;
  transition:transform .15s ease, background .2s ease;
}
.footer .footer-cta-call{ background:var(--goat-yellow,#E3B73B); color:#0B0B0C; box-shadow:0 8px 22px rgba(227,183,59,0.32); }
.footer .footer-cta-call:hover{ background:#F0CB5A; transform:translateY(-2px); }
.footer .footer-cta-quote{ background:#0B0B0C; color:#fff; }
.footer .footer-cta-quote:hover{ background:#2A2A2C; transform:translateY(-2px); }

.footer .footer-cities-2col li a strong{ color:var(--goat-yellow-deep,#A87908); }

@media (max-width:1024px){
  .footer .brand-col .footer-map{
    aspect-ratio:auto; max-width:100%; border:0; background:transparent;
    box-shadow:none; overflow:visible; margin-top:16px;
  }
  .footer .brand-col .footer-map iframe{ display:none !important; }
  .footer .brand-col .footer-map .footer-map-cta{
    position:static; transform:none; width:100%;
    justify-content:center; min-height:48px;
  }
  .footer .brand-col .footer-map .footer-map-cta:hover{ transform:translateY(-2px); }
}
@media (max-width:640px){
  .footer .footer-cta{ flex-direction:column; align-items:stretch; text-align:center; border-radius:18px; }
  .footer .footer-cta-actions{ flex-direction:column; width:100%; }
  .footer .footer-cta-call,
  .footer .footer-cta-quote{ width:100%; }
  .footer .bottom{ flex-direction:column; align-items:flex-start; gap:12px; }
}
.cg-call-fab.cg-fab-hidden{ opacity:0 !important; visibility:hidden !important; pointer-events:none !important; }

/* ====== GLOBAL FLOATING CALL NOW BUTTON (FAB) ====== */
.cg-call-fab{
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  top: 62%;
  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;

  background: var(--goat-yellow, #FACC15);
  color: var(--ink, #0B0B0C);
  border-radius: 999px;
  text-decoration: none;

  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;

  box-shadow:
    0 12px 28px rgba(11,11,12,0.22),
    0 4px 10px rgba(11,11,12,0.12),
    inset 0 0 0 1px rgba(11,11,12,0.04);

  cursor: pointer;
  z-index: 60;  /* above page content; below modals (which use 100+) */
  transition: transform 220ms cubic-bezier(.22,.61,.36,1),
              box-shadow 220ms ease,
              background 220ms ease;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.cg-call-fab:hover{
  background: #FFD63B;
  transform: translateY(-50%) scale(1.04);
  box-shadow:
    0 16px 36px rgba(11,11,12,0.28),
    0 6px 14px rgba(11,11,12,0.14);
}
.cg-call-fab:active{
  transform: translateY(-50%) scale(0.98);
}
.cg-call-fab:focus-visible{
  outline: 2px solid var(--ink, #0B0B0C);
  outline-offset: 3px;
}

/* Icon — black circle on yellow pill */
.cg-call-fab__icon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink, #0B0B0C);
  color: var(--goat-yellow, #FACC15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* Text stack */
.cg-call-fab__text{
  display: inline-flex;
  flex-direction: column;
}
.cg-call-fab__label{
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cg-call-fab__num{
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #0B0B0C);
  opacity: 0.78;
  margin-top: 2px;
  letter-spacing: 0.005em;
}

/* Soft pulse ring — premium attention without being loud */
.cg-call-fab::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
  animation: cgCallPulse 2.8s ease-out infinite;
}
@keyframes cgCallPulse{
  0%   { box-shadow: 0 0 0 0 rgba(250,204,21,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(250,204,21,0); }
  100% { box-shadow: 0 0 0 0 rgba(250,204,21,0); }
}
@media (prefers-reduced-motion: reduce){
  .cg-call-fab::before { animation: none; }
}

/* ----- Tablet ----- */
@media (max-width: 1024px){
  /* Tablet + mobile: hide the floating Call Now button entirely so it can never
     overlap hero copy or CTAs. The header phone + (on home/service pages) the
     sticky bottom call bar remain as the call CTAs. Desktop keeps the FAB. */
  .cg-call-fab{ display: none !important; }
}

/* ----- Mobile — compact icon-only FAB tucked into the corner ----- */
@media (max-width: 720px){
  .cg-call-fab{
    /* Bottom-right corner + safe-area inset (iPhone home indicator). */
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 16px;
    width: 56px;
    height: 56px;
    padding: 0;
    gap: 0;
    justify-content: center;
    border-radius: 999px;
    box-shadow:
      0 10px 24px rgba(11,11,12,0.26),
      0 3px 8px rgba(11,11,12,0.16);
  }
  /* Icon-only → minimal footprint so it never floats over body copy. */
  .cg-call-fab__text{ display: none; }
  .cg-call-fab__icon{ width: 30px; height: 30px; }

  /* Pages WITH a persistent bottom call bar (service pages = .mobile-bar,
     home/city = .mobile-call-bar): that bar is the mobile call CTA, so the
     floating FAB is redundant — hide it to avoid any overlap or clutter. */
  body:has(.mobile-call-bar) .cg-call-fab,
  body:has(.mobile-bar) .cg-call-fab{ display: none; }
}

/* ============================================================
   PREMIUM POLISH LAYER  (additive · motion-safe · reversible)
   No layout reflow. No hidden-by-default content. Scroll fade is
   progressive-enhancement only (auto-disabled where unsupported, e.g. Safari).
   ============================================================ */
/* Anchor offset — #services / #service-areas / #reviews / #projects jumps
   land just below the sticky nav instead of being hidden under it. */
html { scroll-padding-top: 90px; }

/* Smoother premium interactions on project cards + chips (additive transitions). */
@media (prefers-reduced-motion: no-preference) {
  .cg-card { transition: transform 0.2s ease, box-shadow 0.28s ease; }
  .cg-card img { transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .cg-card:hover img { transform: scale(1.045); }
  .cg-chips a { transition: border-color 0.18s ease, transform 0.18s ease, background 0.2s ease, color 0.2s ease; }
}
/* Deeper, softer hover shadow on project cards (complements their existing lift). */
.cg-card:hover { box-shadow: 0 18px 44px rgba(11, 11, 12, 0.13); }

/* ============================================================ */

/* Contrast fix: dark-hero headlines on blog/about/projects/category pages
   must be white (they were inheriting the global dark h1 color). */
.cg-page-hero h1 { color: #fff; }

/* Mobile tap-safety: decorative hero/background video must never capture taps.
   The hero CTAs sit above the video; this guarantees taps reach them on iOS. */
.svc-hero-video, .svc-hero-media{ pointer-events: none; }
