@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/plus-jakarta-sans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #0b1220;
  --muted: #4a4e57;
  --border: #c9cad2;
  --pale: #f4f5f7;
  --blue: #153479;
  --gradient: radial-gradient(
    ellipse at 50% -30%,
    #1c418d 0%,
    #153479 32%,
    #0a1a3d 100%
  );
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  background: white;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5079c4;
  outline-offset: 3px;
}
h1,
h2,
h3,
h4,
p,
ol,
ul,
dl {
  margin: 0;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 16px;
}
.noscript {
  padding: 32px;
  text-align: center;
}
.mobile-copy {
  display: none;
}
.form-page {
  background: #f5f7fb;
  min-height: 100vh;
}
.page-header {
  height: 364px;
  padding: 78px 24px 0;
  text-align: center;
  color: #fff;
}
.page-header h1 {
  font: 500 72px/1.2 var(--serif);
  letter-spacing: -1.8px;
}
.page-header > p {
  font-size: 20px;
  line-height: 30px;
  margin: 4px 0 18px;
}
.progress {
  max-width: 910px;
  margin: auto;
}
.progress ol {
  list-style: none;
  display: flex;
  padding: 0;
}
.progress li {
  width: 20%;
  position: relative;
}
.progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: #c9cad2;
}
.progress button {
  border: 0;
  padding: 0;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.step-circle {
  height: 38px;
  width: 38px;
  border: 1px solid #c9cad2;
  background: white;
  color: #666;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}
.active .step-circle {
  background: var(--gradient);
  color: white;
  border-color: white;
}
.step-label {
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}
.active .step-label {
  font-weight: 700;
}
.progress button:disabled {
  opacity: 1;
}
.form-page main {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 120px;
  outline: none;
}
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.panel-header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 4px;
  color: #fff;
  flex-shrink: 0;
}
.tile .icon {
  width: 28px;
  height: 28px;
}
.panel-header h2 {
  font: 700 36px/1.05 var(--serif);
}
.panel-header h2 > span {
  font: 400 34px/1.1 var(--sans);
}
.panel-header p {
  color: #666;
  font-size: 16px;
  line-height: 24px;
  margin-top: 4px;
}
.btn {
  border: 1px solid transparent;
  border-radius: 3px;
  min-height: 56px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  transition:
    filter 0.15s,
    box-shadow 0.15s;
}
.primary {
  background: var(--gradient);
  color: white;
}
.primary:hover {
  filter: brightness(1.15);
}
.secondary {
  background: linear-gradient(#fafafa, #f4f5f5);
  border-color: var(--border);
  box-shadow: 0 1px 0 #999eab;
  min-width: 140px;
}
.secondary:hover {
  background: #e9edf4;
}
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  margin-bottom: 8px;
}
.input {
  width: 100%;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  line-height: 26px;
  font-size: 16px;
  min-width: 0;
}
.input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field-block {
  margin-bottom: 24px;
}
.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.helper {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
  margin-top: 16px;
}
.helper .icon {
  width: 22px;
  height: 22px;
}
.helper.no-icon {
  gap: 0;
}
.segments {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  min-height: 56px;
}
.segments button {
  flex: 1;
  border: 0;
  min-width: 0;
  padding: 12px;
  background: white;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
}
.segments button + button {
  border-left: 1px solid var(--border);
}
.segments button[aria-pressed="true"] {
  background: var(--gradient);
  color: white;
}
.segments button:hover {
  box-shadow: inset 0 0 0 2px #5875a8;
}
.trip-panel {
  width: 792px;
  margin: auto;
  padding: 32px;
}
.trip-panel .panel-header {
  margin-bottom: 24px;
}
.location-input {
  position: relative;
  display: flex;
  align-items: center;
}
.location-input > .icon {
  position: absolute;
  left: 16px;
  pointer-events: none;
}
.location-input .input {
  padding-left: 48px;
  padding-right: 44px;
}
.location-target {
  position: absolute;
  right: 12px;
  background: none;
  border: 0;
  padding: 4px;
  display: flex;
}
.trip-panel .helper {
  font-size: 14px;
  margin-top: 8px;
  gap: 16px;
  align-items: center;
}
.add-stop {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 600;
}
.add-stop:disabled {
  opacity: 0.5;
}
.stop-field {
  margin-bottom: 16px;
}
.stop-row {
  display: flex;
  gap: 8px;
}
.stop-row .location-input {
  flex: 1;
}
.remove-stop {
  width: 48px;
  border: 1px solid var(--border);
  background: var(--pale);
  border-radius: 4px;
  font-size: 24px;
}
.picker-field {
  min-width: 0;
}
.picker-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  height: 56px;
  border-radius: 4px;
  padding: 0 16px;
  position: relative;
  color: var(--muted);
}
.picker-box > .icon {
  color: var(--ink);
}
.picker-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.picker-box input::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.picker-box:focus-within {
  outline: 3px solid #5079c4;
  outline-offset: 3px;
}
.check-price {
  width: 100%;
  margin-top: 24px;
}
.form-error {
  font-size: 14px;
  background: #fff2f0;
  color: #a32924;
  border: 1px solid #e9b7b1;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 16px;
}
/* Step 2 */
.vehicles-panel {
  padding: 32px;
}
.trip-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 24px;
  min-height: 88px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}
