/* 8Rental quote form. Scoped under .qf so it never touches the rest of the site. Generated from the approved demo. */
/* 8Rental quote form demo. One stylesheet for both pages. Plain CSS, no build step.
   Colours, font and rounded shapes follow the live 8rental.com site. */



.qf {
  --blue: #0095ff;
  --blue-dark: #0080e6;
  --blue-soft: #e8f5ff;
  --ink: #151515;
  --muted: #6b6b6b;
  --line: #dddddd;
  --panel: #f8f8f8;
  --red: #d92d20;
  --green: #12a150;
  --point-a: #7c5cff;
  --point-b: #f4511e;
  --radius-card: 24px;
  --radius-field: 14px;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
.qf, .qf *, .qf *::before, .qf *::after { box-sizing: border-box; }
.qf [hidden], .dtp[hidden] { display: none !important; }



.qf h1, .qf h2, .qf h3, .qf p, .qf ul, .qf ol, .qf dl, .qf dd { margin: 0; }
.qf ul, .qf ol { padding: 0; list-style: none; }

.qf button, .qf input, .qf select, .qf textarea { font: inherit; color: inherit; }

.qf .ico {
  flex: none; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons and links ---------- */
.qf .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 16px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer; transition: background .15s;
}
.qf .btn:hover { background: var(--blue-dark); }
.qf .btn:focus-visible, .qf .link:focus-visible, .qf .tabs__tab:focus-visible { outline: 3px solid rgba(0, 149, 255, .45); outline-offset: 2px; }
.qf .btn--block { width: 100%; }
.qf .btn--big { min-height: 60px; font-size: 18px; border-radius: 18px; }
.qf .btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.qf .btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.qf .btn--ghost:hover { background: var(--panel); }
.qf .link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none;
  color: var(--blue); font-weight: 600; text-decoration: none; cursor: pointer;
}
.qf .link .ico { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */






@media (max-width: 760px) {  }

/* ---------- Landing page hero ---------- */





@media (max-width: 980px) {
  
  
}

.qf .ticks { display: grid; gap: 10px; margin-top: 22px; }
.qf .ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.qf .ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: var(--blue) var(--tick) center / 12px no-repeat;
}


/* ---------- The booking card and its tabs ---------- */
.qf .booking { padding: 22px; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
.qf .booking__title { margin-bottom: 14px; text-align: center; font-size: 22px; font-weight: 600; }
.qf .booking__title span { color: var(--blue); }
@media (max-width: 380px) { .qf .booking__title { font-size: 19px; } }   /* small phones: keep the title on one line */
.qf .booking__foot { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

.qf .tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); gap: 4px; padding: 4px; border-radius: 16px; background: #efefef; }
.qf .tabs__tab {
  min-height: 44px; padding: 6px 8px;
  border: 0; border-radius: 12px; background: transparent;
  color: var(--muted); font-weight: 600; font-size: 15px; line-height: 1.15;
  cursor: pointer;
}
.qf .tabs__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }

/* ---------- Form fields ---------- */
.qf .trip { display: grid; gap: 12px; margin-top: 14px; }
.qf .trip__hint { font-size: 14px; color: var(--muted); }
.qf .field { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; }
.qf .field > label { font-size: 13px; font-weight: 600; color: var(--muted); }
.qf .field__box {
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-field); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.qf .field__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 149, 255, .15); }
.qf .field__box > .ico { color: var(--muted); }
.qf .field__box input, .qf .field__box select, .qf .field__box textarea {
  flex: 1; min-width: 0; padding: 14px 0;
  border: 0; outline: 0; background: transparent;
  font-size: 16px; font-weight: 500;
}
.qf .field__box select { cursor: pointer; }
.qf .field__box--area { align-items: flex-start; }
.qf .field__box--area > .ico { margin-top: 16px; }
.qf .field__box textarea { min-height: 120px; resize: vertical; }
.qf .field.has-error .field__box, .qf .field.has-error .stepper { border-color: var(--red); }
.qf .field__error { font-size: 13px; font-weight: 600; color: var(--red); }
.qf .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 380px) { .qf .field-row { grid-template-columns: minmax(0, 1fr); } }

