﻿
/**
 * Home page base sections (hero, booking layout, content grid, promo)
 * Brand tokens + navbar/footer shell live in site.css (.page-home)
 */


/* --- Hero --- */
/* The wrap carries the ocean background so it continues behind the
   left-aligned booking card (mockup: card on the left, ocean on the right). */
.page-home .home-hero-wrap {
  position: relative;
  background-color: #cfe2f3;
  background-image: url('../../../images/hero-section.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* No white overlay band - the hero text and booking card sit directly on the
   ocean image; text uses a soft glow for legibility instead. */

.page-home .hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: auto;
  padding: 7rem 0 1.75rem;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: none;
}

.page-home .hero-overlay {
  display: none;
}

.page-home .hero-container {
  position: relative;
  z-index: 2;
}

.page-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--mockup-navy);
  padding: 0;
}

.page-home .hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mockup-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85);
}

.page-home .hero-title {
  color: var(--mockup-navy);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(255, 255, 255, 0.95);
}

.page-home .hero-subtitle {
  color: var(--mockup-navy);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 480px;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

/* --- Booking card --- */
/* Acts like the hero's .container so the card's left edge lines up with the
   hero text; the card itself is left-aligned and narrower than the row. */
.page-home .booking-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 12px 3rem;
}

/* Home booking flow steps (above search card) */
.page-home .home-booking-steps-wrap {
  max-width: 980px;
  margin: 0 0 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e9f2;
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.08);
  backdrop-filter: blur(8px);
}

.page-home .home-booking-steps.booking-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.page-home .home-booking-steps .booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  color: #94a3b8;
  flex-shrink: 0;
  min-width: 88px;
  max-width: 132px;
  font-weight: 600;
  text-align: center;
}

.page-home .home-booking-steps .step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
}

.page-home .home-booking-steps .booking-step.active .step-circle {
  border-color: var(--mockup-red, #c8102e);
  background: var(--mockup-red, #c8102e);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

.page-home .home-booking-steps .booking-step.active {
  color: var(--mockup-navy, #001f3f);
  font-weight: 700;
}

.page-home .home-booking-steps .step-label {
  white-space: nowrap;
  line-height: 1.2;
  font-weight: 700;
  color: var(--mockup-navy, #001f3f);
}

.page-home .home-booking-steps .booking-step:not(.active):not(.completed) .step-label {
  color: #64748b;
}

.page-home .home-booking-steps .step-desc {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.35;
  color: #94a3b8;
  white-space: normal;
  max-width: 118px;
}

.page-home .home-booking-steps .booking-step.active .step-desc {
  color: #64748b;
}

.page-home .home-booking-steps .booking-step-line {
  flex: 1;
  min-width: 14px;
  height: 2px;
  background: #e2e8f0;
  margin-top: 18px;
  border-radius: 2px;
}

.page-home .home-booking-steps .booking-step-line.filled {
  background: var(--mockup-red, #c8102e);
}

@media (max-width: 768px) {
  .page-home .home-booking-steps-wrap {
    margin-bottom: 0.65rem;
  }

  .page-home .home-booking-steps.booking-steps {
    padding: 0.65rem 0.75rem;
    gap: 0.35rem;
  }

  .page-home .home-booking-steps .booking-step {
    min-width: 72px;
    max-width: 108px;
  }

  .page-home .home-booking-steps .step-desc {
    font-size: 0.58rem;
    max-width: 96px;
  }

  .page-home .home-booking-steps .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .page-home .home-booking-steps .booking-step-line {
    min-width: 8px;
    margin-top: 14px;
  }
}

.page-home .booking-glass-panel {
  width: 100%;
  max-width: 980px;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e9f2;
  box-shadow: 0 20px 50px rgba(0, 31, 63, 0.13), 0 2px 6px rgba(0, 31, 63, 0.05);
  overflow: visible;
}

@media (min-width: 1400px) {
  .page-home .booking-section {
    max-width: 1320px;
  }

  .page-home .booking-glass-panel {
    max-width: 1020px;
  }
}

.page-home .booking-header {
  padding: 0;
  border-bottom: 1px solid #e8eef5;
  align-items: stretch;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.page-home .home-booking-tabs {
  display: flex;
  width: 100%;
  gap: 0;
  flex-wrap: nowrap;
}

.page-home .home-booking-tabs .nav-item {
  flex: 1 1 50%;
  margin-bottom: 0;
  display: flex;
}

.page-home .home-booking-tabs .nav-link.tab-pill {
  flex: 1;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: #f3f7fb;
  color: var(--mockup-navy);
  padding: 0.95rem 1.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-home .home-booking-tabs .nav-link.tab-pill i {
  font-size: 0.95rem;
}

.page-home .home-booking-tabs .nav-link.tab-pill.active {
  color: var(--mockup-navy);
  border-bottom-color: var(--mockup-red);
  background: #fff;
}

.page-home .home-booking-tabs .nav-item:first-child .nav-link.tab-pill.active {
  border-top-left-radius: 11px;
}

.page-home .home-booking-tabs .nav-item:last-child .nav-link.tab-pill.active {
  border-top-right-radius: 11px;
}

.page-home .home-booking-tabs .nav-link.tab-pill:not(.active) {
  color: var(--mockup-navy);
}

.page-home .home-booking-tabs .nav-link.tab-pill:not(.active) i {
  color: var(--mockup-navy);
}

.page-home .home-booking-tabs .nav-link.tab-pill.active i {
  color: var(--mockup-red);
}

.page-home .trip-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  margin-left: 0.25rem;
}

/* Mockup tab bar shows only the two tabs (no badge / quick routes) */
.page-home .home-booking-tabs .trip-badge,
.page-home .booking-header .quick-routes {
  display: none !important;
}

.page-home .booking-form {
  padding: 1.25rem 1.5rem 1.35rem;
  background: #fff;
  border-radius: 0 0 12px 12px;
}

/* Small column captions (Itinerary / Trip Type) like the mockup */
.page-home .home-booking-col-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mockup-navy);
  margin-bottom: 0.65rem;
}

.page-home .home-add-destination {
  width: calc(100% - 26px - 0.75rem);
  margin-left: calc(26px + 0.75rem);
  margin-top: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 1.5px dashed #9bb8d9;
  background: #fff;
  color: var(--mockup-navy-light);
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.page-home.is-multi-route .home-add-destination {
  display: inline-flex;
}

.page-home .home-add-destination:hover {
  border-color: var(--mockup-navy-light);
  color: var(--mockup-navy-light);
  background: var(--mockup-sky);
}

.page-home .home-add-destination i {
  color: var(--mockup-navy-light);
}

.page-home .home-vehicle-hint {
  margin: 0;
  font-size: 0.72rem;
  color: #8a9bb0;
  line-height: 1.4;
  padding-left: 1.65rem;
}

.page-home .home-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 1.25rem 1.35rem;
  align-items: stretch;
}

.page-home .home-booking-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.page-home .home-booking-sidebar {
  grid-column: 2;
  grid-row: 1;
  background: transparent;
  border: none;
  border-radius: 0;
  border-left: 1px solid #e8eef5;
  padding: 0.35rem 0 0.85rem 1.25rem;
  align-self: stretch;
}

.page-home .home-booking-vehicle {
  grid-column: 1 / -1;
  border-top: 1px dashed #d0dbe8;
  padding-top: 1rem;
  margin-top: 0.15rem;
}

.page-home .home-vehicle-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.page-home .home-vehicle-intro {
  flex: 0 0 28%;
  min-width: 170px;
  max-width: 230px;
}

.page-home .home-booking-search {
  grid-column: 1 / -1;
  padding-top: 0.35rem;
}

/* -- Itinerary timeline (mockup) -- */
.page-home .home-itinerary-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: flex-start;
}

.page-home .home-itinerary-block {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  position: relative;
}

.page-home .home-itinerary-legs {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  position: relative;
}

.page-home .home-itinerary-leg {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: start;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:last-child) {
  padding-bottom: 1rem;
}

/* Lift the leg above its siblings while one of its dropdown panels or the
   inline flatpickr is open — pure CSS, no JS class toggling needed.
   - :has(.dropdown-panel.active) → custom route/pax dropdown expanded
   - :has(.flatpickr-calendar.open) → inline date picker expanded (static: true)
   - :focus-within → fallback while the inner search input / date input is focused
*/
.page-home .home-itinerary-leg:has(.dropdown-panel.active),
.page-home .home-itinerary-leg:has(.flatpickr-calendar.open),
.page-home .home-itinerary-leg:focus-within {
  z-index: 3000;
}

.page-home .home-itinerary-leg:last-child {
  padding-bottom: 0;
}

.page-home .home-leg-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 26px;
  align-self: stretch;
  justify-content: flex-start;
  z-index: 1;
}

.page-home .home-leg-rail::before,
.page-home .home-leg-rail::after {
  content: '';
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #cbd5e1;
  border-radius: 1px;
  pointer-events: none;
}

/* No timeline when only one leg (e.g. after switching oneway → multi-route). */
.page-home .home-itinerary-legs:not(.has-multiple-legs) .home-leg-rail::before,
.page-home .home-itinerary-legs:not(.has-multiple-legs) .home-leg-rail::after {
  display: none !important;
}

/* Timeline segments only when 2+ legs exist. */
.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:last-child) .home-leg-rail {
  margin-bottom: calc(-1 * 1rem);
  padding-bottom: 1rem;
}

.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail {
  margin-top: calc(-1 * 1rem);
  padding-top: 1rem;
}

/* Outgoing line: from badge center down to the next leg (never on the last leg). */
.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:last-child) .home-leg-rail::after {
  display: block;
  top: 12px;
  bottom: 0;
}

.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail::after {
  top: calc(1rem + 12px);
}

/* Incoming line: bridge the inter-leg gap up to the badge center. */
.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail::before {
  display: block;
  top: 0;
  height: calc(1rem + 12px);
}

/* Last leg: no trailing line below the badge. */
.page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:last-child .home-leg-rail::after {
  display: none !important;
}

.page-home .home-leg-num {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mockup-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  box-shadow: none;
  line-height: 1;
}

.page-home .home-leg-num.is-active {
  background: var(--mockup-red);
}

.page-home .home-leg-fields-stack {
  grid-column: 2;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.page-home .home-itinerary-leg .home-leg-rail {
  grid-column: 1;
  grid-row: 1;
}

.page-home .home-itinerary-leg .home-leg-fields-stack {
  grid-column: 2;
  grid-row: 1;
}

/* Per-leg dates (multi-route mode) */
.page-home .home-leg-date-field {
  display: none;
  grid-column: 1 / -1;
  flex: none;
  min-width: 0;
  max-width: 100%;
}

.page-home.is-multi-route .home-leg-date-field {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 0;
}

.page-home.is-multi-route #homeSidebarDepartGroup {
  display: none !important;
}

.page-home .home-leg-date-field,
.page-home #homeSidebarDepartGroup,
.page-home #returnDateGroup {
  position: relative;
  overflow: visible;
}

