/* ==========================================================================
   MAC FIX & REFRESH — Design System
   Direction: "Work Order" — a spec-sheet / blueprint visual language grounded
   in the business itself (flat-rate scoped quotes, punch lists, line items).
   Navy + gold, condensed industrial display type, mono tag labels.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Color — core */
  --navy-deep:   #081422;
  --navy:        #0E2238;
  --navy-mid:    #1B3A5C;
  --gold:        #C6A15B;
  --gold-bright: #DCBB7B;
  --paper:       #F7F8F6;
  --paper-dim:   #EEF0EC;
  --line:        #D9DCD5;
  --ink:         #16181D;
  --ink-soft:    #4B5563;
  --white:       #FFFFFF;
  --success:     #2F6B4F;
  --danger:      #A6402E;

  /* Color — brand marque (sampled directly from the Mac Fix & Refresh logo) */
  --brand-blue:   #0A56B0;
  --brand-red:    #E0102A;
  --brand-green:  #128A5E;
  --brand-yellow: #EAC22B;
  --brand-slate:  #45536B;

  /* Type */
  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --max: 1180px;
  --radius: 4px;
  --gap: clamp(1.5rem, 3vw, 3rem);
  --shadow-sm: 0 1px 2px rgba(8,20,34,0.06), 0 1px 1px rgba(8,20,34,0.04);
  --shadow-md: 0 8px 24px rgba(8,20,34,0.10), 0 2px 6px rgba(8,20,34,0.06);
  --shadow-lg: 0 20px 44px rgba(8,20,34,0.16), 0 6px 14px rgba(8,20,34,0.08);
}

/* ---------- Brand color bar (bookend flourish, drawn straight from the logo) ---------- */
.brand-bar { display: flex; height: 5px; }
.brand-bar span { flex: 1; }
.brand-bar .b1 { background: var(--brand-blue); }
.brand-bar .b2 { background: var(--brand-red); }
.brand-bar .b3 { background: var(--brand-green); }
.brand-bar .b4 { background: var(--brand-yellow); }

/* ---------- Logo lockup ---------- */
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--white); }
.brand-logo { height: 62px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.footer-brand .brand-logo { height: 52px; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@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; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--dim { background: var(--paper-dim); }
.section--tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }

/* ---------- Eyebrow / ticket-tag (signature element) ----------
   A small bracketed tag styled like a job-ticket / work-order stub —
   ties directly to how the business actually quotes work (scoped line
   items on a numbered proposal). Used to label sections and service
   cards, never as arbitrary decoration. */
.ticket {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3em 0.75em;
  border: 1px solid rgba(198,161,91,0.55);
  border-radius: 2px;
  position: relative;
  margin-bottom: 1rem;
}
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
}
.ticket::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.ticket::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.section--navy .ticket { color: var(--gold-bright); }
.ticket--dark { color: var(--navy); border-color: rgba(14,34,56,0.4); }
.ticket--dark::before, .ticket--dark::after { border-color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-bright); box-shadow: var(--shadow-md); }
.btn-pill { border-radius: 999px; background: var(--white); color: var(--navy); box-shadow: var(--shadow-md); }
.btn-pill:hover { background: var(--paper-dim); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline--dark { color: var(--navy); border-color: var(--navy); }
.btn-outline--dark:hover { border-color: var(--gold); color: var(--navy); background: rgba(198,161,91,0.12); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(198,161,91,0.25);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  gap: 1.5rem;
}
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.42rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.brand-mark span { color: var(--gold); }
.brand-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.07em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-top: 0.25rem; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,0.82); padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
/* The "Get a Quote" button is an <a> inside .nav-links, so the generic
   link-color rule above (higher specificity than .btn-primary alone) was
   winning and washing the button text out to near-white on its gold
   background. Restore the intended navy text explicitly, at higher
   specificity, so it stays readable in both desktop and mobile nav. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary[aria-current="page"],
.nav-links a.btn-pill,
.nav-links a.btn-pill:hover,
.nav-links a.btn-pill[aria-current="page"] {
  color: var(--navy-deep);
  border-bottom: none;
}
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 0.5rem 0.7rem; border-radius: 2px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column; align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(198,161,91,0.25);
    display: none;
    gap: 1rem;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 480px) {
  .brand-logo { height: 46px; }
  .brand-mark { font-size: 1.05rem; }
  .brand-tag { font-size: 0.6rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(8,20,34,0.94) 0%, rgba(8,20,34,0.88) 100%),
    repeating-linear-gradient(135deg, rgba(198,161,91,0.055) 0px, rgba(198,161,91,0.055) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(45deg, rgba(198,161,91,0.055) 0px, rgba(198,161,91,0.055) 1px, transparent 1px, transparent 30px);
  color: var(--white);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--gap); align-items: end; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 15ch; text-shadow: 0 2px 0 rgba(0,0,0,0.18); }
.hero .lede { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 46ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-panel {
  border: 1px solid rgba(198,161,91,0.35);
  padding: 1.5rem;
  background: rgba(255,255,255,0.035);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(2px);
}

/* Centered hero variant — headline/copy/CTAs centered on the page instead
   of the asymmetric two-column layout, with the scope panel centered
   underneath at a readable max-width rather than pinned to one side. */
