/* QuoteMyReno — mobile-first, no external fonts or CDNs */
:root {
  --navy: #13283f;
  --navy-2: #1c3a57;
  --navy-3: #24486c;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --line-2: #d4cdc1;
  --cream: #f6f2ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --amber: #d9920d;
  --amber-2: #b97808;
  --gold: #f3c56b;
  --gold-soft: #fbeecb;
  --green: #1b6b45;
  --green-soft: #e5f4ec;
  --red: #b42318;
  --red-soft: #fdeceb;
  --blue-soft: #e8eef5;
  --shadow: 0 10px 28px rgba(19, 40, 63, 0.08);
  --shadow-sm: 0 2px 8px rgba(19, 40, 63, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 64px;
  --demo-h: 46px;
  --font: "Segoe UI", "Helvetica Neue", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-2); }
button { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  flex: 0 0 auto;
}
.brand svg { width: 36px; height: 36px; display: block; flex: 0 0 auto; }
.brand .wordmark { white-space: nowrap; }
.nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 2px;
}
.nav a {
  color: #e8eef5;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a:hover, .nav a.is-active { background: rgba(255,255,255,.1); color: #fff; }
.nav .btn-nav {
  background: var(--amber);
  color: var(--navy);
  margin-left: 8px;
}
.nav .btn-nav:hover { background: var(--gold); color: var(--navy); }
.menu-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none;
  background: var(--navy-2);
  padding: 8px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-nav.is-open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a.is-active { background: rgba(255,255,255,.1); }
.mobile-nav .btn-nav { background: var(--amber); color: var(--navy); text-align: center; }

/* Demo bar */
.demo-bar {
  background: var(--gold-soft);
  border-bottom: 1px solid #edd89a;
  color: var(--navy);
  font-size: 0.88rem;
}
.demo-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.demo-bar strong { font-weight: 750; }
.role-switch {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e0c56a;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.role-switch button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--navy-2);
}
.role-switch button.is-on {
  background: var(--navy);
  color: #fff;
}
.demo-who {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-who select {
  border: 1px solid #e0c56a;
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  font-weight: 600;
  max-width: 260px;
}
.btn-reset {
  margin-left: auto;
  border: 1px solid #c9a64a;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.82rem;
}
.btn-reset:hover { background: var(--gold); }

main { flex: 1; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.page-head { margin: 0 0 20px; }
.page-head h1 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.page-head p { margin: 0; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
  line-height: 1.2;
}
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #e8a31d; color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--blue-soft); color: var(--navy); }
.btn-light {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-light:hover { background: var(--cream); color: var(--navy); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #155638; color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #8f1c14; color: #fff; }
.btn-sm { padding: 7px 11px; font-size: 0.88rem; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -20%, rgba(243, 197, 107, 0.28), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #0e1f32 100%);
  color: #fff;
  padding: 36px 16px 48px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.hero .lead {
  font-size: 1.08rem;
  color: #d5deea;
  max-width: 38rem;
  margin: 0 0 22px;
}
.hero-art {
  background: linear-gradient(160deg, #1c3a57, #13283f);
  border: 1px solid rgba(243, 197, 107, 0.25);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.hero-art svg { width: 100%; height: auto; display: block; }
.kicker {
  display: inline-block;
  background: rgba(243, 197, 107, 0.15);
  color: var(--gold);
  font-weight: 750;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Cards & grids */
.section { margin: 36px 0; }
.section h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.section .sub { margin: 0 0 18px; color: var(--muted); }
.grid-3, .grid-2, .grid-cats, .job-grid, .profile-grid {
  display: grid;
  gap: 14px;
}
.grid-3, .grid-cats { grid-template-columns: 1fr; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: -0.02em; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.cat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}
.cat-card:hover { border-color: var(--navy-3); background: #fff; }
.cat-ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.cat-ico svg { width: 20px; height: 20px; }

.notice, .disclaimer-box, .privacy-note, .alert {
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.disclaimer-box {
  background: var(--gold-soft);
  border-color: #e4cb7a;
  color: var(--navy);
  margin: 28px 0 0;
}
.disclaimer-box strong { display: block; margin-bottom: 4px; }
.privacy-note { background: var(--blue-soft); border-color: #c9d5e4; }
.alert-ok { background: var(--green-soft); border-color: #b7deca; color: #11462e; }
.alert-err { background: var(--red-soft); border-color: #f3c0bc; color: #7a1610; }
.alert-info { background: var(--blue-soft); border-color: #c9d5e4; }

/* Job cards */
.job-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.job-card:hover { border-color: var(--navy-3); box-shadow: var(--shadow); }
.job-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #d9d3c7;
  overflow: hidden;
}
.job-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
}
.badge-sample {
  background: var(--gold-soft);
  color: var(--navy);
  border: 1px solid #e0c56a;
}
.badge-open { background: var(--green-soft); color: var(--green); }
.badge-awarded { background: var(--blue-soft); color: var(--navy); }
.badge-new { background: var(--amber); color: var(--navy); }
.badge-on-photo {
  position: absolute;
  top: 10px;
  left: 10px;
}
.badge-on-photo.right { left: auto; right: 10px; }
.job-card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.job-card h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.meta { color: var(--muted); font-size: 0.9rem; }
.job-card .foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-2);
}

/* Filters */
.filters {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.filters label { display: block; font-size: 0.78rem; font-weight: 750; color: var(--muted); margin-bottom: 4px; }
.filters select, .field input:not([type="radio"]):not([type="checkbox"]),
.field select, .field textarea, .search-in {
  width: 100%;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}
.field input[type="radio"],
.field input[type="checkbox"] {
  width: auto;
  margin: 0 8px 0 0;
  accent-color: var(--navy);
  flex: 0 0 auto;
}
.field label {
  font-weight: 600;
}
.field > label,
.field label:not(.lab) {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field > label[for] {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.form-section { margin: 0 0 22px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section h2 { font-size: 1.1rem; margin: 0 0 12px; }
.field { margin-bottom: 14px; }
.field label, .lab {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 0.92rem;
}
.hint { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 4px; font-weight: 500; }
.req { color: var(--red); }
.cat-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cat-pick label {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px;
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-pick input { accent-color: var(--navy); }
.cat-pick label.is-on { border-color: var(--navy); background: var(--blue-soft); }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
.error-text { color: var(--red); font-size: 0.86rem; margin-top: 4px; font-weight: 650; }

/* Uploader */
.uploader {
  border: 2px dashed var(--line-2);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  background: #fff;
}
.uploader.is-drag { border-color: var(--amber); background: var(--gold-soft); }
.uploader input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.previews .pv {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eee;
}
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews .rm {
  position: absolute;
  top: 4px;
  right: 4px;
  border: 0;
  background: #fff;
  color: var(--red);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* Job detail */
.gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}
.gallery .main {
  grid-column: 1 / -1;
  border-radius: 14px;
  overflow: hidden;
  background: #d9d3c7;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  border: 0;
  padding: 0;
}
.gallery .main img, .gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs {
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  opacity: 0.85;
  background: #d9d3c7;
}
.gallery .thumbs.is-on { opacity: 1; outline: 3px solid var(--amber); }
.detail-grid { display: grid; gap: 16px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 10px; font-size: 0.95rem; }
.kv dt { color: var(--muted); font-weight: 650; }
.kv dd { margin: 0; }
.hidden-contact {
  background: var(--cream);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  padding: 12px;
  color: var(--muted);
}

/* Compare */
.compare-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.compare-card { position: relative; }
.compare-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 4px 0 10px;
}
.compare-card .price span { font-size: 0.9rem; font-weight: 650; color: var(--muted); }
.certs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cert {
  font-size: 0.75rem;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}
.cert.off { background: #eee; color: var(--muted); }

/* Profiles */
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.profile-head { display: flex; gap: 14px; align-items: flex-start; }
.stars-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d4e2;
  padding: 28px 16px 36px;
  margin-top: auto;
}
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 16px; }
.site-footer a { color: var(--gold); }
.site-footer .fine { font-size: 0.84rem; color: #9aabc0; }
.site-footer h3 { color: #fff; margin: 0 0 6px; font-size: 1rem; }

/* Modal / lightbox */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 28, 0.72);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal h2 { margin: 0 0 8px; }
.lightbox-img {
  max-width: min(960px, 100%);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  z-index: 90;
  box-shadow: var(--shadow);
  font-weight: 650;
  max-width: calc(100% - 24px);
}

/* Empty */
.empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

/* Tables-like list */
.quote-mini {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.quote-mini .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.muted { color: var(--muted); }
.tiny { font-size: 0.82rem; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }

.sample-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .job-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr 1fr 1fr auto; align-items: end; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .cat-pick { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 56px 20px 64px; }
  .wrap { padding: 28px 20px 64px; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .job-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-cats { grid-template-columns: repeat(4, 1fr); }
  .detail-grid { grid-template-columns: 1.3fr 0.7fr; }
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .compare-grid.cols-1 { grid-template-columns: 1fr; max-width: 420px; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .previews { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 639px) {
  .btn-reset { margin-left: 0; }
  .demo-inner { font-size: 0.82rem; }
}


/* Pricing */
.price-hero {
  background: linear-gradient(180deg, var(--navy) 0%, #0e1f32 100%);
  color: #fff;
  padding: 36px 16px 44px;
}
.price-hero h1 { margin: 0 0 10px; letter-spacing: -0.03em; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.price-hero .lead { color: #d5deea; max-width: 40rem; margin: 0; }
.price-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  position: relative;
}
.price-card .plan { margin: 0 0 6px; font-size: 1.15rem; }
.price-card .figure {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 4px 0;
  line-height: 1.15;
}
.price-card .figure small { font-size: 1rem; font-weight: 650; color: var(--muted); }
.price-card .then { font-weight: 700; margin: 0 0 14px; color: var(--navy-2); }
.price-card ul { margin: 0 0 16px; padding-left: 1.1rem; }
.price-card li { margin: 0 0 8px; }
.demo-pay-note {
  background: var(--gold-soft);
  border: 1px solid #e0c56a;
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 650;
  margin: 12px 0;
}
.sub-status {
  background: var(--green-soft);
  border: 1px solid #b7deca;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  color: #11462e;
}
.sub-status.cancelled {
  background: var(--cream);
  border-color: var(--line);
  color: var(--ink);
}
.upsell {
  background: var(--paper);
  border: 2px solid var(--amber);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
}
.upsell h3 { margin-top: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin: 8px 0 4px; color: var(--muted); }
.badge-pro {
  background: var(--navy);
  color: var(--gold);
}
@media (min-width: 800px) {
  .price-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
}

.badge-registered { background: var(--navy); color: var(--gold); }
.badge-handyman { background: #5b4630; color: #f3e2c4; }
.badge-pending { background: #f3e6c4; color: #6a4b00; }
.suggest-flag {
  display: inline-block;
  background: var(--gold-soft);
  border: 1px solid #e0c56a;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.trade-split { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .trade-split { grid-template-columns: 1fr 1fr; } }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.doc-row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.who-pick label { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; background: #fff; cursor: pointer; }
.who-pick label.is-on { border-color: var(--navy); background: var(--blue-soft); }
.demo-bar a.demo-link { color: var(--navy); font-weight: 750; }

label.agree, .agree-label {
  display: block !important;
  font-weight: 650;
  line-height: 1.5;
}
label.agree input, .agree-label input {
  margin-right: 8px;
  vertical-align: text-top;
  width: auto !important;
  flex: none !important;
}

/* Find a builder directory */
.county-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
@media (min-width: 640px) {
  .county-picker { grid-template-columns: 1fr 1fr 1fr; max-height: 280px; }
}
.county-picker label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0;
}
.county-picker input { width: auto; flex: none; margin: 0; }
.cover-list { font-size: 0.9rem; color: var(--muted); margin: 6px 0 0; }
.rating-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-2);
}
.rating-line .stars { color: #d9920d; letter-spacing: 0.04em; }
.rating-line .muted { font-weight: 600; color: var(--muted); }

/* Live hero: phone snap + quotes, same story as the ad */
.hero-live {
  position: relative;
}
.hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: end;
}
.hero-phone {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto;
  background: #0a1622;
  border-radius: 28px;
  padding: 12px 10px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 0 0 2px rgba(243,197,107,.35);
}
.hero-phone-bar {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: #2a3d52;
  margin: 0 auto 10px;
}
.hero-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #13283f;
}
.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-shot-a { animation: heroShotA 12s ease-in-out infinite; }
.hero-shot-b { opacity: 0; animation: heroShotB 12s ease-in-out infinite; }
.hero-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  animation: heroFlash 12s ease-in-out infinite;
}
.hero-chip {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(19,40,63,.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  opacity: 0;
  animation: heroChip 12s ease-in-out infinite;
}
.hero-quotes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-q {
  background: #fffdf8;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transform: translateY(10px);
  opacity: 0;
  font-size: 0.88rem;
  line-height: 1.3;
}
.hero-q strong { display: block; font-size: 1.05rem; color: #1b6b45; }
.hero-q1 { animation: heroQ 12s ease-in-out infinite; animation-delay: 0s; }
.hero-q2 { animation: heroQ 12s ease-in-out infinite; animation-delay: 0.55s; }
.hero-q3 { animation: heroQ 12s ease-in-out infinite; animation-delay: 1.1s; }
.hero-live-caption {
  margin: 10px 0 0;
  text-align: center;
  font-weight: 750;
  color: var(--gold);
  font-size: 0.95rem;
}
@keyframes heroShotA {
  0%, 52% { opacity: 1; transform: scale(1); }
  58%, 96% { opacity: 0; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroShotB {
  0%, 52% { opacity: 0; transform: scale(1.04); }
  58%, 96% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}
@keyframes heroFlash {
  0%, 14.5%, 18%, 100% { opacity: 0; }
  16% { opacity: 0.85; }
  62%, 65.5%, 100% { opacity: 0; }
  64% { opacity: 0.7; }
}
@keyframes heroChip {
  0%, 17%, 50%, 63%, 96%, 100% { opacity: 0; transform: translateY(-4px); }
  20%, 46% { opacity: 1; transform: none; }
  66%, 92% { opacity: 1; transform: none; }
}
@keyframes heroQ {
  0%, 18% { opacity: 0; transform: translateY(12px); }
  28%, 48% { opacity: 1; transform: none; }
  54%, 64% { opacity: 0; transform: translateY(8px); }
  72%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(8px); }
}
@media (min-width: 800px) {
  .hero-stage { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-phone { margin: 0; width: 100%; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shot-a, .hero-shot-b, .hero-flash, .hero-chip, .hero-q1, .hero-q2, .hero-q3 {
    animation: none !important;
  }
  .hero-shot-a { opacity: 1; }
  .hero-shot-b { opacity: 0; }
  .hero-flash { display: none; }
  .hero-chip { opacity: 1; transform: none; }
  .hero-q { opacity: 1; transform: none; }
}
@media (min-width: 640px) {
  #builder-filter-form { grid-template-columns: 1fr 1fr auto; }
}
@media (max-width: 639px) {
  .hero { padding: 22px 16px 28px; }
  .hero .lead { font-size: 0.98rem; margin-bottom: 14px; }
  .hero-inner { gap: 16px; }
  .hero-art { padding: 12px; }
  .hero-phone { width: min(100%, 230px); padding: 10px 8px 14px; }
  .hero-q { padding: 8px 10px; font-size: 0.82rem; }
  .hero-q strong { font-size: 0.98rem; }
}
