/* ==========================================================================
   Simple Choice Cash Offer
   Tokens, base, layout, components, pages, utilities. Square corners only.
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14202b;
  --paper: #ffffff;
  --soft: #f5f8f6;
  --white: #ffffff;
  --line: #d5dbd7;
  --muted: #5b6875;
  --brand: #1f7a4d;
  --brand-dark: #165c3a;
  --tint: #e3efe8;
  --brass: #a9792a;

  --serif: "Poppins", "Segoe UI", Calibri, Arial, sans-serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 132px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font: 400 1rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; }
h1, h2 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section.soft { background: var(--soft); }
.section.line-top { border-top: 1px solid var(--line); }
.center { text-align: center; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; }
.center .lede { margin-left: auto; margin-right: auto; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #dfe5de; font-size: .8125rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.topbar .where { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar .where .icon { color: #8fd1ae; }
.topbar .serving { color: #aab5ad; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(16, 26, 20, .35); --header-h: 84px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); transition: height .25s var(--ease); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; padding: 10px 0; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 100px; width: auto; display: block; transition: height .25s var(--ease); }
.site-header.scrolled .brand-logo { height: 56px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.btn-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tint); color: var(--brand-dark); border: 1px solid var(--brand);
  padding: 10px 18px; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-phone:hover { background: var(--brand); color: #fff; }
.btn-phone .icon { width: 1em; height: 1em; }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--brand); color: #fff; text-decoration: none; font: 700 1rem/1 var(--sans);
  padding: 18px 28px; border: 1px solid var(--brand); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero {
  background: linear-gradient(rgba(22, 92, 58, .88), rgba(31, 122, 77, .82)), url("../img/realEstate2.avif") center / cover no-repeat;
  color: #fff;
}
.hero .wrap { max-width: 980px; text-align: center; }
.hero h1 { margin-bottom: .3em; color: #fff; }
.hero .lede { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, .88); }
.hero .checks .icon { color: #8fd1ae; }
.hero .btn:not(.ghost) { background: #fff; color: var(--brand-dark); border-color: #fff; }
.hero .btn:not(.ghost):hover { background: var(--tint); border-color: var(--tint); color: var(--brand-dark); }
.hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero .btn.ghost:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.hero .local-badge { margin-bottom: 28px; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.local-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  background: var(--ink); color: #fff; padding: 9px 14px; font: 700 .78rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.local-badge .icon { color: #8fd1ae; width: 1.2em; height: 1.2em; }
.local-badge b { color: #f0c987; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks .icon { color: var(--brand); width: 1.3em; height: 1.3em; }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: clamp(18px, 3vw, 32px); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .2em; }
.form-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.ghl-form { display: block; width: 100%; border: 0; }

/* ---------- Local band ---------- */
.local-band { background: var(--tint); border-bottom: 1px solid var(--line); }
.local-band .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.local-band p { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.local-band .icon { color: var(--brand); width: 1.5em; height: 1.5em; }
.local-band ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; font-size: .95rem; color: var(--muted); }
.local-band li { display: inline-flex; align-items: center; gap: 8px; }
.local-band li .icon { color: var(--brand); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; position: relative; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font: 500 2.8rem/1 var(--serif); color: var(--brand); margin-bottom: 16px; }
.step .step-icon { position: absolute; top: 20px; right: 0; width: 28px; height: 28px; color: var(--ink); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink); background: var(--white); }
.compare > div { padding: clamp(24px, 4vw, 48px); }
.compare .us { background: var(--ink); color: #fff; }
.compare h3 { font: 600 1.5rem/1.2 var(--serif); margin-bottom: 20px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(127, 138, 130, .35); }
.compare li:first-child { border-top: 0; }
.compare .us .icon { color: #8fd1ae; margin-top: .25em; }
.compare .them .icon { color: var(--muted); margin-top: .25em; }
.compare .them { color: var(--muted); }

/* ---------- Situations ---------- */
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--paper); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; font-weight: 600; transition: background .25s var(--ease); }
.cell .icon { width: 30px; height: 30px; color: var(--brand); transition: transform .3s var(--ease); }
.cell:hover { background: var(--tint); }
.cell:hover .icon { transform: translateY(-3px); }