.trip-strip p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trip-strip p:nth-of-type(3) {
  border-left: 1px solid #dedfe4;
  padding-left: 28px;
}
.trip-strip p:nth-of-type(4) {
  white-space: nowrap;
}
.trip-strip button {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid #dedfe4;
  padding-left: 24px;
  white-space: nowrap;
  font-size: 16px;
  margin-left: auto;
}
.trip-strip .icon {
  width: 22px;
  height: 22px;
}
.collection {
  margin-top: 32px;
}
.collection > h2 {
  font: 700 32px/1.2 var(--serif);
}
.collection > p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 24px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
}
.vehicle-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.vehicle-card.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}
.vehicle-photo {
  width: 100%;
  height: 223px;
  object-fit: cover;
  border-radius: 4px;
}
.vehicle-card > h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin-top: 16px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.card-capacity {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  margin-top: 16px;
}
.card-capacity .icon {
  width: 22px;
  height: 22px;
}
.card-capacity > span {
  height: 24px;
  border-left: 1px solid #dedfe4;
  margin: 0 10px;
}
.vehicle-models {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.vehicle-models h4 {
  color: var(--ink);
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 6px;
}
.features {
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}
.features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.features .icon {
  width: 24px;
  height: 24px;
  color: #4b576d;
}
.vehicle-price {
  margin-top: auto;
  text-align: center;
  color: var(--muted);
}
.vehicle-price > p {
  font-size: 18px;
  line-height: 26px;
}
.vehicle-price > strong {
  display: block;
  font-size: 34px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -1px;
}
.vehicle-price small {
  font-size: 18px;
  margin-left: 6px;
  letter-spacing: 0;
  font-weight: 500;
}
.vehicle-card .btn {
  width: 100%;
  margin-top: 16px;
}
.pricing-note {
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.pricing-note .icon {
  width: 22px;
  height: 22px;
}
.pricing-note strong {
  font-weight: 700;
}
/* Steps 3 and 4 */
.columns {
  display: grid;
  gap: 16px;
  align-items: start;
}
.passengers-columns {
  grid-template-columns: minmax(0, 846px) minmax(0, 338px);
}
.contact-columns {
  grid-template-columns: minmax(0, 792px) minmax(0, 392px);
}
.form-section {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.panel-header + .form-section {
  padding-top: 0;
}
.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.round-icon {
  background: #e9eaed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.round-icon .icon {
  width: 22px;
  height: 22px;
}
.section-heading h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}
.section-heading p {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  margin-top: 4px;
}
.section-body {
  margin-left: 52px;
}
.passenger-counts > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.passenger-counts > label:nth-of-type(2) {
  margin-top: 20px;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  height: 40px;
  width: 224px;
  font-size: 14px;
  overflow: hidden;
}
.quantity button {
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  width: 60px;
  height: 100%;
  padding: 0;
}
.quantity .icon {
  width: 20px;
  height: 20px;
}
.quantity button:disabled {
  opacity: 0.4;
}
.quantity output {
  text-align: center;
  flex: 1;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 600;
  line-height: 20px;
}
.aviation {
  margin-bottom: 20px;
}
.aviation button {
  color: var(--ink);
}
.section-body .label {
  font-size: 16px;
  line-height: 24px;
}
.extra-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.extra-row > div {
  flex: 1;
  min-width: 0;
}
.extra-row > div > strong {
  font-weight: 600;
  display: block;
  line-height: 24px;
}
.extra-row p {
  font-size: 14px;
  color: var(--muted);
  line-height: 22px;
  margin-top: 2px;
}
.extra-row > .icon {
  width: 22px;
  height: 22px;
  margin-top: 4px;
}
.toggle {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  margin-top: 8px;
  flex-shrink: 0;
  cursor: pointer;
}
.toggle input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.toggle span {
  display: block;
  border-radius: 30px;
  width: 44px;
  height: 24px;
  background: #969aa5;
  transition: background 0.15s;
  pointer-events: none;
}
.toggle span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.toggle input:checked ~ span {
  background: var(--ink);
}
.toggle input:checked ~ span::after {
  transform: translateX(20px);
}
.toggle input:focus-visible ~ span {
  outline: 3px solid #5079c4;
  outline-offset: 3px;
}
.seat-area {
  border-left: 1px solid var(--border);
  padding-left: 20px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.seat-counts > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.seat-counts > .icon {
  width: 22px;
  height: 22px;
}
.seat-counts strong {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.seat-counts .quantity {
  width: 132px;
  height: 30px;
  margin-left: auto;
  flex-shrink: 0;
}
.seat-counts .quantity button {
  width: 40px;
}
.seat-counts > p {
  font-size: 14px;
  line-height: 22px;
  color: var(--muted);
  white-space: nowrap;
}
.seat-counts > p span {
  margin: 0 4px;
}
.seat-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  border-spacing: 0;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
}
.seat-table th,
.seat-table td {
  text-align: left;
  padding: 10px 14px;
  white-space: nowrap;
}
.seat-table th:last-child,
.seat-table td:last-child {
  text-align: right;
}
.seat-table th {
  font-weight: 600;
  background: var(--pale);
}
.seat-table td {
  color: var(--muted);
}
.gratuity-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 204px;
  background: var(--pale);
  padding: 16px;
  border-radius: 4px;
  gap: 24px;
  margin: 24px 0;
}
.gratuity-section .section-heading {
  gap: 16px;
}
.gratuity-section .section-body {
  margin-left: 36px;
}
.gratuity-section .round-icon {
  margin-left: -8px;
}
.gratuity-result {
  border-left: 1px solid #dedfe4;
  padding-left: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.gratuity-result > strong {
  font-size: 16px;
  white-space: nowrap;
}
.gratuity-result strong > span {
  font-size: 24px;
  font-weight: 600;
}
.gratuity-result > p {
  font-size: 14px;
  line-height: 20px;
  margin-top: 16px;
}
.gratuity {
  min-height: 56px;
}
.gratuity button {
  padding: 10px 8px;
  color: #777;
  font-weight: 600;
}
.gratuity button[aria-pressed="true"] {
  background: var(--ink);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
}
.checkbox input {
  appearance: none;
  width: 21px;
  height: 21px;
  border: 2px solid #555f72;
  border-radius: 4px;
  margin: 2px 0 0;
  flex-shrink: 0;
  cursor: pointer;
  background: white;
}
.checkbox input:checked {
  background: var(--blue);
  border-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
}
.small-check {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 16px;
}
.small-check input {
  margin: 0;
}
.custom-tip {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.custom-tip input {
  width: 100px;
  height: 40px;
}
.special-section {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  padding-bottom: 0;
}
.textarea-wrap {
  position: relative;
}
.textarea-wrap textarea {
  height: 126px;
  resize: vertical;
  min-height: 100px;
  padding-bottom: 32px;
  line-height: 24px;
  display: block;
}
.char-count {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 12px;
  color: #888;
  pointer-events: none;
}
.input-stack {
  display: grid;
  gap: 16px;
}
.input-stack .helper {
  margin-top: 4px;
}
.billing-notes {
  border-bottom: 0;
  padding-bottom: 0;
}
.billing-notes textarea {
  height: 154px;
}
.trip-summary {
  padding: 24px;
  font-size: 14px;
}
.trip-summary h3,
.price-summary h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}
.summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.summary-heading button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  font-size: 16px;
  padding: 0;
}
.summary-heading button .icon {
  width: 22px;
  height: 22px;
}
.route-summary {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.route-summary p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 22px;
}
.route-summary p:last-child {
  margin-bottom: 0;
}
.route-summary > .icon {
  margin-bottom: 20px;
}
.route-summary .icon {
  width: 22px;
  height: 22px;
}
.combined-time {
  display: none;
}
.contact-columns .combined-time {
  display: inline;
}
.contact-columns .separate-time {
  display: none;
}
.summary-vehicle {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.small-vehicle {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 24px 0;
}
.small-vehicle img {
  width: 120px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
}
.small-vehicle > div {
  min-width: 0;
}
.small-vehicle strong {
  font-size: 16px;
  font-weight: 700;
}
.small-vehicle p {
  font-size: 14px;
  line-height: 18px;
  margin-top: 6px;
}
.capacities {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 20px;
}
.capacities .icon {
  width: 22px;
  height: 22px;
}
.capacities .icon:nth-of-type(2) {
  margin-left: 12px;
}
.capacities span {
  white-space: nowrap;
}
.summary-prices {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.price-lines {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.price-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.price-lines strong {
  font-weight: 500;
  white-space: nowrap;
}
.price-lines small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #666;
  margin-top: 6px;
}
.total {
  padding: 28px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.total h4 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.total > strong {
  font: 700 48px/1.1 var(--serif);
  display: block;
  margin: 20px 0;
}
.total > p {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.security {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
}
.security .icon {
  width: 24px;
  height: 24px;
}
.security strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.security p {
  font-size: 12px;
  line-height: 18px;
  color: #888;
  margin-top: 4px;
}
.trip-summary .capacities {
  gap: 8px;
  font-size: 14px;
}
.passengers-columns .small-vehicle {
  gap: 24px;
}
.contact-columns .small-vehicle {
  gap: 24px;
}
/* Step 5 */
.form-page.step-5 main {
  max-width: 1250px;
  position: relative;
  left: 25px;
}
.review-panel {
  display: grid;
  grid-template-columns: minmax(0, 792px) minmax(0, 394px);
  gap: 16px;
  padding: 24px;
}
.review-main {
  min-width: 0;
}
.review-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}
.review-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.review-heading .tile {
  width: 56px;
  height: 56px;
}
.review-heading h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}
.review-heading button {
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 16px;
  padding: 0;
}
.detail-rows {
  font-size: 16px;
  line-height: 24px;
  display: grid;
  gap: 16px;
}
.detail-rows > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0;
}
.detail-rows dt {
  color: var(--muted);
}
.detail-rows dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.review-block > .detail-rows {
  margin-left: 72px;
}
.review-vehicle {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 72px;
  min-height: 160px;
}
.review-vehicle > img {
  width: 200px;
  height: 140px;
  object-fit: contain;
}
.review-vehicle strong {
  font-weight: 700;
}
.review-vehicle p {
  font-size: 14px;
  margin: 8px 0;
}
.review-vehicle .capacities {
  font-size: 14px;
}
.contact-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 72px;
  gap: 32px;
}
.contact-review > div + div {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.contact-review h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-review .detail-rows > div {
  grid-template-columns: 130px minmax(0, 1fr);
}
.contact-review .detail-rows {
  gap: 16px;
}
.billing-review {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
}
.billing-review .detail-rows > div {
  grid-template-columns: 184px minmax(0, 1fr);
}
.consent {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 24px;
  gap: 16px;
}
.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.price-summary {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
}
.price-summary .price-lines {
  font-size: 16px;
  gap: 16px;
  margin-top: 20px;
}
.price-summary .total {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  margin-top: 16px;
  padding-bottom: 16px;
}
.price-summary .security {
  background: var(--pale);
  border-radius: 8px;
  padding: 12px;
  margin-top: 0;
  gap: 16px;
}
.price-summary .security p {
  margin-top: 2px;
}
.next-card {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  font-size: 14px;
  color: #777;
}
.next-card h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  line-height: 26px;
  color: var(--ink);
}
.next-card ol {
  list-style-position: inside;
  padding: 0;
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
.next-card > p {
  font-size: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  line-height: 18px;
}
.policy-dialog {
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 500px;
  width: calc(100% - 32px);
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 12px 60px #0005;
}
.policy-dialog::backdrop {
  background: #0b1220aa;
}
.policy-dialog h2 {
  font: 700 32px var(--serif);
}
.policy-dialog p {
  margin: 16px 0;
}
.policy-dialog .btn {
  width: 100%;
  margin-top: 8px;
}
.availability-dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #d7dfeb;
  border-radius: 14px;
  background: #fff;
  color: #101b2f;
  box-shadow: 0 20px 80px #0a121f40;
  overflow: auto;
  text-align: left;
}
.availability-dialog::backdrop { background: #0a121f99; backdrop-filter: blur(3px); }
.availability-symbol { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: #edf2fa; color: #17376b; margin-bottom: 16px; }
.availability-dialog h2 { margin: 0 0 12px; font: 500 29px/1.2 var(--serif); color: #101b2f; }
.availability-dialog p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: #42516a; }
.availability-slot { display: grid; gap: 6px; margin: 18px 0; padding: 14px 16px; border: 1px solid #dce3ee; border-radius: 8px; background: #f6f8fc; font-size: 13px; }
.availability-slot span { color: #52617b; }
.availability-dialog .availability-note { font-size: 12px; }
.availability-actions { display: grid; gap: 10px; }
.availability-actions .btn { width: 100%; min-height: 46px; height: auto; padding: 13px 16px; white-space: normal; }
@media (max-width: 600px) {
  .availability-dialog { padding: 22px 20px; }
  .availability-dialog h2 { font-size: 26px; }
}
/* Thank-you page */
.thank-page {
  background: white;
}
.thank-hero {
  height: 33.1944vw;
  max-height: 640px;
  background: #0b1220 url("assets/thank-you-desktop.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 8.3333vw;
}
.brand-logo {
  width: 300px;
  mix-blend-mode: lighten;
}
.thank-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 0 80px;
  outline: none;
}
.thank-content > h1 {
  font: 700 56px/1.1 var(--serif);
  margin-bottom: 16px;
}
.thank-content > p {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  margin-bottom: 12px;
}
.thank-content .request-id {
  font-weight: 600;
}
.thank-content .demo-notice {
  font-size: 12px;
  margin-top: -4px;
  color: #6b7280;
}
.received-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  gap: 36px;
  margin: 16px 0 48px;
}
.received-status {
  display: flex;
  align-items: center;
  gap: 36px;
}
.seal {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--gradient);
  clip-path: polygon(
    50% 0%,
    62% 8%,
    76% 7%,
    84% 20%,
    96% 26%,
    94% 42%,
    100% 53%,
    90% 66%,
    89% 80%,
    75% 86%,
    65% 98%,
    50% 95%,
    35% 100%,
    24% 90%,
    10% 87%,
    7% 72%,
    0 60%,
    6% 47%,
    2% 33%,
    14% 22%,
    20% 9%,
    36% 9%
  );
  flex-shrink: 0;
}
.received-status h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}
.received-status p {
  font-size: 18px;
  line-height: 28px;
  margin-top: 8px;
  color: var(--muted);
}
.received-date {
  border-left: 1px solid var(--border);
  padding-left: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.received-date > .icon {
  width: 44px;
  height: 44px;
}
.received-date p {
  font-size: 18px;
  color: var(--muted);
}
.received-date strong {
  font-size: 24px;
  display: block;
  margin: 4px 0;
}
.received-date span {
  font-size: 18px;
}
.thank-section {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 16px;
}
.thank-section-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  max-width: 250px;
}
.dark-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.dark-icon .icon {
  width: 24px;
  height: 24px;
}
.thank-section-title .dark-icon {
  margin-top: -4px;
}
.thank-section .detail-rows {
  gap: 12px;
}
.thank-section .detail-rows > div {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
}
.thank-section .detail-rows dt {
  color: var(--ink);
  font-weight: 700;
}
.thank-vehicle {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 138px;
}
.thank-vehicle > img {
  width: 212px;
  height: 132px;
  object-fit: contain;
}
.thank-vehicle strong {
  font-weight: 700;
}
.thank-vehicle p {
  margin: 8px 0;
}
.thank-note {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--border);
  background: var(--pale);
  border-radius: 8px;
  padding: 14px 24px;
  min-height: 70px;
  margin-top: -8px;
}
.thank-note > h3 {
  display: flex;
  align-items: center;
  gap: 56px;
  font-size: 18px;
  line-height: 24px;
  margin-left: 215px;
  white-space: nowrap;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.thank-note .dark-icon {
  width: 36px;
  height: 36px;
}
.thank-note > p {
  font-size: 18px;
}
.thank-pricing {
  grid-template-columns: 310px minmax(0, 1fr) 278px;
  gap: 32px;
}
.thank-prices .price-lines {
  margin-top: 0;
  gap: 16px;
  font-weight: 600;
}
.thank-prices .price-lines strong {
  font-weight: 600;
}
.thank-pricing > .total {
  align-self: center;
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 12px;
  margin-left: 32px;
  position: relative;
}
.thank-pricing > .total::before {
  content: "";
  position: absolute;
  left: -42px;
  top: -40px;
  bottom: -40px;
  width: 1px;
  background: var(--border);
}
.thank-pricing .total > strong {
  font-size: 48px;
  margin: 8px 0;
}
.thank-pricing .total h4,
.thank-pricing .total > p {
  font-size: 14px;
}
.payment-note {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
}
.payment-note .dark-icon {
  width: 36px;
  height: 36px;
}
.thank-next {
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
}
.next-symbol .icon {
  width: 48px;
  height: 48px;
}
.thank-next > div {
  flex: 1;
}
.thank-next h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 16px;
}
.thank-next ol {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 44px;
  list-style: none;
  padding: 0;
}
.thank-next li {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.thank-next li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -28px;
  font-size: 28px;
  color: var(--muted);
}
.thank-next li > span {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.thank-next p {
  font-size: 18px;
  line-height: 24px;
}
.assistance {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--pale);
  padding: 32px;
  margin-top: 24px;
  font-size: 18px;
}
.assistance > div:first-child {
  display: flex;
  align-items: center;
  gap: 36px;
}
.assistance > div:first-child > .icon {
  width: 48px;
  height: 48px;
}
.assistance > div + div {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.assistance h3,
.assistance strong {
  font-size: 18px;
  font-weight: 700;
}
.assistance p {
  margin: 12px 0;
}
.assistance a {
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
}
.start-over {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 24px auto 0;
}
.thank-footer {
  background: var(--ink);
  color: white;
  padding: 32px 24px;
}
.thank-footer > div {
  max-width: 1050px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.thank-footer img {
  width: 300px;
  margin-right: 20px;
}
.thank-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-left: 1px solid #9397a0;
  padding: 20px 0 20px 36px;
  font-size: 16px;
  white-space: nowrap;
}
.thank-footer .icon {
  width: 22px;
  height: 22px;
}
/* Tablet: retain the hierarchy without squeezing sidebar content. */
@media (max-width: 1279px) {
  .form-page main {
    margin: 0 24px;
  }
  .form-page.step-5 main {
    left: 0;
  }
  .columns {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  }
  .review-panel {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  }
  .page-header h1 {
    font-size: 64px;
  }
  .trip-strip {
    gap: 16px;
    padding: 20px 16px;
    font-size: 14px;
  }
  .trip-strip p {
    gap: 8px;
  }
  .trip-strip p:nth-of-type(3) {
    padding-left: 16px;
  }
  .trip-strip button {
    font-size: 14px;
    padding-left: 16px;
  }
  .vehicle-card > h3 {
    font-size: 20px;
  }
  .card-capacity {
    font-size: 12px;
    gap: 4px;
  }
  .card-capacity > span {
    margin: 0 4px;
  }
  .vehicle-photo {
    height: 200px;
  }
  .features {
    font-size: 14px;
    gap: 8px;
  }
  .vehicle-models {
    font-size: 14px;
  }
  .seat-area {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .seat-table {
    margin-top: 8px;
  }
  .gratuity-section {
    grid-template-columns: 1fr;
  }
  .gratuity-result {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 16px 0 0;
    margin-left: 36px;
  }
  .small-vehicle {
    gap: 16px;
  }
  .small-vehicle img {
    width: 96px;
  }
  .capacities {
    flex-wrap: wrap;
  }
  .trip-summary .capacities {
    gap: 6px;
    font-size: 12px;
  }
  .review-block {
    padding: 20px;
  }
  .review-block > .detail-rows,
  .review-vehicle,
  .contact-review {
    margin-left: 0;
  }
  .contact-review {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-review > div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0 0;
  }
  .review-vehicle {
    gap: 16px;
  }
  .review-vehicle > img {
    width: 160px;
  }
  .thank-content {
    margin: 0 48px;
  }
  .thank-section {
    grid-template-columns: 260px 1fr;
    gap: 16px;
  }
  .thank-section .detail-rows > div {
    grid-template-columns: 200px 1fr;
  }
  .thank-pricing {
    grid-template-columns: 220px 1fr 230px;
  }
  .thank-note > h3 {
    margin-left: 100px;
    gap: 24px;
  }
  .thank-footer > div {
    gap: 16px;
  }
  .thank-footer img {
    width: 240px;
    margin-right: 0;
  }
  .thank-footer a {
    font-size: 14px;
    padding-left: 24px;
  }
  .thank-next p {
    font-size: 16px;
  }
}
@media (max-width: 1023px) {
  .page-header h1 {
    font-size: 56px;
  }
  .page-header > p {
    font-size: 18px;
  }
  .trip-panel {
    width: min(792px, 100%);
  }
  .columns,
  .review-panel {
    grid-template-columns: 1fr;
  }
  .trip-summary {
    max-width: none;
  }
  .trip-summary .small-vehicle {
    max-width: 360px;
  }
  .trip-summary .price-lines {
    max-width: none;
  }
  .review-panel {
    padding: 24px;
  }
  .review-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .review-sidebar .next-card {
    margin-top: 0;
    align-self: start;
  }
  .trip-strip {
    flex-wrap: wrap;
  }
  .trip-strip button {
    margin-left: 0;
  }
  .vehicle-grid {
    gap: 16px;
  }
  .vehicles-panel {
    padding: 24px;
  }
  .vehicle-card {
    padding: 12px;
  }
  .vehicle-card > h3 {
    font-size: 18px;
    letter-spacing: -0.5px;
  }
  .vehicle-photo {
    height: 160px;
  }
  .features {
    font-size: 13px;
  }
  .vehicle-price > p {
    font-size: 14px;
  }
  .thank-section {
    grid-template-columns: 200px 1fr;
  }
  .thank-section .detail-rows > div {
    grid-template-columns: 160px 1fr;
  }
  .thank-vehicle {
    gap: 20px;
  }
  .thank-vehicle > img {
    width: 160px;
  }
  .thank-note > h3 {
    margin-left: 0;
  }
  .thank-pricing {
    grid-template-columns: 200px 1fr;
  }
  .thank-pricing > .total {
    grid-column: 2;
    margin-left: 0;
  }
  .thank-pricing > .total::before {
    display: none;
  }
  .received-card {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .received-status {
    gap: 20px;
  }
  .received-date {
    gap: 20px;
    padding-left: 20px;
  }
  .received-status h2,
  .received-date strong {
    font-size: 20px;
  }
  .received-status p,
  .received-date p,
  .received-date span {
    font-size: 16px;
  }
  .thank-next {
    gap: 16px;
  }
  .thank-next ol {
    gap: 24px;
  }
  .thank-next li {
    gap: 8px;
  }
  .thank-next li:not(:last-child)::after {
    right: -18px;
  }
  .thank-next p {
    font-size: 14px;
  }
  .assistance {
    font-size: 16px;
    padding: 24px;
  }
  .assistance > div:first-child {
    gap: 24px;
  }
  .assistance a {
    font-size: 20px;
  }
  .thank-footer > div {
    flex-wrap: wrap;
    justify-content: center;
  }
  .thank-footer img {
    width: 240px;
    margin: 0 100px;
  }
  .thank-footer a {
    border: 0;
    padding: 0;
  }
}
/* Phone reference, 390 px. */
@media (max-width: 639px) {
  body {
    font-size: 14px;
    line-height: 1.5;
  }
  .form-page {
    background-image: none;
    background-size: cover;
    background-position: center center;
  }
  .page-header {
    height: 354px;
    padding: 82px 12px 0;
  }
  .page-header h1 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.7px;
    max-width: 350px;
    margin: auto;
  }
  .page-header > p {
    font-size: 14px;
    line-height: 21px;
    margin: 14px auto 16px;
    max-width: 362px;
  }
  .progress {
    max-width: 366px;
  }
  .progress li:not(:last-child)::after {
    top: 17px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
  }
  .progress button {
    gap: 12px;
  }
  .step-circle {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .step-label {
    font-size: 12px;
    line-height: 16px;
    white-space: normal;
    max-width: 76px;
    min-height: 32px;
  }
  .progress li:first-child .step-label {
    padding-top: 8px;
  }
  .form-page main {
    margin: 0 16px;
    padding-bottom: 64px;
  }
  .form-page.step-5 main {
    max-width: none;
    left: 0;
  }
  .panel {
    padding: 12px;
    border-radius: 7px;
  }
  .panel-header {
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    align-items: flex-start;
  }
  .tile {
    width: 40px;
    height: 40px;
    border-radius: 3px;
  }
  .tile .icon {
    width: 24px;
    height: 24px;
  }
  .panel-header h2 {
    font-size: 22px;
    line-height: 26px;
    white-space: nowrap;
  }
  .panel-header h2 > span {
    font-size: 22px;
    line-height: 26px;
  }
  .panel-header p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 2px;
  }
  .btn {
    min-height: 48px;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 12px;
  }
  .input {
    height: 48px;
    padding: 12px;
    line-height: 22px;
    font-size: 14px;
  }
  .label {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .field-block {
    margin-bottom: 24px;
  }
  .segments {
    min-height: 48px;
  }
  .segments button {
    font-size: 14px;
    padding: 10px 8px;
    line-height: 20px;
  }
  .field-grid {
    gap: 16px;
  }
  .trip-panel {
    width: 100%;
    padding: 12px;
  }
  .trip-panel .panel-header {
    margin-bottom: 24px;
    gap: 16px;
  }
  .trip-panel .panel-header p {
    white-space: nowrap;
  }
  .trip-panel .helper {
    font-size: 12px;
    line-height: 18px;
    gap: 12px;
    white-space: nowrap;
  }
  .trip-panel .helper .icon {
    width: 20px;
    height: 20px;
  }
  .location-input > .icon {
    left: 12px;
    width: 20px;
    height: 20px;
  }
  .location-input .input {
    padding-left: 40px;
    padding-right: 36px;
  }
  .location-target {
    right: 8px;
    padding: 4px;
  }
  .location-target .icon {
    width: 20px;
    height: 20px;
  }
  .add-stop {
    font-size: 14px;
    gap: 16px;
    margin-bottom: 24px;
  }
  .add-stop .icon {
    width: 22px;
    height: 22px;
  }
  .picker-box {
    height: 48px;
    padding: 0 12px;
    gap: 8px;
    white-space: nowrap;
  }
  .picker-box .icon {
    width: 20px;
    height: 20px;
  }
  .check-price {
    margin-top: 24px;
  }
  .stop-field .label {
    font-size: 12px;
  }
  .form-error {
    font-size: 12px;
    padding: 10px;
  }
  .form-nav {
    flex-direction: column-reverse;
    margin-top: 20px;
    gap: 16px;
  }
  .form-nav .btn {
    width: 100%;
  }
  .vehicles-panel {
    padding: 12px;
  }
  .vehicles-panel .panel-header {
    gap: 12px;
  }
  .vehicles-panel .panel-header h2 {
    font-size: 20px;
  }
  .vehicles-panel .panel-header h2 > span {
    font-size: 20px;
  }
  .vehicles-panel .panel-header p {
    font-size: 13px;
  }
  .trip-strip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
    padding: 16px;
    min-height: 204px;
  }
  .trip-strip p {
    gap: 12px;
  }
  .trip-strip .route-arrow {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
  }
  .trip-strip p:nth-of-type(3) {
    border: 0;
    padding: 0;
  }
  .trip-strip button {
    border: 0;
    padding: 0;
    font-size: 14px;
    margin: 0;
  }
  .collection {
    margin-top: 24px;
  }
  .collection > h2 {
    font-size: 22px;
    line-height: 26px;
  }
  .collection > p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 6px;
  }
  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 16px;
  }
  .vehicle-card {
    padding: 16px;
    border-radius: 7px;
  }
  .vehicle-photo {
    height: 222px;
    width: 100%;
    object-fit: cover;
  }
  .vehicle-card > h3 {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.45px;
    margin-top: 16px;
  }
  .card-capacity {
    font-size: 12px;
    line-height: 18px;
    gap: 8px;
    margin-top: 16px;
  }
  .card-capacity .icon {
    width: 20px;
    height: 20px;
  }
  .card-capacity > span {
    margin: 0 8px;
    height: 20px;
  }
  .vehicle-models {
    font-size: 14px;
    line-height: 20px;
    margin-top: 20px;
  }
  .vehicle-models h4 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
  }
  .features {
    font-size: 14px;
    line-height: 20px;
    gap: 8px;
    padding: 16px 0;
    margin: 16px 0 24px;
  }
  .features .icon {
    width: 20px;
    height: 20px;
  }
  .vehicle-price > p {
    font-size: 14px;
    line-height: 20px;
  }
  .vehicle-price > strong {
    font-size: 28px;
    line-height: 36px;
  }
  .vehicle-price small {
    font-size: 14px;
    margin-left: 4px;
  }
  .vehicle-card .btn {
    margin-top: 16px;
  }
  .pricing-note {
    margin-top: 24px;
    padding: 12px;
    gap: 12px;
    font-size: 10px;
    line-height: 15px;
  }
  .pricing-note .icon {
    width: 18px;
    height: 18px;
  }
  .columns {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .columns > form,
  .columns > aside {
    width: 100%;
  }
  .form-section {
    padding: 24px 0;
  }
  .panel-header + .form-section {
    padding-top: 0;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 16px;
  }
  .round-icon {
    width: 32px;
    height: 32px;
  }
  .round-icon .icon {
    width: 20px;
    height: 20px;
  }
  .section-heading h3 {
    font-size: 14px;
    line-height: 20px;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
  }
  .section-body {
    margin-left: 40px;
  }
  .passengers-panel .panel-header h2 {
    font-size: 20px;
  }
  .passengers-panel .panel-header h2 > span {
    font-size: 20px;
  }
  .passengers-panel .panel-header p {
    font-size: 14px;
    line-height: 20px;
  }
  .passenger-counts > label {
    font-size: 12px;
    line-height: 20px;
    gap: 6px;
  }
  .passenger-counts .icon {
    width: 20px;
    height: 20px;
  }
  .quantity {
    width: 100%;
    max-width: 250px;
    height: 36px;
    font-size: 14px;
  }
  .quantity button {
    width: 56px;
  }
  .passenger-counts > label:nth-of-type(2) {
    margin-top: 16px;
  }
  .aviation {
    flex-direction: column;
    margin-bottom: 24px;
  }
  .aviation button {
    min-height: 44px;
    font-size: 12px;
  }
  .aviation button + button {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .aviation .icon {
    width: 18px;
    height: 18px;
  }
  .section-body .field-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-body .label {
    font-size: 12px;
    line-height: 20px;
  }
  .helper {
    font-size: 10px;
    line-height: 16px;
    margin-top: 16px;
    gap: 8px;
  }
  .helper .icon {
    width: 18px;
    height: 18px;
  }
  .extra-row {
    gap: 8px;
    margin-bottom: 24px;
  }
  .extra-row > .icon {
    width: 18px;
    height: 18px;
  }
  .extra-row > div > strong {
    font-size: 14px;
    line-height: 20px;
  }
  .extra-row p {
    font-size: 12px;
    line-height: 18px;
  }
  .toggle {
    width: 30px;
    height: 16px;
    margin-top: 4px;
  }
  .toggle span {
    width: 30px;
    height: 16px;
  }
  .toggle span::after {
    width: 12px;
    height: 12px;
    top: 2px;
    left: 2px;
  }
  .toggle input:checked ~ span::after {
    transform: translateX(14px);
  }
  .seat-area {
    display: block;
    border: 0;
    padding: 0;
    margin-top: 16px;
  }
  .seat-counts > div {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }
  .seat-counts .icon {
    width: 18px;
    height: 18px;
  }
  .seat-counts strong {
    font-size: 14px;
  }
  .seat-counts .quantity {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
    margin-top: 6px;
    height: 28px;
    flex-shrink: 1;
  }
  .seat-counts > p {
    white-space: normal;
    font-size: 10px;
    line-height: 16px;
  }
  .seat-counts > p span {
    margin: 0 2px;
  }
  .seat-table {
    margin-top: 12px;
    font-size: 12px;
    line-height: 18px;
  }
  .seat-table th,
  .seat-table td {
    padding: 8px 10px;
  }
  .gratuity-section {
    display: block;
    padding: 0;
    background: white;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    margin: 24px 0;
    padding-bottom: 24px;
  }
  .gratuity-section .section-heading {
    gap: 12px;
  }
  .gratuity-section .round-icon {
    margin-left: 0;
  }
  .gratuity-section .section-body {
    margin-left: 40px;
  }
  .gratuity {
    min-height: 40px;
  }
  .gratuity button {
    font-size: 12px;
    line-height: 18px;
    padding: 6px;
  }
  .small-check {
    font-size: 10px;
    line-height: 16px;
    gap: 8px;
    margin-top: 16px;
  }
  .small-check input {
    width: 16px;
    height: 16px;
    border-width: 1.5px;
  }
  .gratuity-result {
    margin-left: 40px;
    border: 0;
    padding: 16px 0 0;
  }
  .gratuity-result > strong {
    font-size: 14px;
  }
  .gratuity-result strong > span {
    font-size: 20px;
  }
  .gratuity-result > p {
    font-size: 10px;
    line-height: 16px;
    margin-top: 4px;
  }
  .custom-tip {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }
  .custom-tip input {
    width: 100%;
  }
  .special-section {
    border-top: 0;
    padding-top: 0;
  }
  .textarea-wrap textarea {
    font-size: 12px;
    line-height: 18px;
    height: 154px;
    min-height: 100px;
    padding: 12px 12px 28px;
  }
  .char-count {
    font-size: 10px;
    right: 12px;
    bottom: 10px;
  }
  .contact-panel .panel-header {
    gap: 16px;
  }
  .contact-panel .panel-header h2 {
    font-size: 22px;
  }
  .contact-panel .panel-header p {
    font-size: 14px;
  }
  .contact-panel .section-body {
    margin-left: 0;
  }
  .input-stack {
    gap: 16px;
  }
  .input-stack .field-grid {
    gap: 16px;
  }
  .input-stack .helper {
    margin-top: 4px;
  }
  .checkbox {
    font-size: 14px;
    line-height: 20px;
    gap: 12px;
  }
  .checkbox input {
    width: 18px;
    height: 18px;
    border-width: 1.5px;
    margin-top: 2px;
  }
  .billing-notes .section-heading {
    margin-bottom: 16px;
  }
  .billing-notes textarea {
    height: 154px;
  }
  .trip-summary {
    padding: 12px;
    font-size: 14px;
  }
  .trip-summary h3 {
    font-size: 14px;
    line-height: 20px;
  }
  .summary-heading {
    padding-bottom: 16px;
  }
  .summary-heading button {
    font-size: 14px;
    gap: 8px;
  }
  .summary-heading .icon {
    width: 18px;
    height: 18px;
  }
  .route-summary {
    padding: 16px 0;
  }
  .route-summary p {
    gap: 8px;
    margin-bottom: 16px;
    line-height: 20px;
  }
  .route-summary > .icon {
    margin-bottom: 16px;
  }
  .route-summary .icon {
    width: 20px;
    height: 20px;
  }
  .contact-columns .combined-time {
    display: none;
  }
  .contact-columns .separate-time {
    display: flex;
  }
  .summary-vehicle {
    padding: 16px 0;
  }
  .small-vehicle,
  .passengers-columns .small-vehicle,
  .contact-columns .small-vehicle {
    gap: 16px;
    margin: 16px 0;
  }
  .small-vehicle img {
    width: 120px;
    height: 76px;
  }
  .small-vehicle strong {
    font-size: 14px;
  }
  .small-vehicle p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
  }
  .trip-summary .capacities {
    font-size: 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .capacities .icon {
    width: 20px;
    height: 20px;
  }
  .capacities .icon:nth-of-type(2) {
    margin-left: 16px;
  }
  .summary-prices {
    padding: 16px 0;
  }
  .price-lines {
    margin-top: 20px;
    gap: 20px;
  }
  .price-lines small {
    font-size: 10px;
    line-height: 15px;
  }
  .total {
    padding: 24px 0 16px;
  }
  .total h4 {
    font-size: 12px;
    line-height: 20px;
  }
  .total > strong {
    font-size: 32px;
    margin: 12px 0;
  }
  .total > p {
    font-size: 12px;
    line-height: 18px;
  }
  .security {
    margin-top: 16px;
    gap: 12px;
  }
  .security .icon {
    width: 20px;
    height: 20px;
  }
  .security strong {
    font-size: 12px;
    line-height: 18px;
  }
  .security p {
    font-size: 10px;
    line-height: 15px;
    margin-top: 2px;
  }
  .desktop-copy {
    display: none;
  }
  .mobile-copy {
    display: inline;
  }
  .review-panel {
    display: block;
    padding: 0;
    border: 0;
    background: none;
  }
  .review-main {
    border: 1px solid var(--border);
    background: white;
    border-radius: 7px;
    padding: 12px;
  }
  .review-main .panel-header {
    gap: 16px;
  }
  .review-main .panel-header h2 {
    font-size: 22px;
  }
  .review-main .panel-header p {
    font-size: 14px;
    line-height: 20px;
  }
  .review-block {
    padding: 12px;
    margin-top: 20px;
    border-radius: 7px;
  }
  .review-heading {
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .review-heading .tile {
    width: 40px;
    height: 40px;
  }
  .review-heading h3 {
    font-size: 14px;
    line-height: 20px;
    padding-top: 4px;
  }
  .review-heading button {
    font-size: 12px;
    gap: 4px;
    padding-top: 4px;
  }
  .review-heading button .icon {
    width: 18px;
    height: 18px;
  }
  .detail-rows {
    font-size: 14px;
    line-height: 20px;
    gap: 16px;
  }
  .review-block > .detail-rows {
    margin-left: 0;
  }
  .review-block > .detail-rows > div {
    display: block;
  }
  .review-block > .detail-rows dd {
    margin-top: 8px;
  }
  .review-vehicle {
    display: block;
    min-height: 0;
    margin-left: 0;
  }
  .review-vehicle > img {
    width: 200px;
    height: 145px;
    margin: 0 auto 16px;
  }
  .review-vehicle strong {
    font-size: 14px;
  }
  .review-vehicle p {
    font-size: 12px;
    line-height: 18px;
    margin: 8px 0;
  }
  .review-vehicle .capacities {
    font-size: 10px;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .review-vehicle .capacities .icon {
    width: 18px;
    height: 18px;
  }
  .review-vehicle .capacities .icon:nth-of-type(2) {
    margin-left: 4px;
  }
  .contact-review {
    display: block;
    margin-left: 0;
  }
  .contact-review > div + div {
    border: 0;
    padding: 24px 0 0;
  }
  .contact-review h4 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }
  .contact-review .detail-rows {
    font-size: 12px;
    gap: 16px;
  }
  .contact-review .detail-rows > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .billing-review {
    padding-top: 16px;
    margin-top: 20px;
  }
  .billing-review .detail-rows > div {
    display: block;
  }
  .billing-review .detail-rows dd {
    margin-top: 8px;
  }
  .consent {
    font-size: 14px;
    line-height: 20px;
    margin-top: 20px;
    padding-top: 20px;
    gap: 12px;
  }
  .consent .text-link {
    font-size: 14px;
  }
  .review-sidebar {
    display: block;
    margin-top: 24px;
  }
  .price-summary {
    padding: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 7px;
  }
  .price-summary > h3 {
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }
  .price-summary .price-lines {
    font-size: 14px;
    gap: 20px;
    margin-top: 20px;
  }
  .price-summary .seat-detail {
    font-size: 12px;
  }
  .price-summary .total {
    padding: 24px 0 16px;
    margin-top: 20px;
  }
  .price-summary .security {
    padding: 12px;
    margin-top: 0;
    gap: 12px;
  }
  .next-card {
    background: white;
    margin-top: 24px !important;
    padding: 12px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 7px;
  }
  .next-card h3 {
    font-size: 14px;
    line-height: 20px;
    gap: 12px;
  }
  .next-card ol {
    margin: 16px 0;
    gap: 16px;
  }
  .next-card > p {
    font-size: 10px;
    line-height: 15px;
    padding-top: 16px;
  }
  .policy-dialog {
    padding: 24px;
  }
  .policy-dialog h2 {
    font-size: 28px;
  }
  .thank-hero {
    height: 352px;
    max-height: none;
    background-image: url("assets/thank-you-mobile.jpg");
    background-size: 100% auto;
    background-position: top center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 28px;
  }
  .brand-logo {
    width: 300px;
    max-width: 80%;
    position: relative;
    z-index: 1;
  }
  .thank-content {
    margin: 0 16px;
    padding: 24px 0 48px;
  }
  .thank-content > h1 {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 16px;
  }
  .thank-content > p {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 12px;
  }
  .thank-content .demo-notice {
    font-size: 10px;
    line-height: 16px;
  }
  .received-card {
    display: block;
    padding: 16px;
    margin: 16px 0 24px;
  }
  .received-status {
    display: block;
  }
  .seal {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }
  .seal .icon {
    width: 18px;
    height: 18px;
  }
  .received-status h2 {
    font-size: 18px;
    line-height: 26px;
  }
  .received-status p {
    font-size: 14px;
    line-height: 21px;
    margin: 12px 0 16px;
  }
  .received-date {
    display: block;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 16px 0 0;
  }
  .received-date > .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  .received-date p {
    font-size: 14px;
  }
  .received-date strong {
    font-size: 20px;
    line-height: 28px;
    margin: 6px 0;
  }
  .received-date span {
    font-size: 14px;
  }
  .thank-section {
    display: block;
    padding: 24px 0;
  }
  .thank-section-title {
    font-size: 14px;
    line-height: 20px;
    max-width: none;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
  }
  .dark-icon {
    width: 32px;
    height: 32px;
  }
  .dark-icon .icon {
    width: 20px;
    height: 20px;
  }
  .thank-section-title .dark-icon {
    margin: 0;
  }
  .thank-section .detail-rows {
    font-size: 12px;
    line-height: 18px;
    gap: 16px;
  }
  .thank-section .detail-rows > div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
  }
  .thank-section .detail-rows dt {
    font-weight: 600;
  }
  .thank-vehicle {
    display: block;
    min-height: 0;
  }
  .thank-vehicle > img {
    width: 240px;
    height: 156px;
    margin: 0 auto 16px;
  }
  .thank-vehicle strong {
    font-size: 14px;
  }
  .thank-vehicle p {
    font-size: 12px;
    margin: 8px 0;
  }
  .thank-vehicle .capacities {
    font-size: 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .thank-vehicle .capacities .icon:nth-of-type(2) {
    margin-left: 12px;
  }
  .thank-note {
    display: block;
    padding: 12px;
    margin: 24px 0 0;
    min-height: 0;
  }
  .thank-note > h3 {
    margin: 0;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    gap: 12px;
  }
  .thank-note .dark-icon {
    width: 28px;
    height: 28px;
  }
  .thank-note .icon {
    width: 18px;
    height: 18px;
  }
  .thank-note > p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 12px;
  }
  .thank-pricing {
    display: block;
  }
  .thank-prices .price-lines {
    font-size: 14px;
    gap: 16px;
  }
  .thank-prices .price-lines strong {
    font-weight: 600;
  }
  .payment-note {
    font-size: 12px;
    line-height: 18px;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
  }
  .payment-note .dark-icon {
    width: 28px;
    height: 28px;
  }
  .payment-note .icon {
    width: 18px;
    height: 18px;
  }
  .thank-pricing > .total {
    margin: 16px 0 0;
    padding: 12px;
  }
  .thank-pricing .total h4,
  .thank-pricing .total > p {
    font-size: 12px;
  }
  .thank-pricing .total > strong {
    font-size: 36px;
    line-height: 40px;
    margin: 8px 0;
  }
  .thank-next {
    display: block;
    text-align: center;
    padding: 16px;
    margin-top: 0;
  }
  .next-symbol .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }
  .thank-next h3 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }
  .thank-next ol {
    display: block;
  }
  .thank-next li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
  }
  .thank-next li:last-child {
    margin-bottom: 0;
  }
  .thank-next li > span {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .thank-next p {
    font-size: 14px;
    line-height: 20px;
  }
  .thank-next li:not(:last-child)::after {
    right: auto;
    bottom: -34px;
    transform: rotate(90deg);
    font-size: 26px;
  }
  .assistance {
    display: block;
    padding: 16px;
    margin-top: 24px;
    font-size: 14px;
  }
  .assistance > div:first-child {
    display: block;
    text-align: center;
  }
  .assistance > div:first-child > .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
  }
  .assistance > div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 16px 0 0;
    margin-top: 16px;
  }
  .assistance h3,
  .assistance strong {
    font-size: 14px;
    line-height: 20px;
  }
  .assistance p {
    margin: 12px 0;
  }
  .assistance a {
    font-size: 20px;
    line-height: 28px;
  }
  .start-over {
    font-size: 12px;
    margin-top: 24px;
  }
  .thank-footer {
    padding: 24px 16px;
  }
  .thank-footer > div {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 0.9fr;
    gap: 12px 8px;
  }
  .thank-footer img {
    width: 300px;
    max-width: 100%;
    grid-column: 1/-1;
    margin: 0 auto 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #9397a0;
  }
  .thank-footer a {
    padding: 0;
    border: 0;
    font-size: 9px;
    line-height: 14px;
    gap: 6px;
    white-space: nowrap;
  }
  .thank-footer .icon {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 374px) {
  .page-header h1 {
    font-size: 34px;
  }
  .page-header > p {
    font-size: 13px;
  }
  .step-label {
    font-size: 10px;
  }
  .form-page main {
    margin: 0 12px;
  }
  .panel-header h2,
  .panel-header h2 > span {
    font-size: 19px;
  }
  .panel-header p {
    font-size: 12px;
  }
  .trip-panel .panel-header p {
    white-space: normal;
  }
  .trip-panel .helper {
    font-size: 10px;
  }
  .vehicles-panel .panel-header h2,
  .vehicles-panel .panel-header h2 > span,
  .passengers-panel .panel-header h2,
  .passengers-panel .panel-header h2 > span {
    font-size: 17px;
  }
  .contact-panel .panel-header h2 {
    font-size: 19px;
  }
  .review-heading h3 {
    font-size: 12px;
  }
  .review-heading button {
    font-size: 10px;
  }
  .review-vehicle .capacities {
    justify-content: center;
  }
  .thank-content {
    margin: 0 12px;
  }
  .thank-section .detail-rows > div {
    grid-template-columns: 124px 1fr;
    gap: 10px;
  }
  .thank-footer a {
    font-size: 8px;
    gap: 4px;
  }
  .trip-summary .capacities {
    font-size: 11px;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Reference refinements: smaller header line box and Trip spacing. */
.panel-header h2 {
  line-height: 1;
}
.trip-panel .panel-header h2 > span {
  font-size: 32px;
  line-height: 1;
}
.trip-panel .panel-header h2 {
  line-height: 1;
}
.trip-panel .panel-header p {
  margin-top: 0;
}
.trip-panel .label {
  font-size: 16px;
  line-height: 24px;
}
.trip-panel .add-stop {
  margin-bottom: 24px;
}
@media (max-width: 639px) {
  .trip-panel .panel-header h2 > span {
    font-size: 22px;
    line-height: 26px;
  }
  .trip-panel .panel-header h2 {
    line-height: 26px;
  }
  .trip-panel .label {
    font-size: 14px;
    line-height: 20px;
  }
  .trip-panel .panel-header {
    margin-bottom: 24px;
  }
  .progress {
    max-width: 366px;
  }
}

/* Original mockups stretch the lobby photograph to the full page canvas. */
.form-page {
  background-size: 100% 100%;
  background-position: top center;
}
.page-header h1 {
  letter-spacing: -0.5px;
}
@media (max-width: 639px) {
  .page-header h1 {
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0;
  }
  .progress {
    max-width: 362px;
  }
  .trip-panel .panel-header h2,
  .trip-panel .panel-header h2 > span {
    line-height: 22px;
  }
  .trip-panel .panel-header p {
    line-height: 18px;
    margin-top: 0;
  }
}

/* Review icons float beside the content instead of adding an extra row. */
@media (min-width: 640px) {
  .review-heading {
    height: 32px;
    min-height: 32px;
    padding-left: 72px;
    position: relative;
    margin-bottom: 12px;
    align-items: center;
  }
  .review-heading > .tile {
    position: absolute;
    left: 0;
    top: 0;
  }
  .review-block:nth-of-type(3) > .detail-rows > div {
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .review-vehicle {
    min-height: 136px;
  }
  .review-vehicle > img {
    height: 126px;
  }
  .contact-review .detail-rows > div {
    grid-template-columns: 116px minmax(0, 1fr);
  }
}
@media (max-width: 639px) {
  .review-heading {
    height: 28px;
    min-height: 28px;
    position: relative;
    padding-left: 44px;
    gap: 8px;
    margin-bottom: 16px;
  }
  .review-heading > .tile {
    position: absolute;
    left: 0;
    top: 0;
  }
  .review-heading h3 {
    padding-top: 0;
  }
  .review-heading button {
    padding-top: 0;
  }
  .special-section .section-heading p {
    white-space: normal;
  }
  .trip-summary .small-vehicle img {
    object-fit: cover;
  }
}

@media (max-width: 639px) {
  .panel,
  .trip-panel,
  .vehicles-panel,
  .review-main,
  .trip-summary,
  .price-summary,
  .next-card {
    padding: 11px;
  }
  .trip-panel .label {
    line-height: 16px;
  }
  .trip-panel .add-stop {
    margin-bottom: 20px;
    line-height: 20px;
  }
  .trip-panel .add-stop .icon {
    width: 20px;
    height: 20px;
  }
  .trip-panel .check-price {
    margin-top: 20px;
  }
  .vehicles-panel .panel-header {
    margin-bottom: 12px;
  }
  .vehicles-panel .panel-header h2,
  .vehicles-panel .panel-header h2 > span {
    line-height: 24px;
  }
  .vehicles-panel .panel-header p {
    line-height: 18px;
  }
  .trip-strip {
    gap: 8px;
  }
  .collection > h2 {
    font-size: 20px;
    line-height: 24px;
  }
  .vehicle-grid {
    gap: 16px;
  }
  .vehicle-models {
    margin-top: 16px;
  }
  .features {
    margin-bottom: 16px;
  }
  .vehicle-price > strong {
    font-size: 26px;
    line-height: 32px;
  }
}

.route-summary p,
.trip-strip p {
  overflow-wrap: anywhere;
  min-width: 0;
}

/* Native reference panel gutters include the one-pixel border. */
@media (min-width: 640px) {
  .panel {
    padding: 23px;
  }
  .trip-panel,
  .vehicles-panel {
    padding: 31px;
  }
  .trip-panel .panel-header p {
    line-height: 22px;
  }
  .vehicle-card {
    padding: 15px;
  }
  .features {
    letter-spacing: -0.2px;
  }
  .step-1 {
    background-image: none;
  }
  .step-2 {
    background-image: none;
  }
  .step-3 {
    background-image: none;
  }
  .step-4 {
    background-image: none;
  }
  .step-5 {
    background-image: none;
  }
}
@media (max-width: 639px) {
  .vehicle-card {
    padding: 15px;
  }
  .trip-summary {
    font-size: 14px;
  }
  .trip-summary h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .route-summary p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 12px;
  }
  .route-summary > .icon {
    margin-bottom: 12px;
  }
  .trip-summary .price-lines {
    margin-top: 16px;
    gap: 16px;
  }
  .trip-summary .price-lines small {
    margin-top: 2px;
  }
  .summary-prices {
    padding-bottom: 12px;
  }
  .trip-summary .total > strong {
    margin: 8px 0;
  }
  .trip-summary .total h4 {
    font-size: 14px;
  }
  .trip-summary .capacities .icon:nth-of-type(2) {
    box-sizing: content-box;
    border-left: 1px solid var(--border);
    padding-left: 16px;
    margin-left: 8px;
  }
  .trip-summary .security strong {
    font-size: 14px;
    line-height: 20px;
  }
  .trip-summary .security p {
    font-size: 12px;
    line-height: 18px;
  }
}

@media (max-width: 639px) {
  .review-panel {
    padding: 0;
  }
}

/* Phone subsection sizing; passenger content retains its reference indentation. */
@media (max-width: 639px) {
  .passengers-panel .round-icon,
  .contact-panel .round-icon {
    width: 36px;
    height: 36px;
  }
  .passengers-panel .section-heading h3,
  .contact-panel .section-heading h3 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
  }
  .passengers-panel .section-body,
  .gratuity-section .section-body,
  .gratuity-result {
    margin-left: 44px;
  }
  .passengers-panel .section-heading {
    margin-bottom: 8px;
  }
  .contact-panel .section-heading {
    margin-bottom: 12px;
  }
  .passengers-panel .panel-header h2,
  .passengers-panel .panel-header h2 > span {
    line-height: 24px;
  }
  .passengers-panel .panel-header p {
    margin-top: 0;
  }
  .passenger-counts > label,
  .section-body .label {
    font-size: 14px;
  }
  .passenger-counts .quantity {
    height: 40px;
    max-width: 244px;
  }
  .passengers-panel .form-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .passengers-panel .panel-header + .form-section,
  .passengers-panel .special-section {
    padding-top: 0;
  }
  .passengers-panel .special-section {
    padding-bottom: 0;
  }
  .aviation button {
    font-size: 14px;
    min-height: 48px;
  }
  .aviation {
    margin-bottom: 20px;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Live location search and journey estimates follow the original form palette. */
.location-input { min-width: 0; }
.places-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 28px #0b122026;
}
.places-dropdown [role="listbox"] {
  max-height: 320px;
  overflow-y: auto;
}
.place-option {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #eceef3;
  background: #fff;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.place-option strong, .place-option span { display: block; }
.place-option strong { font-size: 14px; font-weight: 600; }
.place-option span { font-size: 12px; color: var(--muted); }
.place-option:hover, .place-option[aria-selected="true"] { background: #eef2fa; }
.google-attribution { padding: 10px 16px; text-align: right; background: #fff; }
.google-maps-attribution { display: inline-block; color: #5e5e5e; font: 400 13px/20px Arial, sans-serif; white-space: nowrap; }
.maps-policies { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.maps-policies a { text-underline-offset: 3px; }
.policy-page { background: #f4f5f7; padding: 40px 20px; }
.policy-page main { max-width: 780px; margin: auto; padding: 32px; background: #fff; border-radius: 8px; }
.policy-page h1 { font: 600 40px/1.2 "Cormorant Garamond", serif; margin-bottom: 16px; }
.policy-page h2 { font-size: 20px; margin: 24px 0 12px; }
.policy-page p, .policy-page ul { margin: 12px 0; line-height: 1.8; }
.policy-page ul { padding-left: 20px; }
.policy-page a { text-decoration: underline; text-underline-offset: 3px; }
.places-message { margin: 0; padding: 14px 16px; font-size: 13px; line-height: 1.6; }
.stop-wait-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 14px;
}
.stop-wait-label select { width: 180px; height: 48px; padding: 8px 12px; }
.stop-wait-note { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.route-live { margin-top: 24px; }
.test-session-note { padding: 10px 12px; margin-bottom: 16px; border: 1px solid #dce3ef; border-radius: 4px; background: #f4f6fa; color: var(--muted); font-size: 12px; line-height: 1.7; }
.travel-time { background: #f4f6fa; cursor: default; }
.route-status { margin-top: 10px; font-size: 13px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.route-error { color: #9b2525; }
.route-error .text-link { display: inline-block; margin-left: 8px; font-weight: 600; }
.route-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e0e5ed;
  border-radius: 4px;
  background: #f7f8fb;
}
.route-metrics > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.route-metrics span { font-size: 12px; color: var(--muted); }
.route-metrics strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.route-provider { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.place-providers { margin-top: 8px; font-size: 11px; overflow-wrap: anywhere; }
.summary-route-estimate { margin-top: 16px; }
.summary-route-estimate .route-metrics { padding: 12px; gap: 12px; }
.summary-route-estimate .route-metrics strong { font-size: 12px; }
.vehicle-price .waiting-price { display: block; margin-top: 8px; font: 12px/1.6 "Plus Jakarta Sans", sans-serif; color: var(--muted); }
.check-price { margin-top: 24px; }
@media (max-width: 639px) {
  .place-option { padding: 10px 12px; }
  .places-dropdown [role="listbox"] { max-height: 260px; }
  .stop-wait-label { justify-content: space-between; gap: 8px; font-size: 12px; }
  .stop-wait-label select { width: 144px; font-size: 14px; }
  .route-live { margin-top: 20px; }
  .route-metrics { padding: 12px; gap: 12px; }
  .route-metrics strong { font-size: 12px; }
  .route-status { font-size: 12px; }
}

/* Keep the selected city/address readable outside the horizontally scrolling input. */
.selected-location { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; padding: 10px 12px; border-left: 2px solid #17336c; background: #f7f8fb; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.selected-location[hidden] { display: none; }
.selected-location-label { color: var(--muted); }
.selected-location-address { color: var(--ink); font-weight: 500; }
.selected-location a, .route-comparison a { color: #17336c; text-decoration: underline; text-underline-offset: 3px; }
.route-comparison { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.route-comparison p { margin: 0; color: var(--muted); }

.trip-panel .helper { white-space: normal; align-items: flex-start; }

.device-location-panel { margin-top: 12px; padding: 14px; border: 1px solid #cbd5e6; border-radius: 4px; background: #f7f8fb; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.device-location-panel h4 { margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 600; }
.device-location-panel p { margin: 8px 0; }
.device-location-message { color: var(--muted); }
.device-location-context { font-weight: 500; }
.device-location-panel dl { margin: 10px 0; }
.device-location-panel dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 5px 0; }
.device-location-panel dt { color: var(--muted); }
.device-location-panel dd { margin: 0; }
.device-location-panel > a { color: #17336c; text-decoration: underline; text-underline-offset: 3px; }
.device-location-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; }
.device-location-actions .btn { width: 100%; min-height: 44px; height: auto; padding: 12px; font-size: 13px; line-height: 1.5; }
.device-location-actions .text-link { font-size: 12px; line-height: 1.7; text-align: left; }
.pickup-map-open { display: inline-block; margin-top: 9px; font-size: 13px; }
.pickup-map-open[hidden] { display: none; }
.pickup-map-picker .map-search-label { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
.pickup-map-picker .location-input { position: relative; z-index: 3; display: block; width: 100%; min-width: 0; }
.pickup-map-picker .input { padding-left: 12px; font-size: 14px; }
.pickup-map-picker .location-input > .input { display: block; width: 100%; max-width: 100%; min-width: 0; }
.pickup-map-picker .places-dropdown { position: static; width: 100%; max-width: 100%; min-width: 0; margin-top: 8px; max-height: 210px; overflow-y: auto; box-shadow: none; }
.pickup-map-picker .places-dropdown [role="listbox"] { max-height: none; overflow: visible; }
.pickup-map-frame { position: relative; margin: 10px 0; height: 320px; border: 1px solid #ccd2dc; border-radius: 4px; overflow: hidden; }
.pickup-map-canvas { width: 100%; height: 100%; }
.pickup-map-pin { position: absolute; top: 50%; left: 50%; width: 32px; height: 38px; transform: translate(-50%, -100%); pointer-events: none; color: #10265a; filter: drop-shadow(0 1px 2px #fff); }
.pickup-map-pin .icon { width: 32px; height: 38px; stroke-width: 2.5; fill: white; }
.pickup-map-picker [data-map-selection] > a { text-decoration: underline; text-underline-offset: 3px; }
.pickup-map-picker [data-map-status] { min-height: 40px; }
.pickup-map-picker [data-action="use-map-location"]:disabled {
  background: #e0e5ed; color: #657189; border-color: #d0d8e4; box-shadow: none; cursor: not-allowed;
}
@media (max-width: 600px) {
  .pickup-map-frame { height: 290px; }
  .pickup-map-picker { padding: 12px; }
}
.location-target[disabled] { opacity: .45; cursor: wait; }


/* Version 2.1: calm, compact form layout with accessible field feedback. */
html { background: transparent; }
body.form-page { font-size: 15px; background: transparent; }
body.form-page .page-header {
  height: auto; padding: 42px 24px 34px; color: #172642;
}
body.form-page .page-header h1 {
  color: var(--form-title-color, #101e36); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.1;
  letter-spacing: -1px;
}
body.form-page .page-header > p {
  color: var(--form-subtitle-color, #52617a); font-size: 16px; line-height: 1.6; margin: 10px auto 24px;
}
body.form-page .progress { max-width: 830px; }
body.form-page .progress button { color: var(--form-step-label-color, #53617a); gap: 9px; }
body.form-page .step-label { font-size: 13px; line-height: 20px; }
body.form-page .active .step-label { color: var(--form-active-step-label-color, #132d60); }
body.form-page .step-circle { width: 34px; height: 34px; font-size: 14px; color: var(--form-circle-text-color, #666666); background: var(--form-circle-background, #ffffff); border-color: var(--form-circle-border-color, #ced7e5); }
body.form-page .active .step-circle { color: var(--form-active-circle-text-color, #ffffff); background: var(--form-active-circle-background, #173a7b); border-color: var(--form-active-circle-background, #173a7b); box-shadow: 0 0 0 4px #e8eef9; }
body.form-page .progress li:not(:last-child)::after { top: 17px; background: var(--form-connector-color, #d8e0ed); }
body.form-page main, body.form-page.step-5 main {
  width: min(1200px, calc(100% - 48px)); max-width: 1200px;
  margin: 0 auto; padding-bottom: 64px; position: static; left: auto;
}
body.form-page .panel {
  border-color: #dce3ee; border-radius: 10px; box-shadow: 0 10px 35px #142c5710;
}
body.form-page .trip-panel, body.form-page .vehicles-panel { padding: 24px; }
body.form-page .panel-header { gap: 18px; margin-bottom: 22px; }
body.form-page .panel-header h2, body.form-page .panel-header h2 > span { font-size: 30px; line-height: 1.12; }
body.form-page .panel-header p { font-size: 14px; line-height: 1.65; }
body.form-page .tile { width: 48px; height: 48px; border-radius: 6px; }
body.form-page .tile .icon { width: 25px; height: 25px; }
body.form-page .label, body.form-page .trip-panel .label { font-size: 13px; line-height: 21px; letter-spacing: .02em; }
body.form-page .input { min-height: 48px; height: 48px; padding-top: 10px; padding-bottom: 10px; font-size: 15px; line-height: 24px; border-color: #cbd5e4; border-radius: 6px; }
body.form-page textarea.input { height: 120px; }
body.form-page .btn { min-height: 48px; padding: 10px 22px; font-size: 14px; border-radius: 6px; }
body.form-page .segments { min-height: 48px; }
body.form-page .segments button { min-height: 46px; font-size: 14px; }
body.form-page .section-heading h3 { font-size: 16px; line-height: 24px; }
body.form-page .form-section { padding-top: 20px; padding-bottom: 20px; }
body.form-page .panel-header + .form-section { padding-top: 0; }
body.form-page .trip-strip { min-height: 72px; padding: 18px; font-size: 14px; }
body.form-page .vehicle-card > h3 { font-size: 20px; }
body.form-page .helper { font-size: 12px; line-height: 1.7; }
.form-field { min-width: 0; width: 100%; }
.field-caption { display: block; margin: 0 0 6px; color: #34435d; font-size: 12px; font-weight: 600; line-height: 1.5; }
.field-caption > span { color: #a01f36; }
.field-caption > .field-optional { color: #6b778b; font-weight: 400; }
.field-error { margin: 6px 0 0; color: #b4233b; font-size: 12px; line-height: 1.6; text-align: left; }
.field-error[hidden] { display: none; }
body.form-page .input.field-invalid, body.form-page select.field-invalid, body.form-page input[aria-invalid="true"] {
  border-color: #c8314c; background-color: #fffafb; box-shadow: 0 0 0 1px #c8314c15;
}
body.form-page .input:focus-visible { outline: 2px solid #315b9b; outline-offset: 2px; }
body.form-page .form-error { border-radius: 6px; font-size: 13px; }
.route-loading { display: flex; align-items: center; gap: 9px; }
.route-loading::before { content: ""; width: 15px; height: 15px; border: 2px solid #d6dfed; border-top-color: #173a7b; border-radius: 50%; animation: route-spin .8s linear infinite; }
@keyframes route-spin { to { transform: rotate(360deg); } }
.location-country-error { color: #b4233b; font-size: 12px; margin-top: 8px; }
@media (min-width: 1024px) {
  body.form-page .contact-columns, body.form-page .passengers-columns { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
  body.form-page .review-panel { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; }
}
@media (max-width: 639px) {
  body.form-page .page-header { padding: 32px 12px 26px; }
  body.form-page .page-header h1 { font-size: 32px; line-height: 1.1; max-width: 370px; }
  body.form-page .page-header > p { font-size: 13px; line-height: 1.7; margin: 12px auto 22px; max-width: 330px; }
  body.form-page .step-label { font-size: 10px; line-height: 15px; white-space: normal; max-width: 68px; }
  body.form-page .progress button { gap: 9px; }
  body.form-page .step-circle { width: 30px; height: 30px; font-size: 13px; }
  body.form-page .progress li:not(:last-child)::after { top: 15px; left: calc(50% + 22px); width: calc(100% - 44px); }
  body.form-page main, body.form-page.step-5 main { width: calc(100% - 24px); margin: 0 auto; padding-bottom: 36px; }
  body.form-page .panel, body.form-page .trip-panel, body.form-page .vehicles-panel, body.form-page .review-main { padding: 16px; }
  body.form-page .review-panel { padding: 0; background: none; box-shadow: none; }
  body.form-page .panel-header { gap: 12px; }
  body.form-page .panel-header h2, body.form-page .panel-header h2 > span { font-size: 23px; line-height: 1.12; white-space: normal; }
  body.form-page .panel-header p { font-size: 12px; line-height: 1.6; }
  body.form-page .tile { width: 40px; height: 40px; }
  body.form-page .input, body.form-page .stop-wait-label select { font-size: 16px; }
  body.form-page .btn { font-size: 12px; padding: 10px 12px; }
  body.form-page .segments button { font-size: 13px; }
  body.form-page .section-heading h3 { font-size: 14px; line-height: 22px; }
  body.form-page .field-grid { gap: 12px; }
  body.form-page .field-caption { font-size: 11px; }
  body.form-page .vehicle-card > h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .route-loading::before { animation: none; } }
