/* ==========================================================================
   OnePayCab — Core layout, typography, header, hero, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.container-fluid {
  width: 100%;
  padding-inline: var(--header-fluid-pad);
}

.container-narrow {
  max-width: 900px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(var(--gutter, 24px) / -2);
}

.row > [class^="col-"],
.row > [class*=" col-"] {
  padding-inline: calc(var(--gutter, 24px) / 2);
  width: 100%;
}

/* Columns stretch to the tallest item on their line, so cards in a grid
   always share a baseline. Columns that opt into their own flex layout
   (.d-flex) are left alone. */
.row > [class^="col-"]:not(.d-flex),
.row > [class*=" col-"]:not(.d-flex) {
  display: flex;
  flex-direction: column;
}

/* A column is a flex container, so a bare image inside one would be
   stretched to the full column width and distorted. Images keep their own
   intrinsic size unless something else sizes them. */
.row > [class^="col-"] > img,
.row > [class*=" col-"] > img,
.row > [class^="col-"] > a > img,
.row > [class*=" col-"] > a > img {
  align-self: flex-start;
}

.gutter-16 { --gutter: 16px; }
.gutter-24 { --gutter: 24px; }
.gutter-32 { --gutter: 32px; }
.gutter-40 { --gutter: 40px; }

.col-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
.col-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
.col-3  { flex: 0 0 25%;      max-width: 25%; }
.col-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-6  { flex: 0 0 50%;      max-width: 50%; }
.col-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-9  { flex: 0 0 75%;      max-width: 75%; }
.col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.col-12 { flex: 0 0 100%;     max-width: 100%; }

