/* Johannesburg page and its thank-you page (Jéan, 23 Nov 2026): the JHB quote card's extras and the page's small bits.
   Built on the kit's .hero (photo hero with the form card on the right) and .qform (slate card). */
.qform--jhb .qform__err{margin:0 0 14px;padding:10px 12px;border-radius:6px;background:#fff;color:#8a1c1c;font-size:14px;line-height:1.4;font-weight:600}
.qform--jhb .qform__err.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0;margin:0}
.qwant{border:0;margin:0 0 14px;padding:0;min-width:0}
.qwant legend{padding:0;margin-bottom:8px;font:500 13px/1.2 var(--f-body);color:#fff}
.qwant legend span{font-weight:400;color:var(--rp-on-slate-muted)}
.qwant__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.qwant__t{position:relative;display:block;cursor:pointer}
.qwant__t input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.qwant__t span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 8px;border:1px solid rgba(255,255,255,.28);border-radius:10px;text-align:center;font:600 13px/1.2 var(--f-body);color:#fff;transition:background-color .2s,border-color .2s}
.qwant__t:hover span{border-color:var(--rp-lime)}
.qwant__t input:checked+span{background:var(--rp-lime);border-color:var(--rp-lime);color:var(--rp-ink)}
.qwant__t input:focus-visible+span{outline:2px solid var(--rp-lime);outline-offset:2px}
.qform--jhb .field__err{margin:6px 0 0;font-size:13px;line-height:1.3;color:#ffd0c4;font-weight:600}
.qform--jhb .field input[aria-invalid="true"]{border-color:#ff8f75;box-shadow:0 0 0 1px #ff8f75}
.qform__lock{margin:0;padding:10px 12px;border-radius:6px;background:rgba(255,255,255,.08);font-size:13.5px;line-height:1.4;color:var(--rp-on-slate-muted)}
.qform__lock b{color:#fff}
.qform--jhb .btn[disabled]{opacity:.7;cursor:progress}
.qform__alt{margin:12px 0 0;font-size:13.5px;line-height:1.45;color:var(--rp-on-slate-muted)}
.qform__alt a{color:#fff}
.jhb-only{margin:0;font:600 clamp(18px,1.6vw,22px)/1.4 var(--f-body);color:var(--rp-ink);max-width:60ch}
.jhb-only a{color:var(--rp-green)}
.hero .hero__addr{margin:18px 0 0;font-size:15px;color:rgba(255,255,255,.88)}
@media (max-width:760px){
  .qwant__row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .qform--jhb .field input{height:48px;font-size:16px}
}
/* phones and tablets: the hero is the whole first screen on its own, the quote card starts on the next (Jéan, 6 Nov 2026: folds never overlap) */
@media (max-width:960px){
  .hero:has(.qform--jhb) .hero__copy{min-height:100svh}
  /* the photo fills that first screen only (not the form band under it), so the lawn shows instead of a zoomed-in window */
  .hero:has(.qform--jhb) .hero__media{bottom:auto;height:100svh}
  .hero:has(.qform--jhb) .hero__media{overflow:hidden}
  .hero:has(.qform--jhb) .hero__media img{top:auto;bottom:0;height:150%;object-position:50% 100%}   /* zoomed towards the lawn at the foot of the photo (Quality Reviewer, 23 Nov 2026) */
}