.page-home .home-leg-date-composite,
.page-home .home-sidebar-field-inner {
  overflow: visible;
}

.page-home .home-leg-date-composite {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Date row uses the same composite shell as route fields but must not clip
   the inline flatpickr panel (route fields keep overflow:hidden for ellipsis). */
.page-home .home-route-input-composite.home-leg-date-composite {
  overflow: visible;
}

.page-home .home-leg-date-composite .home-route-input {
  cursor: pointer;
}

.page-home .home-leg-date-composite .custom-date-picker {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mockup-navy);
  outline: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
}

.page-home .home-leg-date-composite .custom-date-picker::placeholder {
  color: var(--mockup-navy);
  font-weight: 600;
}

.page-home.is-multi-route .home-itinerary-leg {
  align-items: start;
}

/* In multi-route mode the rail starts at the top so the number lines up
   with the first input row, then stretches down across the date row. */
.page-home.is-multi-route .home-itinerary-leg .home-leg-rail {
  align-self: stretch;
  justify-content: flex-start;
}

.page-home .home-route-field {
  position: relative;
}

.page-home .home-route-input-composite {
  display: flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-home .home-route-input-composite:hover,
.page-home .home-route-input-composite:focus-within {
  border-color: #cbd5e1;
  box-shadow: none;
}

.page-home .home-route-input-composite .home-route-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 48px;
  padding: 0.38rem 0.65rem 0.42rem;
  background: transparent !important;
  cursor: pointer;
}

.page-home .home-route-input-composite .home-route-input:hover,
.page-home .home-route-input-composite .home-route-input:focus-within {
  border: none !important;
  box-shadow: none !important;
}

.page-home .home-route-field-inner {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  width: 100%;
}

.page-home .home-field-label-inline {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #94a3b8;
  line-height: 1.15;
  margin-bottom: 0.05rem;
}

