/* Local Property Partners — "porch ceiling" palette: haint blue, deep slate, brass house-number plaque */
:root {
  --ink: #17262e;          /* body text */
  --slate: #1e3a48;        /* headings, footer, primary surfaces */
  --haint: #d3e6e8;        /* porch-ceiling blue, hero ground */
  --haint-deep: #a9cfd3;
  --brass: #b5832a;        /* plaque + primary action */
  --brass-dark: #8f6519;
  --paper: #f7f9f8;        /* page ground */
  --line: #c9d6d8;
  --ok: #2f6b4f;
  --err: #a23a2a;
  --radius-plaque: 14px;
  --radius-field: 8px;
  --wrap: 72rem;
  --measure: 38rem;
  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--slate); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--slate); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--slate); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: #4d6470; }
.head-call { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--slate); }
.head-call span { display: none; }
@media (min-width: 40rem) { .head-call span { display: inline; font-weight: 400; color: #4d6470; } }

/* Hero */
.hero { background: var(--haint); padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
.hero-grid { grid-template-areas: "top" "form" "rest"; }
.hero-top { grid-area: top; } .hero-rest { grid-area: rest; } .hero .plaque { grid-area: form; }
.hero-top .hero-lede { margin-bottom: 0; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; grid-template-areas: "top form" "rest form"; column-gap: 3.5rem; row-gap: 0; padding-top: 1rem; align-items: start; }
  .hero-rest { margin-top: 0; }
}
@media (max-width: 59.99rem) { .hero { padding-top: 1.5rem; } .hero-grid { gap: 1.25rem; } .hero h1 { font-size: 1.95rem; } .hero-lede { font-size: 1.05rem; } }
@media (max-width: 26rem) { .brand-name { font-size: 1rem; } .brand-name small { display: none; } .head-call { font-size: .95rem; } }
.hero-lede { font-size: 1.2rem; color: #2c4552; }
.promise { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; }
.promise li { display: flex; gap: .65rem; align-items: baseline; font-weight: 600; }
.promise li::before { content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--brass); transform: translateY(.05rem); }
.hero-call { margin-top: 1.5rem; font-size: 1rem; }

/* The plaque — the one bold element */
.plaque {
  background: #fff;
  border: 3px solid var(--brass);
  border-radius: var(--radius-plaque);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--haint-deep);
  padding: 1.5rem 1.25rem 1.35rem;
  position: relative;
}
.plaque::before, .plaque::after { /* mounting screws */
  content: ""; position: absolute; top: .65rem; width: .55rem; height: .55rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e6c88a, var(--brass-dark));
}
.plaque::before { left: .65rem; } .plaque::after { right: .65rem; }
.plaque h2 { font-size: 1.45rem; margin-bottom: .25rem; text-align: center; }
.plaque .sub { text-align: center; margin: 0 auto 1.1rem; color: #4d6470; font-size: .95rem; }
.field { margin-bottom: .9rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.field .hint { font-weight: 400; color: #5a707b; }
input[type=text], input[type=tel], input[type=email], select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #9fb4ba; border-radius: var(--radius-field); padding: .75rem .85rem; min-height: 3rem;
}
input:focus, select:focus { border-color: var(--slate); }
.address-input {
  font-family: var(--font-display) !important; font-size: 1.2rem !important; font-weight: 700;
  letter-spacing: .01em; text-align: center; background: #fbf7ee !important; border-color: var(--brass) !important;
}
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: .5rem; width: 100%;
  font: 700 1.1rem/1.2 var(--font-body); color: #fff; background: var(--brass);
  border: 0; border-radius: var(--radius-field); padding: 1rem 1.25rem; min-height: 3.4rem; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--brass-dark); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-quiet { background: var(--slate); }
.btn-quiet:hover { background: #142a35; }
.fine { font-size: .82rem; color: #5a707b; margin: .8rem 0 0; text-align: center; max-width: none; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: #3d5560; margin: .4rem 0 1rem; }
.consent input { margin-top: .2rem; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--slate); }
.form-msg { margin: .6rem 0 0; font-size: .92rem; text-align: center; max-width: none; }
.form-msg.err { color: var(--err); }
.step2-head { text-align: center; margin-bottom: 1rem; }
.step2-head p { margin: 0 auto; color: #4d6470; font-size: .95rem; }
.grid-2 { display: grid; gap: 0 .9rem; }
@media (min-width: 30rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -5000px !important; }
[hidden] { display: none !important; }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { margin-bottom: 2rem; }

/* How it works — a real sequence, so it's numbered */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center; border: 2px solid var(--brass); border-radius: 8px;
  font: 800 1.3rem/1 var(--font-display); color: var(--brass-dark); background: #fbf7ee;
}
.steps p { margin: 0; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; }
.compare caption { text-align: left; font-weight: 600; margin-bottom: .6rem; color: #4d6470; }
.compare th, .compare td { padding: .85rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-display); color: var(--slate); font-size: 1.05rem; border-bottom: 2px solid var(--slate); }
.compare tbody th { font-weight: 600; width: 30%; }
.compare td.us { background: #f2f8f8; font-weight: 600; color: var(--slate); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }

/* Situations */
.situations { display: grid; gap: 1.4rem 2.5rem; margin: 0; }
@media (min-width: 46rem) { .situations { grid-template-columns: 1fr 1fr; } }
.situations dt { font-family: var(--font-display); font-weight: 700; color: var(--slate); font-size: 1.12rem; }
.situations dd { margin: .2rem 0 0; color: #34505c; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.areas li { background: var(--haint); border-radius: 999px; padding: .3rem .8rem; font-size: .92rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: .25rem 0; max-width: 48rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; color: var(--slate); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font: 700 1.4rem/1 var(--font-body); color: var(--brass-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; }

/* Market picker (home) */
.markets { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 40rem) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .markets { grid-template-columns: repeat(4, 1fr); } }
.markets a { display: block; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; background: #fff; }
.markets a:hover { border-color: var(--brass); }
.markets strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--slate); }
.markets span { font-size: .9rem; color: #4d6470; }

/* Closing CTA */
.closer { background: var(--slate); color: #e9f1f2; text-align: left; }
.closer h2 { color: #fff; }
.closer p { color: #cfe0e3; }
.closer .btn { width: auto; }
.closer-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; }
.closer .btn-ghost { background: transparent; border: 2px solid #cfe0e3; color: #fff; }

/* Footer */
.site-foot { background: #142a35; color: #b9cdd2; font-size: .92rem; padding: 2.5rem 0 6rem; }
.site-foot a { color: #e3eef0; }
.foot-grid { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-foot { padding-bottom: 2.5rem; } }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-foot h3 { color: #fff; font-size: 1rem; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr;
  gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(23, 38, 46, .08);
}
.action-bar .btn { min-height: 3rem; font-size: 1rem; padding: .7rem; }
@media (min-width: 48rem) { .action-bar { display: none; } }

/* Chat slot */
.chat-btn {
  position: fixed; right: 1rem; bottom: 5.4rem; z-index: 31; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--slate); color: #fff; font: 700 .95rem/1 var(--font-body); padding: .85rem 1.1rem;
  box-shadow: 0 6px 18px rgba(23, 38, 46, .25);
}
@media (min-width: 48rem) { .chat-btn { bottom: 1.25rem; } }

/* Long-form pages */
.prose { max-width: 46rem; padding: 3rem 1.25rem 4rem; margin: 0 auto; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose li { max-width: none; }

@media (prefers-reduced-motion: no-preference) {
  .step-anim { animation: stepIn .28s ease-out; }
  @keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
