/* ═══════════════════════════════════════════════════════════
   Metro Limousine — styles.css
   The single entry point. Foundations first, then components.
   ═══════════════════════════════════════════════════════════ */
@import url("tokens/fonts.css");
@import url("tokens/colors.css");
@import url("tokens/typography.css");
@import url("tokens/spacing.css");
@import url("tokens/base.css");

/* The hidden attribute must always win over component display rules
   (e.g. .login-wrap / .admin-shell / .kit-foot use display:grid|flex). */
[hidden] {
  display: none !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  --_h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--_h);
  padding-inline: var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard);
}
.btn:active {
  transform: translateY(1px);
}
.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-gold);
  box-shadow: var(--glow-gold);
}
.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn--outline:hover {
  border-color: var(--border-gold);
  background: var(--accent-soft);
}

.btn--ghost {
  color: var(--text-secondary);
}
.btn--ghost:hover {
  background: var(--accent-soft);
  color: var(--text-primary);
}

.btn--sm {
  --_h: 36px;
  padding-inline: var(--space-4);
  font-size: var(--fs-xs);
}
.btn--lg {
  --_h: 54px;
  padding-inline: var(--space-8);
  font-size: var(--fs-md);
}
.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease-standard);
}
.icon-btn:hover {
  border-color: var(--border-gold);
  color: var(--accent);
}
.icon-btn .icon {
  width: 20px;
  height: 20px;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg-page) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
}
.brand-lockup .monogram {
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.brand-lockup .wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-lockup .wordmark b {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
}
.brand-lockup .wordmark span {
  font-size: 0.5rem;
  letter-spacing: var(--ls-wider);
  color: var(--accent);
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  gap: var(--space-6);
  margin-left: var(--space-4);
}
.main-nav a {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  position: relative;
  padding-block: var(--space-2);
  transition: color var(--dur-fast) var(--ease-standard);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--dur-base) var(--ease-out);
}
.main-nav a:hover {
  color: var(--text-primary);
}
.main-nav a:hover::after {
  width: 100%;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-toggle {
  display: none;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-1);
  padding: var(--space-2) var(--space-6) var(--space-4);
}
.mobile-nav a {
  padding: var(--space-3) 0;
  font-size: var(--fs-md);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

/* ── Language switcher ───────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}
.lang-switch button {
  padding: 5px 11px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--dur-fast) var(--ease-standard);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--text-on-gold);
}
.lang-switch button:not([aria-pressed="true"]):hover {
  color: var(--text-primary);
}

/* ── Eyebrow / section heads ─────────────────────────────── */
.section {
  padding-block: var(--space-24);
}
.section-head {
  max-width: 640px;
}
.section-head .t-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.section-head .t-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin-top: var(--space-4);
}
.section-head p {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  margin-top: var(--space-4);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: saturate(0.85) brightness(0.7);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      var(--rl-ink-950) 8%,
      rgba(16, 15, 12, 0.78) 38%,
      rgba(16, 15, 12, 0.25) 72%,
      rgba(16, 15, 12, 0.55) 100%
    ),
    linear-gradient(0deg, var(--rl-ink-950) 2%, transparent 36%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
}
.hero__copy {
  max-width: 620px;
}
.hero__copy h1 {
  font-family: var(--font-display);
  font-size: var(--fs-display-1);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-top: var(--space-5);
}
/* The display serif has no Hangul, so this line falls through to the Korean
   face — and `font-style: italic` then made the browser *synthesise* a slant
   on a font that has no italic, which is what looked broken. The stack already
   falls back per-character, so Latin keeps the serif; only the fake italic had
   to go. */
.hero__copy h1 .kr {
  display: block;
  font-weight: var(--fw-semibold);
  font-size: 0.86em;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
}
/* ── Korean typography ───────────────────────────────────
   Korean has no inter-word spaces to break on the way Latin does, so the
   default `break-word` splits terms like "인천·김포" mid-phrase. `keep-all`
   breaks on spaces only, which is how Korean is actually set. */
