:root {
  /* Overridden at runtime by JS from /api/v1/ui-config */
  --color-primary: #f05d23;
  --color-secondary: #2d8f6f;
  --font-family: "Manrope", sans-serif;

  --bg: #f3efe7;
  --bg-strong: #13212c;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fff9f0;
  --surface-dark: #152633;
  --text: #13212c;
  --text-soft: #4d5d68;
  --text-light: #d8e5ee;
  --line: rgba(19, 33, 44, 0.12);
  --brand: var(--color-primary);
  --brand-grad: #ff8a54;
  --brand-deep: color-mix(in srgb, var(--color-primary) 80%, #000);
  --brand-soft: color-mix(in srgb, var(--color-primary) 20%, #fff);
  --accent: var(--color-secondary);
  --shadow: 0 24px 60px rgba(18, 27, 34, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 93, 35, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(45, 143, 111, 0.16), transparent 22%),
    linear-gradient(180deg, #f7f3ec 0%, #ece6dc 100%);
  background-position: center;
  background-size: auto;
  transition: background-image 220ms ease, background-color 220ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 24px), 1480px);
  margin: 16px auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.brand-lockup:hover {
  opacity: 0.85;
}

.brand-logo-topbar {
  max-height: 40px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-grad));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-lockup h1,
.hero-copy h2,
.section-heading h2,
.search-panel h3,
.car-card h3,
.flow-card h3,
.platform-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.eyebrow,
.panel-kicker,
.value-number,
.flow-step {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow,
.panel-kicker,
.flow-step {
  color: var(--brand);
}

.brand-lockup .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.brand-lockup h1 {
  font-size: 1.15rem;
  line-height: 1.1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text-soft);
  font-weight: 700;
}

.topnav a {
  padding: 8px 11px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 0.92rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: rgba(19, 33, 44, 0.06);
  outline: none;
}

.topnav a.is-active {
  background: #13212c;
  border-color: #13212c;
  color: white;
}

.language-switcher select {
  height: 38px;
  border: 1px solid rgba(19, 33, 44, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 800;
  padding: 0 12px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.24);
  white-space: nowrap;
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  background: #1fb85b;
  outline: none;
}

.whatsapp-cta-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.whatsapp-cta-icon svg {
  width: 18px;
  height: 18px;
}

.whatsapp-float {
  position: fixed;
  right: 18px !important;
  bottom: 18px !important;
  top: auto !important;
  z-index: 999 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 50px !important;
  width: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  background: #25d366;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1fb85b;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.34);
}

.whatsapp-float-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.whatsapp-float-icon svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float-label {
  display: none !important;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.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;
}

/* ── Hero — sfondo mare, layout 2 colonne ─────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 48px rgba(0, 60, 100, 0.35);
  color: white;
  min-height: 580px;
  /* Sfondo mare di default — viene sovrascritto dal JS quando il tab cambia */
  background:
    linear-gradient(135deg, rgba(4, 20, 38, 0.82) 0%, rgba(3, 50, 80, 0.60) 45%, rgba(0, 90, 130, 0.28) 100%),
    linear-gradient(180deg, #041828 0%, #073d60 35%, #0a6b90 65%, #12a0be 88%, #4dc8e0 100%);
  background-size: cover;
  background-position: center;
  transition: background-image 0.7s ease;
}

/* Overlay scuro per leggibilità */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 20, 38, 0.38) 0%, rgba(4, 20, 38, 0.08) 50%, rgba(4, 20, 38, 0.46) 100%),
    linear-gradient(90deg, rgba(4, 20, 38, 0.55) 0%, rgba(4, 20, 38, 0.0) 55%);
  pointer-events: none;
}

/* Layout interno: sinistra (tabs+form) | destra (testo) */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 400px;
  padding: 28px clamp(20px, 4vw, 52px);
}

/* Colonna sinistra: tab + form */
.hero-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 420px);
  flex-shrink: 0;
}

/* Tab categoria — riga scrollabile sopra il form */
.hero-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.hero-tabs::-webkit-scrollbar { display: none; }

.hero-tab-loading {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 249, 242, 0.18);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  font-weight: 700;
  font-style: italic;
}

