/* ==========================================================================
   booking.css — hero enquiry form on index.html
   Loaded after style.css. Uses the same tokens.
   ========================================================================== */

/* ---------- Hero layout with the form beside the copy ---------- */

.hero--form .hero__grid {
  align-items: start;
}

@media (min-width: 64em) {
  .hero--form .hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 1rem + 4vw, 4rem);
  }
}

.hero--form .hero__title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
}

.hero--form .hero__content {
  padding-top: clamp(0rem, -1rem + 2vw, 1.5rem);
}

.hero-points {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}

.hero-points .icon {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--c-accent);
}

/* ---------- Form card ---------- */

.booking-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  box-shadow: 0 1px 2px rgba(21, 23, 28, 0.04), 0 12px 32px rgba(21, 23, 28, 0.06);
}

.booking-card__head {
  margin-bottom: var(--space-md);
}

.booking-card__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0 0 0.35rem;
}

.booking-card__head p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ---------- Grouped steps ---------- */

.fgroup {
  border: 0;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.fgroup:last-of-type {
  margin-bottom: var(--space-md);
}

.fgroup__legend {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.fgroup__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 0.7rem;
  letter-spacing: 0;
}

/* ---------- Plan cards ---------- */

.plan-grid {
  display: grid;
  gap: var(--space-sm);
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-sm);
  align-items: start;
  padding: var(--space-md);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.plan-card:hover {
  border-color: var(--c-border-strong);
}

.plan-card.is-selected {
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
}

.plan-card input {
  margin: 0.2rem 0 0;
  accent-color: var(--c-accent);
  width: 1.05rem;
  height: 1.05rem;
}

.plan-card:focus-within {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.plan-card__name {
  display: block;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.plan-card__desc {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.45;
}

.plan-card__price {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 0.95rem;
}

.plan-card__price small {
  display: block;
  font-weight: 400;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

@media (max-width: 26em) {
  .plan-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .plan-card__price {
    grid-column: 2;
    text-align: left;
    margin-top: 0.35rem;
  }
}

/* ---------- Multi-select ---------- */

.ms {
  position: relative;
}

.ms__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  font: inherit;
  font-size: 0.95rem;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
}

.ms__button:focus-visible,
.ms__button[aria-expanded="true"] {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}

.ms__button[aria-invalid="true"] {
  border-color: var(--c-error);
}

.ms__button .is-placeholder {
  color: var(--c-muted);
}

.ms__caret {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: rotate(45deg) translate(-2px, -2px);
}

.ms__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  box-shadow: 0 12px 28px rgba(21, 23, 28, 0.14);
  padding: var(--space-sm);
}

.ms__search {
  width: 100%;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.4rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.9rem;
}

.ms__search:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}

.ms__all {
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
}

.ms__list {
  max-height: 13rem;
  overflow-y: auto;
}

.opt-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.45rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--c-ink-2);
  cursor: pointer;
}

.opt-row:hover {
  background: var(--c-surface-muted);
}

.opt-row input {
  accent-color: var(--c-accent);
  width: 1rem;
  height: 1rem;
  flex: none;
}

.opt-empty {
  margin: 0;
  padding: 0.6rem 0.45rem;
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.chips:empty {
  margin-top: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.3rem 0.2rem 0.6rem;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.chip__x {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.2rem;
  border-radius: 50%;
}

.chip__x:hover {
  background: rgba(31, 92, 79, 0.15);
}

.chip__x:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}

/* ---------- Combobox ---------- */

.combo {
  position: relative;
}

.combo__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 13rem;
  overflow-y: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  box-shadow: 0 12px 28px rgba(21, 23, 28, 0.14);
  padding: 0.3rem;
}

.opt-item {
  padding: 0.45rem 0.55rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--c-ink-2);
  cursor: pointer;
}

.opt-item:hover,
.opt-item.is-active {
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

/* ---------- Price summary ---------- */

.summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: var(--r-md);
}

.summary__label {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-on-dark-muted);
  flex: 1 1 12rem;
}

.summary__total {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.summary__note {
  flex: 1 1 100%;
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--c-on-dark-muted);
  line-height: 1.5;
}

.summary__note:empty {
  display: none;
}

/* ---------- Misc ---------- */

.applicants-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-sm) var(--space-md);
}

.applicants-row .field {
  max-width: 9rem;
}

.applicants-row p {
  flex: 1 1 12rem;
  margin: 0 0 0.45rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.5;
}

.booking-foot {
  display: flex;
  gap: var(--space-xs);
  margin: var(--space-sm) 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.5;
}

.booking-foot .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
}

/* ---------- Calendar illustration when shown outside the hero ---------- */