/* ---------- Areas and maps ---------- */
.maps { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map-card { background: var(--white); border: 1px solid var(--line); padding: clamp(12px, 2vw, 24px); display: flex; flex-direction: column; }
.map-card figcaption { font-size: .8125rem; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.map-card figcaption .icon { color: var(--brand); }
.map-card > svg { width: 100%; height: auto; display: block; margin: auto; }
.map-card.state > svg { max-width: 360px; }

.map-state-shape { fill: var(--soft); stroke: #8c9990; stroke-width: 1.1; stroke-linejoin: round; }
.map-bay { fill: var(--white); stroke: #8c9990; stroke-width: .8; }
.map-box { fill: rgba(31, 122, 77, .16); stroke: var(--brand); stroke-width: 1.6; }
.map-leader { stroke: var(--brand); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.map-caption-text { font: 700 15px var(--sans); fill: var(--brand-dark); letter-spacing: .04em; }
.map-state-label { font: 500 22px var(--serif); fill: #9aa69d; letter-spacing: .02em; }
.map-frame { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.map-water { fill: #dbe9e5; stroke: #b4cbc5; stroke-width: 1; }
.map-water-label { font: 500 13px var(--sans); fill: #5f7f77; }
.map-ring { fill: none; stroke: #9db6a8; stroke-width: 1.2; stroke-dasharray: 5 6; }
.map-ring-fill { fill: rgba(31, 122, 77, .045); }
.map-ring-label { font: 700 11.5px var(--sans); fill: #5f7f77; letter-spacing: .08em; }
.map-town { font: 500 14.5px var(--sans); fill: #5b6875; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.map-town-dot { fill: #8c9990; }
.map-grid line { stroke: #e7eae2; stroke-width: 1; }
.map-road { fill: none; stroke: #c9cfc4; stroke-width: 7; stroke-linecap: butt; stroke-linejoin: round; }
.map-road-core { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 8 6; }
.map-shield rect { fill: var(--ink); }
.map-shield text { font: 700 12.5px var(--sans); fill: #fff; text-anchor: middle; }
.map-scale line { stroke: var(--ink); stroke-width: 2; }
.map-scale text, .map-north text { font: 700 12.5px var(--sans); fill: var(--ink); }
.map-north path { fill: var(--ink); }

.pin-shape { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.pin-icon { fill: var(--brand); transition: fill .25s var(--ease); }
.pin-dot { fill: var(--white); }
.pin-label { font: 600 18px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.pin-sub { font: 700 11.5px var(--sans); fill: var(--brass); letter-spacing: .12em; text-transform: uppercase; }
.pin-base .pin-icon { fill: var(--ink); }
.pin-base .pin-label { font-weight: 700; font-size: 21px; }
.pin a { cursor: pointer; }
.pin a:hover .pin-icon, .pin a:focus-visible .pin-icon { fill: var(--brand-dark); }
.pin a:hover .pin-shape, .pin a:focus-visible .pin-shape { transform: scale(1.12); }
.map[data-active] .pin:not(.pin-base) .pin-icon { fill: #7aa68e; }
.map[data-active="menifee"] .pin-menifee .pin-icon,
.map[data-active="temecula"] .pin-temecula .pin-icon,
.map[data-active="murrieta"] .pin-murrieta .pin-icon,
.map[data-active="lake-elsinore"] .pin-lake-elsinore .pin-icon,
.map[data-active="canyon-lake"] .pin-canyon-lake .pin-icon,
.map[data-active="moreno-valley"] .pin-moreno-valley .pin-icon,
.map[data-active="wildomar"] .pin-wildomar .pin-icon,
.map[data-active="winchester"] .pin-winchester .pin-icon,
.map[data-active="french-valley"] .pin-french-valley .pin-icon,
.map[data-active="perris"] .pin-perris .pin-icon,
.map[data-active="hemet"] .pin-hemet .pin-icon,
.map[data-active="san-jacinto"] .pin-san-jacinto .pin-icon,
.map[data-active="riverside"] .pin-riverside .pin-icon,
.map[data-active="corona"] .pin-corona .pin-icon,
.map[data-active="temescal-canyon"] .pin-temescal-canyon .pin-icon { fill: var(--brand); }
.map[data-active="menifee"] .pin-menifee .pin-icon { fill: var(--ink); }
.map[data-active="temecula"] .pin-temecula .pin-label,
.map[data-active="murrieta"] .pin-murrieta .pin-label,
.map[data-active="lake-elsinore"] .pin-lake-elsinore .pin-label,
.map[data-active="canyon-lake"] .pin-canyon-lake .pin-label,
.map[data-active="moreno-valley"] .pin-moreno-valley .pin-label,
.map[data-active="wildomar"] .pin-wildomar .pin-label,
.map[data-active="winchester"] .pin-winchester .pin-label,
.map[data-active="french-valley"] .pin-french-valley .pin-label,
.map[data-active="perris"] .pin-perris .pin-label,
.map[data-active="hemet"] .pin-hemet .pin-label,
.map[data-active="san-jacinto"] .pin-san-jacinto .pin-label,
.map[data-active="riverside"] .pin-riverside .pin-label,
.map[data-active="corona"] .pin-corona .pin-label,
.map[data-active="temescal-canyon"] .pin-temescal-canyon .pin-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.area-list { list-style: none; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--paper); padding: 20px; color: var(--ink); text-decoration: none; transition: background .25s var(--ease); }
.area-list a:hover { background: var(--tint); }
.area-list .name { display: flex; align-items: center; gap: 8px; font: 600 1.2rem/1.2 var(--serif); }
.area-list .name .icon { color: var(--brand); }
.area-list .zips { font-size: .8125rem; color: var(--muted); }
.area-list .go { margin-top: auto; padding-top: 10px; font-size: .85rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.area-list .go .icon { transition: transform .25s var(--ease); }
.area-list a:hover .go .icon { transform: translateX(4px); }
.also-serving { margin: 20px 0 0; color: var(--muted); }
.also-serving b { color: var(--ink); font-weight: 600; }
.area-list .base-tag { font: 700 .65rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }

/* ---------- Page copy blocks ---------- */
.prose { max-width: 46rem; }
.prose h3 { margin-top: 1.6em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.facts li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts .label { flex: 0 0 8.5em; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .25em; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-left: auto; margin-right: auto; border-top: 2px solid var(--ink); }
.center .faq, .faq.center-block { margin-left: auto; margin-right: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 44rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #b9c3bc; }
.cta-band .btn-row { justify-content: center; }
.cta-band .local-badge { background: transparent; border: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c3bc; padding: clamp(40px, 6vw, 72px) 0 28px; font-size: .9rem; }
.site-footer a { color: #dfe5de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.footer-grid h4 { margin: 0 0 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fd1ae; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid .footer-areas { columns: 2; column-gap: 20px; display: block; }
.footer-grid .footer-areas li { break-inside: avoid; margin-bottom: 8px; }
.footer-brand { display: inline-block; margin-bottom: 16px; }
.footer-logo { height: 50px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; }
.footer-where { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; margin-bottom: 8px; }
.footer-where .icon { color: #8fd1ae; }

/* ---------- Legal and utility pages ---------- */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: .2em; font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
.legal h2 { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; letter-spacing: 0; margin-top: 2.2em; }
.legal h3 { margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.thanks-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; background: var(--brand); color: #fff; margin-bottom: 24px; }
.thanks-mark .icon { width: 34px; height: 34px; }
.next-steps { max-width: 44rem; margin: 40px auto 0; text-align: left; counter-reset: step; }
.next-steps .step { margin-bottom: 28px; }

/* ---------- Utilities ---------- */
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 32px; }

/* ---------- Motion ---------- */
@media (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { --d: .1s; }
  .reveal[data-delay="2"] { --d: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn .icon, .cell .icon, .pin-icon { transition: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
  html { font-size: 112.5%; }
  :root { --max: 1320px; }
}
@media (min-width: 2200px) {
  html { font-size: 131%; }
  :root { --max: 1560px; }
}

@media (max-width: 1060px) {
  .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 112px; }
  .brand-logo { height: 84px; }
  .site-header.scrolled { --header-h: 72px; }
  .site-header.scrolled .brand-logo { height: 48px; }
  .two-col, .maps, .compare { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .topbar .serving { display: none; }

  .nav-toggle { display: inline-flex; }
  .site-header .wrap { gap: 10px; }
  .btn-phone { margin-left: auto; padding: 10px 14px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 16px var(--gutter); font-size: 1.05rem; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
}

@media (max-width: 640px) {
  .checks { flex-direction: column; align-items: flex-start; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell { padding: 20px 16px; }
  .facts li { flex-direction: column; gap: 4px; }
  .facts .label { flex: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  :root { --header-h: 96px; }
  .brand-logo { height: 72px; }
  .site-header.scrolled { --header-h: 64px; }
  .site-header.scrolled .brand-logo { height: 42px; }

  /* The schematic area map has 15 city labels baked into its viewBox; shrinking it to
     fit a phone-width card makes the text illegible, so let it scroll at a readable size. */
  .map-card:not(.state) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map-card:not(.state) > svg { width: 640px; min-width: 640px; max-width: none; }
}

@media (max-width: 420px) {
  :root { --header-h: 80px; }
  .brand-logo { height: 56px; }
  .site-header.scrolled { --header-h: 56px; }
  .site-header.scrolled .brand-logo { height: 36px; }
  .btn-phone .num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-phone { padding: 10px 12px; }
  .area-list { grid-template-columns: minmax(0, 1fr); }
  .cells { grid-template-columns: minmax(0, 1fr); }
}

.map[data-active="menifee"] .pin-menifee .pin-shape,
.map[data-active="temecula"] .pin-temecula .pin-shape,
.map[data-active="murrieta"] .pin-murrieta .pin-shape,
.map[data-active="lake-elsinore"] .pin-lake-elsinore .pin-shape,
.map[data-active="canyon-lake"] .pin-canyon-lake .pin-shape,
.map[data-active="moreno-valley"] .pin-moreno-valley .pin-shape,
.map[data-active="wildomar"] .pin-wildomar .pin-shape,
.map[data-active="winchester"] .pin-winchester .pin-shape,
.map[data-active="french-valley"] .pin-french-valley .pin-shape,
.map[data-active="perris"] .pin-perris .pin-shape,
.map[data-active="hemet"] .pin-hemet .pin-shape,
.map[data-active="san-jacinto"] .pin-san-jacinto .pin-shape,
.map[data-active="riverside"] .pin-riverside .pin-shape,
.map[data-active="corona"] .pin-corona .pin-shape,
.map[data-active="temescal-canyon"] .pin-temescal-canyon .pin-shape { transform: scale(1.25); }
.area-list li:last-child { grid-column: span 2; }
@media (min-width: 1061px) { .area-list li:last-child { grid-column: auto; } }
@media (min-width: 641px) and (max-width: 1060px) { .area-list li:last-child { grid-column: auto; } }
@media (max-width: 420px) { .area-list li:last-child { grid-column: auto; } }

/* ---------- Offer card and modal form ---------- */
.offer-modal { padding: 0; border: 0; background: transparent; max-width: none; width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow: visible; color: var(--ink); }
.offer-modal::backdrop { background: rgba(20, 32, 43, .64); }
.offer-modal[open] { animation: offer-in .32s var(--ease); }
.offer-modal[open]::backdrop { animation: offer-fade .32s var(--ease); }
@keyframes offer-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes offer-fade { from { opacity: 0; } to { opacity: 1; } }
.offer-panel { background: var(--white); border-top: 4px solid var(--brand); display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.offer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px clamp(18px, 3vw, 32px) 18px; border-bottom: 1px solid var(--line); }
.offer-head .local-badge { margin-bottom: 14px; }
.offer-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .15em; }
.offer-head .sub { margin: 0; color: var(--muted); }
.offer-close { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.offer-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.offer-close .icon { width: 20px; height: 20px; }
.offer-body { overflow: auto; flex: 1; padding: 8px clamp(8px, 2vw, 24px) 16px; -webkit-overflow-scrolling: touch; }
.offer-body .ghl-form { min-height: 560px; }
html.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .offer-modal { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .offer-panel { max-height: 100dvh; height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-modal[open], .offer-modal[open]::backdrop { animation: none; }
}

/* ---------- Newsletter ---------- */
.newsletter { border-top: 1px solid var(--line); text-align: center; }
.newsletter.section { padding: clamp(24px, 3vw, 36px) 0 0; }
.newsletter .section-head { margin: 0 auto 8px; }
.newsletter .section-head .kicker { margin-bottom: 6px; }
.newsletter .section-head h2 { margin-bottom: .15em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.newsletter .section-head .lede { margin-bottom: 0; }
.newsletter-form { display: block; width: 100%; max-width: 640px; height: 340px; margin: 0 auto; }
.newsletter-form iframe { display: block; width: 100%; height: 100%; }
