/* Brightvale Mobile Detailing — demo stylesheet (mobile-first, no framework) */
:root {
  --navy: #0f2a3d;
  --navy-2: #173b55;
  --teal: #0b6e77;
  --teal-light: #e6f4f5;
  --amber: #f6b70f;
  --amber-dark: #d99e00;
  --ink: #1b2730;
  --muted: #4a5a66;
  --line: #d7e1e6;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --error: #b42318;
  --success: #116b3a;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 61, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 76px; /* room for mobile action bar */
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--amber-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }
section[id], input, select, textarea { scroll-margin-top: 80px; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden {
  position: absolute !important; 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: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.demo-banner {
  background: #fff4d1; color: #4d3b00; text-align: center; font-size: .875rem;
  padding: .4rem 1rem; border-bottom: 1px solid #f0d98a;
}
.placeholder-note { color: #6b4e00; background: #fff8e1; padding: .1em .35em; border-radius: 4px; font-size: .95em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: #1a1300; }
.btn-primary:hover { background: var(--amber-dark); color: #1a1300; }
.btn-call { background: var(--teal); color: #fff; }
.btn-call:hover { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-weight: 800; }
.brand-name { font-size: 1.05rem; letter-spacing: -.01em; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem 1.25rem 1.25rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: .8rem .25rem; color: var(--navy); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav .header-call { margin-top: 1rem; width: 100%; }
.no-js .site-nav { display: block; position: static; }
.no-js .nav-toggle { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: flex; align-items: center; gap: 1.5rem; position: static; box-shadow: none; border: 0; padding: 0; background: none;
  }
  .site-nav ul { display: flex; gap: 1.25rem; }
  .site-nav li a { border: 0; padding: .5rem 0; }
  .site-nav li a:hover { color: var(--teal); }
  .site-nav .header-call { margin-top: 0; width: auto; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, #d8f0f2 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 2.5rem 0 3rem;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { font-weight: 700; color: var(--teal); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.accent { color: var(--teal); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.cta-row .btn { flex: 1 1 220px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; color: var(--navy); font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: .5rem; }
.hero-art img { margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(15,42,61,.18)); }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .cta-row .btn { flex: 0 0 auto; }
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-title { margin-bottom: .4em; }
.section-intro { color: var(--muted); max-width: 46em; margin-bottom: 2rem; }

.steps { background: var(--navy); color: #e8f1f5; }
.steps .section-title, .steps h3 { color: #fff; }
.steps-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; }
.steps-list li { background: var(--navy-2); border-radius: var(--radius); padding: 1.5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--amber); color: #1a1300; font-weight: 800; margin-bottom: .75rem;
}
.steps-list p { margin: 0; color: #d3e2ea; }
@media (min-width: 760px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }

.card-grid { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card-icon { margin-bottom: .75rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* Pricing */
.pricing { background: var(--bg-soft); }
.sample-tag {
  display: inline-block; background: #fff4d1; color: #4d3b00; border: 1px solid #e9cf72;
  border-radius: 999px; padding: .05rem .6rem; font-size: .85rem; margin-right: .4rem;
}
.price-grid { display: grid; gap: 1.25rem; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price-card.featured { border: 2px solid var(--teal); }
.price-card ul { padding-left: 1.2rem; margin: 0 0 1.5rem; color: var(--muted); flex: 1; }
.price-card .btn { width: 100%; }
.price { font-size: 2.25rem; font-weight: 800; color: var(--navy); margin: 0; }
.price .from { font-size: 1rem; font-weight: 600; color: var(--muted); }
.duration { color: var(--teal); font-weight: 600; }
.badge {
  position: absolute; top: -14px; left: 1.5rem; margin: 0; background: var(--teal); color: #fff;
  font-size: .8rem; font-weight: 700; padding: .2rem .75rem; border-radius: 999px;
}
.pricing-notes { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.pricing-notes h3 { font-size: 1.05rem; }
.pricing-notes p { color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: .2rem 0; }
@media (min-width: 900px) {
  .price-grid, .pricing-notes { grid-template-columns: repeat(3, 1fr); }
}

/* About */
.about-grid { display: grid; gap: 2rem; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.trust-list li { background: var(--teal-light); border-radius: var(--radius); padding: 1rem 1.25rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; } }

/* FAQ */
.faq { background: var(--bg-soft); }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; }
summary {
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--navy); min-height: 48px;
  list-style-position: inside;
}
details p { padding: 0 1.25rem 1rem; margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
.contact-methods { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.contact-details dt { font-weight: 700; color: var(--navy); margin-top: .75rem; }
.contact-details dd { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; } }

.quote-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-intro { color: var(--muted); font-size: .95rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #8a9ba6; border-radius: 10px; padding: .7rem .8rem; min-height: 48px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--teal); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--error); background: #fff7f6; }
.hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.error { font-size: .9rem; color: var(--error); font-weight: 600; margin: .3rem 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .9rem; color: var(--muted); margin: .75rem 0 0; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 10px; font-weight: 600; }
.form-status.is-success { background: #e8f6ee; color: var(--success); border: 1px solid #a6d8b9; }
.form-status.is-error { background: #fdecea; color: var(--error); border: 1px solid #f2b8b0; }
.form-status.is-info { background: var(--teal-light); color: var(--navy); border: 1px solid #b6dfe2; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* Footer */
.site-footer { background: var(--navy); color: #d3e2ea; padding: 2.5rem 0 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .25rem; }
.copyright { font-size: .875rem; color: #b9cbd6; border-top: 1px solid var(--navy-2); padding-top: 1rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; 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 16px rgba(15,42,61,.10);
}
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

.prose h1 { margin-top: .5rem; }