.align-center   { align-items: center; }
.align-end      { align-items: flex-end; }
.align-start    { align-items: flex-start; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end    { justify-content: flex-end; }

.d-flex   { display: flex; }
.d-block  { display: block; }
.d-none   { display: none !important; }
.d-inline-block { display: inline-block; }
.flex-wrap{ flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-1   { flex: 1 1 0%; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.overflow-hidden   { overflow: hidden; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.z-1   { position: relative; z-index: 1; }

.section {
  padding-block: var(--section-pad);
}
.section-sm  { padding-block: calc(var(--section-pad) * 0.62); }
.section-top { padding-top: var(--section-pad); }
.section-bottom { padding-bottom: var(--section-pad); }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

.bg-100  { background-color: var(--bg-100); }
.bg-body { background-color: var(--bg-body); }
.bg-dark { background-color: var(--bg-1000); }
.bg-deep { background-color: var(--brand-deep); }
.bg-tint { background-color: var(--brand-tint); }
.bg-white{ background-color: #fff; }

/* Spacing helpers (multiples used across the reference rhythm) */
.mt-0{margin-top:0}    .mt-8{margin-top:8px}    .mt-12{margin-top:12px}
.mt-16{margin-top:16px}.mt-20{margin-top:20px}  .mt-24{margin-top:24px}
.mt-30{margin-top:30px}.mt-40{margin-top:40px}  .mt-50{margin-top:50px}
.mt-64{margin-top:64px}
.mb-0{margin-bottom:0}  .mb-4{margin-bottom:4px} .mb-8{margin-bottom:8px}
.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-20{margin-bottom:20px}
.mb-24{margin-bottom:24px}.mb-30{margin-bottom:30px}.mb-35{margin-bottom:35px}
.mb-40{margin-bottom:40px}.mb-50{margin-bottom:50px}
.ms-auto{margin-left:auto} .me-auto{margin-right:auto}
.mx-auto{margin-inline:auto}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6,
.heading-1, .heading-2, .heading-3,
.heading-4, .heading-5, .heading-6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--neutral-1000);
  letter-spacing: -0.01em;
}

h1, .heading-1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2, .heading-2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3, .heading-3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4, .heading-4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5, .heading-5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
h6, .heading-6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }

p { font-family: var(--font-body); font-weight: 500; }

.text-xs, .text-xs-medium, .text-xs-bold { font-size: var(--fs-xs); line-height: var(--lh-xs); }
.text-sm, .text-sm-medium, .text-sm-bold { font-size: var(--fs-sm); line-height: var(--lh-sm); }
.text-md, .text-md-medium, .text-md-bold { font-size: var(--fs-md); line-height: var(--lh-md); }
.text-lg, .text-lg-medium, .text-lg-bold { font-size: var(--fs-lg); line-height: var(--lh-lg); }
.text-xl, .text-xl-medium, .text-xl-bold { font-size: var(--fs-xl); line-height: var(--lh-xl); }

.text-xs-medium, .text-sm-medium, .text-md-medium,
.text-lg-medium, .text-xl-medium { font-weight: 500; }

.text-xs-bold, .text-sm-bold, .text-md-bold,
.text-lg-bold, .text-xl-bold { font-weight: 700; }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.neutral-0    { color: var(--neutral-0); }
.neutral-400  { color: var(--neutral-400); }
.neutral-500  { color: var(--neutral-500); }
.neutral-700  { color: var(--neutral-700); }
.neutral-900  { color: var(--neutral-900); }
.neutral-1000 { color: var(--neutral-1000); }
.color-white  { color: #fff; }
.color-brand  { color: var(--brand); }
.color-brand-deep { color: var(--brand-deep); }
.color-danger { color: var(--danger); }
.color-success{ color: var(--success); }

.text-center { text-align: center; }
.text-end    { text-align: right; }
.text-start  { text-align: left; }
.d-grid { display: grid; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

a.link-underline { text-decoration: underline; text-underline-offset: 3px; }
a:hover.link-brand,
.link-brand:hover { color: var(--link-hover); }

/* Section intro: small eyebrow above a large heading — the reference rhythm */
.section-head { margin-bottom: 40px; }
.section-head .eyebrow {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
  font-weight: 500;
  color: var(--neutral-500);
  margin-bottom: 6px;
}
.section-head h2,
.section-head h3 { margin-bottom: 8px; }
.section-head .section-sub {
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: 700;
  color: var(--neutral-500);
}
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }

.eyebrow-pill {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 700;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */

.header {
  width: 100%;
  position: relative;
  z-index: var(--z-header);
  border-bottom: 1px solid var(--neutral-200);
  background: var(--neutral-0);
  transition: background-color var(--t-base) ease, box-shadow var(--t-base) ease;
}

.header .top-bar {
  background-color: var(--brand-deep);
  color: #fff;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
}

.header .top-bar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}

.top-bar-info { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.top-bar-info a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.top-bar-info a:hover { color: var(--brand); }
.top-bar-info svg { flex: none; }

.top-bar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}
.top-bar-note strong { color: var(--brand); font-weight: 700; }

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.header-logo { display: flex; align-items: center; min-width: 170px; flex: none; }
.header-logo a { display: flex; align-items: center; }
.header-logo img { height: 34px; width: auto; max-width: none; flex: none; }
.header-logo .logo-light { display: none; }

.header-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.main-menu { display: flex; align-items: center; list-style: none; }
.main-menu > li { position: relative; padding-inline: 7px; }
.main-menu > li > a {
  display: block;
  padding: 24px 16px;
  font-size: var(--fs-md);
  line-height: 22px;
  font-weight: 500;
  color: var(--neutral-1000);
  position: relative;
  white-space: nowrap;
}
.main-menu > li.has-children > a { padding-right: 28px; }
.main-menu > li.has-children > a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform var(--t-fast) ease;
}
.main-menu > li:hover > a::after { transform: rotate(225deg); margin-top: -2px; }
.main-menu > li > a:hover,
.main-menu > li.active > a { color: var(--link-hover); }
.main-menu > li.active > a { font-weight: 700; }

.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 226px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  border-radius: var(--radius-8);
  background: var(--neutral-0);
  box-shadow: var(--shadow-menu);
  border: 1px solid var(--neutral-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-fast) ease;
  z-index: 20;
}
.main-menu > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu .sub-menu li { padding-inline: 10px; }
.main-menu .sub-menu a {
  display: block;
  padding: 8px 15px;
  border-radius: var(--radius-8);
  color: var(--neutral-900);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  transition: all var(--t-base) ease;
}
.main-menu .sub-menu a:hover {
  color: var(--link-hover);
  padding-left: 20px;
  background: var(--neutral-100);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 170px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.burger-icon {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-8);
  position: relative;
  cursor: pointer;
  background: transparent;
  flex: none;
}
.burger-icon span {
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--neutral-1000);
  transition: all var(--t-base) var(--ease-inout);
}
.burger-icon span:nth-child(1) { top: 10px; }
.burger-icon span:nth-child(2) { top: 16px; }
.burger-icon span:nth-child(3) { top: 22px; }

