/* Home and About pages: clean and calm (cream, navy, gold), booking first. Builds on site.css. */
.display { font-weight: 700; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; }
.display-2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 28px; max-width: 20em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--gold-text); margin: 0 0 10px; }
.kicker.light { color: var(--gold); }
.hl { color: var(--gold); }
.display > span { display: block; text-wrap: balance; } /* no lone word on its own line */
.display > br { display: none; }
.tagline { font-size: clamp(18px, 2.1vw, 21px); font-weight: 600; color: var(--text); margin: 0 0 12px; letter-spacing: -.01em; }
.tagline b { color: var(--gold-text); font-weight: 600; }
.tagline.center { margin: -6px 0 22px; }
.lead { font-size: 17.5px; line-height: 1.65; }

/* hero */
.hero3 { padding: 64px 0 72px; }
.hero3-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.hero3-copy { padding-top: 18px; }

/* booking card: account steps, or skip and just book */
.book-card { background: var(--panel); border-radius: 18px; padding: 28px 28px 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qb { display: grid; gap: 14px; }
.qb-head h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.qb-sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.qb-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: s; }
.qb-steps li { counter-increment: s; font-size: 11.5px; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.qb-steps li.on { color: var(--text); font-weight: 600; border-color: var(--gold); }
.qb-steps li.done { border-color: var(--brand); }
.qb fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.qb legend { padding: 0; margin: 0 0 12px; font-weight: 600; font-size: 15.5px; }
.qb[data-mode="quick"] legend { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.qb label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.qb label > input, .qb label > textarea, .qb label > select { display: block; margin-top: 5px; }
.qb .opt { font-weight: 400; }
.qb input, .qb textarea, .qb select { font: inherit; font-size: 15px; color: var(--text); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 100%;
  transition: border-color .15s, box-shadow .15s; }
.qb textarea { resize: vertical; }
.qb input:focus, .qb textarea:focus, .qb select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent); background: var(--panel); }
.qb-hint { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); }
.qb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { font: inherit; font-size: 14px; font-weight: 500; border: 0; border-radius: 7px; padding: 9px 6px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--panel); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(20, 33, 61, .12); }
.qb-nav { display: flex; gap: 10px; }
.qb-nav > * { flex: 1; }
.qb-back, .qb-next { font: inherit; font-size: 16px; font-weight: 600; padding: 14px; border-radius: 10px; cursor: pointer; }
.qb-back { flex: 0 0 auto; padding: 14px 20px; background: transparent; color: var(--text); border: 1px solid var(--line); }
.qb-back:hover { border-color: var(--text); }
.qb-next { border: 0; background: var(--brand); color: var(--on-brand); }
.qb-next:hover { background: var(--brand-2); }
.qb-link { font: inherit; font-size: 14px; background: none; border: 0; padding: 2px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; }
.qb-go { display: inline-flex; justify-content: center; align-items: center; width: 100%; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; padding: 14px;
  border-radius: 10px; color: var(--on-brand); text-decoration: none; background: var(--brand); transition: background .15s; }
.qb-go:hover { background: var(--brand-2); }
.qb-go:disabled { opacity: .7; cursor: wait; }
.qb-go.as-link { width: auto; padding: 14px 28px; border-radius: 999px; }
.qb-fine { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.qb-err { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: #fbeeee; color: #9b2c2c; }
.qb-done { text-align: center; padding: 18px 6px 8px; }
.qb-done .big-check { width: 52px; height: 52px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--good); font-size: 28px; }
.qb-done h2 { margin: 6px 0 8px; font-size: 24px; }
.qb-done p { color: var(--muted); }
.qb [hidden], .qb[hidden], .qb-done[hidden], #reviews[hidden] { display: none !important; }

/* promise strip */
.strip { padding: 0 0 8px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.strip-grid div { padding: 22px 18px; text-align: center; border-right: 1px solid var(--line); }
.strip-grid div:last-child { border-right: 0; }
.strip-grid b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin-bottom: 2px; }
.strip-grid span { font-size: 13.5px; color: var(--muted); }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; border-radius: 16px; padding: 26px 24px; background: var(--panel); border: 1px solid var(--line); }
.step-card .num { position: absolute; right: 20px; top: 18px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.step-card h3 { margin: 14px 0 6px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); }

/* feature tiles and icons */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.feat h3 { margin: 14px 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 21px; background: var(--soft); color: var(--text); }