/* Tab card con foto — stile light, in armonia col form */
.hero-tab {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 96px;
  flex-shrink: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(255, 249, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  font-weight: 800;
  font-size: 0.76rem;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms, box-shadow 160ms, transform 120ms;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero-tab-thumb {
  width: 100%;
  height: 58px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.hero-tab-thumb-placeholder {
  width: 100%;
  height: 58px;
  background: linear-gradient(135deg, rgba(240, 93, 35, 0.12), rgba(45, 143, 111, 0.12));
  display: block;
}

.hero-tab-label {
  width: 100%;
  padding: 7px 8px 8px;
  line-height: 1.15;
  text-align: center;
  color: var(--text);
  border-top: 1px solid rgba(19, 33, 44, 0.07);
  background: rgba(255, 255, 255, 0.55);
}

.hero-tab:hover {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.hero-tab.is-active {
  border-color: var(--brand);
  box-shadow: 0 4px 18px rgba(240, 93, 35, 0.35);
  background: rgba(255, 249, 242, 0.96);
}

.hero-tab.is-active .hero-tab-label {
  color: var(--brand);
  background: rgba(240, 93, 35, 0.06);
}

/* Form panel */
.hero-search-wrap {
  position: relative;
  z-index: 2;
}

.hero-search-wrap .search-panel {
  width: 100%;
}

/* Colonna destra: testo */
.hero-copy-panel {
  flex: 1;
  color: white;
  text-align: left;
  padding-left: 20px;
}

.hero-copy-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.01em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hero-copy-panel p {
  max-width: 28ch;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.search-panel,
.value-strip,
.section-grid,
.fleet-preview,
.platform-layer {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

/* Elementi non usati nel nuovo layout */
.hero-carousel-bg,
.hero-slide,
.carousel-controls,
.hero-tabs-bar {
  display: none !important;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 260ms ease, background 260ms ease;
}

.carousel-dot.is-active {
  width: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.carousel-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 150ms ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-copy h2 {
  margin-top: 18px;
  max-width: 12ch;
  font-size: clamp(2.6rem, 4vw, 5.2rem);
  line-height: 0.95;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-top: 22px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-grad));
  color: white;
  box-shadow: 0 12px 28px rgba(240, 93, 35, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 32px rgba(240, 93, 35, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button-full {
  width: 100%;
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.is-hidden {
  display: none !important;
}

.live-note p,
.platform-card h3,
.value-strip h3 {
  display: block;
}

.search-panel {
  align-self: start;
  padding: 18px;
  background: rgba(255, 249, 242, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 22px;
}

.panel-header {
  margin-bottom: 14px;
}

.search-panel h3 {
  margin-top: 5px;
  font-size: 1.35rem;
}

.search-form {
  display: grid;
  gap: 13px;
}

.search-form label {
  display: grid;
  gap: 8px;
}

.search-form span {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-soft);
}

.search-form input,
.search-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.dropoff-toggle {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
}

.dropoff-toggle input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.dropoff-toggle span {
  color: var(--text);
  font-size: 0.9rem;
}

.dropoff-panel[hidden] {
  display: none !important;
}

.dropoff-panel {
  animation: dropoff-open 160ms ease-out;
}

@keyframes dropoff-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-form input:focus,
.search-form select:focus {
  border-color: rgba(240, 93, 35, 0.4);
  outline: 2px solid rgba(240, 93, 35, 0.12);
  outline-offset: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--text-soft);
  font-weight: 800;
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

/* ── Location picker custom dropdown ────────────────────────────── */
.location-picker {
  position: relative;
}

.location-picker-hidden-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.location-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms, outline 140ms;
}

.location-picker-btn:hover {
  border-color: rgba(240, 93, 35, 0.35);
}

.location-picker-btn.is-open {
  border-color: rgba(240, 93, 35, 0.45);
  outline: 2px solid rgba(240, 93, 35, 0.12);
  outline-offset: 0;
}

.location-picker-display {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.location-picker-icon {
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.location-picker-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.location-picker-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-picker-name.is-placeholder {
  color: rgba(19, 33, 44, 0.38);
  font-weight: 400;
}

.location-picker-address {
  font-size: 0.76rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

.location-picker-address:not(:empty) {
  display: block;
}

.location-picker-btn.is-single {
  cursor: default;
  pointer-events: none;
}

.location-picker-btn.is-single .location-picker-chevron {
  display: none;
}

.location-picker-chevron {
  width: 17px;
  height: 17px;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: transform 160ms;
}

.location-picker-btn.is-open .location-picker-chevron {
  transform: rotate(180deg);
}

.location-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  max-height: 272px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.location-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-top: 1px solid rgba(19, 33, 44, 0.06);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 110ms;
}

.location-option:first-child {
  border-top: none;
}

.location-option:hover {
  background: rgba(240, 93, 35, 0.05);
}

.location-option.is-selected {
  background: rgba(240, 93, 35, 0.07);
}

.location-option-icon {
  font-size: 1.15rem;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.location-option-info {
  flex: 1;
  min-width: 0;
}

.location-option-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-option-city {
  display: block;
  font-size: 0.76rem;
  color: var(--text-soft);
  margin-top: 1px;
}

.location-option-badge {
  flex-shrink: 0;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.location-option-badge--airport { background: #dbeafe; color: #1d4ed8; }
.location-option-badge--train   { background: #ede9fe; color: #6d28d9; }
.location-option-badge--port    { background: #d1fae5; color: #065f46; }
.location-option-badge--hotel   { background: #fef3c7; color: #92400e; }
.location-option-badge--city    { background: rgba(19, 33, 44, 0.07); color: var(--text-soft); }

/* ── end location picker ─────────────────────────────────────────── */

.live-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff3eb;
  color: var(--text-soft);
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(45, 143, 111, 0.14);
}

.value-strip,
.section-grid,
.fleet-preview,
.platform-layer,
.results-panel {
  scroll-margin-top: 20px;
  margin-top: 16px;
  padding: 18px 22px 22px;
  background: rgba(255, 251, 246, 0.76);
  backdrop-filter: blur(14px);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-strip article,
.flow-card,
.car-card,
.platform-card,
.result-card,
.result-empty {
  padding: 24px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.value-strip h3,
.flow-card h3,
.car-card h3,
.platform-card h3,
.result-card h3,
.result-empty h3 {
  margin-top: 14px;
  font-size: 1.4rem;
}

.value-number {
  color: var(--accent);
}

.value-strip p:last-child,
.flow-card p,
.car-card p,
.platform-card p,
.result-card p,
.result-empty p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.results-meta {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.search-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.search-summary:empty {
  display: none;
}

.search-summary-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.search-summary-item span {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-summary-item strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-summary-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.search-summary-location > span {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-summary-location em {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.search-summary-item p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.search-summary-divider {
  width: 1px;
  background: rgba(19, 33, 44, 0.12);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.results-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 12px;
}

.results-filters {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.results-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-block {
  display: grid;
  gap: 10px;
}

.filter-block > span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-soft);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.filter-chip:hover {
  border-color: rgba(19, 33, 44, 0.24);
  color: var(--text);
}

.filter-chip.is-active {
  background: #13212c;
  border-color: #13212c;
  color: white;
}

.results-main {
  min-width: 0;
}

.category-browser {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 240, 232, 0.82));
}

.category-browser-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.category-browser-head h3 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
}

.category-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-soft);
  font-weight: 800;
  cursor: pointer;
}

.category-tab.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-grad));
  border-color: transparent;
  color: white;
}

.category-stage {
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 33, 44, 0.94), rgba(31, 51, 65, 0.9));
  color: white;
}

.category-stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.category-stage-copy {
  display: grid;
  gap: 12px;
}

.category-stage-topline,
.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-stage-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
}

.category-stage-copy p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.category-stage-actions,
.category-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-stage-actions .button-link,
.category-card-actions .button-link {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.category-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 16px;
}

.category-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.category-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-panel-head h4,
.category-group-card h5 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.category-photo-grid,
.category-group-grid {
  display: grid;
  gap: 12px;
}

.category-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-photo-card,
.category-group-card,
.category-empty-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-chip.is-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.category-thumb {
  overflow: hidden;
  min-height: 190px;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.category-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-photo-card-full {
  grid-column: 1 / -1;
}

.category-card-footer,
.category-group-card {
  display: grid;
  gap: 12px;
}

.category-card-footer p,
.category-group-card p,
.category-empty-card {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.category-empty-card {
  display: grid;
  place-items: center;
  min-height: 120px;
  text-align: center;
}

.result-card {
  display: grid;
  gap: 12px;
}

.vehicle-media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(19, 33, 44, 0.9), rgba(42, 66, 84, 0.88));
}

.vehicle-media.is-compact {
  min-height: 132px;
}

.vehicle-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.vehicle-media.is-placeholder {
  display: grid;
  place-items: center;
  padding: 18px;
}

.vehicle-media.is-placeholder span {
  max-width: 12ch;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  line-height: 1.1;
}

.result-card.is-selected {
  border-color: rgba(240, 93, 35, 0.75);
  box-shadow: 0 0 0 2px rgba(240, 93, 35, 0.4), 0 16px 32px rgba(240, 93, 35, 0.2);
  background: linear-gradient(180deg, rgba(255, 242, 234, 0.7), rgba(255, 255, 255, 0.98));
}

.result-card.is-selected .result-select-button {
  background: linear-gradient(135deg, #13212c, #263d4e);
  box-shadow: 0 14px 30px rgba(19, 33, 44, 0.24);
}

.result-head,
.result-tags,
.result-price,
.result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-head {
  justify-content: space-between;
  align-items: start;
}

.result-code,
.result-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 33, 44, 0.06);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.result-card h3 {
  margin: 0;
}

.result-price {
  align-items: baseline;
}

.result-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.result-price span {
  color: var(--text-soft);
  font-weight: 700;
}

.result-spec {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff3eb;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.84rem;
}

.result-rule-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.result-rule-list li + li {
  margin-top: 8px;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.results-panel > .wizard-actions {
  position: sticky;
  bottom: 14px;
  z-index: 50;
  margin: 28px -12px -12px;
  padding: 14px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 18px;
  background: rgba(255, 249, 242, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(18, 27, 34, 0.16);
}

.results-panel > .wizard-actions .results-meta {
  min-width: 0;
}

.results-panel > .wizard-actions .button {
  flex: 0 0 auto;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.step-tab {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-soft);
  font-weight: 800;
  cursor: pointer;
}

.step-tab.is-current {
  background: linear-gradient(135deg, var(--brand), var(--brand-grad));
  color: white;
  border-color: transparent;
}

.step-tab.is-done {
  background: rgba(45, 143, 111, 0.12);
  color: #1f6f56;
  border-color: rgba(45, 143, 111, 0.2);
}

.booking-builder {
  scroll-margin-top: 20px;
  margin-top: 12px;
  padding: 18px 24px 24px;
  background: rgba(255, 251, 246, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.booking-builder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.booking-builder-toolbar .step-tabs {
  flex: 1;
  margin-top: 0;
  max-width: 560px;
}

.booking-builder-toolbar .step-tab {
  min-height: 40px;
  font-size: 0.82rem;
  padding: 0 12px;
}

.booking-status-msg {
  min-height: 0;
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #c0392b;
  font-weight: 500;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.step-card,
.builder-card {
  padding: 22px;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
}

/* ─── Locations panel ───────────────────────────────────────────────────────── */

.locations-panel {
  padding: 32px 0 64px;
}

.locations-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.locations-header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.locations-header .panel-kicker {
  margin-bottom: 4px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(19, 33, 44, 0.12);
  border-radius: 12px;
  background: white;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

.back-btn:hover { background: rgba(19, 33, 44, 0.04); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.location-card {
  background: white;
  border: 1px solid rgba(19, 33, 44, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.location-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.location-card-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(var(--brand-rgb, 255, 90, 0), 0.08);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.location-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.location-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.location-card-row svg { flex-shrink: 0; margin-top: 1px; opacity: 0.6; }

.location-card-row a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.location-card-row a:hover { text-decoration: underline; }

.locations-loading {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ─── /Locations panel ─────────────────────────────────────────────────────── */

.topbar-pickup-wrapper {
  position: relative;
}

.topbar-pickup-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  max-width: 220px;
  font-family: inherit;
  transition: background 0.15s;
}

.topbar-pickup-btn:hover,
.topbar-pickup-btn.is-open {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(19, 33, 44, 0.2);
}

.topbar-pickup-btn svg:first-child {
  color: var(--brand);
  flex-shrink: 0;
}

.topbar-pickup-btn #pickup-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.pickup-btn-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.topbar-pickup-btn.is-open .pickup-btn-chevron {
  transform: rotate(180deg);
}

.topbar-pickup-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 16px;
  z-index: 300;
}

.pickup-dropdown-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand);
}

.pickup-info-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.pickup-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.pickup-info-row svg { flex-shrink: 0; opacity: 0.7; }

.pickup-info-row a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.step-card {
  display: flex;
  align-items: start;
  gap: 14px;
}

.step-card h3,
.builder-card h3,
.selected-vehicle h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.step-card p,
.builder-card p,
.summary-block p,
.summary-footnote {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.step-card.is-current {
  border-color: rgba(240, 93, 35, 0.35);
  background: linear-gradient(180deg, rgba(255, 237, 228, 0.92), rgba(255, 255, 255, 0.88));
}

.step-card.is-done {
  border-color: rgba(45, 143, 111, 0.35);
  background: linear-gradient(180deg, rgba(231, 247, 241, 0.92), rgba(255, 255, 255, 0.88));
}

.step-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 800;
}

.booking-outer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: 20px;
  margin-top: 8px;
  align-items: start;
}

.booking-main-col {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.builder-main {
  display: grid;
  gap: 18px;
}

.builder-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 90px;
}

.summary-card.builder-card {
  padding: 16px;
}

.summary-card .builder-card-header {
  margin-bottom: 10px;
}

.summary-card .builder-card-header h3 {
  font-size: 1rem;
}

.summary-card .summary-stack {
  gap: 8px;
}

.summary-card .summary-block {
  padding: 10px 12px;
}

.summary-card .summary-total {
  margin-top: 12px;
  padding-top: 12px;
}

.summary-card .summary-total strong {
  font-size: 1.5rem;
}

.wizard-panel {
  display: grid;
  gap: 18px;
}

.info-card {
  background: linear-gradient(180deg, rgba(255, 245, 239, 0.88), rgba(255, 255, 255, 0.92));
}

.info-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.info-list li + li {
  margin-top: 8px;
}

.builder-card-header {
  margin-bottom: 12px;
}

.builder-card-selection {
  padding: 14px 16px;
}

.selected-vehicle {
  display: grid;
  gap: 12px;
}

.selected-vehicle-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.selected-vehicle-copy {
  display: grid;
  gap: 12px;
}

.empty-selection {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(19, 33, 44, 0.04);
}

.empty-selection h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.empty-selection p {
  margin: 0;
  font-size: 0.82rem;
}

.selected-vehicle-meta,
.selected-vehicle-price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-vehicle-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.accessories-grid,
.payment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 93, 35, 0.35);
}

.choice-card.is-selected {
  border-color: rgba(240, 93, 35, 0.42);
  box-shadow: 0 12px 26px rgba(240, 93, 35, 0.12);
  background: linear-gradient(180deg, rgba(255, 241, 234, 0.92), rgba(255, 255, 255, 0.95));
}

.choice-card input {
  margin: 0;
}

.choice-card strong,
.summary-block strong,
.summary-total strong {
  font-family: "Space Grotesk", sans-serif;
}

.choice-card span,
.summary-label {
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.choice-card em {
  color: var(--text-soft);
  font-style: normal;
  line-height: 1.55;
}

.insurance-franchise-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(220, 90, 20, 0.08);
  color: #b84800;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.insurance-franchise-badge--mid {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.insurance-franchise-badge--zero {
  background: rgba(22, 101, 52, 0.1);
  color: #166534;
}

.insurance-deposit-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(79, 70, 229, 0.08);
  color: #4338ca;
  letter-spacing: 0.2px;
  margin-top: 2px;
}

.customer-form {
  display: grid;
  gap: 16px;
}

.customer-form textarea,
.customer-form input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.customer-form textarea {
  min-height: 120px;
  resize: vertical;
}

.summary-stack {
  display: grid;
  gap: 14px;
}

.summary-block {
  padding: 16px;
  border-radius: 16px;
  background: rgba(19, 33, 44, 0.04);
}

.summary-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(19, 33, 44, 0.1);
}

.summary-total span {
  font-weight: 800;
  color: var(--text-soft);
}

.summary-total strong {
  font-size: 2rem;
}

.summary-footnote {
  margin-top: 12px;
}

.summary-block-locations {
  display: grid;
  gap: 10px;
}

.summary-loc-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.summary-loc-badge {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

.summary-loc-badge--pickup {
  background: var(--accent, #f05d23);
  color: #fff;
}

.summary-loc-badge--return {
  background: var(--bg-strong, #13212c);
  color: #fff;
}

.summary-loc-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-soft);
  margin-bottom: 2px;
}

.summary-loc-row strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  line-height: 1.3;
}

.summary-loc-addr {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--text-soft);
  line-height: 1.4;
}

.result-select-button {
  margin-top: 6px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 0.98;
}

.section-heading.compact h2 {
  max-width: 18ch;
}

.results-panel .section-heading {
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(19, 33, 44, 0.08);
}

.results-panel .section-heading > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.results-panel .section-heading h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  max-width: none;
}

.results-step-inline {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  white-space: nowrap;
  font-size: 0.72rem;
}

.results-header-actions {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.results-header-actions .button-link {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.flow-cards,
.fleet-grid,
.platform-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.flow-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 240, 232, 0.72));
}

.fleet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.car-card li + li {
  margin-top: 10px;
}

.car-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.car-card.featured {
  background: linear-gradient(180deg, rgba(240, 93, 35, 0.12), rgba(255, 255, 255, 0.9));
  transform: translateY(-8px);
}

.platform-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-card {
  background: rgba(255, 255, 255, 0.8);
}

.platform-card.accent {
  background: linear-gradient(180deg, #13212c, #1f3341);
  color: white;
}

.platform-card.accent p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1120px) {
  .booking-outer-layout {
    grid-template-columns: 1fr;
  }

  .builder-sidebar {
    position: static;
    order: -1;
  }

  .flow-cards,
  .fleet-grid,
  .platform-grid,
  .value-strip,
  .results-grid,
  .booking-steps,
  .step-tabs,
  .option-grid,
  .accessories-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .category-browser-head,
  .category-stage,
  .category-stage-grid,
  .results-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .results-filters {
    position: static;
  }

  .category-stage-header,
  .category-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .selected-vehicle-layout {
    grid-template-columns: 1fr;
  }

  .car-card.featured {
    transform: none;
  }
}

/* ─── View system ─────────────────────────────────────────────────────────── */

.locations-panel { display: none; }

#app-main[data-view="home"] .results-panel,
#app-main[data-view="home"] .booking-builder,
#app-main[data-view="home"] .locations-panel,
#app-main[data-view="home"] .value-strip,
#app-main[data-view="home"] .section-grid,
#app-main[data-view="home"] .fleet-preview,
#app-main[data-view="home"] .platform-layer {
  display: none !important;
}

#app-main[data-view="results"] .hero,
#app-main[data-view="results"] .value-strip,
#app-main[data-view="results"] .section-grid,
#app-main[data-view="results"] .fleet-preview,
#app-main[data-view="results"] .platform-layer,
#app-main[data-view="results"] .booking-builder,
#app-main[data-view="results"] .locations-panel {
  display: none !important;
}

#app-main[data-view="booking"] .hero,
#app-main[data-view="booking"] .value-strip,
#app-main[data-view="booking"] .section-grid,
#app-main[data-view="booking"] .fleet-preview,
#app-main[data-view="booking"] .platform-layer,
#app-main[data-view="booking"] .results-panel,
#app-main[data-view="booking"] .locations-panel {
  display: none !important;
}

#app-main[data-view="locations"] .hero,
#app-main[data-view="locations"] .results-panel,
#app-main[data-view="locations"] .booking-builder,
#app-main[data-view="locations"] .value-strip,
#app-main[data-view="locations"] .section-grid,
#app-main[data-view="locations"] .fleet-preview,
#app-main[data-view="locations"] .platform-layer {
  display: none !important;
}

#app-main[data-view="locations"] .locations-panel {
  display: block;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#app-main[data-view="results"] .results-panel,
#app-main[data-view="booking"] .booking-builder,
#app-main[data-view="home"] .hero {
  animation: view-enter 240ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-heading:not(.compact) .results-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 150ms ease;
}

.button-link:hover {
  opacity: 0.7;
}

/* ─── /View system ─────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar,
  .search-panel,
  .value-strip,
  .section-grid,
  .fleet-preview,
  .platform-layer,
  .results-panel,
  .booking-builder {
    padding: 22px;
  }

  .booking-builder {
    padding: 14px 16px 20px;
  }

  .booking-builder-toolbar {
    justify-content: flex-start;
  }

  .booking-builder-toolbar .results-header-actions {
    align-items: flex-start;
  }

  /* Mobile: colonne impilate, testo sopra il form */
  .hero-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 18px 28px;
    min-height: unset;
  }

  .hero-left-col {
    width: 100%;
  }

  .hero-copy-panel {
    padding-left: 0;
    width: 100%;
  }

  .hero-copy-panel h2 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .hero-text-overlay {
    padding: 28px 20px 16px;
  }

  .carousel-controls {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .topnav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topbar-pickup-btn #pickup-chip-name {
    max-width: 100px;
  }

  .topbar-pickup-dropdown {
    right: auto;
    left: 0;
  }

  .whatsapp-float {
    top: auto;
    bottom: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    min-width: 56px;
    padding: 0;
  }

  .whatsapp-float-label {
    display: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-summary {
    grid-template-columns: 1fr;
  }

  .search-summary-divider {
    width: 100%;
    height: 1px;
  }

  .section-heading h2 {
    max-width: none;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .wizard-actions .button {
    width: 100%;
  }

  .category-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hero text overlay ─────────────────────────────────────────────── */
.hero-text-overlay {
  display: none;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px 48px 6px;
  pointer-events: none;
}

.hero-text-overlay h2 {
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  margin: 0 0 10px;
  line-height: 1.2;
  max-width: 480px;
}

.hero-text-overlay p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  margin: 0;
  max-width: 420px;
}

/* ── Logo bar ──────────────────────────────────────────────────────── */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}

.brand-logo {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
}

/* ── Come funziona ─────────────────────────────────────────────────── */
.how-it-works-section {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.58), rgba(7, 17, 28, 0.5)),
    url("../assets/images/albania-how-it-works.png") center / cover no-repeat;
  padding: 72px 24px;
  overflow: hidden;
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(7, 17, 28, 0.18), transparent 42%, rgba(7, 17, 28, 0.22));
  pointer-events: none;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 48px;
  color: var(--text);
}