.hero__figure--standalone {
  margin: var(--space-xl) auto 0;
  max-width: 46rem;
}

/* ---------- Fee table wrapper (scrolls on narrow screens) ---------- */

.fee-table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--space-md);
}

/* ==========================================================================
   Quick-pick chips, flags and the applicant stepper
   ========================================================================== */

.quickpick__hint {
  margin: 0 0 0.45rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.quickpick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.qp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  cursor: pointer;
  line-height: 1.2;
  /* comfortable tap target on touch screens */
  min-height: 2.25rem;
  transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.qp:hover { border-color: var(--c-border-strong); }

.qp:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.qp.is-on {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.qp--all {
  font-weight: 600;
  border-style: dashed;
}

.qp--all.is-on { border-style: solid; }

/* Flag glyph. Degrades to the ISO letters where a platform has no flags. */
.flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.05em;
  line-height: 1;
  margin-right: 0.15rem;
  letter-spacing: 0;
}

.opt-item .flag,
.opt-row .flag { margin-right: 0.4rem; }

.opt-item.is-top { font-weight: 500; }

/* ---------- Applicant stepper ---------- */

.stepper-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stepper-field__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  overflow: hidden;
  width: max-content;
}

.stepper__btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--c-accent);
  cursor: pointer;
}

.stepper__btn:hover:not(:disabled) { background: var(--c-accent-soft); }

.stepper__btn:disabled {
  color: var(--c-border-strong);
  cursor: not-allowed;
}

.stepper__btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: -2px;
}

.stepper__value {
  min-width: 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Touch: dropdowns become bottom sheets ---------- */

@media (max-width: 40em) {
  .ms__panel,
  .combo__list {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(21, 23, 28, 0.25);
    padding: 1rem;
    max-height: 70vh;
    z-index: 60;
  }

  .ms__list { max-height: 46vh; }
  .combo__list { max-height: 60vh; }

  .opt-row,
  .opt-item { padding: 0.7rem 0.6rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .qp, .plan-card { transition: none; }
}

/* ==========================================================================
   Two-step flow
   ========================================================================== */

.steps-bar {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps-bar__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.55rem;
  border-top: 3px solid var(--c-border);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.steps-bar__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--c-border);
  color: var(--c-surface);
  font-size: 0.72rem;
  font-weight: 600;
  flex: none;
}

.steps-bar__item.is-on {
  border-top-color: var(--c-accent);
  color: var(--c-ink);
}

.steps-bar__item.is-on span {
  background: var(--c-accent);
}

.steps-bar__item.is-done {
  border-top-color: var(--c-accent-light);
  color: var(--c-ink-2);
}

.steps-bar__item.is-done span {
  background: var(--c-accent-light);
  color: var(--c-accent);
}

.step-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.step-actions .btn--lg {
  flex: 1 1 auto;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .steps-bar__item { transition: none; }
}

/* ==========================================================================
   Phone field with a fixed country code, and the autosave indicator
   ========================================================================== */

.telbox {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  overflow: hidden;
}

.telbox:focus-within {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}

.telbox__cc {
  display: flex;
  align-items: center;
  padding: 0 0.6rem;
  background: var(--c-surface-muted);
  border-right: 1px solid var(--c-border);
  color: var(--c-ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
}

.telbox input {
  border: 0;
  border-radius: 0;
  flex: 1 1 auto;
  min-width: 0;
  background: none;
}

.telbox input:focus-visible { outline: none; }

.telbox input[aria-invalid="true"] { background: var(--c-error-soft); }

/* ---------- Autosave indicator ---------- */

.savenote {
  margin: 0.5rem 0 0;
  font-size: var(--fs-xs);
  line-height: 1.4;
  min-height: 1.1em;
  text-align: center;
  color: var(--c-muted);
}

.savenote.is-saving { color: var(--c-muted); }

.savenote.is-saved {
  color: var(--c-accent);
  font-weight: 500;
}

.savenote.is-saved::before {
  content: "✓ ";
}

.savenote.is-failed { color: var(--c-error); }

/* ==========================================================================
   Hero calendar illustration (decorative, fictional)
   ========================================================================== */

.hero-cal {
  margin: var(--space-lg) 0 0;
  max-width: 24rem;
}

.hero-cal__card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  box-shadow: 0 1px 2px rgba(21, 23, 28, 0.04), 0 14px 30px -18px rgba(21, 23, 28, 0.35);
}

.hero-cal__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 var(--space-sm);
  padding: 0.2rem 0.6rem;
  background: var(--c-warm-soft);
  color: #7A4A1C;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.hero-cal__cap {
  margin: var(--space-xs) 0 0;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

/* The illustration is supporting detail, not the point of the page: on very
   small screens the form matters more, so it steps out of the way. */
@media (max-width: 30em) {
  .hero-cal { display: none; }
}

/* ==========================================================================
   Compact pass — the whole of step 1 should sit in view without scrolling
   ========================================================================== */

.booking-card { padding: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); }

