/* Brightstead Painting — design tokens from website-plan.md v1.2 */
:root {
  --navy-900: #0A2542;
  --gold-500: #E4B860;
  --gold-600: #C4923A;
  --cream-50: #F7F5F0;
  --white: #FFFFFF;
  --slate-700: #334155;
  --slate-500: #64748B;
  --border: #E2E8F0;
  --success: #1B7A4E;
  --error: #B42318;
  --max: 1120px;
  --measure: 680px;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(10, 37, 66, 0.08);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-900); }
a:hover { color: var(--navy-900); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.measure { max-width: var(--measure); }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; }
@media (min-width: 768px) {
  body { font-size: 18px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}
p { margin: 0 0 1rem; }
.lede { font-size: 1.1rem; color: #475569; }

/* Header */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header a { color: var(--white); text-decoration: none; }
.site-header a:hover { color: var(--gold-500); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 64px;
}
.header-inner .nav {
  flex: 1 1 100%;
}
@media (min-width: 960px) {
  .header-inner .nav {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
}
.nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0 1rem;
}
.nav.is-open { display: flex; }
@media (min-width: 960px) {
  .header-inner { flex-wrap: nowrap; }
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
  }
}
.nav a { padding: 0.5rem 0.25rem; font-size: 0.95rem; }
.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem !important;
  background: var(--gold-500);
  color: var(--navy-900) !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-600); color: var(--navy-900) !important; }
.nav-cta:focus-visible { outline-color: var(--gold-500); }
.nav-phone { font-weight: 600; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }
.btn-secondary {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-secondary:hover { background: var(--navy-900); color: var(--white); }
.btn-on-dark.btn-secondary {
  border-color: var(--white);
  color: var(--white);
}
.btn-on-dark.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-900);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Sections */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section-alt { background: var(--cream-50); }
.section-navy {
  background: var(--navy-900);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lede, .section-navy p { color: rgba(255,255,255,0.85); }
.section-head { margin-bottom: 2rem; }

/* Hero */
.hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lede { color: rgba(255,255,255,0.85); max-width: 40ch; }
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: #123456;
  aspect-ratio: 16 / 10;
  position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.temp-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(10, 37, 66, 0.92);
  color: var(--gold-500);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.trust-item strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .card-grid.two { grid-template-columns: 1fr 1fr; }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card a.card-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
}
.card a.card-link:hover { text-decoration: underline; }

/* Process steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.1rem; }

/* Why list */
.why-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 700px) {
  .why-list { grid-template-columns: 1fr 1fr; }
}
.why-list li {
  border-left: 3px solid var(--gold-500);
  padding: 0.25rem 0 0.25rem 1rem;
}
.why-list strong { color: var(--navy-900); display: block; }