/* Both pages: labels inside the fields (class "trip--inset" on the form), so the form looks shorter.
   Each field is one block: a small label on top, the value under it. The label stays visible while typing.
   The markup is the same as without the class. */
.qf .trip--inset .field > label {
  position: absolute; top: 9px; left: 46px; z-index: 1;   /* 46px = after the icon */
  font-size: 12px; line-height: 16px; pointer-events: none;   /* a click goes to the field under the label */
}
.qf .trip--inset .field__box { min-height: 58px; }
.qf .trip--inset .field__box input, .qf .trip--inset .field__box select { padding: 25px 0 7px; }
.qf .trip--inset .field__box textarea { margin-top: 26px; padding: 0 0 8px; }   /* a margin, so long text never scrolls under the label */
.qf .trip--inset .field__box--area > .ico { margin-top: 19px; }

/* Address suggestions */
.qf .suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1200;
  max-height: 320px; margin: 0; padding: 6px; overflow: auto;
  border: 1px solid #e6e6e6; border-radius: 16px; background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
}
.qf .suggest__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; cursor: pointer; }
.qf .suggest__item:hover, .qf .suggest__item.is-active { background: var(--blue-soft); }
.qf .suggest__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--panel); color: var(--muted); }
.qf .suggest__title { display: block; font-weight: 600; line-height: 1.25; }
.qf .suggest__sub { display: block; font-size: 13px; color: var(--muted); }
.qf .suggest__note { padding: 8px 10px; font-size: 12.5px; color: var(--muted); }

