/* Estimate follow-up: additions on top of the cloned Quote Desk styles.css. Keep Quote Desk's file unchanged so it can be re-copied. */

/* Text logo in place of the Quote Desk wordmark */
.logo { font-stretch: 108%; font-size: 1.15rem; letter-spacing: -0.01em; gap: 8px; }
.logo-sub { font-stretch: 100%; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--amber); color: var(--ink); flex: none; }
.footer-text-logo { color: #fff; flex-wrap: wrap; }
.footer-text-logo .logo-sub { color: var(--dark-soft); }
@media (max-width: 480px) { .nav-pill .logo-sub { display: none; } }

/* The headline is longer than Quote Desk's, so it runs a size smaller on wide screens */
@media (min-width: 960px) {
  .lux-hero h1 { font-size: clamp(2.3rem, 3.7vw, 3.2rem); }
  /* The form card makes the hero taller, so the copy starts near the top instead of sitting at the bottom */
  .lux-hero { align-items: start; }
  .lux-hero-copy { padding-top: 56px; }
  .lux-hero .form-card { align-self: start; }
}

/* Review form card in the hero */
.start-card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.card-sub { color: var(--ink-soft); margin: 0 0 18px; }
.start-card .field { margin-bottom: 16px; }
.start-card .small-print a, .form-done a { color: var(--brand-deep); font-weight: 700; }
.form-done:focus { outline: none; }
.form-done p { color: var(--ink-soft); }
.start-card .privacy-line { margin: 0 0 18px; }
.start-card .privacy-line.after-btn { margin: 14px 0 0; font-weight: 500; }
.rv-drafts { margin: 10px 0 0; font-size: 0.82rem; font-weight: 700; color: #8a5a00; }

/* Step 2: upload the open estimates */
.u-help { font-size: 0.88rem; color: var(--ink-soft); margin: 8px 0 0; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { margin: 0; }
.file-list li { font-size: 0.92rem; font-weight: 600; background: var(--muted); border-radius: 8px; padding: 6px 10px; overflow-wrap: anywhere; }
.u-later { margin-top: 10px; min-height: 44px; }
#e-files:empty { display: none; }

/* Spam trap: off screen for people, still filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Example estimate list */
.est-list { list-style: none; margin: 0; padding: 0; }
.est-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--muted); }
.est-row:first-child { border-top: 0; }
.est-row strong { display: block; font-size: 0.95rem; }
.est-row small { color: var(--ink-soft); font-size: 0.82rem; }
.chip { flex: none; font-size: 0.78rem; font-weight: 700; border-radius: 6px; padding: 4px 9px; white-space: nowrap; }
.chip-quiet { background: var(--muted); color: var(--ink-soft); }
.chip-reply { background: var(--brand-soft); color: var(--brand); }
.chip-booked { background: var(--amber-soft); color: #8a5a00; }
.chip-closed { background: var(--green-soft); color: var(--green); }
@media (max-width: 420px) { .est-row { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* Example cards are <figure>s: drop the browser's default side margins so they use the full width on phones */
.split figure.quote-card { margin: 0; width: 100%; }

/* Sample free review */
#review .split-copy .btn { margin-top: 6px; }
.rv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0 6px; }
.rv-stats div { background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.rv-stats b { display: block; font-size: 1.45rem; font-stretch: 108%; line-height: 1.1; }
.rv-stats span { color: var(--ink-soft); font-size: 0.82rem; }
.rv-groups { list-style: none; margin: 8px 0 0; padding: 0; }
.rv-groups li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-top: 1px solid var(--muted); }
.rv-groups strong { display: block; font-size: 0.95rem; }
.rv-groups small { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.4; display: block; }
.rv-groups b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.rv-dot { width: 12px; height: 12px; border-radius: 50%; }
.rv-dot.live { background: var(--green); }
.rv-dot.quiet { background: var(--amber); }
.rv-dot.dead { background: #c4ccd8; }
.rv-next { margin-top: 6px; background: var(--amber-soft); border-radius: 14px; padding: 12px 14px; }
.rv-next .mini-label { color: #8a5a00; margin-top: 0; }
.rv-next ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.rv-next li span { display: block; font-weight: 700; font-size: 0.92rem; }
.rv-next li small { color: var(--ink-soft); font-size: 0.82rem; }

/* Example follow-up email */
.email-body { padding: 14px 4px 2px; font-size: 0.95rem; }
.email-body p { margin: 0 0 10px; }

/* Hero photo: shown whole and sharp in its own frame, never as a shaded background
   (the form makes the hero tall, which blew a background photo up into a blur). */
.hero-photo { margin: 0; border-radius: 18px; overflow: hidden; }
.hero-photo img { display: block; width: 100%; height: auto; object-fit: cover; object-position: 45% 50%; }
@media (min-width: 960px) {
  .hero-photo { margin-top: 28px; border-radius: 20px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
  .hero-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 959px) {
  /* Phones: photo first, then the headline, all on navy */
  .lux-hero-copy { display: flex; flex-direction: column; padding-top: 12px; }
  .hero-photo { order: -1; margin: 0 0 22px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* Final section: plain navy panel. A photo under a dark overlay looked muddy (Robi, 11-03). */
.cta-panel h2 { color: #fff; margin-bottom: 8px; }
.cta-sub { color: var(--dark-soft); margin: 0 0 22px; }

/* How it works: heading beside the kitchen-table estimate photo, lined up with the timeline below */
#how .how-head { max-width: 960px; margin-left: auto; margin-right: auto; }

/* Day one: six steps in Quote Desk's rule cards, then the reply hours */
@media (min-width: 900px) { #day-one .rules { grid-template-columns: repeat(3, 1fr); } }
#day-one .step-num { flex: none; margin-bottom: 0; }
.day-one-hours { margin: 18px 0 0; text-align: left; }

/* Trimmed page (11-03): How it works pairs the day-one heading with the kitchen-table photo */
#day-one .how-head { margin-bottom: 28px; }

/* Phones: headline, then the form, then the photo, so the form is on the first screen */
@media (max-width: 959px) {
  .lux-hero-copy { display: contents; }
  .lux-hero .hero-kicker { order: 1; padding: 16px 8px 0; }
  .lux-hero h1 { order: 2; padding: 0 8px; }
  .lux-hero .lead { order: 3; padding: 0 8px 18px; }
  .lux-hero .form-card { order: 4; }
  .lux-hero .hero-photo { order: 5; margin: 12px 0 0; }
}
@media (max-width: 480px) { .lux-hero .lead { display: none; } }