.how-it-works-section .section-title {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
  margin-bottom: 24px;
}

.how-it-works-photo {
  width: min(100%, 980px);
  margin: 0 auto 34px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.how-it-works-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
}

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.hiw-step {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hiw-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hiw-step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.hiw-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.hiw-step p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
}

/* ── Chi siamo ─────────────────────────────────────────────────────── */
.about-section {
  padding: 72px 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 8%, #fff), color-mix(in srgb, var(--color-secondary) 6%, #fff));
}

.about-layout {
  max-width: 820px;
  text-align: center;
}

@media (max-width: 768px) {
  .about-layout {
    max-width: var(--max-width);
  }
}

.about-copy p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
  white-space: pre-line;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-strong);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  margin-top: 32px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.category-slides-section {
  padding: clamp(48px, 7vw, 96px) 0;
  background: #f7fafc;
}

.category-slides-section[hidden] { display: none; }

.category-slides-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.category-slides-heading .section-title { margin: 6px 0 0; }

.category-slides-viewport {
  position: relative;
  min-height: clamp(280px, 48vw, 620px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #dbe7ec;
  box-shadow: var(--shadow);
}

.category-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.category-gallery-slide.is-active { opacity: 1; pointer-events: auto; }
.category-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.category-slides-nav { display: flex; gap: 10px; }
.category-slides-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 43, 56, 0.16);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.7rem;
  cursor: pointer;
}

