/* ==========================================================================
   Success Construction — Design System
   Navy / amber, architectural-premium, blueprint-line motif.
   No external fonts or images (offline-safe): system font stack + inline SVG.
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #0a1a2e;
  --navy-900: #0d2340;
  --navy-800: #123054;
  --navy-700: #1a4270;
  --navy-100: #e7edf5;
  --amber-500: #e2861f;
  --amber-400: #f0a13f;
  --amber-100: #fdf1de;
  --ink: #14212f;
  --ink-soft: #45566a;
  --paper: #faf8f4;
  --paper-dim: #f1ede4;
  --white: #ffffff;
  --line: #dfe3e8;
  --success: #2f7a4f;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.85rem + 1.9vw, 3.5rem);
  --step-5: clamp(2.75rem, 2.1rem + 2.9vw, 4.5rem);

  /* Layout */
  --maxw: 1240px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 26, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 26, 46, 0.18);
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.15s;
  --dur-base: 0.25s;
  --dur-slow: 0.6s;
}

@media (prefers-color-scheme: dark) {
  /* Site is intentionally single-theme (brand navy/paper); we keep body bg explicit
     so a dark OS preference never yields a mismatched browser chrome. */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; transition: color var(--dur-fast) ease; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; color: var(--navy-950); }
/* Consistent type scale for every heading level, so a heading's size always
   reflects its rank rather than falling back to unstyled UA defaults (which
   was producing noticeably mismatched sizes between similar sections). More
   specific selectors (.hero h1, .cta-banner h2, .service-card h3, etc.)
   intentionally override these for their own context. */
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--navy { background: var(--navy-950); color: var(--white); }
.section--navy p { color: #c3cee0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--paper-dim { background: var(--paper-dim); }

/* Base icon badge — sensible default size/shape so any bare .icon-badge
   (a plain div wrapping an inline SVG icon) renders consistently even
   outside a context that redeclares its own size. More specific rules
   below (.service-card .icon-badge, .feature-row .icon-badge, etc.)
   override this for their own denser/lighter contexts. */
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--amber-100);
  color: #a8570f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base) ease;
}
.icon-badge svg { width: 28px; height: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber-500);
  display: inline-block;
}

