/* =============================================================
   VO BUILD CORP — DESIGN SYSTEM
   Blue + white. Manrope (display) + Inter (body). Trusted local
   contractor brand built around the house+VO mark.
   ============================================================= */

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

:root {
  /* ---- Colors ---- */
  --bg-app: #fcfcfd;
  --bg-surface: #ffffff;
  --bg-elev: #f0f5fa;          /* light blue tint */
  --bg-deep: #e3edf6;
  --bg-navy: #1f3d5c;          /* deep brand navy for footer / cta strip */

  --ink: #1f3d5c;              /* navy (matches BUILD CORP wordmark) */
  --ink-muted: #5a6e85;
  --ink-soft: #8a99ad;
  --ink-faint: #c0cad8;

  --hairline: #e1e8f0;
  --hairline-strong: #c5d2e0;

  --brand: #3680b3;            /* logo blue — primary brand color */
  --brand-bright: #4d97c8;
  --brand-deep: #1f3d5c;       /* navy used for hover and headings */
  --brand-soft: #e6f0fa;       /* very light blue background tint */
  --brand-tint: #c9dded;       /* light blue accent fill */

  --gold: #c8961f;             /* star rating gold */
  --ok: #4a8b6f;
  --warn: #c8961f;
  --err: #b8492f;

  /* ---- Typography ---- */
  --font-display: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --radius: 0;
  --radius-sm: 0;
  --radius-lg: 0;
  --radius-pill: 3px;          /* tiny softness on CTAs only */
  --container: 1200px;
  --container-narrow: 760px;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(31, 61, 92, 0.05), 0 0 0 1px rgba(31, 61, 92, 0.04);
  --shadow-md: 0 4px 14px rgba(31, 61, 92, 0.08), 0 0 0 1px rgba(31, 61, 92, 0.04);
  --shadow-lg: 0 14px 40px rgba(31, 61, 92, 0.14), 0 0 0 1px rgba(31, 61, 92, 0.04);
  --shadow-brand: 0 6px 20px rgba(54, 128, 179, 0.25);
}

/* ============== BASE ============== */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--brand-soft); color: var(--brand-deep); }

a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius);
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.25; font-weight: 700; }
h4 { font-size: 1.05rem; line-height: 1.35; font-weight: 700; }

h1 em, h2 em { font-style: normal; color: var(--brand); }

p { margin: 0; color: var(--ink-muted); }

button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }

@media (min-width: 720px) {
  .container { padding: 0 40px; }
}

/* ============== UTILITIES ============== */
.tabular { font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px; font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  border: 1px solid var(--brand-tint);
}
.eyebrow-pill .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* ============== LOGO (inline SVG component) ============== */
/* Used inline as <span class="vo-logo">[svg]</span> across nav, footer, hero. */
.vo-logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--brand);
  line-height: 1;
}
.vo-logo svg { display: block; flex: 0 0 auto; }
.vo-logo .vo-mark { width: 38px; height: auto; }
.vo-logo-text {
  display: inline-flex; flex-direction: column; gap: 2px;
  line-height: 1;
}
.vo-logo-text .vo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vo-logo-text .vo-tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.vo-logo-stacked { flex-direction: column; gap: 16px; }
.vo-logo-stacked .vo-mark { width: 92px; }
.vo-logo-stacked .vo-logo-text { align-items: center; gap: 4px; }
.vo-logo-stacked .vo-logo-text .vo-name { font-size: 32px; }
.vo-logo-stacked .vo-logo-text .vo-tagline { font-size: 12px; }

