:root {
  --cream: #f6f0e7;
  --paper: #fefcf7;
  --charcoal: #22211f;
  --bronze: #896b3e;
  --gold: #b9975b;
  --border: #d9ccb9;
  --muted: #5e5b55;
  --success: #57664a;
  --error: #8a3c32;
  --container: 1240px;
  --gutter: 32px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(137,107,62,.45); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--bronze); }
button, input, textarea { font: inherit; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--charcoal); color: var(--paper); padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 16px; }
.container { width: min(100% - calc(var(--gutter) * 2), var(--container)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(254,252,247,.94);
  border-bottom: 1px solid rgba(217,204,185,.8); backdrop-filter: blur(12px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand-logo { width: clamp(178px, 15vw, 220px); }
.brand-crest { width: 130px; display: none; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: .95rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.phone-link { font-weight: 800; text-decoration: none; }
.button, button.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--bronze); border-radius: 8px; padding: 10px 18px; cursor: pointer;
  background: var(--charcoal); color: var(--paper); font-weight: 800; text-decoration: none;
}
.button.secondary { background: transparent; color: var(--charcoal); }
.button.light { background: var(--paper); color: var(--charcoal); border-color: var(--gold); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); border-radius: 8px; min-width: 46px; min-height: 46px; }
.hero { padding: 70px 0 96px; background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 64%, var(--cream) 64%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(310px,.72fr); gap: 54px; align-items: center; }
.eyebrow { color: var(--bronze); font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(3.5rem, 6vw, 5.25rem); line-height: .96; max-width: 840px; }
h2 { font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; }
h3 { font-size: clamp(1.55rem, 2vw, 1.9rem); line-height: 1.08; }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 760px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--bronze); font-weight: 800; }
.trust-line span { display: inline-flex; align-items: center; gap: 10px; }
.trust-line span::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.hero-card {
  margin-top: 30px; padding: 24px; border: 1px solid var(--border); border-radius: 10px;
  background: rgba(254,252,247,.96);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .95rem; font-weight: 800; }