:lang(ko),
:lang(ja),
:lang(zh) {
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* Hangul is optically larger than Latin at the same point size and needs less
   tracking, but a little more leading to stay readable. */
:lang(ko) h1,
:lang(ko) h2,
:lang(ko) h3,
:lang(ko) .t-display {
  letter-spacing: -0.025em;
  line-height: 1.24;
}
:lang(ko) p,
:lang(ko) li {
  line-height: 1.75;
  letter-spacing: -0.01em;
}
/* The eyebrow's wide Latin tracking looks like broken spacing in Hangul. */
:lang(ko) .t-eyebrow {
  letter-spacing: 0.12em;
}
/* Korean labels run shorter than English, so buttons collapse to a cramped
   pill unless they keep a floor on their inline padding. */
:lang(ko) .btn {
  padding-inline: max(var(--space-6), 1.4em);
  letter-spacing: -0.01em;
}
:lang(ko) .btn--lg {
  padding-inline: max(var(--space-8), 1.6em);
}
:lang(ko) .main-nav {
  gap: var(--space-8);
}
/* Cormorant defaults to old-style figures, so ₩150,000 sat unevenly against
   Korean text. */
.price-tag .amount,
.stat-strip .num {
  font-variant-numeric: lining-nums tabular-nums;
}
.hero__copy .lede {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-top: var(--space-6);
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero__reassure {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.hero__reassure span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__reassure .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ── Quote card (hero) ───────────────────────────────────── */
.quote-card {
  background: color-mix(in srgb, var(--surface-1) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.quote-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
}
.quote-card .hint {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: 2px;
  margin-bottom: var(--space-5);
}
.field {
  margin-bottom: var(--space-4);
}
.field > label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.control {
  position: relative;
  display: flex;
  align-items: center;
}
.control .icon {
  position: absolute;
  left: var(--space-3);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.control select,
.control input {
  width: 100%;
  height: 46px;
  padding-inline: var(--space-10) var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}
.control select:focus,
.control input:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.control .caret {
  position: absolute;
  right: var(--space-3);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 12px;
}
.quote-result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px dashed var(--border-default);
}
.quote-result .label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PriceTag ────────────────────────────────────────────── */
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
}
.price-tag .amount {
  font-size: 2rem;
  font-weight: var(--fw-semibold);
  color: var(--accent);
  line-height: 1;
}
.price-tag .code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.price-tag .per {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
.price-tag.is-lg .amount {
  font-size: 2.75rem;
}
.price-tag.is-sm .amount {
  font-size: 1.4rem;
}

/* ── Stats strip ─────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  overflow: hidden;
}
.stat-strip > div {
  padding: var(--space-8) var(--space-6);
  border-right: 1px solid var(--border-subtle);
}
.stat-strip > div:last-child {
  border-right: none;
}
.stat-strip .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: var(--fw-semibold);
  color: var(--accent);
  line-height: 1;
}
.stat-strip .lbl {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* ── Vehicle cards / fleet ───────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}
.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}
.vehicle-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}
.vehicle-card.is-featured {
  box-shadow: inset 3px 0 0 var(--accent);
}
.vehicle-card.is-featured:hover {
  box-shadow: inset 3px 0 0 var(--accent), var(--shadow-md);
}
.vehicle-card.is-selected {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}
.vehicle-card__photo {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
}
.vehicle-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.92);
}
.tier-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 4px 10px;
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(16, 15, 12, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
}
.vehicle-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}
.vehicle-card__body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
}
.vehicle-card__body .model {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 2px;
}
.vehicle-card__specs {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.vehicle-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums;
}
.vehicle-card__specs .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.vehicle-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-5);
}

/* ── Experience / split feature ──────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.9);
}
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 15, 12, 0.45), transparent 45%);
}
.feature-list {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
}
.feature-item .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  color: var(--accent);
  background: var(--accent-soft);
}
.feature-item .ico .icon {
  width: 22px;
  height: 22px;
}
.feature-item h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}
.feature-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Pricing / routes table ──────────────────────────────── */
.route-table {
  margin-top: var(--space-12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
}
.route-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}
.route-row:last-child {
  border-bottom: none;
}
.route-row.head {
  background: var(--surface-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.route-row .r-name {
  font-weight: var(--fw-medium);
}
.route-row .r-name small {
  display: block;
  font-weight: var(--fw-regular);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.route-row .r-eta {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.route-foot {
  padding: var(--space-4) var(--space-6);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  background: var(--surface-2);
}

/* ── Stepper ─────────────────────────────────────────────── */
.stepper {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-12);
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.step .bar {
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--border-default);
  overflow: hidden;
}
.step.done .bar,
.step.active .bar {
  background: var(--accent);
}
.step .row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.step .dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.step.done .dot {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-gold);
}
.step.active .dot {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.step .name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.step.active .name {
  color: var(--text-primary);
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-20) var(--space-12);
  text-align: center;
  background: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  border: 1px solid var(--border-default);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tight);
}
.cta-band p {
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 52ch;
  margin-inline: auto;
}
.cta-band .hero__cta {
  justify-content: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-16) var(--space-10);
  margin-top: var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-10);
}
.footer-grid h5 {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.footer-grid a,
.footer-grid li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  display: block;
  transition: color var(--dur-fast) var(--ease-standard);
}
.footer-grid a:hover {
  color: var(--accent);
}
.footer-about p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-4);
  max-width: 38ch;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ── ChatDock ────────────────────────────────────────────── */
.chat-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}
.chat-dock__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transform-origin: bottom right;
  transition: opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.chat-dock[data-open="false"] .chat-dock__channels {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
}
.chat-channel {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: transform var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard);
}
.chat-channel:hover {
  transform: translateX(-2px);
  border-color: var(--border-gold);
}
.chat-channel .badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
}
.chat-channel .badge img {
  width: 18px;
  height: 18px;
}
.chat-channel .badge .icon {
  width: 18px;
  height: 18px;
}
.chat-fab {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text-on-gold);
  box-shadow: var(--glow-gold), var(--shadow-lg);
  transition: background var(--dur-fast) var(--ease-standard),
    transform var(--dur-base) var(--ease-out);
}
.chat-fab:hover {
  background: var(--accent-hover);
}
.chat-dock[data-open="true"] .chat-fab {
  transform: rotate(90deg);
}
.chat-fab .icon {
  width: 26px;
  height: 26px;
}