.category-slides-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.category-slides-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 43, 56, 0.25);
  cursor: pointer;
}
.category-slides-dots button.is-active { width: 26px; background: var(--brand); }

@media (max-width: 640px) {
  .category-slides-heading { align-items: center; }
  .category-slides-viewport { min-height: 260px; }
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 52px 48px 36px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-grad));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-brand-logo {
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 26ch;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-col-title {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-link-list a,
.footer-legal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms ease;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.footer-link-list a:hover,
.footer-legal-btn:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-about-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-col-payments {
  gap: 14px;
}

.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.footer-payment-badge svg {
  display: block;
  flex-shrink: 0;
  height: 22px;
  width: auto;
}

.footer-bottom {
  padding: 18px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  text-align: center;
}

/* ── Legal modal ─────────────────────────────────────────────────── */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 17, 28, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.legal-modal-overlay[hidden] {
  display: none !important;
}

.legal-modal {
  width: min(100%, 720px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  animation: modal-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.legal-modal-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  color: var(--text);
}

.legal-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(19, 33, 44, 0.05);
  color: var(--text-soft);
  font-size: 1rem;
  cursor: pointer;
  transition: background 150ms ease;
}

.legal-modal-close:hover {
  background: rgba(19, 33, 44, 0.1);
}

.legal-modal-body {
  overflow-y: auto;
  padding: 28px;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.95rem;
  white-space: pre-line;
}

@media (max-width: 1120px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    padding: 40px 32px 28px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-tagline {
    max-width: 38ch;
  }
}

@media (max-width: 720px) {
  .site-footer {
    border-radius: 22px 22px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 32px 20px 24px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 14px;
  }

  .footer-bottom {
    padding: 16px 20px;
    padding-bottom: 92px;
  }
}

/* ── Tablet / mobile polish ───────────────────────────────────────── */
@media (min-width: 721px) and (max-width: 1120px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
    margin: 14px auto;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .topnav {
    flex: 1 1 auto;
  }

  .hero {
    min-height: auto;
  }

  /* Tablet: colonne affiancate, form più stretto */
  .hero-inner {
    gap: 28px;
    padding: 28px 28px;
  }

  .hero-left-col {
    width: min(100%, 380px);
  }

  .hero-copy-panel {
    padding-left: 16px;
  }

  .hero-copy-panel h2 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-builder-toolbar .step-tabs {
    max-width: 100%;
  }

  .booking-outer-layout,
  .results-layout,
  .category-stage-grid {
    grid-template-columns: 1fr;
  }

  .option-grid,
  .accessories-grid,
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    margin: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    border-radius: 0 0 20px 20px;
    padding: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-lockup h1 {
    font-size: 1rem;
  }

  .topbar-actions {
    gap: 8px;
  }

  .topnav {
    order: 2;
    padding: 3px;
  }

  .topnav a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .language-switcher select {
    height: 34px;
    padding: 0 8px;
    border-radius: 10px;
  }

  .hero {
    margin-top: 10px;
    border-radius: 22px;
    min-height: auto;
  }

  .hero-tabs {
    gap: 8px;
  }

  .hero-tab {
    width: 80px;
    font-size: 0.72rem;
  }

  .hero-tab-thumb {
    height: 48px;
  }

  .hero-copy-panel {
    padding: 16px 16px 0;
  }

  .hero-copy-panel h2 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
    line-height: 1.02;
  }

  .hero-copy-panel p {
    margin-top: 10px;
    font-size: 0.96rem;
  }

  .search-panel,
  .results-panel,
  .booking-builder,
  .builder-card,
  .step-card {
    border-radius: 18px;
  }

  .search-panel {
    padding: 18px;
  }

  .panel-header {
    gap: 6px;
  }

  input,
  select,
  textarea,
  .button {
    min-height: 44px;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .results-panel {
    margin-top: 12px;
    padding: 16px;
  }

  .results-layout,
  .category-browser-head,
  .category-stage,
  .category-stage-grid {
    grid-template-columns: 1fr;
  }

  .results-filters {
    position: static;
    padding: 14px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-price strong {
    font-size: 1.55rem;
  }

  .results-panel > .wizard-actions {
    margin: 18px -6px -6px;
    padding: 10px;
  }

  .booking-builder-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .booking-builder-toolbar .step-tabs {
    display: flex;
    max-width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .booking-builder-toolbar .step-tabs::-webkit-scrollbar {
    display: none;
  }

  .booking-builder-toolbar .step-tab {
    flex: 0 0 auto;
    min-height: 40px;
    border-radius: 999px;
  }

  .booking-outer-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }

  .booking-main-col,
  .builder-main,
  .builder-sidebar {
    gap: 14px;
  }

  .builder-card {
    padding: 16px;
  }

  .selected-vehicle-layout,
  .option-grid,
  .accessories-grid,
  .payment-grid,
  .customer-form-grid,
  .summary-stack {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    align-items: stretch;
  }

  .how-it-works-section,
  .about-section {
    padding: 46px 16px;
  }

  .how-it-works-photo img {
    aspect-ratio: 16 / 10;
  }

  .how-it-works-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hiw-step {
    padding: 22px 18px;
  }

  .site-footer {
    padding-bottom: 86px;
  }
}

@media (max-width: 390px) {
  .search-panel,
  .results-panel,
  .booking-builder,
  .builder-card {
    padding: 14px;
  }

  .step-card {
    flex-basis: 86%;
  }

  .result-tags,
  .result-specs {
    gap: 7px;
  }
}

.hidden-single-location {
  display: none !important;
}

.sidebar-vehicle-preview {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 150px;
  background: linear-gradient(135deg, rgba(19, 33, 44, 0.92), rgba(42, 66, 84, 0.9));
}

.sidebar-vehicle-media {
  width: 100%;
  min-height: 150px;
}

.sidebar-vehicle-media img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.sidebar-vehicle-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px 16px;
  background: linear-gradient(to top, rgba(10, 18, 24, 0.88) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-vehicle-info strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.sidebar-vehicle-info span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .builder-sidebar {
    order: 0;
  }
}

/* Booking confirmed step 5 */
.booking-confirmed-card {
  text-align: center;
  padding: 48px 32px;
}

.booking-confirmed-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #166534;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.booking-confirmed-title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  color: var(--text-main);
}

.booking-confirmed-subtitle {
  margin: 0 0 28px !important;
  font-size: 15px;
  color: var(--text-soft);
}

.booking-confirmed-number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--surface-bg);
  border: 1px solid rgba(19, 33, 44, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  margin-bottom: 16px;
}

.booking-confirmed-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-soft);
}

