/* 2-Minute Quote — layers on top of the site's main.css design system.
   Tokens (--gold, --green, --ink, --body, --line, --mist, --shadow-card,
   --ease-out) come from main.css; only wizard components live here. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hidden { display: none !important; }

/* hero — same treatment as other pages, just shorter */
.hero-quote { min-height: 0; padding: 170px 0 70px; }
@media (max-width: 809.98px) { .hero-quote { padding: 130px 0 50px; } }

/* the wizard card */
.section-quote-tool { padding: 70px 0 110px; }
@media (max-width: 809.98px) { .section-quote-tool { padding: 40px 0 80px; } }

/* the same wizard, dropped into a service page in place of the old CTA button */
.section-quote-embed { padding: 90px 0 100px; }
.quote-embed-head { margin-bottom: 45px; }
@media (max-width: 1199.98px) { .section-quote-embed { padding: 70px 0 80px; } }
@media (max-width: 809.98px) {
  .section-quote-embed { padding: 50px 0 60px; }
  .quote-embed-head { margin-bottom: 30px; }
}

.quote-shell {
  --radius: 12px;
  max-width: 640px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 12px 30px 38px;
}
@media (max-width: 809.98px) { .quote-shell { padding: 8px 18px 28px; } }

.screen { animation: rise .3s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
  .pill, .btn-next { transition: none !important; }
}

