/* ==========================================================================
   Sell to Mt. Juliet — stylesheet
   Mobile-first. No framework, no web fonts: the system font stack renders
   instantly, which matters because page speed is a ranking factor and this
   site's whole job is converting people who arrived from an ad or a search.
   ========================================================================== */

:root {
  --ink:        #0A1628;
  --ink-soft:   #16283F;
  --text:       #17202E;
  --muted:      #5B6B80;
  --line:       #E2E8F0;
  --surface:    #F6F8FB;
  --white:      #FFFFFF;

  --accent:     #12B76A;
  --accent-600: #0E9A58;
  --accent-700: #0B7D47;
  --accent-tint:#E9F9F1;

  --gold:       #F5A623;
  --warn-bg:    #FFF8E6;
  --warn-line:  #F0CE7A;

  --wrap:       1160px;
  --wrap-narrow: 780px;
  --radius:     12px;
  --radius-lg:  18px;
  --shadow:     0 1px 2px rgba(10,22,40,.06), 0 8px 24px rgba(10,22,40,.06);
  --shadow-lg:  0 20px 50px rgba(10,22,40,.16);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* -------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  /* Room for the sticky mobile CTA so it never covers the footer. */
  padding-bottom: 72px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.125rem); }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--accent-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-600); }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.25em; }

address { font-style: normal; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.muted { color: var(--muted); }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 650; line-height: 1;
  padding: .875rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .08s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #052B18; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-600); border-color: var(--accent-600); color: #052B18; }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.8); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); }

.btn-sm  { padding: .625rem 1.125rem; font-size: .9375rem; }
.btn-lg  { padding: 1.0625rem 2rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--ink); color: var(--accent); border-radius: 10px;
}
.logo-text { font-size: 1.0625rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-text strong { color: var(--accent-700); font-weight: 800; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 550;
  padding: .375rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--accent-700); border-bottom-color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent-700); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 0 auto; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-bars { position: relative; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -6px; }
.nav-bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after  { transform: translateY(-6px) rotate(-45deg); }

.header-actions { display: flex; align-items: center; gap: .875rem; flex: 0 0 auto; }
.header-phone { color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9375rem; white-space: nowrap; }
.header-phone:hover { color: var(--accent-700); }

/* --------------------------------------------------------------- hero */

.hero {
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(18,183,106,.22), transparent 62%),
    linear-gradient(168deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}