/* ---------- Step 2 page ---------- */
.qf .page { max-width: 1240px; margin: 0 auto; padding: 24px clamp(14px, 3vw, 32px) 80px; }
.qf .page__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.qf .page__head h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 700; }
.qf .steps { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.qf .steps li { display: flex; align-items: center; gap: 8px; }
.qf .steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--line); }
.qf .steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3e3e3; color: var(--ink); font-size: 13px; }
.qf .steps .is-done span { background: var(--green) var(--tick) center / 13px no-repeat; color: transparent; }
.qf .steps .is-current { color: var(--ink); }
.qf .steps .is-current span { background: var(--blue); color: #fff; }
/* The steps sit at the right of the page title, with a small "Back to step 1" under them.
   On narrow screens the two share one line under the title. */
.qf .page__progress { display: grid; justify-items: end; gap: 6px; }
.qf .page__progress .link { font-size: 13px; }
.qf .page__progress .link .ico { width: 14px; height: 14px; }
.qf.is-direct .page__progress { display: none; }
.qf .trip__save { display: flex; margin-left: auto; }
@media (max-width: 900px) {
  .qf .page__progress { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; width: 100%; }
}

.qf .layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.qf .layout__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.qf .layout__aside { position: sticky; top: 16px; display: grid; gap: 16px; }

.qf .card { padding: 22px; border-radius: var(--radius-card); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.qf .card--flush { padding: 0; overflow: hidden; }
.qf .card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qf .card__head h2 { flex: 1; font-size: 20px; font-weight: 700; }
.qf .card__num { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; }
.qf .card__note { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.qf .card h3 { margin-bottom: 10px; font-size: 16px; font-weight: 700; }

/* On phones and tablets the map sits right under the compact trip card. */
@media (max-width: 1000px) {
  .qf .layout { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .qf .layout__main, .qf .layout__aside { display: contents; }
  .qf #success { order: 0; }
  .qf #card-trip { order: 1; }
  .qf #card-map { order: 2; }
  .qf #card-vehicle { order: 3; }
  .qf #card-contact { order: 4; }
  .qf #card-know { order: 5; }
  .qf #card-next { order: 6; }
}

/* Trip summary */
.qf .stops { display: grid; gap: 14px; }
.qf .stop { display: flex; align-items: flex-start; gap: 12px; }
.qf .stop__dot { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--point-a); color: #fff; font-size: 13px; font-weight: 700; }
.qf .stop__dot--b { background: var(--point-b); }
.qf .stop small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.qf .stop strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.qf .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.qf .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--panel); font-size: 15px; font-weight: 600; }
.qf .chip .ico { width: 18px; height: 18px; color: var(--muted); }
.qf .summary__text { padding: 14px; border-radius: 14px; background: var(--panel); white-space: pre-wrap; overflow-wrap: anywhere; }
.qf .trip--inline { margin-top: 0; }
.qf .extras { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #ececec; }
.qf .extras > .field, .qf .extras > .options { flex: 0 0 100%; min-width: 0; }   /* the switches share a line, their fields take a full line */
.qf .check { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.qf .check input { width: 20px; height: 20px; accent-color: var(--blue); }
.qf .more summary { color: var(--blue); font-weight: 600; cursor: pointer; }
.qf .more[open] summary { margin-bottom: 10px; }

/* Passengers */
.qf .stepper { display: flex; align-items: stretch; min-height: 54px; overflow: hidden; border: 1.5px solid var(--line); border-radius: var(--radius-field); background: #fff; }
.qf .stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 149, 255, .15); }
.qf .stepper button { width: 54px; border: 0; background: var(--panel); font-size: 24px; font-weight: 600; line-height: 1; cursor: pointer; }
.qf .stepper button:hover { background: #ededed; }
.qf .stepper input { flex: 1; min-width: 0; border: 0; outline: 0; text-align: center; font-size: 18px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qf .stepper input::-webkit-outer-spin-button, .qf .stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

/* Vehicle cards */
/* One horizontal row of vehicle cards that slides sideways (keeps the form short). */
.qf .vehicles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.qf .layout__main, .qf .layout__main > .card { min-width: 0; }
.qf .vehicles__wrap { position: relative; }
.qf .vehicles__strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 10px;
  overflow-x: auto; padding: 6px 4px 10px; margin: -6px -4px 0;
  scroll-snap-type: x mandatory; scroll-padding: 4px; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--blue) #dcecf9;   /* blue bar on a light blue track */
}
.qf .vehicles__strip > .vehicle { scroll-snap-align: start; }
.qf .vehicles__strip .vehicle__photo { aspect-ratio: 16 / 9; }
.qf .vehicles__strip .vehicle__body { padding: 10px 12px 12px; }
.qf .vehicles__strip .vehicle__name { font-size: 15px; }
.qf .vehicles__strip .vehicle__specs { font-size: 13px; }
.qf .vehicles__strip .vehicle__models { font-size: 12px; }
.qf .vehicles__arrow {
  position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -24px; padding: 0;
  border: 1px solid var(--blue); border-radius: 50%; background: var(--blue); cursor: pointer;   /* blue button, white arrow */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.qf .vehicles__arrow::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -5px 0 0 -6px;
  border: solid #fff; border-width: 2.5px 2.5px 0 0; transform: rotate(45deg);
}
.qf .vehicles__arrow--prev { left: -12px; }
.qf .vehicles__arrow--prev::before { margin-left: -3px; transform: rotate(-135deg); }
.qf .vehicles__arrow--next { right: -12px; }
.qf .vehicles__arrow:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.qf .vehicles__arrow:focus-visible { outline: 3px solid rgba(0, 149, 255, .45); outline-offset: 2px; }
.qf .vehicles__arrow[hidden] { display: none; }
@media (hover: none) { .qf .vehicles__arrow { display: none; } .qf .vehicles__strip { grid-auto-columns: 172px; } }
.qf .vehicle {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 2px solid #ececec; border-radius: 18px; background: #fff;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.qf .vehicle:hover { border-color: #cfcfcf; }
.qf .vehicle input { position: absolute; opacity: 0; pointer-events: none; }
.qf .vehicle:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 149, 255, .15); }
.qf .vehicle:has(input:focus-visible) { outline: 3px solid rgba(0, 149, 255, .45); outline-offset: 2px; }
.qf .vehicle__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.qf .vehicle__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qf .vehicle__body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.qf .vehicle__name { font-size: 16px; font-weight: 700; line-height: 1.2; }
.qf .vehicle__specs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 600; }
.qf .vehicle__specs span { display: inline-flex; align-items: center; gap: 5px; }
.qf .vehicle__specs .ico { width: 16px; height: 16px; color: var(--muted); }
.qf .vehicle__models { font-size: 13px; line-height: 1.3; color: var(--muted); }
.qf .vehicle__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.qf .vehicle__tick {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue) var(--tick) center / 14px no-repeat;
  opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s;
}
.qf .vehicle:has(input:checked) .vehicle__tick { opacity: 1; transform: none; }
/* "Not sure?" is a small pill under the cards, not a full-width row. */
.qf .vehicle--any {
  grid-column: 1 / -1; justify-self: start;
  flex-direction: row; align-items: center; gap: 8px;
  padding: 8px 38px 8px 12px; border-width: 1.5px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
}
.qf .vehicle--any .ico { width: 18px; height: 18px; color: var(--blue); }
.qf .vehicle--any .vehicle__tick { top: 50%; right: 10px; width: 20px; height: 20px; margin-top: -10px; background-size: 11px; }