.booking-confirmed-number strong {
  font-size: 20px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
}

.booking-confirmed-email {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 auto !important;
  max-width: 380px;
}

/* ── Flatpickr theme ─────────────────────────────────────────────────────── */
.flatpickr-calendar {
  font-family: var(--font-family, "Manrope", sans-serif);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(19, 33, 44, 0.1);
  overflow: hidden;
}

.flatpickr-months {
  background: var(--color-primary, #f05d23);
  border-radius: 0;
  padding: 4px 0;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month input.cur-year {
  color: #fff;
  fill: #fff;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  fill: #fff;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: rgba(255, 255, 255, 0.7);
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.numInputWrapper span.arrowUp:after { border-bottom-color: rgba(255,255,255,0.8); }
.numInputWrapper span.arrowDown:after { border-top-color: rgba(255,255,255,0.8); }

.flatpickr-weekdays { background: rgba(240, 93, 35, 0.08); }
.flatpickr-weekday {
  color: var(--color-primary, #f05d23);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flatpickr-day {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(240, 93, 35, 0.12);
  border-color: transparent;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus {
  background: var(--color-primary, #f05d23);
  border-color: var(--color-primary, #f05d23);
  color: #fff;
  font-weight: 700;
}

.flatpickr-day.today {
  border-color: var(--color-primary, #f05d23);
  font-weight: 700;
}

.flatpickr-day.today:hover {
  background: rgba(240, 93, 35, 0.12);
  color: var(--color-primary, #f05d23);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgba(19, 33, 44, 0.22);
  background: transparent;
  cursor: not-allowed;
}

.flatpickr-input.flatpickr-input.flatpickr-mobile { width: 100%; }

/* altInput styled like the rest of the form */
.flatpickr-input[readonly],
input.flatpickr-input[readonly] {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f05d23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
/* ─────────────────────────────────────────────────────────────────────────── */