.topbar { display: flex; align-items: center; gap: 12px; padding: 16px 0 6px; }
.back {
  background: none; border: 0; font-size: 22px; line-height: 1;
  color: var(--ink); cursor: pointer; padding: 6px 10px; border-radius: 8px;
  min-width: 42px; font-family: inherit;
}
.back:hover { background: var(--mist); }
.back.spacer { visibility: hidden; }
.progress { flex: 1; height: 6px; border-radius: 3px; background: #e9e5dc; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width .35s var(--ease-out); }

.q-title {
  font-size: clamp(24px, 5vw, 30px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.25; margin: 22px 0 6px; color: var(--ink);
}
.q-title:focus { outline: none; }
.q-sub { color: var(--body); font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.fine { color: var(--body); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; }
.fine.center { text-align: center; }
.error { color: #b3261e; font-size: 14.5px; font-weight: 600; margin: 14px 0 0; }

/* pills — the v1 pattern: large tap targets, dark fill on selection */
.pills { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.pill {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 58px; padding: 14px 20px;
  font: inherit; font-size: 17px; font-weight: 600; text-align: left; line-height: 1.4;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .12s var(--ease-out);
}
.pill:hover { border-color: var(--gold); }
.pill:active { transform: scale(.985); }
.pill.on { background: var(--green); border-color: var(--green); color: #fff; }
.pill.on::after { content: "✓"; font-size: 16px; color: var(--gold); margin-left: 12px; }

/* buttons — match the site's .btn geometry, sized for thumbs */
.btn-next {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; margin-top: 22px; padding: 14px 20px;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1.4;
  background: var(--green); color: #fff; border: 1px solid transparent;
  border-radius: var(--radius-btn); cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn-next:hover { transform: translateY(-2px); }
.btn-next:active { transform: translateY(0) scale(.985); }
.btn-next[disabled] { opacity: .35; pointer-events: none; }
.btn-next.gold { background: var(--gold); }
.btn-next.gold:hover { background: var(--gold-dark); box-shadow: 0 8px 24px rgba(212, 168, 87, .35); }
.btn-next.outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-next.outline:hover { border-color: var(--gold); color: var(--gold-dark); box-shadow: none; }

/* photos step — the example is a real customer phone photo, so it's shown
   portrait, big enough to copy the framing from without taking the screen */
.example {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 10px;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
}
.example img {
  display: block; width: 132px; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.example::before {
  content: "Example"; position: absolute; top: 16px; left: 16px; z-index: 1;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(26, 34, 24, .72); padding: 3px 8px; border-radius: 999px;
}
.example .fine { margin: 0; }

.photo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 16px; }
.photo-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.thumb {
  width: 100%; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 300; color: var(--body);
  background: var(--mist) center/cover no-repeat;
  border: 2px dashed var(--line); border-radius: var(--radius);
  transition: border-color .15s;
}
.photo-tile:hover .thumb { border-color: var(--gold); }
.thumb.filled { border-style: solid; border-color: var(--green); }
.tile-label { font-size: 14px; font-weight: 600; color: var(--ink); }

/* fields */
.field {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 17px; line-height: 1.4;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.field:focus { outline: none; border-color: var(--gold); }
textarea.field { min-height: 0; margin-top: 16px; resize: vertical; }
.field-row { display: block; margin-top: 16px; }
.field-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; letter-spacing: .02em; color: var(--ink); }
.date-wrap { margin-top: 16px; }

/* trust strip — quiet proof, not a sales pitch */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0;
  margin: 18px 0 0; padding: 12px 8px;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; font-weight: 600; color: var(--body); text-align: center;
}
.trust-row span { display: inline-flex; align-items: center; }
.trust-row span + span::before { content: "·"; margin: 0 10px; color: var(--gold); font-weight: 800; }

/* waiting state */
.waiting { text-align: center; padding: 56px 10px 40px; color: var(--body); font-size: 16px; }
.dotpulse { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.dotpulse span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
  animation: pulse 1.1s infinite ease-in-out;
}
.dotpulse span:nth-child(2) { animation-delay: .18s; }
.dotpulse span:nth-child(3) { animation-delay: .36s; }
@keyframes pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dotpulse span { animation: none; opacity: .8; } }

/* the while-you-wait card — one joke, fact or tip at a time */
.fun-card {
  max-width: 430px; margin: 30px auto 0; padding: 16px 18px;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  opacity: 0; transform: translateY(6px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.fun-card.show { opacity: 1; transform: none; }
.fun-kicker {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 5px;
}
.fun-text { font-size: 15px; line-height: 1.65; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .fun-card { transition: opacity .55s; transform: none; } }

/* the quote itself — the shell is already the card */
.quote-card { padding-top: 18px; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 2px; text-align: center;
}
.big-price {
  font-size: clamp(52px, 13vw, 72px); font-weight: 800; letter-spacing: -0.03em;
  text-align: center; color: var(--green); line-height: 1.05;
}
.quote-sub { text-align: center; color: var(--body); font-size: 15.5px; line-height: 1.6; margin: 6px 0 0; }
.notice {
  margin: 18px 0 0; padding: 12px 14px; font-size: 14.5px; line-height: 1.6;
  background: rgba(212, 168, 87, .12); border: 1px solid rgba(212, 168, 87, .45);
  border-radius: 10px; color: #6b5320;
}
.block { margin-top: 22px; }
.block h2 { font-size: 15px; font-weight: 700; margin: 0 0 8px; letter-spacing: 0; }
.block ul { margin: 0; padding-left: 20px; color: var(--body); font-size: 15px; line-height: 1.7; }
.block li { margin: 4px 0; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

/* price reveal — the number should land, not just appear */
.quote-card::before {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 2px;
  background: var(--gold); margin: 0 auto 16px;
}
.big-price { animation: price-in .5s var(--ease-out); }
@keyframes price-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .big-price { animation: none; } }

/* multi-service bundle */
.bundle-note {
  margin-top: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.6;
  color: var(--body); background: rgba(212, 168, 87, .1);
  border: 1px solid rgba(212, 168, 87, .4); border-radius: var(--radius);
}
.bundle-note strong { color: var(--gold-dark); }
.bundle-progress {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dark); text-align: center; margin: 14px 0 -8px;
}
.bundle-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.bundle-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.bundle-row .svc { font-weight: 600; color: var(--ink); }
.bundle-row .amt { font-weight: 700; color: var(--ink); white-space: nowrap; }
.bundle-row .amt.muted { color: var(--body); font-weight: 500; font-size: 14px; }
.bundle-row.discount .svc, .bundle-row.discount .amt { color: var(--gold-dark); }
.bundle-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 16px 2px 4px; font-size: 17px; font-weight: 800; color: var(--green);
}
.bundle-total .amt { font-size: clamp(24px, 6vw, 30px); letter-spacing: -0.02em; white-space: nowrap; }

/* ---------- regular maintenance ---------- */

/* the plan card: when we come, and the three things that make it feel like a
   person rather than a subscription */
.plan-card {
  margin-top: 20px; padding: 16px 18px;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan-when {
  margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--green);
  letter-spacing: -0.01em;
}
.plan-card ul { margin: 0; padding-left: 18px; color: var(--body); font-size: 14.5px; line-height: 1.65; }
.plan-card li { margin: 3px 0; }

.plan-summary { margin-top: 22px; border-top: 1px solid var(--line); }
.plan-summary-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--body);
}
.plan-summary-row .v { font-weight: 700; color: var(--ink); text-align: right; }

/* the convert card — sits at the foot of a one-off quote, at the exact moment
   someone has been reminded what letting it go costs */
.convert-card {
  margin-top: 30px; padding: 22px 20px 24px;
  background: var(--mist);
  border: 1px solid rgba(212, 168, 87, .55); border-radius: var(--radius-card);
}
.convert-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-dark);
}
.convert-card h2 {
  margin: 0 0 8px; font-size: clamp(20px, 4.4vw, 24px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.25; color: var(--ink);
}
.convert-lead { margin: 0; color: var(--body); font-size: 15.5px; line-height: 1.65; }
.convert-card .pills { margin-top: 16px; }
/* :not(.on) matters — this rule has the same specificity as `.pill.on` and sits
   later in the file, so an unqualified `background` here beat the selected
   state and left white-on-white: the chosen cadence appeared blank. */
.convert-card .pill:not(.on) { min-height: 50px; font-size: 16px; background: var(--paper); }
.convert-card .pill.on { min-height: 50px; font-size: 16px; }
.convert-price {
  margin: 18px 0 0; text-align: center; color: var(--body); font-size: 15.5px; line-height: 1.4;
}
.convert-price strong {
  display: block; font-size: clamp(32px, 8vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; color: var(--green); margin-bottom: 2px;
}
.convert-card .fine { text-align: center; }

/* ---------- the four exits (result screen v3) ---------- */
/* One button makes the money; everything under it steps down in weight. */

.cta-stack.thin { margin-top: 12px; }

.quiet-links {
  display: flex; justify-content: center; gap: 8px 26px; flex-wrap: wrap;
  margin-top: 18px;
}
.text-link {
  background: none; border: none; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--body);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(212, 168, 87, .7);
}
.text-link:hover { color: var(--gold-dark); }

/* booking panel — two taps: a day, then confirm */
.booking-panel { margin-top: 6px; text-align: left; }
.booking-panel .field-label { margin-top: 4px; }
.day-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 10px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.day-chip {
  flex: 0 0 auto; min-width: 74px; padding: 10px 12px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
  font: inherit; text-align: center; transition: border-color .15s, background .15s;
}
.day-chip:hover { border-color: var(--gold); }
.day-chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.day-chip-wd { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.day-chip-date { display: block; font-size: 15.5px; font-weight: 700; margin-top: 2px; }
.win-toggle { display: flex; gap: 8px; margin: 4px 0 14px; }
.win-btn {
  flex: 1; padding: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
}
.win-btn:hover { border-color: var(--gold); }
.win-btn.on { background: var(--green); border-color: var(--green); color: #fff; }

/* adjust panel — their own job, cheaper, already priced */
.variants-block { margin-top: 18px; text-align: left; }
.variants-block h2 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.variant-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  width: 100%; padding: 13px 16px; margin-bottom: 8px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
  font: inherit; text-align: left; transition: border-color .15s;
}
.variant-row:hover { border-color: var(--gold); }
.variant-row.on { border-color: var(--green); background: var(--mist); }
.variant-row.recurring { border-style: dashed; border-color: rgba(212, 168, 87, .8); }
.variant-label { display: flex; flex-direction: column; gap: 2px; }
.variant-label strong { font-size: 15.5px; }
.variant-detail { font-size: 13px; color: var(--body); line-height: 1.45; }
.variant-price { font-size: 16px; font-weight: 800; color: var(--green); white-space: nowrap; }
.variants-block .text-link { margin-top: 6px; }

.review-panel { margin-top: 18px; text-align: left; }
.review-panel .field { margin-top: 8px; }
.review-panel .btn-next { margin-top: 12px; }

/* booked confirmation */
.booked-card {
  margin-top: 8px; padding: 20px; text-align: center;
  background: var(--mist); border: 1px solid rgba(212, 168, 87, .55);
  border-radius: var(--radius-card);
}
.booked-day {
  margin: 0; font-size: clamp(24px, 6vw, 30px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--green); text-transform: capitalize;
}
.booked-price { margin: 6px 0 0; color: var(--body); font-size: 15.5px; line-height: 1.5; }

/* ---------- the job page (/j/<token>) ---------- */
.job-page .quote-shell { margin-top: 40px; }
.job-card { padding-bottom: 30px; }
.job-banner {
  margin: 4px 0 18px; padding: 14px 16px; border-radius: 12px;
  background: var(--mist); border: 1px solid var(--line);
}
.job-banner.gold { border-color: rgba(212, 168, 87, .7); }
.job-banner.muted { opacity: .92; }
.job-banner strong { display: block; font-size: 15.5px; }
.job-banner p { margin: 6px 0 0; color: var(--body); font-size: 14.5px; line-height: 1.6; }
.was-price {
  text-align: center; margin: 2px 0 0; color: var(--body); font-size: 14.5px;
  text-decoration: line-through; text-decoration-color: rgba(0,0,0,.35);
}
.job-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.job-photos img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line);
}
.q-sub.center { text-align: center; }
.nav-menu.open-static { display: flex; }

/* ---------- maintenance signup: real dates, not a cadence word ---------- */
.schedule-card {
  margin-top: 18px; padding: 16px 18px; text-align: center;
  background: var(--mist); border: 1px solid rgba(212, 168, 87, .55);
  border-radius: var(--radius-card);
}
.schedule-first { margin: 0; font-size: clamp(18px, 4.6vw, 22px); font-weight: 700; color: var(--green); letter-spacing: -0.01em; }
.schedule-rest { margin: 4px 0 0; color: var(--body); font-size: 14.5px; }
.plan-price-line { margin: 14px 0 0; text-align: center; color: var(--body); font-size: 15.5px; line-height: 1.4; }
.plan-price-line strong { display: block; font-size: clamp(26px, 6.5vw, 32px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
/* The sentence that removes the only real objection — against the button, never in an FAQ */
.reassure {
  margin: 10px 0 0; text-align: center; font-size: 14.5px; font-weight: 600;
  line-height: 1.55; color: var(--green);
}

/* ---------- plan page ---------- */
.visit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 2px; border-bottom: 1px solid var(--line);
}
.visit-row:last-child { border-bottom: none; }
.visit-date { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.visit-row.skipped .visit-date { color: var(--body); font-weight: 400; text-decoration: line-through; }
.visit-photo { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.month-total { margin: 0 0 10px; color: var(--body); font-size: 15px; }
.month-total strong { font-size: clamp(24px, 6vw, 30px); font-weight: 800; color: var(--green); letter-spacing: -0.02em; margin-right: 6px; }
.pause-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; width: 100%; }
.pause-row .win-btn { flex: 1 1 auto; min-width: 88px; }
.stop-confirm { width: 100%; margin-top: 10px; text-align: center; }
.stop-confirm .btn-next { margin-top: 8px; }

/* Operator card on terminal screens — photo of whoever rings back. The img
   removes itself (onerror) until the asset exists, so text stands alone. */
.op-card { display: flex; align-items: center; gap: 12px; margin: 18px auto 0; max-width: 420px; padding: 10px 14px; background: #faf8f3; border: 1px solid #e8e2d4; border-radius: 12px; }
.op-card .op-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.op-card .fine { margin: 0; text-align: left; }