.hero-inner { display: grid; gap: 2.5rem; }
.hero h1 { color: var(--white); text-wrap: balance; }
.hero-sub { font-size: clamp(1.0625rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 .875rem; }
.hero-note { font-size: .875rem; color: rgba(255,255,255,.62); margin: 0; }
.hero-bullets { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .5rem; }
.hero-bullets li { padding-left: 1.75rem; position: relative; color: rgba(255,255,255,.9); }
.hero-bullets li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

.hero-art { display: none; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg); max-width: 340px; margin-left: auto;
}
.hero-card-row { color: rgba(255,255,255,.72); font-size: .9375rem; }
.hero-card-offer {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 0; margin: 1rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-card-offer .muted { color: rgba(255,255,255,.6); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-card-offer strong { font-size: 2.25rem; color: var(--accent); letter-spacing: -.03em; }
.hero-card-foot { font-size: .8125rem; color: rgba(255,255,255,.6); }

/* Inline AutoHub form in the hero. Shown at every screen size: on phones it
   stacks under the headline, which puts the form in front of the seller
   without a tap. Fixed height because AutoHub's form does not report its own
   size to the page. This is the full multi-step appraisal form (the one the
   popup shows), which is taller than its first screen, so 600px gives later
   steps room; anything taller scrolls inside the frame. */
.hero-form {
  width: 100%; max-width: 460px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-form-frame { display: block; width: 100%; height: 600px; border: 0; }
@media (min-width: 861px) { .hero-form { margin: 0 0 0 auto; } }

/* Thank-you shown in place of the hero form once a seller has submitted and
   AutoHub's form closes (it blanks itself on close). The iframe is hidden,
   so the card shrinks to fit the message. `.hero-form-frame` sets
   display:block, which would override the `hidden` attribute, hence the
   explicit [hidden] rules. The .hero sets white text, so the panel resets
   the colour for the white card. */
.hero-form-frame[hidden], .hero-form-thanks[hidden] { display: none; }
.hero-form-thanks { padding: 2.75rem 2rem; text-align: center; color: var(--text); }
.hero-form-thanks h2 { color: var(--accent-700); font-size: 1.5rem; margin-bottom: .75rem; }
.hero-form-thanks h2:focus { outline: none; }
.hero-form-thanks p { color: var(--muted); margin-bottom: .75rem; }
.hero-form-thanks p:last-child { margin-bottom: 0; }
.hero-form-thanks-phone a { font-weight: 700; white-space: nowrap; }

/* ----------------------------------------------------------- trust bar */

.trust-bar { background: var(--ink-soft); color: var(--white); padding: 1.25rem 0; }
/* Flex rather than a fixed grid: stats holding PLACEHOLDER values are dropped
   at build time, and the survivors must still centre rather than clinging to
   column 1. */
.trust-bar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.25rem 2.5rem; text-align: center;
}
.trust-bar li { flex: 1 1 140px; max-width: 260px; }
.trust-bar li a { color: inherit; text-decoration: none; display: block; }
.trust-bar li a:hover strong { color: var(--accent); }
.trust-bar strong { display: block; font-size: 1.375rem; letter-spacing: -.02em; }
.trust-bar span   { display: block; font-size: .8125rem; color: rgba(255,255,255,.66); }

/* ------------------------------------------------------------ sections */

.section { padding: 3.5rem 0; }
.section-alt { background: var(--surface); }
.section-h { text-align: center; text-wrap: balance; }
.section-intro {
  text-align: center; max-width: 46em; margin: 0 auto 2.5rem;
  color: var(--muted); font-size: 1.0625rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }
.section-more { text-align: center; margin-top: 2rem; font-weight: 600; }

.page-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 2rem 0 2.75rem; }
.page-header h1 { text-wrap: balance; max-width: 20em; }
.page-sub { font-size: 1.125rem; color: var(--muted); max-width: 42em; margin-bottom: 1.5rem; }

.breadcrumb { margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }

/* --------------------------------------------------------------- steps */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.section-alt .step { background: var(--white); }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem;
  background: var(--accent-tint); color: var(--accent-700);
  border-radius: 50%; font-weight: 800; font-size: 1.0625rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- tiles */

.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.tile h3 { margin-bottom: .5rem; color: var(--ink); }
.tile p  { margin: 0; color: var(--muted); font-size: .9375rem; }
.tile-plain { background: transparent; border-color: transparent; padding: 0; }
.tile-plain h3 { position: relative; padding-left: 1.75rem; }
.tile-plain h3::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-600); font-weight: 800;
}
.tile-plain p { padding-left: 1.75rem; }

/* ---------------------------------------------------------- comparison */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .9375rem; }
.compare th, .compare td { padding: .875rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface); font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare .col-us { background: var(--accent-tint); }
.compare thead .col-us { background: var(--accent); color: #052B18; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.honest-note {
  max-width: 46em; margin: 1.75rem auto 0; padding: 1.25rem 1.5rem;
  background: var(--white); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); font-size: .9375rem;
}

/* ----------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 1.5rem; }
.faq-item { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-item h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.faq-item p  { margin: 0; color: var(--muted); }

/* ------------------------------------------------------- rating sources */

.rating-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.rating-card a {
  display: flex; flex-direction: column; align-items: center; gap: .375rem;
  padding: 1.5rem 1rem; text-decoration: none; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .08s;
}
.rating-card a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.rating-source {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted);
}
.rating-score { font-size: 2.25rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.rating-score small { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.rating-count { font-size: .8125rem; color: var(--muted); }

.stars { display: inline-flex; gap: 1px; }
.star { color: var(--line); font-size: .9375rem; line-height: 1; }
.star-on { color: var(--gold); }

.rating-note {
  text-align: center; font-size: .8125rem; color: var(--muted);
  max-width: 44em; margin: 1.75rem auto 0;
}

/* --------------------------------------------------------------- quotes */

.quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { margin: 0; font-size: 1.0625rem; }
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after  { content: "”"; }
.quote cite { font-style: normal; font-weight: 650; font-size: .9375rem; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }

/* ----------------------------------------------------------- city grid */

.city-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .875rem; }
.city-grid a {
  display: block; padding: 1.125rem 1.25rem; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .08s;
}
.city-grid a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.city-grid strong { display: block; color: var(--ink); }
.city-grid span   { display: block; font-size: .8125rem; color: var(--muted); }

/* ------------------------------------------------------------ cta band */

.cta-band {
  background: linear-gradient(168deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white); text-align: center; padding: 3.5rem 0;
}
.cta-band h2 { color: var(--white); text-wrap: balance; }
.cta-band p  { color: rgba(255,255,255,.82); max-width: 40em; margin: 0 auto 2rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* -------------------------------------------------------------- prose */

.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5rem; }
.prose .lede { font-size: 1.1875rem; color: var(--text); }

.notice { padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .9375rem; }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); }