/* prices */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-hero { border-radius: 18px; padding: 34px; color: #fff; background: #14213d; }
.price-hero .per { margin: 4px 0 20px; color: #d9dde6; font-size: 17px; max-width: 30em; }
.price-title { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 4px 0 12px; color: #fff; letter-spacing: -.02em; }
.white-btn { display: inline-block; background: #fff; color: #14213d; font-weight: 600; padding: 12px 22px; border-radius: 999px; text-decoration: none; }
.price-side { display: grid; gap: 18px; }

/* areas */
.areas { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; }
.map-card svg { width: 100%; height: auto; display: block; }
.town-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.town-chips span { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: 15px; }
.town-chips .i { color: var(--gold-text); }

/* reviews */
.review { display: grid; gap: 10px; border-radius: 16px; box-shadow: none; }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: 17px; }
.review p { color: var(--text) !important; font-size: 16px !important; }
.review .who { color: var(--muted); font-size: 14px; font-weight: 600; }

/* sitters band, faq, final */
.sitters-band { padding: 46px 0; background: #14213d; color: #fff; }
.band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 30px); }
.band p { margin: 0; color: #d9dde6; max-width: 34em; }
.band a { color: #fff; font-weight: 600; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.band-how { margin: 0; font-size: 15px; }
.faq details { border-radius: 12px; }
.faq summary { font-size: 16px; }
.final-cta { padding: 64px 0; text-align: center; }
.final h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -.025em; margin: 0 0 18px; }
.final-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ghost-cta { border-color: var(--line); color: var(--text); }
.ghost-cta:hover { background: transparent; border-color: var(--text); }

/* before / after */
.compare { padding-top: 64px; }
.cmp-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.cmp { border-radius: 16px; padding: 26px 26px 18px; border: 1px solid var(--line); }
.cmp h3 { margin: 0 0 12px; font-size: 18px; }
.cmp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cmp li { padding-left: 28px; position: relative; line-height: 1.45; }
.cmp.before { background: var(--soft); color: var(--muted); }
.cmp.before li::before { content: "✕"; position: absolute; left: 0; color: var(--muted); }
.cmp.after { background: var(--panel); border-color: var(--gold); }
.cmp.after li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.cmp-arrow { align-self: center; font-size: 26px; color: var(--gold); }

/* live timeline */
.timeline-card { margin-top: 28px; background: #14213d; color: #fff; border-radius: 18px; padding: 24px 26px; }
.tl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tl-head .muted-sm { margin-left: auto; font-size: 12px; color: #aab1c0; text-transform: uppercase; letter-spacing: .1em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #d6b46a; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .18); }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 8px 0 8px 18px; position: relative; opacity: .3; transition: opacity .5s ease; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 11px; height: 11px; border-radius: 50%; background: #475569; transition: background .4s; }
.timeline li.on { opacity: 1; }
.timeline li.on::before { background: #d6b46a; }
.tl-time { font-variant-numeric: tabular-nums; color: #d6b46a; font-weight: 600; }

/* scroll-in (respects reduced motion) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline li { opacity: 1; transition: none; }
}

/* home: link to the About page */
.more-link { padding: 40px 0 64px; }
.more { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.more p { margin: 0; color: var(--muted); font-size: 17px; }
.more-btn { display: inline-block; font-weight: 600; padding: 12px 24px; border-radius: 999px; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line); }
.more-btn:hover { border-color: var(--text); }

/* About page */
.about-hero { padding: 56px 0 8px; }
.about-hero h1 { margin: 0 0 10px; }
.about-hero .sub { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero3 { padding: 28px 0 44px; }
  .hero3-grid, .steps3, .feat-grid, .price-wrap, .areas { grid-template-columns: 1fr; }
  .hero3-grid { gap: 26px; }
  .hero3-copy { padding-top: 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(2) { border-right: 0; }
  .strip-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .map-card { max-width: 320px; }
}
@media (max-width: 760px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-arrow { transform: rotate(90deg); justify-self: center; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 480px) {
  .book-card { padding: 22px 16px 18px; border-radius: 16px; }
  .qb-row { grid-template-columns: 1fr; }
  .qb-steps li { font-size: 0; }
  .price-hero { padding: 26px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .qb-err { background: #3a1d1d; color: #f3b4b4; }
  :root:not([data-theme="light"]) .price-hero, :root:not([data-theme="light"]) .sitters-band, :root:not([data-theme="light"]) .timeline-card { background: var(--soft); }
}

/* "Prefer texting? Text BOOK" (the text sign-up keyword) */
.text-cta { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 15px; }
.text-cta span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
/* Children's ages: one small number box per child */
.ages-wrap { display: grid; gap: 6px; margin-top: 4px; }
.ages-wrap.none { display: none; }
.ages-label { font-size: 14px; font-weight: 500; }
.age-boxes { display: flex; flex-wrap: wrap; gap: 8px; }
.age-box { display: grid; gap: 4px; width: 72px; font-size: 12px; color: var(--muted); }
.age-box input { width: 100%; text-align: center; }
/* Card step on the thank-you screen, and the message when coming back from Stripe */
.pay-box { border: 1px solid var(--line); background: var(--soft); border-radius: 14px; padding: 14px 16px; margin: 12px 0; text-align: left; display: grid; gap: 8px; }
.pay-box .linkbtn { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.card-flash { padding: 12px 16px; text-align: center; font-weight: 600; }
.card-flash.ok { background: #e7f4ec; color: #1f5c3d; }
.card-flash.warn { background: #fbf1e3; color: #7a4a12; }