.booking-card__head { margin-bottom: 0.85rem; }
.booking-card__head h2 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.booking-card__head p { font-size: var(--fs-xs); }

.steps-bar { margin-bottom: 1rem; }
.steps-bar__item { padding-top: 0.45rem; }

/* Groups sit closer together */
.fgroup { margin-bottom: 1.1rem; }
.fgroup__legend { margin-bottom: 0.5rem; }

/* Quick picks: smaller chips, tighter rows */
.quickpick__hint { margin-bottom: 0.4rem; }
.quickpick { gap: 0.3rem; margin-bottom: 0.5rem; }

.qp {
  padding: 0.3rem 0.6rem;
  min-height: 2rem;
  font-size: 0.85rem;
}

/* Fields: less air between rows and labels */
.booking-form .form-grid { gap: 0.7rem 0.75rem; }

.booking-form .field > label {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.booking-form .field__hint {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

.booking-form .field__error:empty { display: none; }

.booking-form input,
.booking-form select,
.booking-form textarea { padding: 0.55rem 0.7rem; }

.telbox__cc { padding: 0 0.55rem; font-size: 0.9rem; }

/* Selected-country chips */
.chips { gap: 0.3rem; margin-top: 0.4rem; }

/* The step buttons */
.booking-form .btn--block { padding-block: 0.7rem; }
.savenote { margin-top: 0.4rem; }
.booking-foot { margin-top: 0.6rem; font-size: 0.7rem; }

/* Name and phone share a row from tablet up; email spans both. */
@media (min-width: 30em) {
  .booking-form .form-grid { grid-template-columns: 1fr 1fr; }
  .booking-form .field--full { grid-column: 1 / -1; }
}

/* ==========================================================================
   DESIGN PASS — final layer. Consolidates the form card into one system and
   fixes alignment at every width. Later rules here intentionally win.
   ========================================================================== */

/* The form's own step wrapper. (Renamed from .step, which collided with the
   "How it works" step cards and was drawing a second border round the form.) */
.fstep { display: block; }

/* ---------- Card ---------- */

.booking-card {
  border-radius: 20px;
  border-color: #E8E2D8;
  box-shadow:
    0 1px 2px rgba(21, 23, 28, 0.03),
    0 8px 24px -12px rgba(21, 23, 28, 0.12),
    0 24px 48px -32px rgba(21, 23, 28, 0.18);
}

.booking-card__head h2 {
  letter-spacing: -0.01em;
}

/* ---------- Step bar ---------- */

.steps-bar__item {
  border-top-width: 2px;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.steps-bar__item span {
  width: 1.3rem;
  height: 1.3rem;
  font-size: 0.7rem;
}

/* ---------- Section headings ---------- */

.fgroup__legend {
  width: 100%;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--c-muted);
}

/* ---------- Quick-pick chips: even rows, no orphans ---------- */

.quickpick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.qp {
  flex: 0 1 auto;
  justify-content: center;
  border-width: 1px;
  border-color: #E4DED4;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.qp:hover { background: var(--c-surface-muted); border-color: var(--c-border-strong); }

.qp.is-on {
  border-color: var(--c-accent);
  box-shadow: 0 1px 2px rgba(31, 92, 79, 0.25);
}

/* "All 29" is a different kind of action, so it reads differently but still
   sits on the same line rhythm as the countries. */
.qp--all {
  border-style: solid;
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-soft);
  font-weight: 600;
}

.qp--all::before {
  content: "✦";
  font-size: 0.8em;
  line-height: 1;
}

.qp--all:hover { background: #D6E8E1; border-color: var(--c-accent); }
.qp--all.is-on { background: var(--c-accent); color: #fff; }

/* ---------- Inputs: one consistent control ---------- */

.booking-form input,
.booking-form select,
.booking-form textarea,
.ms__button {
  border: 1px solid #DCD5C9;
  border-radius: 10px;
  background: var(--c-surface);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 2.75rem;          /* comfortable target on touch */
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover,
.ms__button:hover { border-color: var(--c-border-strong); }

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.ms__button:focus-visible,
.ms__button[aria-expanded="true"] {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(31, 92, 79, 0.14);
}

.booking-form textarea { min-height: 4.5rem; }

.booking-form input[aria-invalid="true"],
.booking-form select[aria-invalid="true"],
.ms__button[aria-invalid="true"] {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

/* Phone: the prefix and the field are one control, not two */

.telbox {
  border: 1px solid #DCD5C9;
  border-radius: 10px;
  min-height: 2.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.telbox:hover { border-color: var(--c-border-strong); }

.telbox:focus-within {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(31, 92, 79, 0.14);
}

.telbox input,
.telbox input:hover,
.telbox input:focus {
  border: 0;
  box-shadow: none;
  min-height: auto;
  border-radius: 0;
}

.telbox__cc {
  border-right: 1px solid #E8E2D8;
  background: #F6F3ED;
  color: var(--c-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Labels and helper text line up ---------- */

.booking-form .field { min-width: 0; }

.booking-form .field > label {
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}

.booking-form .field__hint,
.booking-form .field__error { margin-bottom: 0; }

/* ---------- Buttons ---------- */

.booking-form .btn--block,
.step-actions .btn--lg {
  border-radius: 12px;
  min-height: 3rem;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  box-shadow: 0 6px 16px -8px rgba(31, 92, 79, 0.65);
}

.step-actions .btn--secondary {
  border-radius: 12px;
  min-height: 3rem;
  box-shadow: none;
}

/* ---------- Mobile ---------- */

@media (max-width: 30em) {
  .booking-card { border-radius: 16px; padding: 1rem; }

  /* Chips scroll sideways rather than stacking into a tall block */
  .quickpick {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .quickpick::-webkit-scrollbar { display: none; }
  .qp { flex: 0 0 auto; }

  .steps-bar__item { font-size: 0.64rem; letter-spacing: 0.03em; }

  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn { width: 100%; }
}

/* Wide desktop: the card should not sprawl */
@media (min-width: 75em) {
  .booking-card { max-width: 34rem; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .booking-form input,
  .booking-form select,
  .booking-form textarea,
  .ms__button,
  .telbox { transition: none; }
}

/* ==========================================================================
   Pricing packages (Fees section)
   ========================================================================== */

.packages { margin-bottom: var(--space-xl); }

.packages__tag {
  display: inline-block;
  margin: 0 0 var(--space-sm);
  padding: 0.25rem 0.7rem;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.packages__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 var(--space-xs);
}

.packages__lead {
  max-width: 40rem;
  margin: 0 0 var(--space-lg);
  color: var(--c-ink-2);
}

/* ---------- Grid ---------- */

.pkg-grid {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

@media (min-width: 48em) {
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Card ---------- */

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(21, 23, 28, 0.03);
}

.pkg--featured {
  border-color: var(--c-accent);
  border-width: 2px;
  box-shadow:
    0 1px 2px rgba(21, 23, 28, 0.04),
    0 18px 40px -24px rgba(31, 92, 79, 0.55);
}

@media (min-width: 48em) {
  /* The recommended package sits slightly proud of the others. */
  .pkg--featured { transform: translateY(-0.6rem); }
}

.pkg__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.22rem 0.8rem;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg__head { margin-bottom: var(--space-md); }

.pkg__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.pkg__for {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.45;
}

/* ---------- Price ---------- */

.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  flex-wrap: wrap;
}

.pkg__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.7rem + 1.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

.pkg__unit {
  font-size: var(--fs-xs);
  line-height: 1.35;
  color: var(--c-muted);
}

.pkg__alt {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
}

.pkg__alt strong { color: var(--c-ink); font-weight: 600; }

/* ---------- Features ---------- */

.pkg__list {
  flex: 1 1 auto;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.pkg__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--c-ink-2);
}

.pkg__list .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  color: var(--c-accent);
}

.pkg__list .is-out { color: var(--c-muted); }
.pkg__list .is-out .icon { color: var(--c-out); }

/* ---------- Button ---------- */

.pkg .btn--block {
  margin-top: auto;
  border-radius: 12px;
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- Footnote ---------- */

.packages__note {
  display: flex;
  gap: var(--space-xs);
  margin: var(--space-lg) 0 0;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--c-muted);
}

.packages__note .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
}

@media (max-width: 47.99em) {
  .pkg--featured { transform: none; }
  .pkg__badge { position: static; transform: none; display: inline-block; margin-bottom: 0.6rem; }
  .pkg { padding-top: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
  .pkg--featured { transform: none; }
}

/* The alert-scope disclosure sits with the packages and must read as a caveat,
   not as fine print. */
.packages__note--warn {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--c-warm-soft);
  border-radius: var(--r-md);
  color: #7A4A1C;
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.packages__note--warn .icon { color: var(--c-warm); }
.packages__note--warn strong { color: #5E3813; }
.packages__note--warn a { color: #5E3813; font-weight: 600; }