.page-home .home-route-value {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.page-home .home-route-value .selected-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mockup-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.page-home .home-route-value .selected-value.is-placeholder {
  font-weight: 600;
  color: var(--mockup-navy);
}

.page-home .home-route-value .home-field-icon {
  margin-right: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.page-home .home-route-action {
  flex-shrink: 0;
  width: 44px;
  border: none;
  border-left: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 0.78rem;
}

.page-home .home-route-action:hover {
  background: var(--mockup-sky);
  color: var(--mockup-navy);
}

.page-home .home-route-action--swap:hover {
  color: var(--mockup-navy-light);
}

.page-home .home-route-action--clear:hover {
  color: var(--mockup-red);
}

/* Per-leg remove button (leg 2+ only — JS only renders it on added legs). */
.page-home .home-leg-remove {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--mockup-red);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.page-home .home-leg-remove:hover {
  background: var(--mockup-red);
  color: #fff;
  transform: scale(1.08);
}

/* Round-trip mode: leg 2's From/To are auto-managed (reverse of leg 1).
   Visually lock them so the user knows they aren't editable — only the
   date field on leg 2 is interactive. */
.page-home .home-itinerary-leg.is-locked-route .home-route-input-composite {
  background: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.85;
}

.page-home .home-itinerary-leg.is-locked-route .home-route-input,
.page-home .home-itinerary-leg.is-locked-route .home-route-action {
  pointer-events: none;
}

.page-home .home-itinerary-leg.is-locked-route .home-route-action {
  opacity: 0.4;
}

/* When the route is locked, the date field stays fully interactive. */
.page-home .home-itinerary-leg.is-locked-route .home-leg-date-composite {
  opacity: 1;
  pointer-events: auto;
  background: #fff;
  border-color: #e2e8f0;
  cursor: pointer;
}

/* Multi-route: leg 2+ origin is chained from the previous leg — read-only. */
.page-home .home-itinerary-leg.is-locked-origin > .home-leg-fields-stack > .home-route-field:first-child .home-route-input-composite {
  background: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.85;
}

.page-home .home-itinerary-leg.is-locked-origin > .home-leg-fields-stack > .home-route-field:first-child .home-route-input,
.page-home .home-itinerary-leg.is-locked-origin > .home-leg-fields-stack > .home-route-field:first-child .home-route-action {
  pointer-events: none;
}

.page-home .home-itinerary-leg.is-locked-origin > .home-leg-fields-stack > .home-route-field:first-child .home-route-action {
  display: none;
}

.page-home .home-field-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #8a9bb0;
  margin-bottom: 0.28rem;
}

.page-home .home-field-icon {
  color: var(--mockup-muted);
  margin-right: 0.45rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.page-home .home-booking-sidebar .home-booking-col-label {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.page-home .home-sidebar-input--stacked {
  display: flex;
  align-items: center;
  padding: 0.72rem 0.65rem 0.48rem;
  min-height: 54px;
  position: relative;
  width: 100%;
}

.page-home .home-booking-sidebar .home-sidebar-input--stacked .home-field-label-inline {
  position: absolute;
  top: -0.45rem;
  left: 0.52rem;
  background: #fff;
  padding: 0 0.32rem;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--mockup-navy);
  line-height: 1.15;
  z-index: 2;
}

.page-home .home-sidebar-field-inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.page-home .home-sidebar-value {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  min-width: 0;
  position: relative;
  overflow: visible;
}

.page-home .home-sidebar-value input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mockup-navy);
  outline: none;
  padding: 0;
  cursor: pointer;
}

.page-home .home-sidebar-value input::placeholder {
  color: #a8b6c8;
  font-weight: 500;
}

.page-home .home-sidebar-input--stacked .dropdown-caret {
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.page-home .home-sidebar-input--stacked.pax-bs-trigger {
  text-align: left;
  background: #fff;
}

.page-home .home-sidebar-input--stacked.pax-bs-trigger .home-sidebar-field-inner {
  pointer-events: none;
}

.page-home .home-sidebar-input--stacked .btn-clear-return {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.page-home .home-sidebar-field + .home-sidebar-field {
  margin-top: 0.75rem;
}

.page-home .home-trip-type-group + .home-sidebar-field {
  margin-top: 0.2rem;
}

.page-home .home-trip-type-group {
  display: flex;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.05rem;
  flex-wrap: wrap;
}

.page-home .home-trip-type-option {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mockup-navy);
  cursor: pointer;
  margin: 0;
}

.page-home .home-trip-type-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 2px solid #c5d0de;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.page-home .home-trip-type-option input[type="radio"]:checked {
  border-color: var(--mockup-red);
}

.page-home .home-trip-type-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mockup-red);
  transform: translate(-50%, -50%);
}

.page-home .home-booking-sidebar .bk-input.return-empty {
  border-style: solid;
  background: #fff;
}

.page-home .home-booking-sidebar .dropdown-caret {
  color: var(--mockup-muted);
  font-size: 0.72rem;
}


/* -- Multi-route + button polish -- */
.page-home .home-hero-wrap {
  background-attachment: scroll;
}

.page-home .btn-gold,
.page-home .btn-primary {
  border-radius: 8px;
}

.page-home .home-panel-link:hover,
.page-home .home-block .home-panel-link:hover {
  color: var(--mockup-red-hover);
}

.page-home .home-route-link:hover .home-route-origin,
.page-home .home-route-link:hover .home-route-dest {
  color: var(--mockup-navy-light);
}

/* -- Find-ticket tab (desktop) -- */
.page-home #formFindTicket {
  padding: 1.5rem;
}

.page-home .home-find-ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
}

.page-home .home-find-ticket-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.page-home .home-find-ticket-input-shell {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 8px;
  min-height: 48px;
  padding: 0 0.9rem 0 2.4rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-home .home-find-ticket-input-shell .home-field-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mockup-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.page-home .home-find-ticket-input-shell:focus-within {
  border-color: var(--mockup-navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

.page-home .home-find-ticket-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mockup-navy);
  outline: none;
  padding: 0.5rem 0;
}

.page-home .home-find-ticket-input::placeholder {
  color: var(--mockup-muted);
  font-weight: 500;
}

.page-home .home-find-ticket-submit-field {
  display: flex;
  align-items: flex-end;
}

.page-home .home-find-ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  min-height: 48px;
  padding: 0 1.5rem;
}

.page-home .home-find-ticket-hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--mockup-muted);
  line-height: 1.5;
}

