/* ============================================================
   SITE STYLES — All shared CSS for the entire site
   ============================================================ */

/* ── CSS Design Tokens ──────────────────────────────────────── */
:root {
  --color-primary: #F4D21F;
  --color-primary-text: #6F5B00;
  --color-secondary: #090909;
  --color-accent: #B89600;
  --color-navy: #111111;
  --color-muted: #6b7280;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-stone-200: #e7e5e4;
  --font-display: Arial, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', Arial, system-ui, sans-serif;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: #090909;
}
body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid #a98c00; outline-offset: 3px; }

/* ── Layout Utilities ────────────────────────────────────────── */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}
.section-y { padding-block: clamp(3rem, 8vw, 6rem); }
.text-center { text-align: center; }
.text-navy { color: var(--color-navy); }
.text-primary { color: var(--color-primary-text); }
.text-muted { color: var(--color-muted); }
.text-white { color: #ffffff; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.w-full { width: 100%; }
.justify-center { justify-content: center; }

/* ── Typography ──────────────────────────────────────────────── */
.font-display, h1, h2, h3, h4 { font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-primary);
  color: #090909;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: filter 0.15s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary:hover { filter: brightness(0.94); }
.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background-color: var(--color-primary);
  color: #090909;
  border-radius: 0.625rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  transition: filter 0.15s;
}
.btn-primary-sm:hover { filter: brightness(0.94); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background 0.15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-phone:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── Icons ───────────────────────────────────────────────────── */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.star-icon { width: 1rem; height: 1rem; color: var(--color-primary-text); }
.home-hero .star-icon,
.trust-bar .star-icon,
.bg-secondary .star-icon { color: var(--color-primary); }
.arrow-icon { width: 1rem; height: 1rem; transition: transform 0.2s; }

/* ── Grid Overlay (industrial pattern) ──────────────────────── */
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    linear-gradient(var(--color-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-primary) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #090909;
  background-color: var(--color-secondary, #090909);
  opacity: 1;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2px 0 auto;
  height: 3px;
  background: #090909;
  pointer-events: none;
}
.site-header.scrolled,
.site-header.menu-open {
  background-color: #090909;
  background-color: var(--color-secondary, #090909);
  box-shadow: var(--shadow-xl);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}
.brand-logo {
  width: clamp(10.5rem, 22vw, 14.5rem);
  height: auto;
  max-height: 3.5rem;
  object-fit: contain;
  object-position: left center;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.nav-btn:hover { color: #fff; }
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }
.chevron-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

/* Dropdown panels */
.nav-dropdown-wrap { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.75rem;
  z-index: 100;
}
.nav-dropdown-wrap:hover .dropdown-panel { display: block; }
.services-panel {
  left: 50%;
  transform: translateX(-50%);
  max-width: min(460px, calc(100vw - 2rem));
}
.services-panel .services-grid {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 0.75rem;
  width: min(460px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
}
.dropdown-item {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
  text-decoration: none;
}
.dropdown-item:hover { background: var(--color-slate-50); }
.dropdown-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.dropdown-item:hover .dropdown-item-title { color: var(--color-primary-text); }
.dropdown-item-desc { display: none; }
.areas-panel .areas-pills {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 1rem;
  width: 18rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-slate-200);
  border-radius: 9999px;
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.area-pill:hover { border-color: var(--color-primary-text); color: var(--color-primary-text); }
.header-cta { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .header-cta { display: flex; } }

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0.5rem;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  background-color: var(--color-secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-inner { padding-block: 1rem; }
.mobile-acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-acc-panel { padding: 0 0 0.5rem 1rem; }
.mobile-sub-link {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-sub-link:hover { color: #fff; }
.mobile-area-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 0.5rem; }
.mobile-area-pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s;
}
.mobile-area-pill:hover { border-color: rgba(255,255,255,0.5); }
.mobile-nav-link {
  display: block;
  color: #fff;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.25rem;
}
.border-top { border-top: 1px solid rgba(255,255,255,0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background-color: var(--color-secondary); color: #fff; }
.footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.footer-brand-logo { width: min(100%, 16rem); height: auto; }
.footer-grid {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-about {
  max-width: 22rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-heading {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-areas { display: flex; flex-wrap: wrap; gap: 0.65rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: span 1; }
}
.footer-biz-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; max-width: 20rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact-item:hover { color: #fff; }
.footer-icon { width: 1rem; height: 1rem; color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }
.footer-col-title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--color-primary); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-links a,
.footer-links button {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.45rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-area-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-pill-sm {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.area-pill-sm:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.footer-license { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.6); display: flex; flex-direction: column; gap: 0.25rem; }
.footer-social-row { display: flex; gap: 0.625rem; margin-top: 1.25rem; flex-wrap: wrap; }
.social-icon-link {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.social-icon-link:hover { background: var(--color-primary); color: #090909; border-color: var(--color-primary); }
.social-svg { width: 1.125rem; height: 1.125rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; } }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-widget { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50; }
.chat-panel {
  margin-bottom: 0.75rem;
  width: 430px;
  max-width: calc(100vw - 2.5rem);
  max-height: calc(100vh - 7rem);
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-stone-200);
  overflow: hidden;
  animation: fade-up 0.2s ease;
}
.chat-header {
  padding: 1rem 1.25rem;
  background-color: var(--color-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-title { font-family: var(--font-display); font-weight: 600; }
.chat-header-sub { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.chat-close { color: rgba(255,255,255,0.7); transition: color 0.15s; }
.chat-close:hover { color: #fff; }
.chat-body { padding: 1.25rem; max-height: calc(100vh - 12rem); overflow-y: auto; overscroll-behavior: contain; }
.chat-form { display: flex; flex-direction: column; gap: 0.75rem; }
.chat-intro { font-size: 0.875rem; color: var(--color-muted); }
.chat-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-field { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; color: #333; }
.form-field small { font-weight: 400; color: var(--color-muted); }
.chat-consent { font-size: .72rem; line-height: 1.55; color: #4b5563; }
.chat-consent a { color: #594a00; text-decoration: underline; }
.chat-consents { display: grid; gap: 0.75rem; margin: 0; padding: 0; border: 0; }
.chat-consent-option { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; cursor: pointer; }
.chat-consent-option input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--color-primary-text); }
.chat-consent-option span { font-size: 0.7rem; line-height: 1.5; color: #4b5563; }
.chat-consent-option a { color: #594a00; text-decoration: underline; }
.chat-consent-option a:hover { color: #090909; }
.chat-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.chat-thanks { text-align: center; padding: 1.5rem 0; }
.chat-thanks-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.chat-thanks-title { font-family: var(--font-display); font-weight: 600; color: var(--color-navy); }
.chat-fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #090909;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2xl);
  transition: filter 0.15s;
  border: none;
  cursor: pointer;
}
.chat-fab:hover { filter: brightness(0.94); }

/* ============================================================
   FORMS
   ============================================================ */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-slate-200);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-navy);
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}
.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;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary-text);
}
.form-textarea { resize: none; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.consent-label { display: flex; align-items: flex-start; gap: 0.625rem; cursor: pointer; }
.consent-checkbox { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; accent-color: var(--color-primary); }
.consent-text { font-size: 0.75rem; color: var(--color-muted); line-height: 1.6; }
.consent-link { color: var(--color-primary-text); text-decoration: underline; }
.form-error { font-size: 0.75rem; color: #dc2626; }
.form-disclaimer { font-size: 0.75rem; text-align: center; color: var(--color-muted); padding-top: 0.25rem; }

.chat-intake-card {
  background: #fff;
  color: var(--color-navy);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
}
.chat-intake-card p { margin: .75rem 0 1rem; color: #4b5563; line-height: 1.65; }
.chat-intake-card .chat-intake-note { margin: .75rem 0 0; font-size: .75rem; text-align: center; }
.hero-mobile-phone { display: none; }
.nav-link-button, .footer-link-button, .footer-contact-button { color: inherit; font: inherit; text-align: left; }
.nav-link-button { padding: .5rem 1rem; color: rgba(255,255,255,.9); }
.nav-link-button:hover { color:#fff; }
.footer-contact-button { min-height: 2.75rem; padding-block: .55rem; }
.footer-link-button { min-height: 2.75rem; padding-block: .55rem; }
.footer-link-button:hover, .footer-contact-button:hover { color: #fff; }
.page-hero-content { position: relative; max-width: 50rem; }
.page-hero-sub { margin: 1rem 0 1.5rem; max-width: 44rem; color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.7; }

/* Lead form wrappers */
.lead-form-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-slate-200);
  padding: 1.5rem;
}
@media (min-width: 768px) { .lead-form-card { padding: 1.75rem; } }
.lead-form-full {
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-slate-200);
  padding: 1.5rem;
}
@media (min-width: 768px) { .lead-form-full { padding: 2rem; } }
.lead-form-header { margin-bottom: 1.25rem; }
.lead-form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-navy); }
.lead-form-sub { font-size: 0.875rem; color: var(--color-muted); margin-top: 0.25rem; }
.lead-form-fields { display: flex; flex-direction: column; gap: 0.75rem; }
.lead-form-success { text-align: center; padding: 1.5rem 0; }
.lead-form-success-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.lead-form-success-title { font-family: var(--font-display); font-weight: 600; color: var(--color-navy); font-size: 1.125rem; }
.lead-form-success-sub { font-size: 0.875rem; color: var(--color-muted); margin-top: 0.5rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { max-width: 48rem; margin-bottom: 3rem; }
.section-header.text-center { margin-inline: auto; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-text);
  margin-bottom: 0.75rem;
}
.bg-secondary .section-eyebrow { color: var(--color-primary); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.section-subtitle { margin-top: 1rem; font-size: 1.125rem; line-height: 1.6; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  position: relative;
  z-index: 1;
  background-color: var(--color-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -2px 0 var(--color-secondary);
}
.trust-bar-inner {
  padding-block: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .trust-bar-inner { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-icon { width: 1.25rem; height: 1.25rem; color: var(--color-primary); flex-shrink: 0; }
.trust-label { color: #fff; font-weight: 600; font-size: 0.875rem; line-height: 1.3; }
.trust-sub { color: rgba(255,255,255,0.6); font-size: 0.75rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background-color: var(--color-secondary);
  color: #fff;
  padding-block: clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.cta-inner { max-width: 48rem; margin-inline: auto; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.cta-subtitle { color: rgba(255,255,255,0.75); font-size: 1.125rem; margin-bottom: 2rem; line-height: 1.6; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-2xl);
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.0625rem;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon { width: 1.25rem; height: 1.25rem; color: var(--color-primary-text); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { color: var(--color-muted); margin-top: 0.75rem; line-height: 1.7; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.process-connector {
  display: none;
  position: absolute;
  top: 1.75rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--color-stone-200);
}
@media (min-width: 768px) { .process-connector { display: block; } }
.process-step { text-align: center; }
.process-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.process-step-title { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--color-navy); }
.process-step-desc { font-size: 0.875rem; color: var(--color-muted); margin-top: 0.375rem; max-width: 14rem; margin-inline: auto; }

/* ============================================================
   SERVICE CARD
   ============================================================ */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-stone-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
}
.service-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-4px); }
.service-card-img-wrap { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); }
.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-navy); margin-bottom: 0.5rem; }
.service-card-desc { font-size: 0.875rem; color: var(--color-muted); flex: 1; }
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-text);
}
.service-card:hover .arrow-icon { transform: translateX(4px); }

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-wrap { border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--color-stone-200); box-shadow: var(--shadow-md); background:#fff; }
.map-iframe { width: 100%; height: 420px; display: block; border: none; } /* height overridden by CONFIG.maps.mapHeight via inline style */
.map-caption { margin:0; padding:1rem 1.25rem; color:#4b5563; font-size:.875rem; line-height:1.6; border-top:1px solid var(--color-slate-200); }
.service-area-layout { display:grid; gap:2rem; align-items:start; }
.service-area-map { min-width:0; }
@media (min-width: 900px) {
  .service-area-layout { grid-template-columns:minmax(0,.8fr) minmax(28rem,1.2fr); }
  .service-area-copy .section-header { margin-inline:0; text-align:left; }
  .service-area-copy .areas-chips { justify-content:flex-start; }
}

/* ============================================================
   STAR RATING
   ============================================================ */
.stars { display: flex; gap: 2px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes chat-bounce {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-12px); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-10px); }
  80% { transform: translateY(-4px); }
}
.chat-bounce { animation: chat-bounce 1.1s ease; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.2s ease; }

/* ============================================================
   HERO SECTION (shared base)
   ============================================================ */
.home-hero { background-color: #090909; }
.page-hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  color: #fff;
  overflow: hidden;
  background-color: var(--color-secondary);
}
.page-hero-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; }

/* ============================================================
   PROSE (privacy / terms pages)
   ============================================================ */
.prose { font-size: 0.9375rem; line-height: 1.75; }
.prose p { margin-bottom: 1rem; color: #374151; }
.prose ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.prose li { margin-bottom: 0.25rem; }
.prose strong { color: var(--color-navy); font-weight: 600; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.25rem; margin-bottom: 0.5rem; }
.prose a { color: var(--color-primary-text); text-decoration: underline; }
.prose-section { margin-bottom: 2rem; }
.prose-box {
  background: #fafaf9;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.prose-contact-box {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #fafaf9;
  border: 1px solid var(--color-stone-200);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-navy);
  line-height: 1.8;
}
.prose-info-grid {
  background: #fff;
  border: 1px solid var(--color-stone-200);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* ============================================================
   UTILITY BACKGROUNDS
   ============================================================ */
.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-secondary { background-color: var(--color-secondary); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
.lg-hidden { display: block; }
@media (min-width: 1024px) { .lg-hidden { display: none; } }
.lg-show { display: none; }
@media (min-width: 1024px) { .lg-show { display: block; } }

/* ============================================================
   HORIZONTAL PROJECT GALLERY
   Shared by the home page and our-work page.
   ============================================================ */
.gallery-section { overflow: hidden; }
.horizontal-gallery {
  --gallery-gutter: max(clamp(1rem, 5vw, 2.5rem), calc((100vw - 1280px) / 2 + 2.5rem));
  width: 100%;
}
.gallery-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gallery-instruction {
  color: var(--color-muted);
  font-size: 0.9rem;
}
.gallery-nav { display: flex; gap: 0.65rem; flex: 0 0 auto; }
.gallery-arrow {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-slate-200);
  border-radius: 9999px;
  background: #fff;
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: var(--color-primary-text);
  color: var(--color-primary-text);
}
.gallery-arrow:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}
.gallery-arrow svg { width: 1.3rem; height: 1.3rem; }
.gallery-rail {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gallery-gutter);
  padding: 0.25rem var(--gallery-gutter) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-text) var(--color-slate-100);
}
.gallery-rail::-webkit-scrollbar { height: 0.55rem; }
.gallery-rail::-webkit-scrollbar-track { background: var(--color-slate-100); }
.gallery-rail::-webkit-scrollbar-thumb { background: var(--color-primary-text); border-radius: 9999px; }
.gallery-card {
  position: relative;
  flex: 0 0 min(68vw, 48rem);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--color-secondary);
  box-shadow: var(--shadow-xl);
  color: #fff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}
.gallery-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
a.gallery-card:hover .gallery-image,
a.gallery-card:focus-visible .gallery-image { transform: scale(1.035); }
.gallery-card-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
  text-align: left;
}
.gallery-card-caption small {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-card-caption strong {
  max-width: 34rem;
  font: 700 clamp(1.15rem, 2.5vw, 2rem)/1.15 var(--font-display);
  text-wrap: balance;
}
@media (max-width: 639px) {
  .gallery-control-row { align-items: flex-end; }
  .gallery-instruction { max-width: 12rem; }
  .gallery-card { flex-basis: 78vw; aspect-ratio: 4 / 5; }
  .gallery-card-caption { padding: 1.2rem; }
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */
.motion-ready .scroll-reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.58s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform 0.58s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
}
.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Generic template mobile-first refinements. The base template already uses
   progressive min-width breakpoints; these protect the primary conversion UI
   on narrow 320-430px devices. */
@media (max-width: 639px) {
  .header-inner { height: 4.5rem; }
  .brand-logo { width: min(72vw, 12rem); max-height: 3rem; }
  main .home-hero { min-height: calc(100svh - 4.5rem); }
  .home-hero .hero-inner { gap: 1.15rem; padding-top: 1.25rem; padding-bottom: 1.4rem; }
  .home-hero .hero-proof-pill { margin-bottom: 0.9rem; padding: 0.45rem 0.8rem; font-size: 0.8rem; }
  .home-hero .hero-headline { margin-bottom: 0.9rem; font-size: clamp(1.95rem, 9.2vw, 2.4rem); line-height: 1.08; }
  .home-hero .hero-sub { font-size: 0.96rem; line-height: 1.55; }
  .home-hero .hero-bullets { gap: 0.5rem; margin: 1.05rem 0 0; }
  .home-hero .hero-bullets li { gap: 0.55rem; font-size: 0.875rem; line-height: 1.42; }
  .home-hero .hero-chat-card { max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .home-hero .hero-chat-card > h2,
  .home-hero .hero-chat-card > p { display: none; }
  .home-hero .hero-chat-card .btn-primary { min-height: 3rem; }
  .hero-mobile-phone { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3rem; margin-top: 0.65rem; padding: 0.75rem 1rem; border: 1.5px solid rgba(255,255,255,0.75); border-radius: 0.55rem; background: rgba(9,9,9,0.55); color: #fff; font-size: 0.9rem; font-weight: 700; text-align: center; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
  .hero-mobile-phone:hover,
  .hero-mobile-phone:focus-visible { border-color: #fff; background: rgba(9,9,9,0.78); }
  .hero-btns { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-btns .btn { justify-content: center; min-height: 3.25rem; }
  .comparison-grid, .diff-grid, .services-grid-home, .reviews-grid { gap: 0.9rem; }
  .lead-form-card, .lead-form-full { padding: 1rem; border-radius: 0.75rem; }
  .form-input, .form-select, .form-textarea { font-size: 16px; }
  .mobile-drawer { max-height: calc(100vh - 4.5rem); overflow-y: auto; }
  .mobile-cta-row .btn { min-height: 3rem; }
  .chat-fab { width: 3.5rem; height: 3.5rem; right: 1rem; bottom: 1rem; }
  .chat-widget { left: .75rem; right: .75rem; bottom: .75rem; }
  .chat-panel { width: 100%; max-width: none; max-height: calc(100vh - 5.5rem); }
  .chat-body { max-height: calc(100vh - 10.5rem); }
  .chat-field-grid { grid-template-columns: 1fr; }
  .chat-fab { margin-left: auto; }
  .footer-grid { padding-block: 3rem; gap: 2.75rem; }
  .footer-grid > div { min-width: 0; }
  .footer-heading { margin-bottom: 0.75rem; }
  .footer-links { gap: 0.35rem; }
  .footer-links a,
  .footer-links button { min-height: 3rem; padding-block: 0.65rem; }
  .footer-areas { gap: 0.75rem 0.6rem; }
  .area-pill-sm { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .scroll-reveal { opacity: 1 !important; transform: none !important; }
}