.hero--center .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--center h1 { max-width: 20ch; }
.hero--center .lede { margin-left: auto; margin-right: auto; }
.hero--center .hero-actions { justify-content: center; }
.hero--center .hero-panel { margin-top: 2.5rem; max-width: 620px; width: 100%; text-align: left; }
.hero--center .hero-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem; }
@media (max-width: 620px) { .hero--center .hero-panel ul { grid-template-columns: 1fr; } }
.hero-panel .ticket { margin-bottom: 0.85rem; }
.hero-panel ul { display: grid; gap: 0.65rem; }
.hero-panel li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; color: rgba(255,255,255,0.85); }
.hero-panel li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  background:
    linear-gradient(180deg, rgba(8,20,34,0.97) 0%, rgba(8,20,34,0.94) 100%),
    repeating-linear-gradient(135deg, rgba(198,161,91,0.05) 0px, rgba(198,161,91,0.05) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(45deg, rgba(198,161,91,0.05) 0px, rgba(198,161,91,0.05) 1px, transparent 1px, transparent 30px),
    var(--navy);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 4vw, 3rem);
  text-align: center;
}
.page-header .container { display: flex; flex-direction: column; align-items: center; }
.page-header .lede { max-width: 60ch; color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-left: auto; margin-right: auto; }
.page-header h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 22ch; text-shadow: 0 2px 0 rgba(0,0,0,0.18); }
.page-header .hero-actions { justify-content: center; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-deep); border-top: 1px solid rgba(198,161,91,0.2); padding: 1.5rem 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem; align-items: center; }
.trust-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.82);
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
}
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed rgba(255,255,255,0.16); }
.badge-row-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-right: 0.25rem; white-space: nowrap; }
.badge-pill {
  font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--white);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(198,161,91,0.4);
  border-radius: 999px;
  background: rgba(198,161,91,0.08);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Keep the vendor badges on a single row on mobile, matching desktop,
   instead of wrapping — shrink type/spacing first, and only fall back
   to horizontal scroll if a screen is genuinely too narrow to fit them. */
@media (max-width: 560px) {
  .badge-row { flex-wrap: nowrap; overflow-x: auto; gap: 0.5rem; -webkit-overflow-scrolling: touch; padding-bottom: 0.25rem; }
  .badge-row-label { font-size: 0.6rem; }
  .badge-pill { font-size: 0.72rem; padding: 0.35rem 0.65rem; }
}
.price-match-line { margin-top: 1.1rem; font-size: 0.92rem; color: rgba(255,255,255,0.78); max-width: 62ch; }
.price-match-line strong { color: var(--gold-bright); }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.35rem; }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0; }
.card-link { margin-top: auto; padding-top: 0.75rem; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); text-decoration: none; border-top: 1px dashed var(--line); }
.card-link:hover { color: var(--gold); }

/* ---------- Icon badges ----------
   Neutral card-style badge (not a bright colored circle) holding a
   detailed, multi-tone illustration of the actual object/scene for each
   trade — closer to a technical drawing than a clip-art icon, matching
   the illustration style already used for the apartment building and
   room-cutaway graphics elsewhere on the site. */