/* --- Transparent variant used over the dark hero ------------------------- */
.header--transparent {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.header--transparent .top-bar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.header--transparent .main-menu > li > a,
.header--transparent .header-logo + * { color: #fff; }
.header--transparent .main-menu > li > a { color: #fff; }
.header--transparent .main-menu > li > a:hover,
.header--transparent .main-menu > li.active > a { color: var(--brand); }
.header--transparent .header-logo .logo-dark { display: none; }
.header--transparent .header-logo .logo-light { display: block; }
.header--transparent .burger-icon span { background: #fff; }
.header--transparent .btn-ghost { color: #fff; }

/* --- Sticky state --------------------------------------------------------- */
.header.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-header);
  animation: headerDrop 0.45s var(--ease-out) both;
}
.header.is-stuck .top-bar { display: none; }
.header--transparent.is-stuck {
  background: rgba(4, 53, 29, 0.78);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 0;
}
.header:not(.header--transparent).is-stuck { background: var(--neutral-0); }

@keyframes headerDrop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Spacer keeps content from jumping when the header becomes fixed */
.header-spacer { display: none; }
.header-spacer.is-active { display: block; }

/* The header becomes fixed on scroll, so anchor targets need to stop clear
   of it instead of landing underneath. */
[id] { scroll-margin-top: 96px; }

/* --------------------------------------------------------------------------
   4. Mobile drawer
   -------------------------------------------------------------------------- */

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 100%;
  max-width: 385px;
  background: var(--neutral-0);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.12);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: all 0.32s var(--ease-inout);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; opacity: 1; }

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--neutral-200);
}
.mobile-drawer-head img { height: 28px; width: auto; }

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: grid;
  place-items: center;
  color: var(--neutral-1000);
  transition: background var(--t-fast) ease;
}
.drawer-close:hover { background: var(--brand); }

.mobile-drawer-body { flex: 1 1 auto; overflow-y: auto; padding: 18px 24px 24px; }

.mobile-menu { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--neutral-100); position: relative; }
.mobile-menu > li > a,
.mobile-menu .sub-menu a {
  display: block;
  padding: 13px 40px 13px 0;
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  font-weight: 600;
  color: var(--neutral-1000);
}
.mobile-menu .sub-menu {
  list-style: none;
  display: none;
  padding-left: 14px;
  padding-bottom: 8px;
}
.mobile-menu li.is-open > .sub-menu { display: block; animation: fadeInUp 0.3s var(--ease-out) both; }
.mobile-menu .sub-menu li { border-bottom: 0; }
.mobile-menu .sub-menu a { padding: 9px 0; font-weight: 500; color: var(--neutral-600); font-size: var(--fs-sm); }
.mobile-menu .sub-menu a:hover { color: var(--link-hover); }

.menu-expand {
  position: absolute;
  top: 8px;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-8);
  background: var(--neutral-100);
  display: grid;
  place-items: center;
  transition: all var(--t-fast) ease;
}
.menu-expand::before,
.menu-expand::after {
  content: "";
  position: absolute;
  background: var(--neutral-1000);
  transition: transform var(--t-fast) ease, opacity var(--t-fast) ease;
}
.menu-expand::before { width: 12px; height: 2px; }
.menu-expand::after  { width: 2px; height: 12px; }
.mobile-menu li.is-open > .menu-expand { background: var(--brand); }
.mobile-menu li.is-open > .menu-expand::after { transform: scaleY(0); opacity: 0; }