/* On dark backgrounds */
.vo-logo.on-dark .vo-logo-text .vo-name { color: #fff; }
.vo-logo.on-dark .vo-logo-text .vo-tagline { color: var(--brand-bright); }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 253, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 200ms var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.nav-links {
  display: none;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
}
.nav-links a { transition: color 150ms ease; position: relative; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta-row { display: inline-flex; align-items: center; gap: 10px; }
.nav-phone {
  display: none;
  align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  padding: 9px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.nav-phone:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.nav-phone .material-symbols-outlined { font-size: 18px; color: var(--brand); }

.nav-cta {
  display: none;
  align-items: center; gap: 8px;
  padding: 11px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px; font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 150ms ease, background 200ms var(--ease-out), box-shadow 200ms ease;
}
.nav-cta:hover { background: var(--brand-deep); box-shadow: var(--shadow-brand); }
.nav-cta:active { transform: scale(0.97); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background 150ms ease;
}
.nav-toggle:hover { background: var(--bg-elev); }
.nav-toggle .material-symbols-outlined {
  font-size: 28px; transition: transform 200ms var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .material-symbols-outlined { transform: rotate(90deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--bg-app);
  padding: 12px 24px 24px;
}
.nav-mobile.open {
  display: block;
  animation: fade-up 220ms var(--ease-out);
}
.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.nav-mobile a[aria-current="page"] { color: var(--brand); }
.nav-mobile-phone {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  font-weight: 600;
  border-bottom: 0;
}
.nav-mobile-phone .material-symbols-outlined { color: var(--brand); }
.nav-mobile-cta {
  display: block;
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  border-bottom: 0;
}

@media (min-width: 760px) {
  .nav-links { display: inline-flex; }
  .nav-phone { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile, .nav-mobile.open { display: none !important; }
}
@media (max-width: 760px) {
  .nav-cta-row { gap: 6px; }
  .vo-logo .vo-mark { width: 32px; }
  .vo-logo-text .vo-name { font-size: 18px; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .hero { padding: 36px 0 56px; }
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(54, 128, 179, 0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(31, 61, 92, 0.06), transparent 60%);
  pointer-events: none;
}
/* Subtle blueprint grid */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31, 61, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 61, 92, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }

.hero h1 { max-width: 18ch; }
.hero-sub {
  max-width: 56ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-muted);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: 0; cursor: pointer;
  transition: transform 150ms ease, background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-deep); box-shadow: 0 8px 28px rgba(54, 128, 179, 0.36); }
.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.btn-ghost {
  background: transparent; color: var(--ink);
}
.btn-ghost:hover { color: var(--brand); }
.btn .material-symbols-outlined { font-size: 18px; }

/* ============== TRUST ROW ============== */
.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 760px) {
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.trust-item .material-symbols-outlined {
  font-size: 22px;
  color: var(--brand);
}

/* ============== SECTIONS ============== */
.section { padding: 80px 0; }
.section-deep { background: var(--bg-deep); }
.section-elev { background: var(--bg-elev); }
.section-navy { background: var(--bg-navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.78); }
.section-navy .eyebrow { color: var(--brand-bright); }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
}

/* ============== SERVICE GRID ============== */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-icon .material-symbols-outlined { font-size: 28px; }
.svc-card h3 { margin-top: 4px; }
.svc-card p { font-size: 15px; line-height: 1.55; }
.svc-card .svc-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand);
  font-weight: 600; font-size: 14px;
  transition: gap 200ms var(--ease-out);
}
.svc-card:hover .svc-link { gap: 10px; }

/* ============== FEATURES ============== */
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 760px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item { padding: 24px 4px; }
.feature-item .material-symbols-outlined {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 14px;
}
.feature-item h3 { margin-bottom: 8px; font-size: 1.2rem; }
.feature-item p { font-size: 15px; line-height: 1.55; }