.icon-badge {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.icon-badge svg { width: 42px; height: 42px; }
.card--icon { padding-top: 1.85rem; }
.card--wide { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; align-items: start; padding: 2rem; }
.card--wide .icon-badge { margin-bottom: 0; }
.card--wide h3 { margin-bottom: 0.5rem; }
.card--wide ul { display: grid; gap: 0.45rem; margin-top: 0.85rem; }
.card--wide ul li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.card--wide ul li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
@media (max-width: 620px) { .card--wide { grid-template-columns: 1fr; } }
.card--photo { padding-top: 0; overflow: hidden; }
.card-thumb { width: calc(100% + 3.5rem); margin: -1.75rem -1.75rem 1rem; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card-thumb--square { aspect-ratio: 1 / 1; object-position: center; }
.card-thumb--tall { aspect-ratio: 3 / 4; }
.card-thumb-illus { width: calc(100% + 3.5rem); margin: -1.75rem -1.75rem 1rem; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.card-thumb-illus svg { width: 100%; height: 100%; display: block; }

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.feature h3 { color: var(--navy); font-size: 1.5rem; }
.feature p { color: var(--ink-soft); }

/* ---------- Zigzag divider — drawn directly from the roofline in the logo.
   Used sparingly (hero foot + footer top) as the site's one recurring
   graphic signature that ties back to the actual brand mark. ---------- */
.zigzag { display: block; width: 100%; height: 18px; }
.zigzag-wrap { padding: 4px 0 0; }
.zigzag polyline { stroke: var(--brand-red); }
.zigzag--footer { transform: rotate(180deg); }
.zigzag--gold polyline { stroke: var(--gold); }

/* ---------- Real photography treatment ----------
   Every real photo on the site gets the same frame: a thin gold rule,
   corner brackets echoing the blueprint/work-order motif, and a soft
   shadow — so a real photo and a hand-drawn illustration sit together
   without looking like two different design systems. ---------- */
.photo-box { position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-box .corner { position: absolute; width: 16px; height: 16px; border: 2px solid var(--gold); z-index: 2; }
.photo-box .corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.photo-box .corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.photo-box .corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.photo-box .corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.photo-box .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(8,20,34,0.85));
  color: var(--white); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 1.75rem 1rem 0.7rem; text-transform: uppercase;
}
.photo-box--tall { aspect-ratio: 3 / 4; }
.photo-box--wide { aspect-ratio: 16 / 10; }
.photo-box--square { aspect-ratio: 1 / 1; }
.photo-box--circle {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid var(--gold);
}
.photo-box--circle.ring-blue { border-color: var(--brand-blue); }
.photo-box--circle.ring-red { border-color: var(--brand-red); }
.photo-box--circle.ring-green { border-color: var(--brand-green); }
.photo-box--circle .corner { display: none; }
.photo-box--circle .cap { display: none; }

/* Illustration panels — same frame language, used where we don't have
   real project photography yet (cabinetry/tile/drywall/paint, and the
   multifamily building itself). Flat geometric style in the brand's own
   colors rather than generic clipart. */
.illustration-box {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.illustration-box svg { width: 100%; height: auto; max-height: 320px; }

/* Photographic hero variant — real photo behind the hero copy instead of
   the flat texture, used on Home/Careers/Renovations page headers. */
.hero-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,20,34,0.93) 0%, rgba(8,20,34,0.82) 55%, rgba(8,20,34,0.93) 100%);
}
.hero-photo > .container { position: relative; z-index: 1; }

.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .gallery-strip { grid-template-columns: 1fr; } }

/* Connected photo wall — real work, edge to edge, no gaps or borders
   between tiles. Used on the homepage in place of individually framed
   photo cards. */