/* Owner */
.owner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .owner { grid-template-columns: 240px 1fr; }
}
.owner-photo {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--cream-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  list-style-position: outside;
}
.faq details[open] summary { margin-bottom: 0.5rem; }

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}
.form-row { display: grid; gap: 0.35rem; }
.form-row.two {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
label { font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.hint { font-size: 0.875rem; color: #3f4f63; font-weight: 400; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--slate-700);
}
textarea { min-height: 140px; resize: vertical; }
.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.checkbox-row input { width: auto; min-height: auto; margin-top: 0.35rem; }
.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-note {
  font-size: 0.9rem;
  color: var(--slate-500);
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.form-note strong { color: var(--navy-900); }

/* Page hero (inner) */
.page-hero {
  background: var(--cream-50);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 6rem;
}
@media (min-width: 960px) {
  .site-footer { padding-bottom: 3rem; }
}
.site-footer a { color: var(--gold-500); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.4rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.875rem;
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(10,37,66,0.1);
  z-index: 90;
}
@media (min-width: 960px) {
  .mobile-bar { display: none; }
}
.mobile-bar .btn { width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.cities li {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.95rem;
}

/* --- Quality upgrade polish (2026-11) --- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 0.75rem;
}

.hero-brand {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background: var(--navy-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-pattern {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-brand .hero-grid,
.hero-brand .hero-copy {
  position: relative;
  z-index: 1;
}
.hero-brand h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.hero-brand .lede {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
}
.hero-visual-graphic {
  background: transparent;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(228, 184, 96, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.hero-visual-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trust-strip {
  background: var(--cream-50);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .trust-strip-list { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.trust-strip-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: start;
  padding: 0.5rem 0;
}
.trust-icon {
  grid-row: 1 / span 2;
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
}
.trust-strip-list strong {
  color: var(--navy-900);
  font-size: 0.95rem;
  line-height: 1.3;
}
.trust-strip-list span:not(.trust-icon) {
  color: #3f4f63;
  font-size: 0.9rem;
}

.steps-three {
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .steps-three { grid-template-columns: repeat(3, 1fr); }
}

.card-hover {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 37, 66, 0.12);
  border-color: #cbd5e1;
}
@media (prefers-reduced-motion: reduce) {
  .card-hover { transition: none; }
  .card-hover:hover { transform: none; }
}
.card-icon {
  display: inline-flex;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.btn {
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.btn-primary {
  box-shadow: 0 2px 0 rgba(10, 37, 66, 0.12);
}
.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(196, 146, 58, 0.35);
}
.btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
.btn-secondary:focus-visible {
  outline-color: var(--navy-900);
}
.btn-on-dark:focus-visible {
  outline-color: var(--gold-500);
}

.section {
  padding: 3.25rem 0;
}
@media (min-width: 768px) {
  .section { padding: 5.25rem 0; }
}
.section-head { margin-bottom: 2.25rem; }
.section-head .lede { margin-bottom: 0; }

.feature-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.check-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.75rem;
  margin: 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: inset 0 0 0 2px var(--navy-900);
}

.cta-band {
  text-align: left;
}
.cta-band .measure { max-width: 40rem; }

.page-hero {
  background: linear-gradient(180deg, var(--cream-50) 0%, #f0ebe3 100%);
  padding: 2.75rem 0;
}

.faq details {
  transition: border-color 150ms ease;
}
.faq details:hover {
  border-color: #cbd5e1;
}
.faq summary:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
}

.areas-grid h2 {
  font-size: 1.35rem;
}

/* Improve contrast: gold on navy for secondary text already OK; ensure lede on cream */
.section-alt .lede { color: #3f4f63; }
.lede { color: #3f4f63; }

.nav-cta {
  transition: background 150ms ease, box-shadow 150ms ease;
}
.nav-cta:hover {
  box-shadow: 0 2px 8px rgba(228, 184, 96, 0.35);
}

/* --- Launch polish (team accuracy, form, a11y) --- */
.brand img {
  width: 56px;
  height: 56px;
}
.brand-text { white-space: nowrap; }
.footer-name {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.footer-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.hero-simple {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.75rem 0 2.25rem;
}
.hero-simple h1 {
  color: var(--white);
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}
.hero-simple .lede {
  color: rgba(255,255,255,0.88);
  max-width: 42ch;
}
.hero-reassure {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 42ch;
}
.hero-form-panel {
  background: var(--white);
  color: var(--slate-700);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}
.hero-form-title {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.hero-form-lede {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #3f4f63;
}
.hero-form-panel a { color: var(--navy-900); }

.form-compact .form-optional textarea { min-height: 88px; }
.form-compact .form-reassure { font-size: 0.85rem; }

.form-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin: 0;
}
.form-fieldset legend {
  font-weight: 600;
  color: var(--navy-900);
  padding: 0 0.25rem;
}
.req {
  font-weight: 400;
  color: var(--slate-500);
  font-size: 0.85rem;
}
.optional-label {
  font-weight: 600;
  color: var(--navy-900);
  margin: 0.25rem 0 0.5rem;
}
.form-optional {
  display: grid;
  gap: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}
.form-reassure {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--slate-500);
}
.form-errors {
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: var(--error);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.form-errors:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.form-errors ul { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.field-error {
  margin: 0.25rem 0 0;
  color: var(--error);
  font-size: 0.875rem;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

input, select, textarea {
  font-size: 16px; /* avoid iOS zoom */
}

.page-hero-tight { padding: 1.75rem 0 1.25rem; }
.section-tight { padding-top: 1.5rem; }
.h2-plain {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.service-hero {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 860px) {
  .service-hero { grid-template-columns: 1.4fr 0.8fr; }
}
.service-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: var(--shadow);
}
.service-cta-label {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
}

.estimate-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .estimate-layout { grid-template-columns: 1.2fr 0.8fr; }
}
.estimate-side {
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.side-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}
.side-list li { margin-bottom: 0.65rem; }

.mobile-bar.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}
.mobile-bar {
  transition: transform 160ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bar { transition: none; }
}

/* Soften decorative motion / patterns from earlier polish */
.hero-bg, .hero-pattern, .hero-visual-graphic { display: none; }
.card-hover:hover { transform: none; }
.page-hero {
  background: var(--cream-50);
}

body {
  padding-bottom: 0;
}
@media (max-width: 959px) {
  .site-footer { padding-bottom: 7.5rem; }
}


/* Meridian / estimate form polish */
.form-fieldset-compact {
  border: none;
  padding: 0;
  margin: 0;
}
.form-fieldset-compact legend {
  padding: 0;
  margin-bottom: 0.25rem;
}
.form-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  background: var(--cream-50);
}
.form-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-900);
  padding: 0.45rem 0;
  list-style: none;
}
.form-details summary::-webkit-details-marker { display: none; }
.form-details summary::before {
  content: "+ ";
  color: var(--gold-600);
  font-weight: 700;
}
.form-details[open] summary::before { content: "– "; }
.form-details-body {
  display: grid;
  gap: 0.85rem;
  padding: 0.25rem 0 0.75rem;
}
.form-compact .form-row { margin-bottom: 0.65rem; }
.form-compact .form-details { margin: 0.35rem 0 0.75rem; }

/* Sticky header offset for in-page anchors (fallback when JS offset scroll is unavailable) */
#estimate-request,
.hero-form-panel,
.section[id],
h2[id] {
  scroll-margin-top: 6rem;
}
@media (min-width: 960px) {
  #estimate-request,
  .hero-form-panel,
  .section[id],
  h2[id] {
    scroll-margin-top: 5.75rem;
  }
}

