:root {
  --ink: #111111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f6f8;
  --card: #ffffff;
  --accent: #111111;
  --brand-green: #16a34a;
  --logo-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --soft: #f3f4f6;
  --max: 44rem;
  --wide: 56rem;
  --home-wide: 100%;
  --home-form-max: 23.5rem;
  --touch: 2.85rem;
  --gutter: 1.25rem;
  --radius: 0.85rem;
  --shadow-soft: 0 4px 18px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(17, 17, 17, 0.08);
}
a { color: var(--ink); }
a:hover { color: #000; }

.wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0px);
}
/* Full-bleed bar: logo left · Book right — beat body.is-home-split .wrap */
.site-header .wrap,
body.is-home-split .site-header .wrap {
  max-width: none !important;
  width: 100%;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  min-height: 3.6rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  text-decoration: none;
  line-height: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden; /* never paint over Destinations / Book */
  color: inherit;
}
.logo-full {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: 100%; /* respect .logo box — not 52vw vs nav */
  object-fit: contain;
  object-position: left center;
}
.logo--footer {
  display: inline-flex;
  margin: 0 0 1rem;
  height: auto;
  flex: 0 0 auto;
  max-width: none;
  overflow: visible;
}
.logo--footer .logo-full {
  height: 2.15rem;
  max-width: min(12.5rem, 72vw);
}
/* legacy mark/word (hub cards κ.λπ.) */
.logo-mark {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 0.5rem;
}
.logo-word {
  font-family: var(--logo-font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}
.logo-airport { color: var(--ink); }
.logo-book { color: var(--brand-green); }
.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.9rem;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.nav a { text-decoration: none; color: #374151; font-weight: 550; }
.nav a:hover { color: var(--ink); }
/* Destinations — darker than muted gray for WCAG-ish contrast on white header */
.nav-all { color: #1f2937 !important; font-weight: 600; white-space: nowrap; }
.nav-all:hover { color: #000 !important; }
.nav-book {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.9rem !important;
  min-height: 2.35rem;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  font-weight: 650 !important;
  box-shadow: none;
  white-space: nowrap;
}
.nav-book:hover { filter: brightness(1.08); color: #fff !important; }

.hero {
  padding: 2.5rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

/* Home hero: full-bleed photo · form overlay (Welcome-like · 2026-10-24) */
body.is-home-split .wrap {
  max-width: var(--wide);
}
.ab-home-split {
  padding: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  overflow-x: clip;
}
.ab-home-split-inner {
  position: relative;
  display: grid;
  /* Two equal halves · form centered in the right half → same keno L/R of the card */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  --ab-form-edge: clamp(1.75rem, 3.5vw, 2.75rem);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
  min-height: min(42rem, 88vh);
  padding: clamp(2.75rem, 7vh, 5rem)
    max(var(--ab-form-edge), env(safe-area-inset-right, 0px))
    clamp(2.75rem, 7vh, 5rem)
    max(var(--ab-form-edge), env(safe-area-inset-left, 0px));
  overflow-x: clip;
  overflow-y: visible;
  background: #1a2430;
}
.ab-home-split-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(8, 14, 22, 0.58) 0%,
    rgba(8, 14, 22, 0.28) 36%,
    rgba(8, 14, 22, 0.06) 58%,
    rgba(8, 14, 22, 0.18) 100%
  );
}
.ab-home-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sharp JPG · faces in · boy just after “across Greece” (right of lead, left of form) */
  object-position: 70% 22%;
  transform: scale(1.05) translateX(-11%);
  transform-origin: 50% 25%;
}
/* Hub photo-split: crumbs above copy — beat `.breadcrumbs a` + readable on bright photo */
.ab-home-split .ab-split-bc {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top, 0px));
  left: max(clamp(1.25rem, 4vw, 3rem), env(safe-area-inset-left, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35);
  padding: 0.2rem 0.45rem 0.25rem 0.2rem;
  border-radius: 0.4rem;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.12) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}
.ab-home-split .ab-split-bc a {
  color: #fff;
  text-decoration: none;
}
.ab-home-split .ab-split-bc a:hover { color: #fff; text-decoration: underline; }
.ab-home-split .ab-split-bc .bc-sep { color: rgba(255, 255, 255, 0.72); }
.ab-home-split .ab-split-bc .bc-home {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.ab-home-split .ab-split-bc .bc-home-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.ab-home-visual-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0.35rem 0;
  max-width: 32rem;
  align-self: center;
  justify-self: start;
}
.ab-home-visual-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.45rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.ab-home-visual-copy h1 {
  color: #fff;
  max-width: 18ch;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.65rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.ab-home-lead {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  max-width: 32rem;
  font-size: 0.98rem !important;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.ab-home-lead + .ab-home-lead {
  margin-top: 0.75rem !important;
}
.ab-home-form {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
  max-width: var(--home-form-max);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-self: center;
  /* Desktop: flush to right edge of hero (same gutter as photo / photo2) */
  justify-self: end;
}
.ab-home-form .ab-handoff {
  width: 100%;
  max-width: var(--home-form-max);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* One soft lift — όχι AI multi-shadow stack */
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.ab-home-form .ab-handoff-go {
  min-height: 3rem;
}
body.is-home-split main.wrap {
  /* Full-bleed like header — Why + airport grid στοιχισμένα αριστερά (όχι στενό centered column) */
  max-width: none;
  width: 100%;
  padding-top: 2.5rem;
  text-align: left;
}
body.is-home-split main.wrap .prose h2,
body.is-home-split main.wrap .prose p {
  text-align: left;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 0.55rem;
}
h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 750;
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.2rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  min-height: var(--touch);
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: #111; color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fafafa; }

main { padding: 1.75rem 0 2.75rem; }
.prose { max-width: none; }
.prose h2 {
  font-size: 1.15rem;
  margin: 2.35rem 0 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}
.prose h3 { font-size: 1.05rem; margin: 1.75rem 0 0.65rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.35rem;
  margin: 1.5rem 0 0.35rem;
}
.card-grid--airports {
  /* Desktop: 4 στήλες (όχι 3) */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem 1.15rem;
}
@media (max-width: 1100px) {
  .card-grid--airports {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .card-grid--airports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.card {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.2rem 1.2rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.95rem;
  min-height: 4.55rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-soft);
}
.card:hover .card-arrow {
  background: #111;
  color: #fff;
  border-color: #111;
}
.card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  grid-column: 1;
  grid-row: 1;
  line-height: 1.25;
}
.card span {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  grid-column: 1;
  grid-row: 2;
  line-height: 1.35;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  line-height: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  text-transform: none;
  letter-spacing: 0;
}

/* Airport cards: original black mark (white plane) */
.card--airport {
  grid-template-columns: 2.2rem 1fr auto;
  column-gap: 0.9rem;
}
.card--airport .card-plane {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  background: url("/img/mark.svg") center / contain no-repeat;
  display: block;
  align-self: center;
}
.card--airport strong {
  grid-column: 2;
  grid-row: 1;
}
.card--airport .card-meta {
  grid-column: 2;
  grid-row: 2;
  text-transform: uppercase;
}
.card--airport .card-arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
}

/* Service cards — marketplace FA icons (shuttle / taxi / car) */
.card--transfer,
.card--taxi,
.card--car,
.card[href*="/transfers/"],
.card[href*="/taxi/"],
.card[href*="/car-rental/"],
.card[href*="/to/"] {
  grid-template-columns: 2.35rem 1fr auto;
  column-gap: 0.95rem;
}
.card--transfer .card-ico,
.card--taxi .card-ico,
.card--car .card-ico,
.card[href*="/transfers/"]::before,
.card[href*="/taxi/"]::before,
.card[href*="/car-rental/"]::before,
.card[href*="/to/"]::before {
  content: "";
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.6rem;
  background-color: var(--soft);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.card--transfer .card-ico,
.card[href*="/transfers/"]::before {
  background-image: url("/img/icon-transfer.svg");
}
.card--taxi .card-ico,
.card[href*="/taxi/"]::before {
  background-image: url("/img/icon-taxi.svg");
}
.card--car .card-ico,
.card[href*="/car-rental/"]::before {
  background-image: url("/img/icon-car.svg");
}
.card[href*="/to/"]::before {
  background-image: url("/img/icon-pin.svg");
  background-size: 1.05rem;
}
.card--transfer:has(.card-ico)::before,
.card--taxi:has(.card-ico)::before,
.card--car:has(.card-ico)::before,
.card[href*="/transfers/"]:has(.card-ico)::before,
.card[href*="/taxi/"]:has(.card-ico)::before,
.card[href*="/car-rental/"]:has(.card-ico)::before {
  display: none;
}
.card--transfer strong,
.card--taxi strong,
.card--car strong,
.card[href*="/transfers/"] strong,
.card[href*="/taxi/"] strong,
.card[href*="/car-rental/"] strong,
.card[href*="/to/"] strong {
  grid-column: 2;
  grid-row: 1;
}
.card--transfer > span:not(.card-arrow):not(.card-ico),
.card--taxi > span:not(.card-arrow):not(.card-ico),
.card--car > span:not(.card-arrow):not(.card-ico),
.card[href*="/transfers/"] > span:not(.card-arrow):not(.card-ico),
.card[href*="/taxi/"] > span:not(.card-arrow):not(.card-ico),
.card[href*="/car-rental/"] > span:not(.card-arrow):not(.card-ico),
.card[href*="/to/"] > span:not(.card-arrow) {
  grid-column: 2;
  grid-row: 2;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  line-height: 1.4;
}
.card--transfer .card-arrow,
.card--taxi .card-arrow,
.card--car .card-arrow,
.card[href*="/transfers/"] .card-arrow,
.card[href*="/taxi/"] .card-arrow,
.card[href*="/car-rental/"] .card-arrow,
.card[href*="/to/"] .card-arrow {
  grid-column: 3;
}
/* Auto arrow for service cards without .card-arrow in markup */
.card[href*="/transfers/"]:not(:has(.card-arrow))::after,
.card[href*="/taxi/"]:not(:has(.card-arrow))::after,
.card[href*="/car-rental/"]:not(:has(.card-arrow))::after,
.card[href*="/to/"]:not(:has(.card-arrow))::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
}
.card[href*="/transfers/"]:not(:has(.card-arrow)):hover::after,
.card[href*="/taxi/"]:not(:has(.card-arrow)):hover::after,
.card[href*="/car-rental/"]:not(:has(.card-arrow)):hover::after,
.card[href*="/to/"]:not(:has(.card-arrow)):hover::after {
  background: #111;
  color: #fff;
  border-color: #111;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 1.6rem;
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.95rem 1rem;
}
.fact b {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.fact span { color: var(--ink); font-size: 0.95rem; }

/* Classic (non-photo) crumbs — darker than --muted for WCAG on white */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0 0 1.1rem;
  line-height: 1.45;
}
.breadcrumbs a { text-decoration: none; color: #4b5563; }
.breadcrumbs a:hover { color: var(--ink); }
.bc-sep { color: #9ca3af; font-weight: 400; }
.bc-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
}
.bc-home-link:hover { background: var(--soft); }
.bc-home {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  background: url("/img/icon-home.svg") center / contain no-repeat;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  border-top: 1px solid #1a1a1a;
  padding: 2.35rem 0 1.85rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  background: #0a0a0a;
}
/* Beat body.is-home-split .wrap { max-width: 56rem } — footer needs full width */
.site-footer .footer-inner,
body.is-home-split .site-footer .wrap {
  max-width: min(72rem, 100%) !important;
  width: 100%;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  opacity: 0.92;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(16rem, 1.55fr) minmax(9rem, 0.85fr);
  gap: 2rem 2.75rem;
  align-items: start;
}
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.site-footer .footer-cta {
  margin: 0;
  max-width: 22rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer .footer-cta a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer .footer-airport-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.45rem 1rem;
}
.site-footer .footer-airport-list a {
  display: inline-block;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.site-footer .footer-all {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}
.site-footer .footer-all a {
  color: var(--brand-green);
  font-weight: 600;
}
.site-footer .footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.site-footer .footer-link-list a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}
.site-footer .footer-note {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
  max-width: 14rem;
}
.site-footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}
.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}
.site-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.note {
  margin-top: 1.75rem;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Plain tip line — no card, no icon (Crete tip on home) */
.tip {
  margin: 1.35rem 0 0;
  padding: 0;
  max-width: 40rem;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.tip::before,
.tip::after {
  content: none !important;
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.ab-handoff-wrap {
  margin: 1rem auto 2.1rem;
}
/* Welcome Pickups–style card (handoff → GoFleet, not WP checkout) */
.ab-handoff,
.ab-handoff-wp {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: var(--radius);
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  overflow: visible;
  position: relative;
  z-index: 2;
}
.ab-home-form {
  overflow: visible;
  z-index: 3;
}
.ab-intent {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.ab-chip {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}
.ab-chip:hover { border-color: #111; background: #fafafa; }
.ab-chip.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.ab-trip {
  display: flex;
  background: #f0f1f3;
  border-radius: 999px;
  padding: 0.22rem;
  margin: 0 0 0.95rem;
  gap: 0.15rem;
  overflow: hidden; /* Return pill must stay inside capsule (photo 2) */
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.ab-trip[hidden] { display: none !important; }
.ab-trip-btn {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-height: 2.45rem;
  padding: 0 0.5rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  color: #4b5563;
  cursor: pointer;
  box-sizing: border-box;
}
.ab-trip-btn.is-active {
  background: #fff;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ab-route {
  border: 1px solid #dfe3e8;
  border-radius: 0.85rem;
  margin: 0 0 0.75rem;
  background: #fff;
  overflow: visible;
  position: relative;
}
.ab-route-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 2.75rem 0.75rem 0.95rem;
  margin: 0;
  position: relative;
}
.ab-route-from { border-bottom: 1px solid #eef0f3; }
.ab-route-swap {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  z-index: 6;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.ab-route-swap:hover {
  border-color: #9ca3af;
  color: #111;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.ab-route-swap:focus-visible {
  outline: 2px solid #6b7cff;
  outline-offset: 2px;
}
.ab-route-swap[hidden] { display: none !important; }
.ab-route-to[hidden] { display: none !important; }
/* Car/Taxi: no swap — reclaim right padding on From */
.ab-route:has(> [data-role="swap-route"][hidden]) .ab-route-row {
  padding-right: 0.95rem;
}
.ab-route-ico {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 1.55rem;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  flex: 0 0 auto;
}
.ab-route-dots {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 1.55rem;
  flex: 0 0 auto;
  background:
    radial-gradient(circle, #9ca3af 1.5px, transparent 1.6px) 50% 0 / 100% 33%,
    radial-gradient(circle, #9ca3af 1.5px, transparent 1.6px) 50% 50% / 100% 33%,
    radial-gradient(circle, #9ca3af 1.5px, transparent 1.6px) 50% 100% / 100% 33%;
}
.ab-route-field {
  flex: 1;
  min-width: 0;
  position: relative;
}
.ab-route-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  color: #6b7cff;
  letter-spacing: 0.01em;
  margin: 0 0 0.2rem;
}
.ab-route-field input[type="text"] {
  width: 100%;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 550;
  color: #111;
  background: transparent;
  padding: 0.15rem 0;
  min-height: 1.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab-route-field input::placeholder { color: #9ca3af; font-weight: 450; font-size: 0.82rem; }
.ab-route-field input[readonly] { color: #6b7280; }
.ab-route-field:focus-within .ab-route-label { color: #4f46e5; }

/* Welcome-style autocomplete — wider panel + type icons (owner 2026-10-25) */
.ab-ac {
  position: absolute;
  left: -0.75rem;
  right: -0.75rem;
  width: auto;
  min-width: calc(100% + 1.5rem);
  top: calc(100% + 0.4rem);
  z-index: 50;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.95rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  padding: 0.45rem 0;
}
@media (min-width: 480px) {
  .ab-ac {
    left: -1.35rem;
    right: -1.35rem;
    min-width: calc(100% + 2.7rem);
  }
}
.ab-ac[hidden] { display: none !important; }
.ab-ac-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.72rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.35;
  cursor: pointer;
}
.ab-ac-item:hover,
.ab-ac-item:focus {
  background: #f3f4f6;
  outline: none;
}
.ab-ac-ico {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  border-radius: 999px;
  background-color: #f3f4f6;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.9rem;
}
.ab-ac-ico--airport {
  background-color: #eef2ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.5 12.5l6.2-1.3L21 6.2a1.4 1.4 0 011.6 2.1l-5.4 5.1 1.2 6.3a.8.8 0 01-1.3.75l-4.1-3.1-3.4 2.2v-4.2L3.5 14a.9.9 0 010-1.5z'/%3E%3C/svg%3E");
}
.ab-ac-ico--city {
  background-color: #ecfdf5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23059669' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 20h16M6 20V9l6-4 6 4v11M9 20v-5h6v5'/%3E%3C/svg%3E");
}
.ab-ac-ico--hotel {
  background-color: #fff7ed;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c2410c' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 19V8a2 2 0 012-2h8a2 2 0 012 2v11M4 19h16M8 10h.01M12 10h.01M8 13h.01M12 13h.01M16 15h2a2 2 0 012 2v2'/%3E%3C/svg%3E");
}
.ab-ac-ico--place {
  background-color: #f3f4f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21s7-5.2 7-11a7 7 0 10-14 0c0 5.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E");
}
.ab-ac-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1;
}
.ab-ac-main {
  font-weight: 650;
  color: #111827;
  line-height: 1.3;
  word-break: break-word;
}
.ab-ac-sub {
  font-size: 0.78rem;
  font-weight: 450;
  color: #6b7280;
  line-height: 1.35;
  word-break: break-word;
}
.ab-airport-sel {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ab-when {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #dfe3e8;
  border-radius: 0.85rem;
  padding: 0.55rem 0.85rem;
  margin: 0 0 0.75rem;
  background: #fff;
}
.ab-when[hidden] { display: none !important; }
.ab-when-return {
  margin-top: -0.35rem;
}
.ab-when-ico {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='1.8'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath stroke-linecap='round' d='M8 3.5v3M16 3.5v3M3.5 10h17'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ab-when-ico-return {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath stroke-linecap='round' d='M12 7.5v5l3 1.75'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ab-when-fields {
  display: flex;
  flex: 1;
  gap: 0.5rem;
  min-width: 0;
}
.ab-when-date,
.ab-when-time { flex: 1; min-width: 0; margin: 0; }
.ab-when input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 550;
  color: #111;
  min-height: 2.25rem;
  padding: 0;
}
.ab-when input:focus { outline: none; }

.ab-qty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 0.95rem;
}
.ab-stepper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ab-stepper-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
}
.ab-stepper-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid #dfe3e8;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  min-height: 2.85rem;
}
.ab-stepper-btn {
  width: 2.6rem;
  align-self: stretch;
  border: 0;
  background: #f8f9fb;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}
.ab-stepper-btn:hover { background: #eef0f3; }
.ab-stepper-val {
  flex: 1;
  min-width: 0;
  border: 0;
  text-align: center;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: #111;
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}
.ab-stepper-val::-webkit-outer-spin-button,
.ab-stepper-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ab-handoff-go {
  display: block;
  width: 100%;
  text-align: center;
  border: 0;
  border-radius: 999px;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff !important;
  background: #16a34a !important;
  box-shadow: none;
  cursor: pointer;
}
.ab-handoff-go:hover { filter: brightness(1.05); }
.ab-handoff-go:disabled { opacity: 0.65; cursor: wait; }
.ab-home-form .ab-handoff-go { min-height: 3.25rem; }

.ab-handoff-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}
.ab-handoff-err {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b91c1c;
}

/* Home overlay — stack below ~900px (photo banner + form) */
@media (max-width: 900px) {
  .ab-home-split .ab-split-bc {
    top: 0.55rem;
    left: max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .ab-home-split-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0;
    align-items: stretch;
  }
  .ab-home-split-inner::before {
    background: linear-gradient(
      to top,
      rgba(8, 14, 22, 0.75) 0%,
      rgba(8, 14, 22, 0.25) 45%,
      rgba(8, 14, 22, 0.1) 100%
    );
    bottom: auto;
    height: 14.5rem;
  }
  .ab-home-photo {
    position: relative;
    left: auto;
    width: 100%;
    height: 14.5rem;
    object-position: 58% 22%;
    transform: none;
  }
  .ab-home-visual-copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 14.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.85rem max(1.35rem, var(--gutter), env(safe-area-inset-left, 0px)) 1rem;
    max-width: none;
    box-sizing: border-box;
  }
  .ab-home-visual-copy h1 {
    max-width: none;
    font-size: 1.35rem;
  }
  .ab-home-lead {
    display: none;
  }
  .ab-home-form {
    max-width: none;
    margin: 0;
    padding: 1rem max(var(--gutter), env(safe-area-inset-left, 0px)) 1.15rem;
    background: #f4f6f8;
    align-self: stretch;
  }
  .ab-home-form .ab-handoff {
    max-width: none;
    box-shadow: var(--shadow-soft);
  }
}

/* —— Mobile first polish —— */
@media (max-width: 720px) {
  :root { --gutter: 1.45rem; }
  .ab-home-split {
    padding-top: 0;
  }
  .site-header .inner {
    flex-wrap: nowrap;
    gap: 0.55rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    min-height: 3.4rem;
  }
  .logo {
    gap: 0.5rem;
    /* Leave room for Destinations + Book on GoFleet */
    max-width: calc(100% - 13.25rem);
    height: 2rem;
    flex: 1 1 0;
  }
  .logo-full {
    height: 1.95rem;
    max-width: 100%;
  }
  .logo-mark {
    width: 2rem;
    height: 2rem;
  }
  .logo-word {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .nav {
    width: auto;
    gap: 0.45rem 0.55rem;
    flex: 0 0 auto;
    flex-shrink: 0;
    max-width: none;
  }
  .nav-all {
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
  }
  .nav-book {
    padding: 0.45rem 0.75rem !important;
    min-height: 2.4rem;
    font-size: 0.76rem !important;
    position: relative;
    z-index: 1;
  }
  .hero { padding: 1.35rem 0 1.25rem; }
  h1 {
    max-width: none;
    font-size: clamp(1.35rem, 5.8vw, 1.6rem);
    line-height: 1.22;
    margin: 0 0 0.75rem;
  }
  .lead {
    font-size: 0.98rem;
    margin: 0 0 1.25rem;
    line-height: 1.55;
  }
  .cta-row {
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0;
    margin-bottom: 0.15rem;
  }
  .cta-row .btn {
    width: 100%;
    min-height: 3rem;
    font-size: 0.95rem;
  }
  .breadcrumbs {
    margin: 0 0 1rem;
    gap: 0.3rem 0.4rem;
    font-size: 0.78rem;
  }
  .card-grid,
  .card-grid--airports {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }
  .card {
    padding: 1.15rem 1.15rem;
    min-height: 4.85rem;
    border-radius: 0.95rem;
    gap: 0.55rem;
  }
  .card strong { font-size: 1rem; }
  .card span { font-size: 0.8rem; line-height: 1.4; }
  .card--airport {
    column-gap: 0.85rem;
    padding: 1.05rem 1.05rem;
  }
  .card--airport .card-plane {
    width: 2.35rem;
    height: 2.35rem;
  }
  .prose h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.7rem;
    font-size: 1.12rem;
  }
  .prose p,
  .prose li {
    font-size: 0.98rem;
  }
  .prose ul { margin: 0.65rem 0 1.1rem; }
  main { padding: 1.35rem 0 2.5rem; }
  .note {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
  }
  .tip {
    margin-top: 1.15rem;
    max-width: none;
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 1.1rem 0 1.35rem;
  }
  .fact { padding: 0.8rem 0.9rem; }
  .ab-handoff-wrap { margin: 1.1rem auto 1.65rem; }
  .ab-handoff {
    padding: 1.05rem 1rem 1.15rem;
    border-radius: 1.1rem;
  }
  .ab-intent { margin: 0 0 0.75rem; }
  .ab-chip {
    min-height: 2.55rem;
    font-size: 0.78rem;
  }
  .ab-qty { gap: 0.55rem; }
  .ab-handoff-go {
    min-height: 3.2rem;
    font-size: 1rem;
  }
  .ab-handoff-note {
    margin-top: 0.8rem;
    font-size: 0.76rem;
  }
  .site-footer {
    padding: 1.85rem 0 max(2.1rem, env(safe-area-inset-bottom));
    font-size: 0.84rem;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }
  .site-footer .footer-airport-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.1rem;
  }
  .site-footer .footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
  }
  .site-footer .footer-note { max-width: none; }
  .site-footer .footer-bottom { margin-top: 1.5rem; }
}

@media (min-width: 721px) and (max-width: 960px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
  .site-footer .footer-col--links {
    grid-column: 1 / -1;
  }
  .site-footer .footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.35rem;
  }
  .site-footer .footer-note { max-width: 28rem; }
}

/* Phone / Messenger ~390: logo + Book row 1 · Destinations own row (no squeeze) */
@media (max-width: 520px) {
  :root { --gutter: 1.35rem; }
  .site-header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.55rem;
    row-gap: 0.4rem;
  }
  .logo {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    height: 2rem;
  }
  .logo-full {
    height: 1.9rem;
    max-width: 100%;
  }
  .nav {
    display: contents; /* children join header grid */
  }
  .nav-book {
    grid-column: 2;
    grid-row: 1;
    padding: 0.42rem 0.72rem !important;
    min-height: 2.35rem;
    font-size: 0.74rem !important;
  }
  .nav-all {
    grid-column: 1 / -1;
    grid-row: 2;
    display: inline-block !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.15rem 0 0.1rem;
  }
  .logo-word { font-size: 0.9rem; }
  .hero { padding: 1.2rem 0 1.1rem; }
  .ab-chip {
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.76rem;
  }
  .facts { gap: 0.55rem; }
}

@media (max-width: 360px) {
  :root { --gutter: 1.2rem; }
  .logo-word { font-size: 0.84rem; }
  .nav-book {
    padding: 0.4rem 0.62rem !important;
    font-size: 0.7rem !important;
  }
  .facts { grid-template-columns: 1fr; }
  .ab-chip {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: calc(50% - 0.25rem);
  }
}