.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  line-height: 0;
}
.photo-wall img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.photo-wall img.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 760px) { .photo-wall { grid-template-columns: repeat(2, 1fr); } .photo-wall img.wide { grid-column: span 2; } }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-left: 3px solid var(--gold); padding-left: 1rem; }
.step .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; }
.step h4 { color: var(--navy); font-size: 1.05rem; margin: 0.3rem 0 0.35rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.section--navy .step p { color: rgba(255,255,255,0.72); }
.section--navy .step h4 { color: var(--white); }
.section--navy .step { border-left-color: var(--gold); }

/* ---------- Lists with check marks ---------- */
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; min-width: 0; }
.check-list li > * { min-width: 0; overflow-wrap: anywhere; }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; margin-top: 0.4em; flex-shrink: 0; background: var(--gold); }
.check-list li:nth-child(4n+1)::before { background: var(--brand-blue); }
.check-list li:nth-child(4n+2)::before { background: var(--brand-red); }
.check-list li:nth-child(4n+3)::before { background: var(--brand-green); }
.check-list li:nth-child(4n+4)::before { background: var(--brand-yellow); }
.section--navy .check-list li { border-bottom-color: rgba(255,255,255,0.14); }

.trust-row .trust-item:nth-child(4n+1) .dot { background: var(--brand-blue); }
.trust-row .trust-item:nth-child(4n+2) .dot { background: var(--brand-red); }
.trust-row .trust-item:nth-child(4n+3) .dot { background: var(--brand-green); }
.trust-row .trust-item:nth-child(4n+4) .dot { background: var(--brand-yellow); }

/* ---------- Two-column layout helper ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.eyebrow-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band .lede { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto 1.75rem; }
.cta-band .hero-actions { justify-content: center; }
.cta-band--gradient {
  background: linear-gradient(115deg, var(--brand-blue) 0%, #1E6F73 55%, var(--brand-green) 100%);
}
.accent-italic { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.section--navy .accent-italic, .cta-band--gradient .accent-italic { color: #DCE9E8; }

/* ---------- Forms ---------- */
.form-shell { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.5rem); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.4rem; }
.field .hint { display: block; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.25rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.75em 0.9em;
  border: 1px solid #C7CCC3;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.radio-group label, .checkbox-group label {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400;
  font-size: 0.94rem; color: var(--ink);
}
.radio-group input, .checkbox-group input { width: 16px; height: 16px; accent-color: var(--gold); }
.file-field {
  border: 1px dashed #B7BEAF;
  padding: 1.25rem;
  text-align: center;
  background: var(--paper);
}
.file-field input[type="file"] { margin-top: 0.6rem; font-family: var(--font-body); font-size: 0.88rem; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.5rem; }
.form-success, .form-error { display: none; padding: 1rem 1.25rem; border-radius: 2px; margin-bottom: 1.25rem; font-size: 0.92rem; }
.form-success { background: #E7F1EB; border: 1px solid var(--success); color: var(--success); }
.form-error { background: #F6E6E2; border: 1px solid var(--danger); color: var(--danger); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-size: 1.02rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-grid p, .footer-grid a { font-size: 0.9rem; color: rgba(255,255,255,0.68); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-tagline { font-family: var(--font-display); color: var(--gold-bright); letter-spacing: 0.02em; margin-top: 0.75rem; font-size: 0.95rem; }
.footer-bottom { max-width: var(--max); margin: 2.5rem auto 0; padding: 1.25rem 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.social-row { display: flex; gap: 0.85rem; margin-top: 0.75rem; }
.social-row a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

/* ---------- Overflow safety net ----------
   Grid and flex tracks default to min-width:auto, meaning they refuse to
   shrink below their content's natural size — this is the standard cause
   of a form or badge row silently pushing the whole page wider than the
   viewport on mobile. Forcing min-width:0 on every grid/flex child lets
   text and inputs wrap/shrink instead of blowing out the layout. */
.grid > *, .split > *, .footer-grid > *, .steps > *,
.hero-panel ul > li, .radio-group > label, .checkbox-group > label,
.form-shell, .field, .field input, .field select, .field textarea {
  min-width: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.85rem; color: var(--ink-soft); }
.section-lede { max-width: 60ch; color: var(--ink-soft); font-size: 1.02rem; }
.section--navy .section-lede { color: rgba(255,255,255,0.78); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tag-chip { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.3em 0.7em; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