.page-home .home-find-ticket-otp-lead {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--mockup-navy);
  line-height: 1.55;
}

.page-home .home-find-ticket-grid--otp {
  grid-template-columns: 1fr auto;
}

.page-home .home-find-ticket-otp-input {
  letter-spacing: 0.25em;
  font-variant-numeric: tabular-nums;
}

.page-home .home-find-ticket-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
}

.page-home .home-find-ticket-link-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mockup-navy);
  text-decoration: underline;
  cursor: pointer;
}

.page-home .home-find-ticket-link-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

.page-home .mob-find-ticket-otp-lead {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mockup-navy);
  line-height: 1.55;
}

.page-home .mob-find-ticket-otp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.page-home .mob-find-ticket-link-btn {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mockup-navy);
  text-decoration: underline;
  cursor: pointer;
}

.page-home .mob-find-ticket-link-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

.page-home .mob-find-ticket-otp-input {
  letter-spacing: 0.25em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .page-home .home-find-ticket-grid {
    grid-template-columns: 1fr;
  }
}

/* -- Find-ticket tab (mobile) -- */
.page-home #mobBkFindTicket {
  padding: 1rem 1.25rem 1.5rem;
}

.page-home .mob-find-ticket-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .mob-find-ticket-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-home .mob-find-ticket-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mockup-navy);
}

.page-home .mob-find-ticket-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  min-height: 50px;
  padding: 0 0.9rem 0 2.7rem;
}

.page-home .mob-find-ticket-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mockup-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.page-home .mob-find-ticket-input-wrap:focus-within {
  border-color: var(--mockup-navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

.page-home .mob-find-ticket-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mockup-navy);
  outline: none;
  padding: 0.5rem 0;
}

.page-home .mob-find-ticket-input::placeholder {
  color: var(--mockup-muted);
  font-weight: 500;
}

.page-home .mob-find-ticket-hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--mockup-muted);
  line-height: 1.5;
}

/* -- Vehicle row (mockup) -- */
.page-home .home-vehicle-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--mockup-navy);
  margin-bottom: 0.12rem;
  cursor: pointer;
  line-height: 1.35;
}

.page-home .home-vehicle-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 0.05rem;
  flex-shrink: 0;
  border: 2px solid var(--mockup-navy);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.page-home .home-vehicle-check input[type="checkbox"]:checked {
  background: var(--mockup-navy);
  border-color: var(--mockup-navy);
}

.page-home .home-vehicle-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.page-home .home-vehicle-fields {
  display: none;
  flex: 1;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: end;
}

.page-home .home-vehicle-fields.is-open {
  display: grid;
}

/* The home page vehicle-type custom-dropdown uses the same stacked trigger
   look as the other home sidebar fields (label above, value below). */
.page-home .home-vehicle-trigger {
  width: 100%;
}

/* EV checkbox reuses the .home-vehicle-check look (same box + checkmark
   as the "Bringing a vehicle?" toggle) but sits stacked under the
   vehicle-type dropdown instead of in the intro column. */
.page-home .home-vehicle-ev-check {
  margin: 0.65rem 0 0;
  white-space: nowrap;
}

.page-home .home-search-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 10px !important;
  background: var(--mockup-red) !important;
  border: none !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
  gap: 0.5rem;
}

.page-home .home-search-btn i {
  font-size: 0.88rem;
}

.page-home .home-search-btn:hover {
  background: var(--mockup-red-hover) !important;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.36);
}

.page-home .home-search-btn:disabled,
.page-home .home-search-btn:disabled:hover {
  background: #d1d9e3 !important;
  color: #8a9bb0 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1;
}

.page-home .booking-glass-panel .tab-pill.active {
  background: #fff !important;
  box-shadow: none !important;
  color: var(--mockup-navy) !important;
}

.page-home .booking-glass-panel .tab-pill:not(.active) {
  background: #f3f7fb !important;
  box-shadow: none !important;
}

.page-home .booking-glass-panel .bk-field.dropdown .pax-bs-trigger.bk-input,
.page-home .booking-glass-panel .bk-field.dropdown .pax-bs-trigger.home-sidebar-input {
  min-height: 54px;
  padding: 0.42rem 0.65rem 0.46rem;
  border-radius: 8px;
  border: 1px solid #dce4ee;
  border-color: #dce4ee;
  background: #fff;
  display: flex;
  align-items: center;
}

/* --- Home section width (align content-grid, why-bar, promo) --- */
.page-home .home-section-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.page-home .why-bar__card,
.page-home .summer-promo__card {
  width: 100%;
}

/* --- Content grid --- */
.page-home .home-content-grid {
  padding-top: 4.5rem;
  padding-bottom: 1.25rem;
  background: #fff;
}

.page-home .home-content-grid__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin: 0;
}

.page-home .home-content-grid__row > [class*='col-'] {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
  padding-top: 1rem;
  margin: 0;
}

@media (min-width: 992px) {
  .page-home .home-content-grid__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .home-content-grid .home-vehicle-card {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.page-home .home-content-grid .home-block-routes {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.page-home .home-content-grid .home-block-schedule {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
}

.page-home .home-content-grid .home-vehicle-card {
  height: 100%;
  max-height: 100%;
}

.page-home .home-content-grid .home-panel {
  border: 1px solid var(--mockup-border);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: 0 4px 18px rgba(0, 31, 63, 0.05);
  height: 100%;
  background: #fff;
}

/* Popular routes + schedule: no outer panel frame (mockup) */
.page-home .home-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: transparent;
}

.page-home .home-block-schedule {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.page-home .home-block-header {
  margin-bottom: 0.85rem;
}

.page-home .home-block .home-panel-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mockup-navy);
}

.page-home .home-block .home-panel-icon {
  color: var(--mockup-navy);
  margin-right: 0.35rem;
  font-size: 0.92rem;
}

.page-home .home-block .home-panel-link {
  color: var(--mockup-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.page-home .home-panel-vehicle {
  background: linear-gradient(180deg, #edf5ff 0%, #f6faff 100%);
  border-color: #cfe0f5;
}

.page-home .home-content-grid .home-panel-icon {
  color: var(--mockup-navy);
  margin-right: 0.35rem;
  font-size: 0.92rem;
}

.page-home .home-content-grid .home-panel-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mockup-navy);
}

.page-home .home-content-grid .home-panel-link {
  color: var(--mockup-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.page-home .home-panel-desc {
  color: var(--mockup-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.page-home .home-route-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.page-home .home-content-grid .home-block-routes .home-route-list {
  flex: 1 1 auto;
  min-height: 0;
}

.page-home .home-content-grid .home-block-routes .home-route-item {
  display: flex;
  flex: 1 1 0;
  min-height: 76px;
}

.page-home .home-content-grid .home-block-routes .home-route-link {
  flex: 1 1 auto;
  width: 100%;
}

.page-home .home-route-link {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-home .home-route-link:hover {
  border-color: #b8c6d8;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.05);
}

.page-home .home-route-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.85rem 0.7rem 0.75rem;
}

.page-home .home-route-thumb {
  width: 76px;
  min-height: 76px;
  align-self: stretch;
  border-radius: 0;
  background-color: var(--mockup-sky);
  background-size: cover;
  background-position: center;
  border: none;
  border-right: 1px solid #e4eaf1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.page-home .home-route-thumb i {
  color: var(--mockup-navy-light);
  font-size: 1.1rem;
}

.page-home .home-route-name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.page-home .home-route-origin,
.page-home .home-route-dest {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mockup-navy);
  line-height: 1.25;
}

.page-home .home-route-dest {
  font-weight: 600;
  font-size: 0.82rem;
}

.page-home .home-route-dest i {
  font-size: 0.68rem;
  margin-right: 0.15rem;
  color: var(--mockup-navy-light);
}

.page-home .home-route-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.1;
  flex-shrink: 0;
}

.page-home .home-route-price-from {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mockup-red);
  text-transform: lowercase;
}

.page-home .home-route-price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mockup-red);
  letter-spacing: -0.02em;
}

.page-home .home-schedule-table-head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  background: var(--mockup-navy);
  color: #fff;
  border-radius: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  flex-shrink: 0;
}