/* ============== AREAS SERVED ============== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .areas-grid { grid-template-columns: repeat(5, 1fr); } }
.area-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.area-pill:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}
.area-pill .material-symbols-outlined {
  font-size: 16px;
  color: var(--brand);
}

/* ============== GALLERY ============== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--hairline);
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item:nth-child(3n) { aspect-ratio: 4 / 3; }
.gallery-item:nth-child(5n) { aspect-ratio: 1 / 1; }
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-deep));
}
.gallery-placeholder .material-symbols-outlined { font-size: 36px; opacity: 0.7; }
.gallery-placeholder span:last-child {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-muted);
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31, 61, 92, 0.92) 100%);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  display: flex; align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============== ABOUT (homepage) ============== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: minmax(260px, 1fr) 1.4fr;
    gap: 56px;
  }
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  overflow: hidden;
  max-width: 360px;
  margin-inline: auto;
}
@media (min-width: 760px) {
  .about-photo { max-width: none; }
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--bg-elev), var(--bg-deep));
}
.about-photo-placeholder .material-symbols-outlined { font-size: 48px; opacity: 0.6; }
.about-photo-placeholder span:last-child {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
.about-copy h2 {
  margin: 12px 0 18px;
  font-size: 32px;
  line-height: 1.1;
}
@media (min-width: 760px) { .about-copy h2 { font-size: 40px; } }
.about-copy p {
  font-size: 16px;
  color: var(--ink-muted);
  margin: 0 0 16px;
  line-height: 1.6;
  max-width: 56ch;
}
.about-copy p strong { color: var(--ink); }
.about-cta { margin-top: 12px; }

/* ============== TESTIMONIAL ============== */
.testimonial {
  padding: 64px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 14px; left: 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 110px;
  color: var(--brand-soft);
  line-height: 1;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.012em;
}
.testimonial .credit {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}
.testimonial .stars {
  display: inline-flex; gap: 2px;
  margin-bottom: 18px;
  color: var(--gold);
}
.testimonial .stars .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: 'FILL' 1;
}

/* ============== FORM ============== */
.form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
}
@media (min-width: 720px) {
  .form-wrap { padding: 44px 40px; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}
.form-field {
  display: flex; flex-direction: column; gap: 6px;
}
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-field label .req { color: var(--brand); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  background: var(--bg-app);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--ink-soft); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-field input.invalid,
.form-field select.invalid,
.form-field textarea.invalid {
  border-color: var(--err);
  background: rgba(184, 73, 47, 0.04);
}
.form-field .helper {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.form-field .err-msg {
  font-size: 12.5px;
  color: var(--err);
  font-weight: 500;
  display: none;
}
.form-field.has-error .err-msg { display: block; }

.form-submit {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
  padding: 16px 28px;
  background: var(--brand);
  color: #fff;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 200ms var(--ease-out), transform 150ms ease, box-shadow 200ms var(--ease-out);
  box-shadow: var(--shadow-brand);
  width: 100%;
  justify-content: center;
}
@media (min-width: 640px) { .form-submit { width: auto; } }
.form-submit:hover { background: var(--brand-deep); box-shadow: 0 8px 28px rgba(54, 128, 179, 0.36); }
.form-submit:active { transform: scale(0.98); }

.form-success,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}
.form-success.show { display: block; background: rgba(74, 139, 111, 0.10); color: var(--ok); border: 1px solid rgba(74, 139, 111, 0.30); }
.form-error.show { display: block; background: rgba(184, 73, 47, 0.08); color: var(--err); border: 1px solid rgba(184, 73, 47, 0.25); }

/* Full-form success state — replaces the form on successful submit */
.form-success-card {
  padding: 56px 32px;
  text-align: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  border-top: 3px solid var(--brand);
  animation: form-success-in 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.form-success-card[hidden] { display: none; }
.form-success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
}
.form-success-icon .material-symbols-outlined {
  font-size: 64px;
  font-variation-settings: 'FILL' 1, 'wght' 500;
}
.form-success-card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
  color: var(--brand-deep);
}
.form-success-card > p {
  max-width: 480px;
  margin: 0 auto 12px;
  color: var(--ink);
  line-height: 1.55;
  font-size: 15px;
}
.form-success-card > p strong { color: var(--brand-deep); }
.form-success-urgent {
  font-size: 14px;
  color: var(--ink-muted) !important;
}
.form-success-urgent a {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.form-success-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
@keyframes form-success-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-success-card { animation: none; }
}