.mobile-drawer-foot { padding: 0 24px 26px; }
.mobile-drawer-foot .btn { width: 100%; justify-content: center; }
.mobile-contact { margin-top: 22px; display: grid; gap: 10px; }
.mobile-contact a { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--neutral-600); font-weight: 600; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) ease;
  z-index: var(--z-overlay);
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

body.drawer-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

/* The header sits in the document flow above the hero, so the hero only
   needs its own breathing room rather than clearance for a floating bar.
   A .header--transparent page needs the larger padding instead. */
.hero {
  position: relative;
  min-height: 760px;
  padding-top: 96px;
  padding-bottom: 150px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.header--transparent ~ * .hero,
.header--transparent + .header-spacer + main .hero {
  padding-top: 190px;
  min-height: 892px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(87, 204, 42, 0.22), transparent 70%),
    radial-gradient(1100px 700px at 12% 92%, rgba(10, 87, 48, 0.55), transparent 72%),
    linear-gradient(140deg, #04200f 0%, #04351d 45%, #021409 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-road.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.85;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  color: var(--brand);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.hero h1 { color: #fff; margin-bottom: 35px; max-width: 16ch; }
.hero h1 .accent { color: var(--brand); }

.list-ticks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0 8px;
}
.list-ticks li {
  margin-bottom: 18px;
  padding: 3px 25px 3px 36px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 700;
  color: #fff;
  background-image: url("../icons/tick-green.svg");
  background-repeat: no-repeat;
  background-position: left center;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

/* ---- Hero vehicle card ----------------------------------------------------
   The fleet photos are shot on white, so the car sits in its own light card
   against the dark hero rather than being cut out.
   -------------------------------------------------------------------------- */

.hero-vehicle {
  display: block;
  border-radius: var(--radius-16);
  background: var(--neutral-0);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.hero-vehicle:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5);
}

.hero-vehicle-media {
  display: block;
  background: #fff;
  overflow: hidden;
}
.hero-vehicle-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.hero-vehicle:hover .hero-vehicle-media img { transform: scale(1.04); }

.hero-vehicle-info { display: block; padding: 22px 26px 26px; }

.hero-vehicle-label {
  display: block;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-darken);
  margin-bottom: 8px;
}

.hero-vehicle-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.hero-vehicle-name { display: block; min-width: 0; }
.hero-vehicle-name strong {
  display: block;
  font-size: var(--fs-h6);
  line-height: 30px;
  font-weight: 700;
  color: var(--neutral-1000);
}
.hero-vehicle-specs {
  display: block;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--neutral-500);
  font-weight: 500;
}
.hero-vehicle-price { text-align: right; flex: none; }
.hero-vehicle-price .amount {
  display: block;
  font-size: 34px;
  line-height: 38px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.hero-vehicle-price .per {
  display: block;
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  color: var(--neutral-500);
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.hero-stat {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-12);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 14px 16px;
  text-align: center;
}
.hero-stat strong {
  display: block;
  color: #fff;
  font-size: var(--fs-md);
  line-height: 24px;
  font-weight: 700;
}
.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-xs);
  line-height: 17px;
  font-weight: 500;
}

/* Page hero used on every inner page — compact version of the same system */
.page-hero {
  position: relative;
  padding: 190px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero-bg::before { opacity: 0.5; background-position: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p.page-hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  max-width: 62ch;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 18px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current="page"] { color: #fff; }

/* --------------------------------------------------------------------------
   6. Search / fare panel (overlaps the hero, as in the reference)
   -------------------------------------------------------------------------- */

.search-section { background: var(--bg-100); }

.search-panel {
  position: relative;
  top: -143px;
  margin-bottom: -112px;
  z-index: 12;
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-16);
  background: var(--neutral-0);
  box-shadow: var(--shadow-panel);
}

.search-panel--inline {
  top: 0;
  margin-bottom: 0;
}

.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.trip-tabs { display: flex; align-items: center; gap: 8px; list-style: none; }
.trip-tab {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 700;
  color: var(--neutral-600);
  background: var(--neutral-100);
  border: 1px solid transparent;
  transition: all var(--t-fast) ease;
  white-space: nowrap;
}
.trip-tab:hover { color: var(--neutral-1000); }
.trip-tab.is-active {
  background: var(--brand);
  border-color: var(--brand-darken);
  color: var(--brand-ink);
}

.search-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--neutral-500);
}
.search-help svg { flex: none; }
.search-help > span { min-width: 0; }
.search-help strong { color: var(--neutral-1000); font-weight: 700; }