.page-home .home-schedule-table-head span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-schedule-table-wrap {
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.page-home .home-content-grid .home-block-schedule .home-schedule-table-wrap {
  flex: 0 0 auto;
}

.page-home .home-block-schedule .home-schedule-table-wrap > .schedule-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home .home-schedule-rows .home-schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.84rem;
  border-bottom: 1px solid #e4eaf1;
  background: #fff;
  min-height: 76px;
  align-items: center;
}

.page-home .home-schedule-rows .home-schedule-row--placeholder {
  pointer-events: none;
  visibility: hidden;
}

.page-home .home-schedule-rows .home-schedule-row:last-child {
  border-bottom: none;
}

.page-home .home-schedule-rows .home-schedule-row:nth-child(even) {
  background: #fff;
}

.page-home .home-schedule-rows .home-schedule-row:nth-child(odd) {
  background: #fff;
}

.page-home .home-schedule-route {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow: hidden;
}

.page-home .home-schedule-route-origin,
.page-home .home-schedule-route-dest {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--mockup-navy);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-schedule-route-dest {
  font-weight: 600;
  font-size: 0.82rem;
}

.page-home .home-schedule-route-dest i {
  font-size: 0.68rem;
  margin-right: 0.15rem;
  color: var(--mockup-navy-light);
}

.page-home .home-schedule-time {
  color: var(--mockup-navy);
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-schedule-duration {
  color: var(--mockup-navy);
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-schedule-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mockup-navy-light);
  background: #fff;
  border-top: 1px solid #e4eaf1;
  flex-shrink: 0;
}

.page-home .home-schedule-table-wrap .schedule-feedback {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.page-home .home-schedule-footnote i {
  font-size: 0.82rem;
}

.page-home .home-vehicle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f1fb 0%, #f4f8fd 52%, #ffffff 100%);
  border: 1px solid #cfe0f5;
  box-shadow: 0 4px 18px rgba(0, 31, 63, 0.05);
}

.page-home .home-vehicle-card__hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 0.95rem 0.65rem;
  overflow: hidden;
}

.page-home .home-vehicle-card__copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
  min-width: 0;
}

.page-home .home-vehicle-card__title {
  margin: 0 0 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.page-home .home-vehicle-card__title-line {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mockup-navy);
  line-height: 1.15;
}

.page-home .home-vehicle-card__desc {
  color: var(--mockup-navy);
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
}

.page-home .home-vehicle-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-vehicle-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(232, 241, 251, 0.97) 0%,
    rgba(232, 241, 251, 0.9) 28%,
    rgba(244, 248, 253, 0.55) 48%,
    rgba(255, 255, 255, 0.12) 68%,
    transparent 88%
  );
  pointer-events: none;
}

.page-home .home-vehicle-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  border-radius: 0;
}

.page-home .home-vehicle-card__types {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0 0.85rem 0.85rem;
  flex-shrink: 0;
}

.page-home .home-vehicle-type-btn {
  border: 1px solid #fff;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.06);
  color: var(--mockup-navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 0;
}

.page-home .home-vehicle-type-btn i {
  color: var(--mockup-navy);
  font-size: 1rem;
}

.page-home .home-vehicle-type-btn:hover {
  border-color: #dbe7f5;
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.08);
}

.page-home .home-vehicle-card__learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mockup-red);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-vehicle-card__text--mobile,
.page-home .why-bar__mobile-title,
.page-home .why-bar__text--mobile,
.page-home .why-bar__icon--mobile {
  display: none;
}

/* --- Why Choose features bar --- */
.page-home .why-bar {
  background: #fff;
  padding: 0.75rem 0;
}

.page-home .why-bar__card {
  border: 1px solid #e0e4ea;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 31, 63, 0.04);
}

.page-home .why-bar__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.page-home .why-bar__cell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.05rem;
  min-height: 100%;
}

.page-home .why-bar__cell:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 58%;
  background: #e0e4ea;
  pointer-events: none;
}

.page-home .why-bar__cell:last-child::after {
  content: none;
}

.page-home .why-bar__intro {
  padding-left: 1.25rem;
  padding-right: 1.1rem;
}

.page-home .why-bar__intro-icon-wrap {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.35rem;
  color: var(--mockup-navy);
}

.page-home .why-bar__intro-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 1.55rem;
  line-height: 1;
  opacity: 0.9;
}

.page-home .why-bar__intro-ship {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-3px);
}

.page-home .why-bar__intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.page-home .why-bar__intro-lead {
  font-size: 0.72rem;
  font-weight: 500;
  color: #0a2558;
  line-height: 1.2;
}

.page-home .why-bar__intro-brand {
  font-size: 0.92rem;
  font-weight: 800;
  color: #001b44;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .why-bar__icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #f0f4f8;
  color: #001b44;
  font-size: 1.02rem;
}