.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 62ch; }
.section--navy .lede { color: #c3cee0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber-500);
  color: var(--navy-950);
  padding: 12px 18px;
  font-weight: 700;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, opacity var(--dur-fast) ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--amber-500); color: var(--navy-950); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--amber-400); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-ghost-navy { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn-ghost-navy:hover { background: var(--navy-950); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover svg { transform: translateX(2px); }

/* Loading state (form submit) */
.btn[data-loading="true"] { pointer-events: none; opacity: 0.85; }
.btn[data-loading="true"] .btn-label { opacity: 0.75; }
.btn-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(10, 26, 46, 0.3);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  flex: none;
  animation: btn-spin 0.7s linear infinite;
}
.btn[data-loading="true"] .btn-spinner { display: inline-block; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  min-height: var(--header-h);
}
/* The frosted-glass effect lives on a pseudo-element rather than directly on
   .site-header: backdrop-filter on an element makes IT a containing block
   for its own position:fixed descendants (per spec), which was trapping the
   mobile nav panel's "fixed, full-viewport" overlay inside the ~76px-tall
   header box instead of covering the screen. Keeping backdrop-filter off the
   real ancestor of .nav-primary avoids that while keeping the same look. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 46, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  z-index: -1;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text small { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-400); }

.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-primary > ul { display: flex; align-items: center; gap: 2px; }
.nav-primary a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #dbe3ee;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color .15s ease, color .15s ease;
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { background: rgba(255,255,255,0.08); color: var(--white); }

.has-dropdown { position: relative; }
.has-dropdown > a { display: flex; align-items: center; gap: 6px; }
.has-dropdown .chev { width: 11px; height: 11px; transition: transform .15s ease; }
.has-dropdown[data-open="true"] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown[data-open="true"] .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a { color: var(--navy-900); padding: 12px 14px; border-radius: 8px; display: block; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper-dim); }
.dropdown a small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.8125rem; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}
.tel-link svg { width: 18px; height: 18px; color: var(--amber-400); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 9px;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* Mobile nav
   Breakpoint is 1150px, not the more common 960/1024px: below that width the
   full desktop nav (7 links + dropdown chevron + phone number) doesn't have
   enough room and "Service Areas" / the phone number wrap to a second line,
   overflowing the fixed-height sticky header. Switching to the hamburger
   earlier avoids that dead zone entirely rather than shrinking type to fit. */
@media (max-width: 1150px) {
  .nav-primary { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-950); flex-direction: column; align-items: stretch; padding: 12px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform var(--dur-base) var(--ease-out); }
  .nav-primary[data-open="true"] { transform: translateX(0); }
  .nav-primary > ul { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-primary a { padding: 14px 12px; font-size: 1.0625rem; width: 100%; }
  .dropdown { position: static; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,0.04); margin: 4px 0 8px 12px; }
  .has-dropdown[data-open="true"] .dropdown { display: block; }
  /* .dropdown a defaults to navy text for the white desktop panel; on mobile
     the panel sits on the dark nav background instead, so it needs light text. */
  .dropdown a { color: var(--white); }
  .dropdown a:hover, .dropdown a:focus-visible { background: rgba(255,255,255,0.08); }
  .dropdown a small { color: #a9b8cc; }
  .mobile-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .header-actions .tel-link.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1151px) {
  .mobile-cta { display: none; }
  .nav-primary a, .tel-link { white-space: nowrap; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(226,134,31,0.20), transparent 60%), linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(64px, 12vw, 132px) 0 clamp(72px, 10vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/texture-lowpoly.jpg") center 30%/cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 60H120M60 0V120'/%3E%3Cpath d='M0 0L120 120M120 0L0 120'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.5;
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: var(--step-5); color: var(--white); max-width: 15ch; }
.hero .lede { color: #d6dfec; margin-bottom: 28px; }

/* Above-the-fold entrance — plays once on load rather than on scroll,
   since hero/page-header content is visible immediately. */
@keyframes fade-up-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lede, .hero-cta, .hero-trust, .hero-art { animation: fade-up-in 0.7s var(--ease-out) both; }
.hero .eyebrow { animation-delay: 0.02s; }
.hero h1 { animation-delay: 0.08s; }
.hero .lede { animation-delay: 0.16s; }
.hero-cta { animation-delay: 0.24s; }
.hero-trust { animation-delay: 0.32s; }
.hero-art { animation-delay: 0.12s; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.hero-trust .stat { display: flex; align-items: center; gap: 10px; }
.hero-trust .stat strong { display: block; font-size: 1.5rem; color: var(--white); font-weight: 800; }
.hero-trust .stat span { font-size: 0.8125rem; color: #a9b8cc; }
.hero-trust svg { width: 26px; height: 26px; color: var(--amber-400); flex: none; }

.hero-art { position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.hero-art svg { width: 100%; height: 100%; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; order: -1; }
}

/* Sub-page header (no hero image, blueprint style) */
.page-header {
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: clamp(56px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/texture-lowpoly.jpg") center 20%/cover no-repeat;
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 45H90M45 0V90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 90px 90px;
  opacity: .6;
}
.page-header .container { position: relative; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8125rem; color: #a9b8cc; margin-bottom: 18px; }
.breadcrumbs a { color: #a9b8cc; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-hidden] { color: #5c6d82; }
.page-header h1 { color: var(--white); font-size: var(--step-4); max-width: 26ch; }
.page-header .lede { color: #cbd6e6; max-width: 62ch; margin-bottom: 0; }
.page-header .breadcrumbs, .page-header .eyebrow, .page-header h1, .page-header .lede, .page-header .hero-cta { animation: fade-up-in 0.6s var(--ease-out) both; }
.page-header .breadcrumbs { animation-delay: 0s; }
.page-header .eyebrow { animation-delay: 0.05s; }
.page-header h1 { animation-delay: 0.1s; }
.page-header .lede { animation-delay: 0.18s; }
.page-header .hero-cta { animation-delay: 0.26s; }

/* ---------------- Grid / cards ---------------- */
.grid { display: grid; gap: 28px; }
.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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover .icon-badge { transform: scale(1.06); }

.service-card { position: relative; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; }
.service-card .icon-badge { width: 56px; height: 56px; border-radius: 14px; background: var(--amber-100); color: #a8570f; }
.service-card .icon-badge svg { width: 30px; height: 30px; }
.service-card h3 { font-size: var(--step-2); margin-bottom: 6px; }
.service-card .card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); }
.service-card .card-link svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.service-card:hover .card-link svg { transform: translateX(4px); }
.service-card:hover .icon-badge { transform: scale(1.06); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { justify-content: center; }

/* ---------------- Why us / features ---------------- */
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .icon-badge { width: 48px; height: 48px; border-radius: 12px; background: rgba(226,134,31,0.14); color: var(--amber-400); display: flex; align-items: center; justify-content: center; flex: none; }
.feature-row .icon-badge svg { width: 26px; height: 26px; }
.feature-row h3 { font-size: var(--step-1); margin-bottom: 6px; color: var(--white); }
.section--navy .feature-row p { color: #b9c6da; margin: 0; }

/* Value / theme tiles — small icon + label grids (e.g. "Honest / Responsive
   / Fairly Priced / Skilled", "Honesty & trustworthiness / …") */
.value-tile { text-align: center; align-items: center; }
.value-tile .icon-badge { margin: 0 auto; background: rgba(226,134,31,0.14); color: var(--amber-400); }
.value-tile h3 { font-size: 1.0625rem; color: var(--white); }
.theme-tile .icon-badge { margin: 0 auto 12px; }
.theme-tile h3 { font-size: 1.0625rem; }

/* Quote / testimonial block on light sections */
.quote-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.quote-block .stars, .review-card .stars { color: var(--amber-500); display: flex; gap: 3px; margin-bottom: 14px; }
.quote-block .stars svg, .review-card .stars svg { width: 18px; height: 18px; }
.quote-block p.quote-text { color: var(--ink); font-size: 1.0625rem; margin-bottom: 16px; }
.quote-block .who { display: flex; align-items: center; gap: 12px; }
.quote-block .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-900); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.quote-block .who strong { display: block; font-size: 0.9375rem; color: var(--navy-950); }
.quote-block .who span { font-size: 0.8125rem; color: var(--ink-soft); }

/* Reviews page: full quotes */
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }

/* Trust bar */
.trust-bar { background: var(--amber-100); border-bottom: 1px solid rgba(226,134,31,0.25); }
.trust-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding: 12px 24px; font-weight: 700; color: var(--navy-950); font-size: 0.9375rem; text-align: center; }
.trust-bar .stars { display: inline-flex; gap: 2px; color: var(--amber-500); }
.trust-bar .stars svg { width: 16px; height: 16px; }
.trust-bar a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url("../img/texture-lowpoly.jpg") center/cover no-repeat; opacity: 0.12; mix-blend-mode: overlay; pointer-events: none; }
.cta-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(226,134,31,0.28), transparent 70%); }
.cta-banner h2 { color: var(--white); margin-bottom: 6px; font-size: var(--step-2); }
.cta-banner p { color: #c3cee0; margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Service areas */
.area-pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-pill { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.875rem; color: var(--navy-900); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy-950);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font: inherit; color: inherit; }
.faq-item summary .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--paper-dim); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .2s ease, background-color .2s ease; }
.faq-item summary .plus svg { width: 14px; height: 14px; color: var(--navy-900); }
.faq-item[open] summary .plus { background: var(--amber-500); transform: rotate(45deg); }
.faq-item[open] summary .plus svg { color: var(--navy-950); }
.faq-item .faq-answer { padding: 0 4px 24px; max-width: 68ch; }

/* Form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.875rem; color: var(--navy-950); margin-bottom: 6px; }
.field .required { color: #a8570f; } /* darker than --amber-500 for WCAG AA contrast on white (4.7:1 vs 2.7:1) */
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b7c0cb; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(26,66,112,0.12);
}
.field-hint { font-size: 0.8125rem; color: var(--ink-soft); margin-top: 6px; }

/* Validation state */
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #a83232;
  margin-top: 6px;
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #d15757;
  background: #fdf6f6;
}
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(168,50,50,0.12);
}
.field.has-error .field-error { display: flex; }