/* ============== CTA STRIP ============== */
.cta-strip {
  padding: 72px 0;
  background: var(--bg-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(54, 128, 179, 0.30), transparent 50%);
  pointer-events: none;
}
.cta-strip > .container { position: relative; }
.cta-strip h2 { color: #fff; max-width: 22ch; }
.cta-strip h2 em { color: var(--brand-bright); }
.cta-strip p { color: rgba(255, 255, 255, 0.75); margin-top: 18px; max-width: 50ch; }
.cta-strip-row {
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 760px) {
  .cta-strip-row {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 40px;
  }
}
.cta-strip-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-strip .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.30);
}
.cta-strip .btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ============== FOOTER ============== */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline-strong);
}
@media (max-width: 759px) { .footer { padding: 40px 0 24px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 480px) and (max-width: 759px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-brand .lede {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 36ch;
}
.footer-contact { margin-top: 18px; display: grid; gap: 10px; }
.footer-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.footer-contact a:hover { color: var(--brand); }
.footer-contact .material-symbols-outlined { font-size: 18px; color: var(--brand); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--ink); }
.footer-col a:hover { color: var(--brand); }
@media (max-width: 759px) {
  .footer-col ul { gap: 8px; }
  .footer-col a { font-size: 14px; }
}

/* Footer map — Mississauga + 30km service radius */
.footer-map {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.footer-map-frame {
  position: relative;
  height: 200px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
}
@media (max-width: 759px) { .footer-map-frame { height: 200px; max-width: none; } }
.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92);
}
.footer-map-radius {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(54, 128, 179, 0.14);
  border: 2px solid rgba(54, 128, 179, 0.55);
  pointer-events: none;
}
@media (max-width: 759px) { .footer-map-radius { height: 75%; } }
.footer-map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  text-align: center;
}
.footer-map-caption strong { color: var(--ink); }
.footer-map-caption .material-symbols-outlined { color: var(--brand); font-size: 18px; }

.footer-bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-strong);
  display: flex; flex-direction: column; gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (min-width: 640px) { .footer-bot { flex-direction: row; align-items: center; } }
.footer-bot .rt { display: flex; gap: 22px; flex-wrap: wrap; }

/* ============== ANIMATIONS ============== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 50ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 150ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 200ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 250ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 350ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 450ms; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 500ms; }

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

/* ============== CONTENT PAGES ============== */
.content { padding: 56px 0 96px; }
.content h1 { margin-bottom: 16px; }
.content .lede {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 32px;
}
.content h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.content h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.content p, .content ul { color: var(--ink); font-size: 16px; line-height: 1.7; max-width: 70ch; }
.content p { margin: 14px 0; }
.content ul { padding-left: 22px; }
.content ul li { margin: 8px 0; }
.content a.inline { color: var(--brand); border-bottom: 1px solid currentColor; }

/* ============== CHECK LIST ============== */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.check-list .material-symbols-outlined {
  font-size: 22px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px;
  font-variation-settings: 'FILL' 1;
}

/* ============== PROCESS STEPS ============== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 28px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  position: relative;
  counter-increment: step;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}
.step:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 14.5px; line-height: 1.5; }

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(31, 61, 92, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  animation: fade-up 220ms var(--ease-out);
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 90vw; max-height: 90vh;
  background: var(--bg-app);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.lightbox-content .gallery-placeholder {
  position: static;
  width: min(80vw, 800px);
  height: min(70vh, 600px);
  border-radius: var(--radius-sm);
}
.lightbox-content img {
  max-width: min(90vw, 1200px);
  max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 150ms ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.20); }

/* ============== FAQ ACCORDION ============== */
.faq-list { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; color: var(--brand);
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}