.page-home .why-bar__copy {
  min-width: 0;
}

.page-home .why-bar__title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: #001b44;
  line-height: 1.25;
  margin-bottom: 0.18rem;
}

.page-home .why-bar__desc {
  font-size: 0.66rem;
  font-weight: 400;
  color: #1a3a5c;
  line-height: 1.35;
}

/* --- Summer promo banner --- */
.page-home .summer-promo {
  background: #fff;
  padding: 0.75rem 0 2.75rem;
}

.page-home .summer-promo__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 1.5rem 2rem;
  background: var(--mockup-red);
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  color: #fff;
  box-shadow: 0 16px 36px rgba(200, 16, 46, 0.2);
}

.page-home .summer-promo__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home .summer-promo__desc {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.5;
  opacity: 0.95;
  max-width: 22rem;
}

.page-home .summer-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border-radius: 8px;
  background: #fff;
  color: var(--mockup-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .summer-promo__cta:hover {
  color: var(--mockup-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-home .summer-promo__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}

.page-home .summer-promo__photo {
  width: min(220px, 100%);
  height: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
}

.page-home .summer-promo__badge {
  position: absolute;
  left: calc(50% - 118px);
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  transform: translateY(-50%);
  background: var(--mockup-navy);
  color: #fff;
  text-align: center;
  clip-path: polygon(
    50% 0%,
    58% 7%,
    68% 4%,
    72% 14%,
    82% 12%,
    84% 22%,
    94% 26%,
    90% 36%,
    98% 44%,
    90% 52%,
    94% 62%,
    84% 66%,
    82% 76%,
    72% 74%,
    68% 84%,
    58% 80%,
    50% 88%,
    42% 80%,
    32% 84%,
    28% 74%,
    18% 76%,
    16% 66%,
    6% 62%,
    10% 52%,
    2% 44%,
    10% 36%,
    6% 26%,
    16% 22%,
    18% 12%,
    28% 14%,
    32% 4%,
    42% 8%
  );
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.page-home .summer-promo__badge-top,
.page-home .summer-promo__badge-bottom {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.page-home .summer-promo__badge-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.1rem 0;
}

.page-home .summer-promo__details li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-size: 0.88rem;
  border-bottom: none;
}

.page-home .summer-promo__details li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  margin-inline: auto;
  width: 100%;
  max-width: calc(100% - 0.5rem);
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.page-home .summer-promo__details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .summer-promo__details li:first-child {
  padding-top: 0;
}

.page-home .summer-promo__details i {
  width: 1.15rem;
  text-align: center;
  font-size: 1rem;
  opacity: 0.95;
}

@media (max-width: 1199.98px) {
  .page-home .why-bar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .why-bar__cell:not(:last-child)::after {
    top: 50%;
    right: 0;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    width: 1px;
    height: 58%;
  }

  .page-home .why-bar__cell:nth-child(3n)::after {
    content: none;
  }

  .page-home .why-bar__cell:nth-child(-n + 3)::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 58%;
    height: 1px;
    background: #e0e4ea;
    pointer-events: none;
  }

  .page-home .summer-promo__card {
    grid-template-columns: 1fr 1fr;
    padding: 2rem 1.75rem;
  }

  .page-home .summer-promo__content {
    grid-column: 1 / -1;
  }

  .page-home .summer-promo__details {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .page-home .why-bar {
    padding: 0.5rem 0;
  }

  .page-home .why-bar__grid {
    grid-template-columns: 1fr;
  }

  .page-home .why-bar__cell {
    padding: 1rem 1.15rem;
  }

  .page-home .why-bar__cell:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2.3rem);
    height: 1px;
  }

  .page-home .why-bar__cell::before {
    content: none;
  }

  .page-home .why-bar__cell:last-child::after {
    content: none;
  }
}


/* --- Responsive --- */
@media (max-width: 991.98px) {
  .page-home .hero {
    min-height: auto;
    padding: 6rem 0 1.25rem;
  }

  .page-home .booking-section {
    padding-bottom: 2.5rem;
  }

  .page-home .booking-glass-panel {
    max-width: 100%;
  }

  .page-home .home-booking-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-booking-sidebar,
  .page-home .home-booking-main,
  .page-home .home-booking-vehicle,
  .page-home .home-booking-search {
    grid-column: 1;
    grid-row: auto;
  }

  .page-home .home-booking-sidebar {
    border-left: none;
    padding: 1rem 0 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid #e8eef5;
  }

  .page-home .home-itinerary-leg {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 0.65rem;
    padding-bottom: 0;
  }

  .page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:last-child) {
    padding-bottom: 0.85rem;
  }

  .page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:last-child) .home-leg-rail {
    margin-bottom: -0.85rem;
    padding-bottom: 0.85rem;
  }

  .page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail {
    margin-top: -0.85rem;
    padding-top: 0.85rem;
  }

  .page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail::after {
    top: calc(0.85rem + 12px);
  }

  .page-home .home-itinerary-legs.has-multiple-legs .home-itinerary-leg:not(:first-child) .home-leg-rail::before {
    top: 0;
    height: calc(0.85rem + 12px);
  }

  .page-home .home-leg-rail {
    width: 24px;
  }

  .page-home .home-add-destination {
    width: calc(100% - 24px - 0.65rem);
    margin-left: calc(24px + 0.65rem);
  }

  .page-home .home-leg-fields-stack {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .page-home .home-vehicle-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .page-home .home-vehicle-intro {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .page-home .home-vehicle-fields.is-open {
    grid-template-columns: 1fr;
  }

  .page-home .home-content-grid {
    padding-top: 3rem;
  }
}


@media (max-width: 768px) {
  .page-home .booking-header {
    display: none !important;
  }

  .page-home .booking-form {
    position: absolute !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .page-home .hero-title {
    font-size: 1.75rem;
  }


  .page-home .home-schedule-table-head,
  .page-home .home-schedule-rows .home-schedule-row {
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
    font-size: 0.72rem;
  }

  .page-home .home-vehicle-card__hero {
    padding: 1.15rem 1rem 0.75rem;
    min-height: 210px;
  }

  .page-home .home-vehicle-card__copy {
    max-width: 100%;
  }

  .page-home .home-vehicle-card__media::after {
    background: linear-gradient(
      to bottom,
      rgba(232, 241, 251, 0.97) 0%,
      rgba(232, 241, 251, 0.82) 42%,
      rgba(244, 248, 253, 0.35) 68%,
      transparent 100%
    );
  }

  .page-home .home-vehicle-card__photo {
    object-position: center center;
  }

  .page-home .home-vehicle-card__types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* --- Home timetable widget (mobile cards + feedback) --- */
.page-home .schedule-feedback {
  background: #fff;
  border: 1px solid var(--mockup-border);
  border-radius: 10px;
  color: var(--mockup-muted);
  font-size: 0.86rem;
}

.page-home .schedule-feedback-error {
  color: var(--mockup-red);
}

.page-home .mobile-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.page-home .msc-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--mockup-border);
  box-shadow: 0 2px 10px rgba(0, 31, 63, 0.06);
  overflow: hidden;
}

.page-home .msc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.65rem;
  border-bottom: 1px solid var(--mockup-border);
}