.search-fields {
  display: flex;
  align-items: stretch;
  margin-top: 28px;
  padding: 21px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-16);
  background: var(--neutral-0);
}

.search-item {
  position: relative;
  width: 20%;
  padding: 0 27px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 58px;
}
.search-item--submit { justify-content: center; }
.search-item::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 10px;
  width: 1px;
  height: 58px;
  background: var(--border-color);
}
.search-item:last-child::before,
.search-item.no-divider::before { display: none; }

.search-item label {
  display: block;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  font-weight: 700;
  color: var(--neutral-1000);
  margin-bottom: 4px;
}
.search-item .field-note {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
  color: var(--neutral-500);
}

.search-input {
  width: 100%;
  border: 0;
  padding: 4px 0;
  font-size: var(--fs-md);
  line-height: 26px;
  font-weight: 500;
  color: var(--neutral-700);
  background: transparent;
}
.search-input::placeholder { color: var(--neutral-500); }
.search-input:focus { outline: none; }
.search-item:focus-within label { color: var(--link-hover); }

.search-item .btn { width: 100%; }

.search-item.is-disabled { opacity: 0.45; pointer-events: none; }

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bg-1000);
  color: var(--neutral-400);
  padding-top: 64px;
}

.footer-top { padding-bottom: 20px; }

.footer h6,
.footer .footer-heading {
  color: #fff;
  font-size: var(--fs-lg);
  line-height: var(--lh-lg);
  font-weight: 600;
  margin-bottom: 16px;
}

/* The footer is black and the logo is dark green, so the original artwork
   sits on a white chip rather than being recoloured. */
.footer-logo {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 11px 16px;
  border-radius: var(--radius-12);
  background: #ffffff;
  line-height: 0;
  transition: transform var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.footer-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-brand p { font-size: var(--fs-sm); line-height: 24px; color: var(--neutral-400); max-width: 34ch; }

.footer-contact { margin-top: 22px; display: grid; gap: 14px; }
.footer-contact .item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .item svg { flex: none; margin-top: 3px; }
.footer-contact .label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-400); }
.footer-contact .value { color: #fff; font-size: var(--fs-md); font-weight: 600; }
.footer-contact a.value:hover { color: var(--brand); }

.menu-footer { list-style: none; }
.menu-footer li { margin-bottom: 14px; }
.menu-footer a {
  color: var(--neutral-400);
  font-size: var(--fs-md);
  line-height: var(--lh-md);
  transition: all var(--t-fast) ease;
  display: inline-block;
}
.menu-footer a:hover { color: #fff; transform: translateX(3px); }

.footer-address {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 24px;
}

.footer-cta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-16);
  padding: 26px;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(87, 204, 42, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.035);
}
.footer-cta p { color: var(--neutral-400); }
.footer-cta .phone-support {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--brand);
  font-size: var(--fs-h6);
  line-height: var(--lh-h6);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-cta .phone-support:hover { color: #fff; }
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  line-height: var(--lh-sm);
  color: var(--neutral-400);
}
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.socials { display: flex; align-items: center; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all var(--t-fast) ease;
}
.socials a:hover { background: var(--brand); color: var(--brand-ink); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   8. Back to top + page transition + misc chrome
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--neutral-900);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-base) var(--ease-out);
  z-index: var(--z-sticky);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); color: var(--brand-ink); }

.page-fade {
  position: fixed;
  inset: 0;
  background: var(--bg-body);
  opacity: 0;
  pointer-events: none;
  z-index: 1400;
  transition: opacity 0.22s ease;
}
.page-fade.is-leaving { opacity: 1; }

.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 86px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  z-index: var(--z-sticky);
  transition: transform var(--t-fast) ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }

/* Simple decorative divider used between light sections */
.hr-soft { border-top: 1px solid var(--border-color); }