/* ── ChatPanel (live concierge chat) ─────────────────────── */
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 90;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.chat-panel[hidden] {
  display: none;
}
.chat-panel.closing {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}
.chat-panel__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-2);
}
.chat-panel__head .mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text-on-gold);
}
.chat-panel__head .mark .icon {
  width: 18px;
  height: 18px;
}
.chat-panel__head h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}
.chat-panel__head .status-pill {
  font-size: var(--fs-2xs);
  padding: 2px 8px;
  border: none;
  color: var(--text-muted);
}
.chat-panel__head .close {
  margin-left: auto;
  color: var(--text-muted);
}
.chat-panel__head .close:hover {
  color: var(--text-primary);
}
.chat-handoff {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}
.chat-handoff a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  font-size: var(--fs-xs);
  white-space: nowrap;
  color: var(--text-secondary);
  transition: border-color var(--dur-fast) var(--ease-standard);
}
.chat-handoff a:hover {
  border-color: var(--border-gold);
}
.chat-handoff a img {
  width: 14px;
  height: 14px;
}
.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.msg {
  max-width: 82%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.msg.guest {
  align-self: flex-end;
  background: var(--accent);
  color: var(--text-on-gold);
  border-bottom-right-radius: var(--radius-sm);
}
.msg.admin {
  align-self: flex-start;
  background: var(--surface-raised);
  border: 1px solid var(--border-default);
  border-bottom-left-radius: var(--radius-sm);
}
.msg.system {
  align-self: center;
  background: transparent;
  color: var(--text-faint);
  font-size: var(--fs-xs);
  text-align: center;
  max-width: 100%;
}
.msg time {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-2xs);
  opacity: 0.6;
}
.chat-input {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}
.chat-input input {
  flex: 1;
  height: 42px;
  padding-inline: var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
}
.chat-input input:focus {
  outline: none;
  border-color: var(--border-gold);
}
.chat-input button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text-on-gold);
}
.chat-gate {
  padding: var(--space-5);
}
.chat-gate p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