.page-home .msc-vessel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.page-home .msc-icon {
  width: 38px;
  height: 38px;
  background: var(--mockup-sky);
  color: var(--mockup-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.page-home .msc-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mockup-navy);
  line-height: 1.2;
}

.page-home .msc-type {
  font-size: 0.7rem;
  color: var(--mockup-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-home .msc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: hsl(var(--success) / 0.12);
  color: hsl(var(--success));
}

.page-home .msc-route {
  display: flex;
  align-items: center;
  padding: 0.95rem 1rem;
  gap: 0.35rem;
}

.page-home .msc-port {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.page-home .msc-port-right {
  text-align: right;
  align-items: flex-end;
}

.page-home .msc-time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mockup-navy);
  line-height: 1;
}

.page-home .msc-port-name {
  font-size: 0.72rem;
  color: var(--mockup-muted);
  margin-top: 2px;
}

.page-home .msc-line-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.page-home .msc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.page-home .msc-dashes {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #cbd5e1 0,
    #cbd5e1 8px,
    transparent 8px,
    transparent 14px
  );
}

.page-home .msc-ship {
  color: var(--mockup-navy-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.page-home .msc-dur {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--mockup-muted);
  white-space: nowrap;
}

.page-home .msc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--mockup-border);
}

.page-home .msc-price span {
  display: block;
  font-size: 0.72rem;
  color: var(--mockup-muted);
}

.page-home .msc-price strong {
  font-size: 1.1rem;
  color: var(--mockup-red);
  font-weight: 800;
}