@keyframes form-shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.form-card.shake { animation: form-shake 0.45s var(--ease-standard); }

.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-weight: 600; display: none; opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.form-status.is-visible { display: block; opacity: 1; transform: none; }
.form-status.success { background: #e7f5ec; color: var(--success); }
.form-status.error { background: #fbeaea; color: #a83232; }

/* Contact info cards */
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-card .icon-badge { width: 44px; height: 44px; border-radius: 10px; background: var(--amber-100); color: #a8570f; display: flex; align-items: center; justify-content: center; flex: none; }
.info-card .icon-badge svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; }
.info-card a { color: var(--navy-900); font-weight: 700; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-950); color: #c3cee0; padding: 64px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("../img/texture-lowpoly.jpg") center 80%/cover no-repeat; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; color: #9fb0c6; }
.site-footer h3 { color: var(--white); font-size: 0.9375rem; margin-bottom: 16px; letter-spacing: 0.02em; font-weight: 800; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #b6c3d6; text-decoration: none; font-size: 0.9375rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-cta { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 18px; }
.footer-cta p { color: #e6ecf5; font-weight: 700; margin-bottom: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; font-size: 0.8125rem; color: #7d90a8; }
.footer-bottom a { color: #7d90a8; }

/* Sticky mobile CTA */
.mobile-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  gap: 10px;
}
@media (max-width: 720px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 68px; }
}
.mobile-sticky-cta .btn { flex: 1; padding: 13px 12px; font-size: 0.875rem; }
/* The contact page IS the quote form — a redundant sticky CTA bar over it
   just eats space while someone is filling the form in. */
body.no-sticky-cta .mobile-sticky-cta { display: none; }
@media (max-width: 720px) {
  body.no-sticky-cta { padding-bottom: 0; }
}

/* Reveal-on-scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--paper-dim); color: var(--ink-soft); padding: 5px 10px; border-radius: 6px; }

/* Print */
@media print {
  .site-header, .site-footer, .mobile-sticky-cta, .hero-art { display: none !important; }
}