input, textarea {
  min-height: 48px; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff;
  color: var(--charcoal); padding: 10px 12px; font-size: 1rem;
}
textarea { min-height: 116px; resize: vertical; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(185,151,91,.45); outline-offset: 3px; }
.form-note, .fine-print { color: var(--muted); font-size: .93rem; margin: 12px 0 0; }
.hero-card .fine-print {
  font-size: .8rem;
  line-height: 1.45;
}
.error-summary { display: none; color: var(--error); border-left: 3px solid var(--error); padding-left: 12px; margin-bottom: 14px; }
.success-message { display: none; color: var(--success); border-left: 3px solid var(--success); padding-left: 12px; margin-top: 14px; font-weight: 800; }
.dev-placeholder {
  display: inline-flex; align-items: center; border: 1px dashed var(--error); color: var(--error); background: #fff8f6;
  border-radius: 6px; padding: 2px 7px; font-size: .84rem; font-weight: 800;
}
.hero-photo {
  position: relative; border: 1px solid var(--border); border-radius: 999px 999px 10px 10px;
  padding: 12px; background: var(--cream);
}
.hero-photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 999px 999px 8px 8px; }
section { position: relative; overflow: hidden; padding: 104px 0; }
section > .container { position: relative; z-index: 1; }
.band { background: var(--cream); border-block: 1px solid var(--border); }
.section-head { display: grid; gap: 14px; max-width: 820px; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.local-section .section-head {
  max-width: 960px;
}
.local-showcase {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(360px, 1.28fr);
  gap: 28px;
  align-items: stretch;
}
.county-list, .card-grid, .steps, .situation-grid, .faq-list { display: grid; gap: 14px; }
.county-list { grid-template-columns: repeat(4, minmax(0,1fr)); }
.local-county-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-content: stretch;
}
.county-list li, .card, .step, .faq-item, .compare-col {
  list-style: none; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); padding: 18px;
}
.county-list li {
  font-weight: 800;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.county-list li:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--paper);
  transform: translateY(-2px);
}
.county-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  color: inherit;
  text-decoration: none;
}
.local-photo {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: rgba(254, 252, 247, .72);
}
.local-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
}
.county-page-form { margin-top: 0; }
.steps { grid-template-columns: repeat(3, minmax(0,1fr)); counter-reset: step; }
.step {
  counter-increment: step;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.step::before {
  content: "0" counter(step); display: inline-block; color: var(--bronze); font-weight: 900;
  border-bottom: 1px solid var(--gold); margin-bottom: 18px;
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 900;
}
.step:hover {
  transform: translateY(-3px);
}
.step:nth-child(1):hover {
  background: #f7ecd7;
  border-color: var(--gold);
}
.step:nth-child(2):hover {
  background: #eadfc8;
  border-color: var(--gold);
}
.step:nth-child(3):hover {
  background: #d7b575;
  border-color: var(--gold);
}
.step:nth-child(3):hover p,
.step:nth-child(3):hover a,
.step:nth-child(3):hover::before {
  color: var(--charcoal);
}
.step:nth-child(3):hover::before {
  border-bottom-color: var(--bronze);
}
.card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card p, .step p, .compare-col p { color: var(--muted); }
.benefit-card {
  min-height: 166px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.benefit-card:hover {
  background: linear-gradient(135deg, #fff8ea 0%, #efdcb8 100%);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(137, 107, 62, .14);
  transform: translateY(-2px);
}
.benefit-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--charcoal);
}
.benefit-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}
.benefit-card p {
  margin: 0;
  font-size: 1.02rem;
}
.step:nth-child(3):hover p { color: var(--charcoal); }
.steps .step:nth-child(1):hover {
  background: linear-gradient(135deg, #fff8ea 0%, #efdcb8 100%);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(137, 107, 62, .14);
}
.steps .step:nth-child(1):hover .button {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--bronze);
}
.steps .step:nth-child(2):hover {
  background: linear-gradient(135deg, #f4ead6 0%, #e4c995 100%);
  border-color: var(--gold);
  box-shadow: 0 15px 36px rgba(137, 107, 62, .16);
}
.steps .step:nth-child(3):hover {
  background: linear-gradient(135deg, #ead3a4 0%, #c9a163 100%);
  border-color: var(--gold);
  box-shadow: 0 16px 38px rgba(137, 107, 62, .18);
}
.compare-section .section-head { margin-bottom: 28px; }
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 16px;
  align-items: stretch;
  justify-content: start;
}
.compare-col {
  padding: 16px;
  transition: opacity .5s ease, transform .5s ease, box-shadow .5s ease, border-color .5s ease, background .5s ease;
}
.compare-col h3 {
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 900;
}
.compare-col ul {
  list-style: none;
  padding-left: 0;
}
.compare-col li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.compare-col li::before {
  width: 26px;
  height: 26px;
  display: inline-grid;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}
.compare-col-traditional li::before { content: "X"; }
.compare-col-direct li::before { content: "\2713"; }
.compare-col-traditional {
  background: #f7f5f0;
  border-color: #e5dccf;
  color: #37332e;
}
.compare-col-traditional h3,
.compare-col-traditional li {
  color: #37332e;
}
.compare-col-traditional li::before {
  background: #3d3933;
}
.compare-col-direct {
  position: relative;
  background: linear-gradient(135deg, #fff9ec 0%, #ead4a5 100%);
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: 0 12px 34px rgba(137, 107, 62, .12);
}
.compare-badge {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin-top: 10px;
  border: 1px solid rgba(137, 107, 62, .28);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(254, 252, 247, .78);
  color: var(--bronze);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.compare-badge:hover {
  border-color: var(--bronze);
  background: var(--paper);
  color: var(--charcoal);
}
.compare-section:not(.is-visible) .compare-col {
  opacity: .86;
  transform: translateY(18px);
}
.compare-section.is-visible .compare-col-traditional {
  opacity: .92;
  transform: translateY(0) scale(.985);
}
.compare-section.is-visible .compare-col-direct {
  opacity: 1;
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 54px rgba(137, 107, 62, .22);
}
.compare-col ul, .benefits-list, .plain-list { padding-left: 1.2rem; }
.compare-col ul { padding-left: 0; }
.situation-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.situation-card-grid li {
  position: relative;
  list-style: none;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  background: var(--charcoal);
  box-shadow: 0 12px 32px rgba(34, 33, 31, .12);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.situation-card-grid li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(34,33,31,.16) 0%, rgba(34,33,31,.48) 48%, rgba(34,33,31,.86) 100%);
}
.situation-card-grid li > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease, filter .24s ease;
}
.situation-card-grid li:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(137, 107, 62, .22);
  transform: translateY(-2px);
}
.situation-card-grid li:hover > img {
  filter: saturate(1.04);
  transform: scale(1.04);
}
.situation-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 22px;
}
.situation-card-grid h3 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.situation-card-grid p {
  margin: 0;
  color: #f2eadf;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
.about-panel { border-block: 1px solid var(--border); padding: 34px 0; }
.team-feature {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.team-photo {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: var(--cream);
}
.team-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}
.team-copy {
  display: grid;
  gap: 16px;
}
.cta-dark { background: var(--charcoal); color: var(--paper); }
.cta-dark .lead { color: #e8ded0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }
.crest-mark { width: 86px; margin-bottom: 18px; }
.faq-item summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
.faq-item p { color: var(--muted); margin-bottom: 0; }
.site-footer { background: var(--cream); color: var(--charcoal); padding: 54px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
.footer-crest { width: 74px; }
.footer-logo-band { display: inline-block; padding: 0; margin-bottom: 16px; }
.footer-logo-band img { width: 210px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--charcoal); }
.disclosure { color: var(--muted); font-size: .9rem; margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.breadcrumbs { font-size: .92rem; color: var(--muted); padding-top: 30px; }
.page-hero { padding: 70px 0 58px; background: var(--cream); border-bottom: 1px solid var(--border); }
.content { padding: 74px 0 94px; }
.content-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(280px, .28fr); gap: 48px; }
.aside-box { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--cream); position: sticky; top: 110px; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--border); }
.table th, .table td { border-bottom: 1px solid var(--border); padding: 14px; text-align: left; vertical-align: top; }
.table th { background: var(--cream); }
.updated { color: var(--muted); font-size: .93rem; }
@media (max-width: 1040px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .phone-link { display: none; }
  .nav-links[data-open="true"] {
    display: grid; position: absolute; inset: 86px var(--gutter) auto; background: var(--paper); border: 1px solid var(--border);
    border-radius: 8px; padding: 18px; box-shadow: 0 18px 50px rgba(34,33,31,.12);
  }
  .hero { background: var(--paper); }
  .hero-grid, .split, .content-grid { grid-template-columns: 1fr; }
  .local-showcase { grid-template-columns: 1fr; }
  .team-feature { grid-template-columns: 1fr; }
  .steps, .card-grid { grid-template-columns: 1fr 1fr; }
  .situation-grid, .county-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .header-inner { min-height: 74px; }
  .brand-logo { display: none; }
  .brand-crest { display: block; }
  .nav-links[data-open="true"] { inset-top: 74px; }
  .button { width: 100%; }
  .header-actions .button { width: auto; padding-inline: 12px; }
  .hero { padding: 44px 0 70px; }
  h1 { font-size: clamp(3rem, 15vw, 3.9rem); }
  section { padding: 72px 0; }
  .form-grid, .steps, .card-grid, .compare, .situation-grid, .county-list, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 18px; }
  .content { padding: 54px 0 74px; }
  .local-photo img {
    min-height: 320px;
  }
  .compare-section.is-visible .compare-col-traditional {
    transform: translateY(0);
  }
  .compare-section.is-visible .compare-col-direct {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Keep the homepage steps visible below the sticky navigation. */
#how-it-works, #why-smb-homes, #your-situation { scroll-margin-top: 110px; }

/* Optional SMS consent remains readable beside a native checkbox. */
.sms-consent { margin: 18px 0 12px; }
.sms-consent label { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; line-height: 1.5; font-weight: 400; }
.sms-consent input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 3px 0 0; padding: 0; accent-color: #257449; }