/* ── Modal (reserve form) ────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: var(--scrim);
  backdrop-filter: blur(4px);
}
.modal[hidden] {
  display: none;
}
.modal__card {
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.modal__card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  line-height: 1.1;
}
.modal__card .hint {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-2);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-grid .field {
  margin-bottom: 0;
}
.form-grid .field > label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.form-grid .full {
  grid-column: 1 / -1;
}
.modal .control input,
.modal .control select,
.modal textarea {
  width: 100%;
  min-height: 46px;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.modal textarea {
  resize: vertical;
  font-family: var(--font-ui);
}
.modal__foot {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 120;
  padding: var(--space-3) var(--space-5);
  background: var(--surface-raised);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.toast[hidden] {
  display: none;
}

/* ── Mobile booking bar ──────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4)
    calc(var(--space-3) + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface-1) 92%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-default);
}
.mobile-bar .from {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.mobile-bar .from b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}

/* ── Status pill (used in reassurance/ops echo) ──────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}
.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rl-success);
  animation: pulse 2.4s var(--ease-standard) infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(127, 160, 111, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(127, 160, 111, 0);
  }
}

/* ── Reveal-on-scroll ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .split__media {
    aspect-ratio: 16 / 11;
    order: -1;
  }
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
  }
  .mobile-nav.open {
    display: flex;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }
  .stat-strip > div:nth-child(2) {
    border-right: none;
  }
}
@media (max-width: 600px) {
  .section {
    padding-block: var(--space-16);
  }
  .container {
    padding-inline: var(--space-5);
  }
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .header-actions .reserve-cta {
    display: none;
  }
  .stepper {
    flex-wrap: wrap;
  }
  .step {
    flex-basis: calc(50% - var(--space-2));
  }
  .route-row {
    grid-template-columns: 1fr auto;
  }
  .route-row .r-eta {
    display: none;
  }
  .mobile-bar {
    display: flex;
  }
  .chat-dock {
    bottom: 88px;
  }
  .chat-panel {
    bottom: 158px;
  }
  body {
    padding-bottom: 76px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal__card {
    padding: var(--space-6);
  }
}

/* ── Reservation confirmation (inside the reserve modal) ─── */
.reserve-done {
  text-align: center;
  padding: var(--space-4) 0 var(--space-2);
}
.reserve-done .done-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft-strong);
  color: var(--accent-strong);
  border: 1px solid var(--border-gold);
}
.reserve-done .done-mark svg {
  width: 26px;
  height: 26px;
}
.reserve-done h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-3);
}
.reserve-done p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 42ch;
  margin: 0 auto var(--space-6);
}
.reserve-done .done-code {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  margin-bottom: var(--space-6);
}
.reserve-done .done-code label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reserve-done .done-code b {
  font-size: var(--fs-h3);
  color: var(--accent-strong);
  letter-spacing: 0.12em;
}
.reserve-done .done-acts {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* Vehicle trim / interior — distinguishes two vans of the same seat count */
.vehicle-card__body .trim {
  font-size: var(--fs-xs);
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
/* "Quote on request" replaces the figure entirely — never render it as if it
   were a price the guest can rely on. */
.price-tag .amount.is-request {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--accent);
  letter-spacing: 0;
}
