/* Aldermere Driveways (FICTIONAL / SANDBOX). Palette and type from pilot-inputs/brand-spec.md. */
:root {
  --navy: #1E2F3A; --amber: #D0893A; --stone: #F4EFE6; --ink: #1A1A1A; --mist: #E6E2D9;
  --white: #FFFFFF; --muted: #5E675F; --line: #C9C4B8; --field: #FBF8F2;
  --radius: 16px;
  --font-head: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--stone); padding-bottom: 76px; overflow-x: hidden; }
body.page-thanks, body.page-privacy { padding-bottom: 0; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
.hl { color: var(--amber); }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.sandbox-banner { background: var(--navy); color: var(--stone); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 12px; }

.topbar { background: var(--mist); font-size: 14px; color: var(--navy); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.topbar p { margin: 0; }
.topbar-phone { font-weight: 600; white-space: nowrap; }

.site-header { background: var(--field); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; color: var(--navy); white-space: nowrap; }

.btn { display: inline-block; font: 700 16px/1.2 var(--font-head); padding: 14px 24px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: inset 0 -3px 0 rgba(30, 47, 58, .18); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--navy); color: var(--stone); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-block { display: block; width: 100%; }
.btn-small { padding: 9px 16px; font-size: 14px; }
.text-link { display: block; text-align: center; margin-top: 10px; font-weight: 600; }

.hero { padding: 36px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .9fr); gap: 36px; align-items: start; }
.attention { font-weight: 600; color: var(--muted); font-size: 15px; margin-bottom: .6em; }
.subhead { font-size: 18px; }
.hero-visual { position: relative; margin: 20px 0 6px; border-radius: var(--radius); overflow: hidden; }
.hero-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Offer sits over the driveway (lower left), clear of the door and windows. */
.hero-offer { position: absolute; left: 4%; bottom: 13%; max-width: 62%; background: rgba(30, 47, 58, .9); color: var(--stone); padding: 12px 18px; border-radius: 12px; border-left: 5px solid var(--amber); }
.hero-offer strong { display: block; font: 800 clamp(1rem, 2.3vw, 1.45rem)/1.2 var(--font-head); }
.hero-offer span { font-size: clamp(.8rem, 1.6vw, 1rem); }
.hero-visual figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 12px; color: var(--white); background: rgba(26, 26, 26, .55); padding: 2px 8px; border-radius: 6px; }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--amber); position: relative; margin-top: 2px; }
.tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hero-mobile-cta { display: none; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 10px 30px rgba(30, 47, 58, .08); }
.form-card h2, .form-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.form-card-sub { color: var(--muted); font-size: 15px; }
.lead-form { display: flex; flex-wrap: wrap; gap: 12px; }
.field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; }
.field-half { flex: 1 1 calc(50% - 6px); min-width: 140px; }
.field label { font-weight: 600; font-size: 15px; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select { font: 400 16px/1.4 var(--font-body); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink); width: 100%; min-height: 48px; }
.field input:focus, .field select:focus { outline: 3px solid rgba(208, 137, 58, .45); border-color: var(--amber); }
.field [aria-invalid="true"] { border-color: #8a3b12; }
.help { font-size: 13px; color: var(--muted); margin: 0; }
.error { font-size: 14px; color: #8a3b12; margin: 0; font-weight: 600; }
.lead-form .btn-block { margin-top: 6px; }
.form-status { flex: 1 1 100%; margin: 0; font-weight: 600; color: var(--navy); }
.form-note { flex: 1 1 100%; font-size: 14px; color: var(--muted); margin: 0; }
.form-note-call { color: var(--navy); font-weight: 600; }

.section { padding: 56px 0; }
.section.alt { background: var(--mist); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 28px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--navy); font: 800 18px var(--font-head); margin-bottom: 10px; }
.steps-compact { grid-template-columns: 1fr; }
.badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badges-label { flex: 1 1 100%; font-size: 13px; color: var(--muted); margin: 0; }
.badge { background: var(--white); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--navy); font-size: 14px; }
.synthetic-label { font-weight: 600; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.review blockquote { margin: 0 0 12px; }
.review figcaption { font-weight: 600; color: var(--navy); }
.synthetic-tag { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin: 10px 0 0; }
.final { background: var(--white); }
.final-grid { display: grid; grid-template-columns: 1fr minmax(340px, .9fr); gap: 36px; align-items: start; }
#book-form { scroll-margin-top: 90px; }
#book-form:focus { outline: none; }
.reassure-row { background: var(--mist); padding: 12px 16px; border-radius: 12px; font-weight: 600; color: var(--navy); }
.thanks-visual { margin: 24px 0 0; }
.thanks-visual img { border-radius: var(--radius); }
.thanks-visual figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.site-footer { background: var(--navy); color: var(--stone); padding: 36px 0; font-size: 15px; }
.site-footer a { color: var(--stone); }
.footer-logo { height: 48px; width: auto; border-radius: 8px; padding: 4px 8px; background: #FDF8F2; margin-bottom: 14px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.footer-sandbox { font-weight: 600; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line); display: flex; justify-content: center; align-items: center; gap: 18px; padding: 10px 16px; box-shadow: 0 -6px 20px rgba(30, 47, 58, .08); }
.sticky-text { font-weight: 600; color: var(--navy); }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(30, 47, 58, .72); }
.modal-panel { position: relative; background: var(--white); border-radius: 18px; padding: 26px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-panel h2 { font-size: 1.35rem; padding-right: 36px; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--navy); color: var(--stone); }

@media (max-width: 980px) {
  .nav { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .final-grid { grid-template-columns: 1fr; }
  .hero-form-card { display: none; }
  .hero-mobile-cta { display: block; margin-top: 8px; }
  .steps, .reviews { grid-template-columns: 1fr; }
  .topbar-trust { display: none; }
  .topbar-inner { justify-content: center; }
  .header-phone { display: none; }
  .sticky-text { display: none; }
  .sticky-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .logo img { height: 44px; }
  .header-actions .btn { padding: 10px 12px; font-size: 14px; }
  .field label { font-size: 16px; }
  .hero { padding-top: 22px; }
  .hero-offer { max-width: 78%; bottom: 16%; padding: 8px 12px; }
  .form-card, .modal-panel { padding: 18px; }
}
.steps-compact li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; }
.steps-compact .step-num { margin: 0; flex: 0 0 36px; }
.steps-compact p { margin: 0; }