/* Contact */
.qf .fineprint { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.qf #quote-form { display: grid; gap: 14px; }

/* Map and side column */
.qf .map { height: 320px; background: #e7edf1; }


.qf .map-pin {
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 3px solid #fff; border-radius: 50%;
  background: var(--point-a); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.qf .map-pin--b { background: var(--point-b); }
.qf .route { display: grid; gap: 2px; padding: 16px 18px; }
.qf .route__title { font-weight: 700; line-height: 1.3; }
.qf .route__meta { font-size: 14px; color: var(--muted); }
.qf .ticks--dark { margin-top: 0; }
.qf .next { display: grid; gap: 12px; counter-reset: step; }
.qf .next li { display: flex; align-items: flex-start; gap: 10px; counter-increment: step; }
.qf .next li::before {
  content: counter(step); display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-size: 12px; font-weight: 700;
}

/* Confirmation after "Get a quote" */
.qf .success__icon { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--green) var(--tick) center / 28px no-repeat; }
.qf .success h2 { font-size: 26px; line-height: 1.2; }
.qf .success > p { margin-top: 10px; font-size: 17px; }
.qf .recap { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; margin: 20px 0; padding: 16px; border-radius: 16px; background: var(--panel); }
.qf .recap dt { font-weight: 600; color: var(--muted); }
.qf .recap dd { font-weight: 600; overflow-wrap: anywhere; }
.qf .dev { margin-top: 18px; padding: 12px 14px; border: 1.5px dashed #cfcfcf; border-radius: 14px; }
.qf .dev summary { font-weight: 600; cursor: pointer; }
.qf .dev pre { margin: 12px 0 0; overflow: auto; font-size: 12.5px; line-height: 1.5; }

/* Small extras */
.qf .extras:not(:has(> :not([hidden]))) { display: none; }   /* nothing to ask: hide the whole box */
.qf .more { margin-top: 14px; }
@media (max-width: 1000px) { .qf .map { height: 190px; } }
@media (max-width: 560px) {
  .qf .field-row--stack { grid-template-columns: minmax(0, 1fr); }
  .qf .steps .is-done, .qf .steps li + li::before { display: none; }
}

/* Step 1: the date-and-time field is wider than the passengers field. On narrow phones they stack. */
.qf .field-row--when { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
@media (max-width: 480px) { .qf .field-row--when { grid-template-columns: minmax(0, 1fr); } }
/* Step 2: the same row has a third field, Luggage, next to Passengers. The three share one line when
   there is room; in a narrower form the luggage (and on phones each field) moves to its own line. */
.qf .field-row--three { display: flex; flex-wrap: wrap; }
.qf .field-row--three > .field { min-width: 0; }
.qf .field-row--three > .field:nth-child(1) { flex: 1 1 215px; }   /* date and time: room for "Sun 3 Jan 2027, 14:30" */
.qf .field-row--three > .field:nth-child(2) { flex: 1 1 237px; }   /* passengers: wider than the luggage */
.qf .field-row--three > .field:nth-child(3) { flex: 1 1 203px; }   /* luggage: just wide enough for its longest choice */
.qf #quote-form .more { margin-top: 0; }   /* the note link inside the contact card: the form's own spacing is enough */

/* Step 2: the trip card as a compact summary, shown when the trip is complete */
.qf .card--compact { padding: 16px 22px; }
.qf .card--compact .card__head { margin-bottom: 10px; }
.qf .route-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.qf .route-line .stop { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.qf .route-line .stop__dot { width: 24px; height: 24px; font-size: 12px; }
.qf .route-line .stop strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.qf .route-line__arrow { display: inline-flex; color: var(--muted); }
.qf .card--compact .chips { gap: 6px; margin-top: 10px; }
.qf .card--compact .chip { padding: 6px 10px; font-size: 14px; }
.qf .card--compact .chip .ico { width: 16px; height: 16px; }
.qf .chip--add { border: 1.5px dashed #c4c4c4; background: none; color: var(--blue); font-family: inherit; cursor: pointer; }
.qf .chip--add:hover { border-color: var(--blue); background: var(--blue-soft); }
.qf .card--compact .summary__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 10px 12px; white-space: normal; }
/* On phones the two stops sit one under the other, each on a single line. */
@media (max-width: 560px) {
  .qf .card--compact { padding: 14px 16px; }
  .qf .route-line { flex-direction: column; align-items: stretch; gap: 6px; }
  .qf .route-line__arrow { display: none; }
  .qf .route-line .stop strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .qf .card--compact .chip { padding: 5px 9px; font-size: 13px; }
}

/* Step 2: the compact contact card. Email, phone and the button share one line. */
.qf .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.qf .contact-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.qf .contact-row .btn { min-height: 54px; padding: 0 22px; font-size: 17px; white-space: nowrap; }   /* as tall as the fields */
.qf #quote-form { gap: 10px; }
.qf #card-contact .fineprint { margin-top: 0; text-align: left; }
/* Step 2: proof from customers (Tripadvisor awards, Trustpilot reviews). It sits at the end of the form column,
   as wide as the form, with clear space above (56px in all), so it reads as separate from the quote form.
   On phones and tablets it comes last, after "What happens next". */
.qf .proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 1000px) { .qf .proof { order: 7; gap: 14px; margin-top: 26px; } }

/* The Tripadvisor awards module of the live site (green block on /reviews), in a compact form:
   text on the left, the four award badges on the right. */
.qf .awards {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 18px 22px; border-radius: var(--radius-card); background: #29bc87; color: #fff;
}
.qf .awards__text p { font-size: 14px; font-weight: 700; opacity: .85; }
.qf .awards__text h3 { margin: 2px 0 8px; font-size: 24px; font-weight: 400; line-height: 1.15; }
.qf .awards__link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; font-weight: 500; opacity: .9; }
.qf .awards__link:hover { opacity: 1; text-decoration: none; }
.qf .awards__link:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 3px; border-radius: 4px; }
.qf .awards__badges { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 20px; background: rgba(0, 0, 0, .08); }
.qf .awards__badges img { width: 66px; height: auto; }
@media (max-width: 560px) {
  .qf .awards { justify-content: center; padding: 16px; text-align: center; }
  .qf .awards__link { justify-content: center; }
  .qf .awards__badges { padding: 12px 14px; }
  .qf .awards__badges img { width: 56px; }
}

/* Step 2: customer reviews (Trustpilot), under the Tripadvisor awards. The cards sit side by side
   and share the width, however many there are; on phones one row that slides sideways, so the page stays short. */
.qf .reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.qf .card .reviews__head h3 { margin: 0; }
.qf .reviews__head img { flex: none; width: 86px; height: auto; }
.qf .reviews__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.qf .review { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 14px; border-radius: 16px; background: var(--panel); }
.qf .review blockquote { flex: 1; margin: 0; }
.qf .review strong { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.qf .review p { font-size: 14px; line-height: 1.45; color: #3d3d3d; }
.qf .review figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.qf .review figcaption img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
@media (max-width: 760px) {
  .qf .reviews__list {
    grid-auto-columns: 250px;
    overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: thin; scrollbar-color: #d0d0d0 transparent;
  }
  .qf .review { scroll-snap-align: start; }
}

/* The contact card is the one thing the customer still has to do, so it stands out from the white cards:
   light blue with a blue edge (drawn with a shadow, so the card keeps its size), white fields,
   and the required email field marked in blue. */
.qf .card--action { background: #eef7ff; box-shadow: inset 0 0 0 2px var(--blue), 0 8px 24px rgba(0, 149, 255, .18); }
.qf .card--action .contact-row__email .field__box { border-color: var(--blue); }
.qf .card--action .contact-row__email .field__box > .ico { color: var(--blue); }
.qf .card--action .field.has-error .field__box { border-color: var(--red); }
.qf .card--action .field.has-error .field__box > .ico { color: var(--red); }
/* Narrower column: the button moves under the three fields. */
@media (max-width: 1200px) {
  .qf .contact-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .qf .contact-row .btn { grid-column: 1 / -1; }
}
/* Phones: email on its own line, name and phone side by side, then the button. */
@media (max-width: 560px) {
  .qf .contact-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qf .contact-row__email { grid-column: 1 / -1; }
}

/* Step 2: stops on the way. "+ Add stop" is a small pill at the right, on the gap above the "To" field, so it takes no extra line.
   Each stop it adds is a slim address field with a remove button. */
.qf .field__add {
  position: absolute; top: -18px; right: 14px; z-index: 2;   /* 24px high, centred on the 12px gap above the "To" field */
  height: 24px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12px; line-height: 1;
}
.qf .field__add:hover { border-color: var(--blue); background: var(--blue-soft); }
.qf .field__add::before { content: ""; position: absolute; inset: -8px; }   /* a bigger area to tap */
.qf .stops-edit { display: grid; gap: 8px; }
.qf .stops-edit:empty { display: none; }
.qf .field--stop .field__box { min-height: 46px; }
.qf .field--stop .field__box input { padding: 10px 0; }
.qf .field--stop .field__box > .ico { width: 16px; height: 16px; margin: 0 2px; }
.qf .field__remove { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.qf .field__remove:hover { background: var(--panel); color: var(--ink); }
.qf .field__remove:focus-visible { outline: 3px solid rgba(0, 149, 255, .45); }
.qf .field__remove .ico { width: 16px; height: 16px; }
/* A stop in the compact trip card and on the map: a small ring between A and B. */
.qf .route-line .stop__dot--via { width: 12px; height: 12px; margin: 0 6px; border: 3px solid var(--muted); background: #fff; }
.qf .map-pin--via { width: 16px; height: 16px; border-color: var(--ink); background: #fff; }

/* ---------- Date and time picker (assets/js/when.js) ----------
   A small panel that opens next to the field (when.js sets its place): round days on the left,
   the time as two short lists (hours, minutes) on the right. On phones it is a sheet at the bottom of the screen. */
.qf .field__box--pick, .qf .field__box--pick input { cursor: pointer; }
.qf .field__box--pick input { text-overflow: ellipsis; }
.dtp {
  inset: auto; width: 404px; max-width: calc(100% - 16px); max-height: calc(100% - 16px); margin: 0; padding: 0; overflow: auto;
  border: 1px solid #e3e3e3; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .24);
}
.dtp::backdrop { background: transparent; }   /* the page stays visible; a click outside the panel closes it */
.dtp[open] { animation: dtp-in .14s ease-out; }
@keyframes dtp-in { from { opacity: 0; transform: translateY(6px); } }
.dtp button:focus-visible { outline: 3px solid rgba(0, 149, 255, .45); outline-offset: 1px; }
.dtp__body { display: grid; grid-template-columns: minmax(0, 1fr) 132px; padding: 10px 14px; }

/* The date: a month of round days */
.dtp__cal { padding-right: 14px; }
.dtp__month { display: flex; align-items: center; justify-content: space-between; height: 36px; font-size: 15px; font-weight: 700; }
.dtp__round { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--panel); cursor: pointer; }
.dtp__round .ico { width: 16px; height: 16px; }
.dtp__round:hover { background: #ececec; }
.dtp__round:disabled { background: var(--panel); opacity: .35; cursor: default; }
.dtp__week, .dtp__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; justify-items: center; }
.dtp__week { align-items: center; height: 22px; font-size: 11px; font-weight: 700; color: var(--muted); }
.dtp__days { grid-auto-rows: 32px; min-height: 202px; align-content: start; }   /* room for six weeks, so the panel keeps its size */
.dtp__days button {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none;
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}
.dtp__days .is-today { box-shadow: inset 0 0 0 1.5px #c4c4c4; }

/* The time: two lists in grey boxes, so it does not look like a second calendar */
.dtp__time { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid #ececec; }
.dtp__label { display: flex; align-items: center; gap: 6px; height: 36px; font-size: 13px; font-weight: 700; }
.dtp__label .ico { width: 16px; height: 16px; color: var(--muted); }
.dtp__cols { display: flex; align-items: flex-start; gap: 6px; height: 224px; }
.dtp__col {
  display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; max-height: 100%; padding: 4px; overflow-y: auto;
  border-radius: 12px; background: var(--panel); scrollbar-width: thin; scrollbar-color: #cfcfcf transparent;
}
.dtp__col button {
  flex: none; height: 26px; padding: 0; border: 0; border-radius: 8px; background: none;   /* eight rows fit: all the minutes show without scrolling */
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}

.dtp__days button:hover, .dtp__col button:hover { background: var(--blue-soft); }
.dtp__body button:disabled { background: none; color: #c9c9c9; cursor: default; }   /* in the past */
.dtp__body .is-selected, .dtp__body .is-selected:hover { background: var(--blue); color: #fff; box-shadow: none; }
.dtp__body .is-selected:disabled { opacity: .5; }
.dtp__foot {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 14px 10px; border-top: 1px solid #ececec; background: #fff;
}
.dtp__status { font-size: 14px; font-weight: 600; color: var(--muted); }
.dtp__status.is-set { font-weight: 700; color: var(--ink); }
.dtp__foot .btn { flex: none; }
@media (max-width: 640px) {
  .dtp { inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; border: 0; border-radius: 20px 20px 0 0; }
  .dtp::backdrop { background: rgba(21, 21, 21, .5); }
  .dtp__body { grid-template-columns: minmax(0, 1fr); padding: 8px 16px 10px; }
  .dtp__cal { padding-right: 0; }
  .dtp__month { height: 44px; font-size: 16px; }
  .dtp__round { width: 36px; height: 36px; }
  .dtp__days { grid-auto-rows: 38px; min-height: 238px; }   /* six weeks here too, so the arrows do not move under the finger */
  .dtp__days button { width: 38px; height: 38px; font-size: 15px; }
  /* The two lists become two rows that slide sideways */
  .dtp__time { margin-top: 8px; padding: 2px 0 0; border-top: 1px solid #ececec; border-left: 0; }
  .dtp__cols { flex-direction: column; align-items: stretch; height: auto; }
  .dtp__col { flex: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
  .dtp__col button { width: 48px; height: 38px; font-size: 15px; }
  .dtp__col[data-minutes] button { flex: 1; }
  .dtp__foot { padding: 10px 16px 14px; }
  .dtp__foot .btn { min-width: 120px; min-height: 46px; font-size: 16px; }
}

/* Step 2: "Extra options", a list of tick boxes inside the trip fields. */
.qf .options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.qf .option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid #efefef; font-weight: 500; cursor: pointer; }
.qf .option input { flex: none; width: 20px; height: 20px; accent-color: var(--blue); cursor: pointer; }
@media (max-width: 560px) { .qf .options { grid-template-columns: minmax(0, 1fr); } }

.qf { font-family: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.45; letter-spacing: 0; color: var(--ink); }
.qf a { color: var(--blue); }
.qf button, .qf input, .qf select, .qf textarea { font: inherit; color: inherit; letter-spacing: 0; }
.qf .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.qf-page { background: var(--panel); margin-top: 24px; }

/* Step 1 (hero card): an error message sits in the space under its field instead of pushing the fields down,
   so the card keeps the same size before and after the checks. */
.qf .booking .field { margin-bottom: 8px; }
.qf .booking .field__error { position: absolute; top: calc(100% + 1px); left: 2px; right: 0; margin: 0; font-size: 12.5px; line-height: 16px; }
.qf .booking .field__error { white-space: nowrap; }