.page-home .msc-btn {
  border: none;
  background: var(--mockup-navy);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.page-home .msc-btn:hover {
  background: var(--mockup-red);
  color: #fff;
}

/* --- Mobile home layout (mockup) --- */
@media (max-width: 767.98px) {
  .page-home .home-page-sections {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
  }

  .page-home .home-hero-wrap {
    background-position: center center;
    background-size: cover;
    min-height: 0;
  }

  .page-home .hero {
    padding: 5.25rem 0 0.5rem;
    min-height: 220px;
    align-items: flex-end;
  }

  .page-home .hero-container {
    padding-inline: 1rem;
  }

  .page-home .hero-content {
    max-width: none;
    padding-bottom: 0.35rem;
  }

  .page-home .hero-tagline {
    display: none;
  }

  .page-home .hero-title {
    font-size: 1.55rem;
    line-height: 1.12;
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
  }

  .page-home .hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.5;
    max-width: 18rem;
    font-weight: 500;
  }

  .page-home .booking-section {
    padding: 0 0.85rem 1.25rem;
    margin-top: -0.35rem;
  }

  .page-home .booking-glass-panel {
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 31, 63, 0.16);
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: none;
  }

  .page-home .mob-bk-panel {
    background: transparent;
  }

  .page-home .mob-bk-card {
    background: #fff;
  }

  .page-home .mob-bk-meta.is-round .mob-bk-meta__cell:first-child,
  .page-home .mob-bk-meta.is-round .mob-bk-meta__cell:nth-child(3) {
    padding-left: 1rem;
  }

  .page-home .mob-bk-meta.is-round .mob-bk-meta__cell:nth-child(2),
  .page-home .mob-bk-meta.is-round .mob-bk-meta__cell:last-child {
    padding-right: 1rem;
  }

  .page-home .mob-bk-meta.is-multi .mob-pax-cell {
    padding-left: 1rem;
  }

  .page-home .mob-bk-meta.is-multi .mob-vehicle-cell {
    padding-right: 1rem;
  }

  .page-home .mob-bk-meta__cell {
    padding-inline: 0.55rem;
  }

  .page-home .mob-bk-meta__cell:first-child {
    padding-left: 1rem;
  }

  .page-home .mob-bk-meta__cell:last-child {
    padding-right: 1rem;
  }

  .page-home .mob-bk-tab {
    font-size: 0.8125rem;
  }

  .page-home .mob-bk-card button {
    box-shadow: none;
  }

  .page-home .home-content-grid {
    order: 2;
    padding-bottom: 0.5rem;
  }

  .page-home .home-content-grid,
  .page-home .home-content-grid .home-section-container,
  .page-home .home-content-grid__row {
    display: contents;
  }

  .page-home .home-content-grid__routes {
    order: 2;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: visible;
  }

  .page-home .home-content-grid__routes,
  .page-home .home-content-grid__schedule {
    padding-left: 0;
    padding-right: 0;
  }

  .page-home .home-content-grid__schedule {
    order: 3;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-home .home-content-grid .home-block-schedule {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 1rem;
    margin-top: 0.85rem;
  }

  .page-home .home-block-schedule .home-block-header {
    padding-inline: 0;
    margin-bottom: 0.65rem;
  }

  .page-home .home-block-schedule .home-schedule-table-wrap {
    border-radius: 10px;
  }

  .page-home .home-schedule-table-head,
  .page-home .home-schedule-rows .home-schedule-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.82fr) minmax(0, 0.82fr) minmax(0, 0.72fr);
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
  }

  .page-home .home-schedule-table-head {
    font-size: 0.64rem;
    padding: 0.55rem 0.65rem;
  }

  .page-home .home-schedule-rows .home-schedule-row {
    min-height: 58px;
    font-size: 0.72rem;
  }

  .page-home .home-schedule-route-origin,
  .page-home .home-schedule-route-dest {
    font-size: 0.72rem;
  }

  .page-home .home-schedule-route-dest {
    font-size: 0.68rem;
  }

  .page-home .home-schedule-footnote {
    font-size: 0.68rem;
    padding: 0.55rem 0.65rem;
  }

  .page-home .home-content-grid__vehicle {
    order: 6;
    display: block;
    margin-top: 0.5rem;
    padding-inline: 1rem;
  }

  .page-home .why-bar {
    order: 5;
    padding: 0.75rem 0 1rem;
  }

  .page-home .summer-promo {
    order: 4;
    padding: 0.5rem 0 0.25rem;
  }

  .page-home .summer-promo .home-section-container {
    padding-inline: 1rem;
  }

  /* Promo banner: compact horizontal strip */
  .page-home .summer-promo__card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.88fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    max-height: 150px;
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    text-align: left;
    background: var(--mockup-red);
    border: none;
    box-shadow: 0 8px 22px rgba(200, 16, 46, 0.2);
  }

  .page-home .summer-promo__content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0.65rem 0.8rem 0.85rem;
    color: #fff;
    position: relative;
    z-index: 2;
  }

  .page-home .summer-promo__title {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: 0;
  }

  .page-home .summer-promo__desc {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.68rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    max-width: none;
  }

  .page-home .summer-promo__cta {
    background: #fff;
    color: var(--mockup-red);
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.64rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    line-height: 1.2;
    max-width: 100%;
  }

  .page-home .summer-promo__cta:hover {
    background: #fff;
    color: var(--mockup-red-hover);
    transform: none;
    box-shadow: none;
  }

  .page-home .summer-promo__visual {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: 0;
    height: auto;
    align-self: stretch;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .summer-promo__photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
    object-fit: cover;
    object-position: center;
  }

  .page-home .summer-promo__badge {
    display: none;
  }

  .page-home .summer-promo__details {
    display: none;
  }
  .page-home .home-content-grid .home-block-routes {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-inline: 1rem;
  }

  .page-home .home-block-routes .home-block-header {
    padding-inline: 0;
    margin-bottom: 0.85rem;
  }

  .page-home .home-block-routes .home-panel-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .page-home .home-block-routes .home-panel-link {
    font-size: 0.76rem;
  }

  .page-home .home-content-grid .home-block-routes .home-route-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 0.35rem;
    margin: 0;
    scrollbar-width: none;
  }

  .page-home .home-content-grid .home-block-routes .home-route-list::-webkit-scrollbar {
    display: none;
  }

  .page-home .home-content-grid .home-block-routes .home-route-item {
    display: flex;
    flex: 0 0 calc((100% - 0.65rem) / 2);
    width: calc((100% - 0.65rem) / 2);
    min-width: calc((100% - 0.65rem) / 2);
    min-height: 0;
    scroll-snap-align: start;
  }

  .page-home .home-content-grid .home-block-routes .home-route-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 100%;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
  }

  .page-home .home-block-routes .home-route-link:hover {
    box-shadow: none;
  }

  .page-home .home-block-routes .home-route-thumb {
    width: 100%;
    min-height: 96px;
    height: auto;
    aspect-ratio: 16 / 10;
    border: none;
    border-radius: 0;
    background-color: var(--mockup-sky);
  }

  .page-home .home-block-routes .home-route-body {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .page-home .home-block-routes .home-route-name {
    gap: 0.2rem;
  }

  .page-home .home-block-routes .home-route-origin,
  .page-home .home-block-routes .home-route-dest {
    font-size: 0.76rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .page-home .home-block-routes .home-route-dest {
    font-size: 0.74rem;
  }

  .page-home .home-block-routes .home-route-price {
    align-items: flex-start;
    text-align: left;
    margin-top: 0.15rem;
  }

  .page-home .home-block-routes .home-route-price-from {
    font-size: 0.68rem;
    color: var(--mockup-red);
  }

  .page-home .home-block-routes .home-route-price-amount {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  /* Why travel: 2 columns per row (2x2) */
  .page-home .why-bar {
    padding: 1.25rem 0 1rem;
  }

  .page-home .why-bar .home-section-container {
    padding-inline: 1rem;
  }

  .page-home .why-bar__mobile-title {
    display: block;
    margin: 0 0 1.15rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mockup-navy);
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  .page-home .why-bar__card {
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
  }

  .page-home .why-bar__intro {
    display: none;
  }

  .page-home .why-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
  }

  .page-home .why-bar__cell--hide-mobile {
    display: none !important;
  }

  .page-home .why-bar__cell {
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    padding: 0.85rem 0.65rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-home .why-bar__cell::after,
  .page-home .why-bar__cell::before {
    content: none !important;
  }

  .page-home .why-bar__icon-wrap {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    font-size: 1.4rem;
    color: var(--mockup-navy);
  }

  .page-home .why-bar__icon--desktop {
    display: none;
  }

  .page-home .why-bar__icon--mobile {
    display: inline-block;
  }

  .page-home .why-bar__copy {
    width: 100%;
  }

  .page-home .why-bar__title {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--mockup-navy);
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .page-home .why-bar__desc {
    font-size: 0.68rem;
    line-height: 1.45;
    color: var(--mockup-muted);
    font-weight: 500;
  }

  .page-home .why-bar__text--desktop {
    display: none;
  }

  .page-home .why-bar__text--mobile {
    display: block;
  }

  /* Bring your car */
  .page-home .home-vehicle-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    overflow: visible;
  }

  .page-home .home-vehicle-card__text--desktop {
    display: none;
  }

  .page-home .home-vehicle-card__text--mobile {
    display: block;
  }

  .page-home .home-vehicle-card__hero {
    display: block;
    position: relative;
    min-height: 148px;
    padding: 1.15rem 0 1.15rem 1.15rem;
    overflow: visible;
    border-radius: 0;
  }

  .page-home .home-vehicle-card__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 38%;
    border-radius: 0;
    min-height: 100%;
    overflow: hidden;
  }

  .page-home .home-vehicle-card__media::after {
    display: block;
    background: linear-gradient(
      to right,
      #ffffff 0%,
      rgba(255, 255, 255, 0.96) 22%,
      rgba(255, 255, 255, 0.55) 42%,
      rgba(255, 255, 255, 0) 62%
    );
  }

  .page-home .home-vehicle-card__copy {
    position: relative;
    z-index: 2;
    max-width: 56%;
    order: 0;
  }

  .page-home .home-vehicle-card__title {
    margin-bottom: 0.5rem;
  }

  .page-home .home-vehicle-card__title-line {
    font-size: 1.05rem;
    font-weight: 800;
  }

  .page-home .home-vehicle-card__desc {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.65rem !important;
    color: var(--mockup-navy);
  }

  .page-home .home-vehicle-card__types {
    display: none;
  }

  .page-home .home-vehicle-card__photo {
    min-height: 148px;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    border-radius: 0;
  }
}