/* ------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: 1.25rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.contact-card h2 { font-size: 1.1875rem; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-phone a { font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }

.hours { margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .375rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.hours-row:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }

/* --------------------------------------------------------- contact form */

.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .375rem; }
.field-row { display: grid; gap: 1.25rem; }

.contact-form label { font-weight: 600; font-size: .9375rem; }
.req { color: var(--accent-700); }
.opt { font-weight: 400; color: var(--muted); font-size: .875rem; }

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; font-size: 1rem; /* 16px minimum stops iOS zooming on focus */
  width: 100%; padding: .75rem .875rem;
  color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Only flag invalid fields after a submit attempt, never while typing. */
.contact-form.submitted input:invalid,
.contact-form.submitted textarea:invalid { border-color: #D92D20; }

.field-consent { margin-top: .25rem; }
.checkbox { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .875rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: .2rem; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.contact-form.submitted .checkbox input:invalid { outline: 2px solid #D92D20; outline-offset: 2px; }

/* Honeypot — hidden from people, present for bots. Not display:none, which
   some bots detect and skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; font-size: .9375rem; min-height: 1.5em; }
.form-status.is-error { color: #B42318; font-weight: 600; }
.form-status.is-ok { color: var(--accent-700); font-weight: 600; }

.form-sent {
  padding: 2rem; text-align: center;
  background: var(--accent-tint); border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
}
.form-sent h3 { color: var(--accent-700); }
.form-sent p:last-child { margin-bottom: 0; }

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 3rem 0 1.5rem; font-size: .9375rem; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-col .logo-text { color: var(--white); font-size: 1.125rem; }
.footer-col .logo-text strong { color: var(--accent); }
.footer-parent { margin: .75rem 0; }
.footer-address { line-height: 1.8; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.5); margin-bottom: .875rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .hours-row { border-bottom-color: rgba(255,255,255,.12); }
.site-footer .hours dt { color: rgba(255,255,255,.6); }
.site-footer .hours dd { color: var(--white); }
.site-footer .btn-primary { margin-top: 1.25rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem; color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 1.25rem; padding: 0; margin: 0; }

/* ---------------------------------------------------------- sticky CTA */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .625rem; padding: .625rem 16px;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding-bottom: calc(.625rem + env(safe-area-inset-bottom));
}
.sticky-cta .btn { flex: 1; }
.sticky-phone {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .875rem 1.5rem; border: 2px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 650; flex: 0 0 auto;
}

/* ---------------------------------------------------------- fallback modal */

.offer-modal {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10,22,40,.6); backdrop-filter: blur(3px);
}
.offer-modal[hidden] { display: none; }
.offer-modal-inner {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  padding: 2.25rem; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); text-align: center;
}
.offer-modal-close {
  position: absolute; top: .5rem; right: .75rem;
  background: none; border: 0; font-size: 1.75rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.offer-modal-phone a { font-size: 1.625rem; font-weight: 700; text-decoration: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 860px) {
  .site-nav { position: static; }
  .nav-toggle { display: block; order: 2; }
  .site-nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 20px 1rem;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open ul { display: flex; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: .875rem 0; border-bottom: 0; }
  .header-phone, .header-actions .btn { display: none; }
}

@media (min-width: 600px) {
  .tiles, .steps, .quotes { grid-template-columns: repeat(2, 1fr); }
  .rating-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 861px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: 5rem 0 5.5rem; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero-art { display: block; }
  .section { padding: 5rem 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .rating-grid { grid-template-columns: repeat(4, 1fr); }
  .city-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .cta-band { padding: 5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .sticky-cta, .cta-band, .offer-modal { display: none !important; }
  body { padding-bottom: 0; }
}
