/*
  TaxiBucharest.eu — visual system
  ---------------------------------
  Signature idea: the fixed fare as a printed ticket. Every card that carries
  a price (destination, vehicle class, tour, the final total) is drawn as a
  boarding-pass stub — a route stub and a price stub separated by a punched,
  dashed perforation — because the promise on every one of these pages is
  that the price is agreed on paper before you fly, not read off a meter.
  Labels and data (prices, distances, form field names) are set in a
  monospace face, the rest of the type in a humanist sans; headlines are set
  in a condensed display face borrowed from road and terminal signage.
*/

/* ---------------------------------------------------------------------- */
/* Tokens                                                                  */
/* ---------------------------------------------------------------------- */

:root {
  --ink: #14181f;
  --ink-700: #232a3a;
  --ink-500: #4a5162;
  --ink-350: #6b7284;

  --paper: #faf7f0;
  --paper-deep: #f1ebd9;
  --white: #ffffff;

  --amber: #f2b705;
  /* Dark enough for small amber text on white (WCAG AA: 5.59:1). */
  --amber-600: #8a6000;
  --amber-100: #fdf0c8;

  --line: #e6e1d1;
  --line-strong: #d7d0b8;
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --danger: #b3261e;
  --whatsapp: #25d366;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.08);
  --shadow-md: 0 10px 24px -10px rgba(20, 24, 31, 0.28);
  --shadow-lg: 0 28px 56px -20px rgba(20, 24, 31, 0.4);

  --container: 1220px;
  --container-narrow: 860px;
  --gutter: 1.25rem;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: light;
}

@media (min-width: 60rem) {
  :root {
    --gutter: 2rem;
  }
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* A sticky table header combined with a sticky first column (see
     .fare-table) makes some engines report the document as wider than the
     viewport even though nothing is visibly clipped — this keeps a stray
     horizontal swipe from ever revealing blank canvas past the edge. */
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: 0.005em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 3.2vw + 1.6rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.6vw + 1.2rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, 0.5vw + 1rem, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink-700); text-decoration-color: var(--amber-600); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; }

input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

table { border-collapse: collapse; width: 100%; }

/* Visible, high-contrast focus ring everywhere — the CSS layer this site had
   never shipped one, so keyboard users had no idea what was focused. */
:focus-visible {
  outline: 3px solid var(--amber-600);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                          */
/* ---------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: var(--container-narrow); }

main { display: block; }

section, .section { padding-block: clamp(2.5rem, 4vw, 4.5rem); }
.section--tight { padding-block: clamp(1.75rem, 2.5vw, 2.75rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.92); }
.section--border-top { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.65em;
}
.section--ink .eyebrow, .section--dark .eyebrow { color: var(--amber); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

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

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 1000;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.9rem 1.5rem;
  min-height: 3rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: #ffcc2e; color: var(--ink); }

.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-700); color: var(--white); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--block { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: 0.6rem 1.1rem; font-size: 0.92rem; }

.btn .btn__hint { font-weight: 400; opacity: 0.8; }

/* ---------------------------------------------------------------------- */
/* Cookie consent                                                          */
/* ---------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--amber);
  box-shadow: 0 -12px 32px rgba(20, 24, 31, 0.28);
}
.cookie-banner__inner {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.25rem;
}
.cookie-banner__eyebrow {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.cookie-banner h2 { margin-bottom: 0.2em; color: var(--white); font-size: clamp(1.4rem, 3vw, 1.8rem); }
.cookie-banner__copy > p:not(.cookie-banner__eyebrow) { max-width: 44rem; margin-bottom: 0.5rem; font-size: 0.92rem; }
.cookie-banner a { color: var(--amber); font-size: 0.9rem; }
.cookie-banner__actions { display: grid; gap: 0.65rem; align-content: center; }
.cookie-banner__actions .btn { width: 100%; text-align: center; }
.cookie-banner__actions .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cookie-banner__actions .btn--outline:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.08); }
.cookie-settings-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(242,183,5,0.65);
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.cookie-settings-link:hover { color: var(--white); }

@media (min-width: 48rem) {
  .cookie-banner__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-block: 1.4rem; }
  .cookie-banner__actions { grid-template-columns: repeat(2, auto); }
  .cookie-banner__actions .btn { width: auto; white-space: nowrap; }
}

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.site-header__logo { display: inline-flex; }
.site-header__logo img { height: 38px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; flex-shrink: 0; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.main-nav {
  position: fixed;
  inset: 0;
  top: 68px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }

.main-nav ul { display: flex; flex-direction: column; }
.main-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.main-nav a[aria-current="page"] { color: var(--amber-600); }

.main-nav__contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.main-nav__phone { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.main-nav__cta {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start;
  width: auto;
  padding: 0.65rem 1rem !important;
  border: 1.5px solid var(--amber) !important;
  border-radius: 999px;
  font-size: 0.88rem !important;
  line-height: 1 !important;
}

@media (min-width: 62rem) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border-top: 0;
    padding: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.25rem;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: 1.75rem; }
  .main-nav a {
    padding: 0.3rem 0.05rem;
    border-bottom: 2px solid transparent;
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .main-nav a:hover { border-bottom-color: var(--line-strong); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--amber); color: var(--ink); }
  .main-nav__contact { margin-top: 0; flex-direction: row; align-items: center; gap: 1.1rem; flex-shrink: 0; }
  .main-nav__phone { white-space: nowrap; }
  .main-nav__cta { align-self: center; }
}

/* ---------------------------------------------------------------------- */
/* Route line (Journey::line output)                                      */
/* ---------------------------------------------------------------------- */

.routeline {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0.4em 0;
}
.routeline__end { font-weight: 600; color: var(--ink); white-space: nowrap; }
.routeline__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber-600); flex-shrink: 0; }
.routeline__rule { flex: 1 1 auto; min-width: 0.75rem; height: 1px; background: var(--line-strong); }
.routeline__len { white-space: nowrap; font-size: 0.78rem; letter-spacing: 0.02em; }

.section--ink .routeline__end { color: var(--white); }
.section--ink .routeline { color: rgba(255,255,255,0.6); }
.section--ink .routeline__rule { background: rgba(255,255,255,0.25); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(31rem, 118vw, 41rem);
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(15, 18, 24, 0.9) 0%, rgba(15, 18, 24, 0.73) 68%, rgba(15, 18, 24, 0.52) 100%),
    url("/images/bucharest-taxi.jpg");
  background-position: 62% center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-block: clamp(3rem, 8vw, 5rem) clamp(6rem, 14vw, 8rem);
}

.hero__grid {
  width: 100%;
}

.hero__content { max-width: 37rem; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero h1 span { color: var(--amber); }

.hero__lede { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 34rem; margin-bottom: 1.75rem; }

.hero__fact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
}
.hero__fact .routeline { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.hero__fact .routeline__end { color: var(--white); }
.hero__fact .routeline__rule { background: rgba(255, 255, 255, 0.25); }
.hero__fact-price { font-family: var(--font-mono); font-weight: 600; color: var(--amber); font-size: 1rem; white-space: nowrap; }
.hero__fact-price strong { font-size: 1.3rem; }

.promo-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.promo-tile:hover { border-color: var(--amber-600); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
.promo-tile__label { display: block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-600); margin-bottom: 0.55em; }
.promo-tile__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.3em; }
.promo-tile__meta { display: block; font-size: 0.9rem; color: var(--ink-500); }
.promo-tile__link { display: block; margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--amber-600); }

@media (min-width: 56rem) {
  .hero {
    min-height: clamp(31rem, 45vw, 42rem);
    background-image:
      linear-gradient(90deg, rgba(15, 18, 24, 0.9) 0%, rgba(15, 18, 24, 0.67) 38%, rgba(15, 18, 24, 0.15) 66%, rgba(15, 18, 24, 0.04) 100%),
      url("/images/bucharest-taxi.jpg");
    background-position: center center;
  }
}

/* ---------------------------------------------------------------------- */
/* Booking widget (boarding-pass search card)                              */
/* ---------------------------------------------------------------------- */

.booking {
  position: relative;
  z-index: 5;
  margin-top: clamp(-4.5rem, -6vw, -3.5rem);
}

.booking__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.booking__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.booking__head h2 { margin: 0; font-size: 1.5rem; }
.booking__head p { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-500); }

.booking__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) center, calc(100% - 0.85rem) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--white); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field small, .field-hint { display: block; margin-top: 0.4rem; font-size: 0.82rem; color: var(--ink-350); }

.booking__submit { display: flex; flex-direction: column; gap: 0.6rem; }
.booking__submit-label {
  display: block;
  min-height: 1.15rem;
  margin-bottom: -0.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.booking__submit p { margin: 0; font-size: 0.82rem; color: var(--ink-500); }

@media (min-width: 40rem) {
  .booking__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 62rem) {
  .booking__grid { grid-template-columns: 1.1fr 1.1fr 0.9fr 1.15fr; align-items: start; }
}

.booking__ask {
  max-width: var(--container);
  margin: 1.5rem auto clamp(2.5rem, 5vw, 4rem);
  padding-inline: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  text-align: center;
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------------- */
/* Steps                                                                   */
/* ---------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.75rem;
  counter-reset: step;
}
@media (min-width: 50rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.2rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-600);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.3em; }
.steps li p, .steps li { color: var(--ink-500); }

/* ---------------------------------------------------------------------- */
/* Feature grid ("why book with us")                                      */
/* ---------------------------------------------------------------------- */

.features {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .features { grid-template-columns: repeat(3, 1fr); } }

.features__item { background: var(--white); padding: 1.75rem; }
.features__item h3 { font-size: 1.05rem; margin-bottom: 0.45em; }
.features__item p { color: var(--ink-500); font-size: 0.96rem; }

/* ---------------------------------------------------------------------- */
/* Ticket card — the signature component                                   */
/* Used for: destination fares, vehicle classes, tours                     */
/* ---------------------------------------------------------------------- */

.ticket-grid { display: grid; gap: 1.5rem; }
@media (min-width: 36rem) { .ticket-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .ticket-grid { grid-template-columns: repeat(3, 1fr); } }

.ticket {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.ticket:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ticket__figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.ticket__figure img { width: 100%; height: 100%; object-fit: cover; }
.ticket--route .ticket__figure { aspect-ratio: 16 / 9; }
.ticket--route .ticket__figure img { transition: transform 0.35s ease; }
.ticket--route:hover .ticket__figure img { transform: scale(1.025); }

.home-promos { padding-block: clamp(3rem, 6vw, 5rem); }
.home-promos__grid { display: grid; gap: 1rem; }

@media (min-width: 42rem) {
  .home-promos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 68rem) {
  .home-promos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ticket__stub { padding: 1.35rem 1.4rem 1.1rem; flex: 1; }
.ticket__stub h3 { font-size: 1.35rem; margin-bottom: 0.15em; }
.ticket__stub .routeline { margin-top: 0.5em; }
.ticket__meta { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.35em; }

.ticket__perf {
  position: relative;
  border-top: 2px dashed var(--line-strong);
  margin-inline: 1.4rem;
}
.ticket__perf::before, .ticket__perf::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 18px; height: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.ticket__perf::before { left: calc(-1.4rem - 9px); }
.ticket__perf::after { right: calc(-1.4rem - 9px); }
.section--white .ticket__perf::before,
.section--white .ticket__perf::after { background: var(--white); }

.ticket__fare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.35rem;
}
.ticket__price { font-family: var(--font-mono); }
.ticket__price .amount { font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.ticket__price .unit { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-350); margin-top: 0.15em; }

.ticket__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.ticket__cta::after { content: "\2192"; color: var(--amber-600); transition: transform 0.15s ease; }
.ticket:hover .ticket__cta::after { transform: translateX(3px); }
.ticket__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */

.section-cta { margin-top: 2rem; text-align: center; }

.cta-band { background: var(--ink); color: rgba(255,255,255,0.92); }
.cta-band__inner {
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  text-align: center;
}
.cta-band p { margin: 0; font-size: 1.02rem; }
.cta-band a:not(.btn) { color: var(--amber); font-weight: 600; text-decoration-color: var(--amber-600); }

/* ---------------------------------------------------------------------- */
/* Page header (Services / Prices / Tours / Contact intros)                */
/* ---------------------------------------------------------------------- */

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.page-hero__inner { max-width: 46rem; }
.page-hero p { font-size: 1.08rem; color: var(--ink-500); }

.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 0.4em; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-350); margin-bottom: 1rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5em; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Services page — vehicle cards                                           */
/* ---------------------------------------------------------------------- */

.vehicle-grid { display: grid; gap: 1.75rem; }
@media (min-width: 46rem) { .vehicle-grid { grid-template-columns: repeat(2, 1fr); } }

.vehicle-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 34rem) { .vehicle-card { grid-template-columns: 11rem 1fr; } }

.vehicle-card__figure { background: var(--paper-deep); aspect-ratio: 4/3; }
.vehicle-card__figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 34rem) { .vehicle-card__figure { aspect-ratio: auto; height: 100%; } }

.vehicle-card__body { padding: 1.5rem 1.6rem; }
.vehicle-card__body h2 { font-size: 1.5rem; margin-bottom: 0.1em; }
.vehicle-card__for { font-size: 0.95rem; color: var(--amber-600); font-weight: 600; margin-bottom: 0.5em; }
.vehicle-card__spec { font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-500); margin-bottom: 0.7em; }
.vehicle-card__spec span:not(:last-child)::after { content: "\00b7"; margin: 0 0.5em; color: var(--line-strong); }
.vehicle-card__body p { color: var(--ink-500); }
.vehicle-card__price { display: flex; align-items: baseline; gap: 0.5em; margin-top: 0.9em; font-family: var(--font-mono); }
.vehicle-card__price .amount { font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.vehicle-card__price small { color: var(--ink-350); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.vehicle-card__body > a { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; }
.vehicle-card__body > a::after { content: "\2192"; margin-left: 0.4em; color: var(--amber-600); }
.vehicle-card__body > a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.includes-panel { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); }
.includes-panel ul { display: grid; gap: 0.9rem; margin-block: 1.25rem; }
@media (min-width: 40rem) { .includes-panel ul { grid-template-columns: repeat(2, 1fr); } }
.includes-panel li { position: relative; padding-left: 1.6rem; color: var(--ink-500); }
.includes-panel li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.includes-panel li strong { color: var(--ink); }
.includes-panel .links { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.includes-panel .links a { font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Prices page — fare table                                                */
/* ---------------------------------------------------------------------- */

.fare-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: auto;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.fare-table { min-width: 44rem; }
.fare-table caption { text-align: left; padding: 1rem 1.4rem; font-size: 0.85rem; color: var(--ink-500); background: var(--paper); border-bottom: 1px solid var(--line); }

.fare-table thead th {
  position: sticky;
  top: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.9rem 1rem;
  white-space: nowrap;
}
.fare-table thead th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.6); font-size: 0.72rem; margin-top: 0.2em; }
.fare-table thead th:last-child span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.fare-table tbody tr { border-bottom: 1px solid var(--line); }
.fare-table tbody tr:last-child { border-bottom: 0; }
.fare-table tbody tr:hover { background: var(--paper); }

.fare-table th[scope="row"] {
  position: sticky;
  left: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 400;
  border-right: 1px solid var(--line);
}
.fare-table tbody tr:hover th[scope="row"] { background: #fbf9f4; }

.fare-table th[scope="row"] a { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); }
.fare-table th[scope="row"] img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.fare-table th[scope="row"] > a > span { display: flex; flex-direction: column; gap: 0.15rem; }
.fare-table th[scope="row"] > a > span > span:first-child { font-weight: 600; font-size: 1rem; }
.fare-table th[scope="row"] > a > span > span:last-child { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-500); }

.fare-table td { padding: 0.75rem 1rem; font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
.fare-table td span { color: var(--ink-350); margin-left: 0.1em; }
.fare-table td:last-child { font-family: var(--font-body); font-weight: 600; }
.fare-table td:last-child a { text-decoration: none; color: var(--ink); }
.fare-table td:last-child a::after { content: "\2192"; margin-left: 0.35em; color: var(--amber-600); }
.fare-table td:last-child a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.fare-table__note { margin-top: 1.5rem; color: var(--ink-500); font-size: 0.92rem; }

/* ---------------------------------------------------------------------- */
/* Tours                                                                   */
/* ---------------------------------------------------------------------- */

.tour-feature {
  display: grid;
  gap: 2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
@media (min-width: 60rem) { .tour-feature { grid-template-columns: 1fr 1fr; align-items: center; } }

.tour-feature__meta { display: flex; flex-wrap: wrap; gap: 0.5em 1em; font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink-500); margin-bottom: 1.1em; }
.tour-feature__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tour-feature__photos figure { margin: 0; min-width: 0; }
.tour-feature__photos img { display: block; width: 100%; border-radius: var(--radius-md); object-fit: cover; box-shadow: var(--shadow-sm); }
.tour-feature__photo--peles { grid-column: 1 / -1; }
.tour-feature__photo--peles img { aspect-ratio: 16 / 9; object-position: center 58%; }
.tour-feature__photos figure:not(.tour-feature__photo--peles) img { aspect-ratio: 4 / 5; object-position: center; }
.tour-feature__photos figcaption { font-size: 0.75rem; color: var(--ink-500); margin-top: 0.4em; text-align: center; }

.tour-grid { display: grid; gap: 1.5rem; margin-top: 1.75rem; }
@media (min-width: 40rem) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }

.tour-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.5rem; }
.tour-card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 0.4em; font-family: var(--font-mono); font-size: 0.78rem; color: var(--amber-600); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7em; }
.tour-card p { color: var(--ink-500); font-size: 0.95rem; }

.tour-book-panel { background: var(--ink); color: rgba(255,255,255,0.92); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); margin-top: 2.5rem; text-align: center; }
.tour-book-panel h2 { color: var(--white); }
.tour-book-panel p { color: rgba(255,255,255,0.75); max-width: 34rem; margin-inline: auto; }
.tour-book-panel__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; margin-top: 1.25rem; font-family: var(--font-mono); }
.tour-book-panel__links a { color: var(--amber); font-weight: 600; text-decoration-color: rgba(242,183,5,0.5); }

/* ---------------------------------------------------------------------- */
/* Contact                                                                 */
/* ---------------------------------------------------------------------- */

.contact-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: 1.4fr 1fr; } }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.contact-form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 34rem) { .contact-form__row--split { grid-template-columns: 1fr 1fr; } }

.field-check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.92rem; color: var(--ink-500); margin: 1.1rem 0; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--amber-600); flex-shrink: 0; }

#message { margin-bottom: 1rem; }
#message:empty { display: none; }
#message fieldset, #message > div { border: 0; margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--amber-100); }
#message fieldset h6 { margin: 0 0 0.2em; font-family: var(--font-body); font-size: 1rem; }
.form-error { background: #fbe9e7; color: var(--danger); padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.92rem; }

.contact-form .loader {
  display: inline-block; width: 1.1rem; height: 1.1rem; margin-left: 0.6rem;
  border: 2px solid rgba(20,24,31,0.25); border-top-color: var(--ink);
  border-radius: 50%; vertical-align: -0.2em; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.contact-aside { background: var(--ink); color: rgba(255,255,255,0.92); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.contact-aside h2 { color: var(--white); font-size: 1.3rem; }
.contact-aside p { color: rgba(255,255,255,0.72); }
.contact-aside a { color: var(--amber); text-decoration-color: rgba(242,183,5,0.5); font-weight: 600; }
.contact-aside .phone-link { display: block; font-family: var(--font-mono); font-size: 1.35rem; margin: 0.75rem 0; }
.contact-aside ul { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-on-dark); display: flex; flex-direction: column; gap: 0.6rem; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
@media (min-width: 50rem) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h2 { color: var(--amber); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,0.68); font-size: 0.95rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration-color: rgba(255,255,255,0.3); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.5rem; }

.site-footer__payments { margin-top: 1.25rem; opacity: 0.85; }
.site-footer__badges { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.site-footer__badges img { height: 42px; width: auto; border-radius: 4px; }

.site-footer__phone { font-family: var(--font-mono); font-size: 1.1rem; color: var(--white); font-weight: 600; }

.site-footer__bottom { border-top: 1px solid var(--line-on-dark); padding-block: 1.25rem; }
.site-footer__bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ---------------------------------------------------------------------- */
/* WhatsApp floating action                                                */
/* ---------------------------------------------------------------------- */

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.whatsapp-fab:hover { color: var(--white); filter: brightness(1.05); }
.whatsapp-fab img { width: 28px; height: 28px; }
@media (max-width: 26rem) {
  .whatsapp-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .whatsapp-fab { padding: 0.7rem; }
}

/* ---------------------------------------------------------------------- */
/* Route landing pages                                                     */
/* ---------------------------------------------------------------------- */

.route-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.route-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(42vw, 34rem);
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(242,183,5,0.035) 22px 44px);
  pointer-events: none;
}
.route-hero__inner { position: relative; z-index: 1; }
.route-hero h1 { color: var(--white); max-width: 56rem; }
.route-hero__lede { max-width: 42rem; font-size: 1.08rem; }
.breadcrumb--light ul { color: rgba(255,255,255,0.58); }
.breadcrumb--light a { color: rgba(255,255,255,0.75); }
.breadcrumb--light a:hover, .breadcrumb--light li[aria-current="page"] { color: var(--white); }
.breadcrumb--light li:not(:last-child)::after { color: rgba(255,255,255,0.25); }

.route-hero__ticket {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.route-hero__journey .routeline { margin: 0; }
.route-hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.route-hero__facts div { padding-top: 0.85rem; border-top: 1px dashed var(--line-strong); }
.route-hero__facts span, .route-hero__facts strong { display: block; }
.route-hero__facts span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-350); text-transform: uppercase; letter-spacing: 0.08em; }
.route-hero__facts strong { margin-top: 0.2rem; font-size: 0.95rem; }

.route-intro { display: grid; gap: 1rem; align-items: start; }
.route-intro .section-head { margin-bottom: 0; }
.route-promise { background: var(--amber-100); border: 1px solid #ecd990; border-radius: var(--radius-md); padding: 1.15rem; }
.route-promise > strong { font-family: var(--font-display); font-size: 1.25rem; }
.route-promise ul { margin-top: 0.65rem; display: grid; gap: 0.35rem; }
.route-promise li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; }
.route-promise li::before { content: "✓"; position: absolute; left: 0; color: #725000; font-weight: 700; }

.filter-notice { margin: 1.5rem 0; padding: 0.9rem 1rem; border: 1px solid #ecd990; background: var(--amber-100); border-radius: var(--radius-sm); font-size: 0.92rem; }
.filter-notice__label { display: inline-block; margin-right: 0.45rem; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.transfer-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.transfer-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.transfer-card__vehicle { display: grid; place-items: center; min-height: 10rem; padding: 1rem; background: var(--paper); }
.transfer-card__vehicle img { width: min(100%, 17rem); }
.transfer-card__body { padding: 1.25rem; }
.transfer-card__body h3 { font-size: 1.75rem; }
.transfer-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1rem; border-top: 1px solid var(--line); }
.transfer-card__specs li { min-width: 0; padding: 0.8rem 0.4rem 0 0; }
.transfer-card__specs span, .transfer-card__specs strong { display: block; }
.transfer-card__specs span { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; color: var(--ink-350); letter-spacing: 0.03em; }
.transfer-card__specs strong { margin-top: 0.15rem; font-size: 0.82rem; line-height: 1.35; }
.transfer-card__fare { position: relative; padding: 1.25rem; background: var(--ink); color: var(--white); }
.transfer-card__fare::before { content: ""; position: absolute; top: -1px; left: 1rem; right: 1rem; border-top: 2px dashed rgba(255,255,255,0.2); }
.transfer-card__price { margin: 0; color: var(--white); font-family: var(--font-mono); line-height: 1; }
.transfer-card__price span { font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; }
.transfer-card__unit { margin: 0.35rem 0 1rem; color: rgba(255,255,255,0.6); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }

.guarantee-list { display: grid; gap: 0; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); }
.guarantee-list li { padding: 0.85rem 1rem 0.85rem 2.5rem; position: relative; font-size: 0.9rem; }
.guarantee-list li + li { border-top: 1px solid var(--line); }
.guarantee-list li::before { content: "✓"; position: absolute; left: 1rem; color: var(--amber-600); font-weight: 700; }

.prose-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 5vw, 3rem); box-shadow: var(--shadow-sm); }
.prose-card__body { color: var(--ink-500); }
.route-links__grid { display: grid; gap: 1rem; }
.route-link-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(1.25rem, 3vw, 2rem); }
.route-link-card--return { background: var(--amber-100); border-color: #ecd990; }
.route-link-card__cta { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.1rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; }
.route-link-card__cta strong { color: var(--amber-600); font-family: var(--font-mono); }
.route-link-list { border-top: 1px solid var(--line); margin-block: 1rem; }
.route-link-list li { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.route-link-list li > span { color: var(--ink-350); font-family: var(--font-mono); font-size: 0.74rem; }
.text-link { font-weight: 600; }

@media (min-width: 42rem) {
  .route-hero__ticket { grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr); align-items: center; }
  .route-hero__facts { grid-template-columns: repeat(3, 1fr); }
  .route-hero__facts div { padding: 0 0 0 0.85rem; border-top: 0; border-left: 1px dashed var(--line-strong); }
  .transfer-card { display: grid; grid-template-columns: 13rem minmax(0, 1fr); }
  .transfer-card__fare { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr minmax(13rem, auto); align-items: center; gap: 1rem; }
  .transfer-card__unit { margin: 0; }
}
@media (min-width: 62rem) {
  .route-intro { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; }
  .transfer-card { grid-template-columns: 15rem minmax(0, 1fr) 15rem; align-items: stretch; }
  .transfer-card__fare { grid-column: auto; display: flex; flex-direction: column; justify-content: center; }
  .transfer-card__fare::before { inset: 1rem auto 1rem -1px; border-top: 0; border-left: 2px dashed rgba(255,255,255,0.2); }
  .route-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------- */
/* Checkout and payment                                                    */
/* ---------------------------------------------------------------------- */

.checkout-head { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 3rem); }
.checkout-head p { color: var(--ink-500); }
.checkout-back { display: inline-block; margin-bottom: 1rem; font-weight: 600; }
.checkout-summary { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); align-items: center; gap: 0.85rem; margin-bottom: 1rem; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.checkout-summary img { width: 100%; }
.checkout-summary__route strong, .checkout-summary__route span { display: block; }
.checkout-summary__route strong { line-height: 1.3; }
.checkout-summary__route span { margin-top: 0.2rem; color: var(--ink-350); font-size: 0.78rem; }
.checkout-summary__price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: 0.8rem; border-top: 1px dashed var(--line-strong); }
.checkout-summary__price strong { font-family: var(--font-mono); font-size: 1.35rem; }
.checkout-summary__price span { color: var(--ink-350); font-size: 0.78rem; }

.checkout-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.15rem, 4vw, 2.25rem); box-shadow: var(--shadow-sm); }
.checkout-form fieldset { min-width: 0; margin: 0; padding: 0 0 1.5rem; border: 0; }
.checkout-form fieldset + fieldset { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.checkout-form legend { float: left; width: 100%; margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.1; }
.checkout-form legend + * { clear: both; }
.form-grid { display: grid; gap: 1rem; width: 100%; }
.checkout-form .field label { display: flex; justify-content: space-between; }
.checkout-form .field label span { color: var(--ink-350); font-weight: 400; font-size: 0.78rem; }
.checkout-form .field input, .checkout-form .field select { width: 100%; min-height: 3rem; padding: 0.7rem 0.8rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); }
.checkout-form .field input:focus, .checkout-form .field select:focus { border-color: var(--ink); background: var(--white); }
.field__hint { margin: 0.35rem 0 0; color: var(--ink-350); font-size: 0.78rem; line-height: 1.4; }
.option-list { display: grid; gap: 0.6rem; }
.option-list label { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; gap: 0.7rem; align-items: start; padding: 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.option-list input, .payment-return input { width: 1.2rem; height: 1.2rem; margin: 0.1rem 0 0; accent-color: var(--amber-600); }
.option-list strong { font-family: var(--font-mono); font-size: 0.82rem; }
.option-list__consent { grid-template-columns: 1.25rem minmax(0, 1fr) !important; font-size: 0.88rem; }
.recaptcha-wrap { max-width: 100%; overflow-x: auto; margin-bottom: 1rem; }
.checkout-note { padding: 0.85rem; background: var(--paper); border-radius: var(--radius-sm); color: var(--ink-500); font-size: 0.85rem; }
.checkout-total { padding-top: 1.25rem; border-top: 2px dashed var(--line-strong); }
.checkout-total > div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.checkout-total > div span { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; color: var(--ink-350); }
.checkout-total > div strong { font-family: var(--font-mono); font-size: 1.65rem; }
.form-message, .booking-loading { display: none; margin-bottom: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); }
.form-message--error { background: #fff0ee; border: 1px solid #e3aaa4; color: var(--danger); }
.form-message--success { background: #eef8f0; border: 1px solid #a9d4b1; }
.booking-loading { background: var(--amber-100); border: 1px solid #ecd990; }
.checkout-form label.error { display: block; margin-top: 0.25rem; color: var(--danger); font-size: 0.78rem; }
.checkout-form input.error, .checkout-form select.error { border-color: var(--danger); }

.payment-intro { margin-bottom: 1rem; }
.payment-return { margin-bottom: 1.5rem; padding: 1rem; background: var(--amber-100); border: 1px solid #ecd990; border-radius: var(--radius-sm); }
.payment-return__option { display: flex; gap: 0.7rem; cursor: pointer; }
.payment-return__option span, .payment-return__option strong, .payment-return__option small { display: block; }
.payment-return__option small { color: var(--ink-500); }
.payment-summary { margin-bottom: 1.25rem; padding: 1.2rem; background: var(--ink); color: rgba(255,255,255,0.75); border-radius: var(--radius-md); }
.payment-summary h2 { color: var(--white); font-size: 1.6rem; }
.payment-summary dl { margin: 1rem 0; }
.payment-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--line-on-dark); }
.payment-summary dt { color: rgba(255,255,255,0.62); }
.payment-summary dd { margin: 0; color: var(--white); font-weight: 600; }
.payment-summary__total { margin-top: 0.4rem; padding-top: 0.85rem !important; }
.payment-summary__total dd { font-family: var(--font-mono); font-size: 1.2rem; color: var(--amber); }
.payment-summary img { max-height: 38px; width: auto; margin-top: 0.75rem; }
.payment-gateway-note { margin: 0.65rem 0 0; text-align: center; color: var(--ink-350); font-size: 0.78rem; }

@media (min-width: 38rem) {
  .checkout-summary { grid-template-columns: 6rem minmax(0, 1fr) auto; }
  .checkout-summary__price { grid-column: auto; display: block; padding: 0 0 0 1rem; border-top: 0; border-left: 1px dashed var(--line-strong); text-align: right; }
  .checkout-summary__price span { display: block; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid__wide { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------- */
/* Legal and system pages                                                  */
/* ---------------------------------------------------------------------- */

.legal-page { background: var(--paper); padding-block: clamp(2rem, 5vw, 4.5rem); }
.legal-shell { position: relative; }
.legal-shell > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 5vw, 3rem); box-shadow: var(--shadow-sm); }
.legal-shell h1 { padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--amber); }
.legal-copy { color: var(--ink-500); }
.legal-copy h2 { margin-top: 2rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.legal-copy h2:first-child { margin-top: 0; }
.legal-updated { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-350); }
.legal-copy ul, .legal-copy ol { display: grid; gap: 0.45rem; margin: 0.75rem 0 1.5rem; padding-left: 1.4rem; }
.legal-copy ul { list-style: disc; }
.legal-copy ol { list-style: decimal; }
.legal-copy a { overflow-wrap: anywhere; }

.status-page { min-height: 62vh; display: grid; align-items: center; background: var(--paper); padding-block: clamp(3rem, 8vw, 6rem); }
.status-page__inner { text-align: center; }
.status-page__inner > .breadcrumb { text-align: left; }
.status-page__code { display: block; margin-bottom: -0.1em; color: var(--paper-deep); font-family: var(--font-display); font-size: clamp(7rem, 30vw, 14rem); font-weight: 900; line-height: 0.72; }
.status-page__lede { max-width: 38rem; margin-inline: auto; color: var(--ink-500); font-size: 1.08rem; }
.status-page__actions { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.status-page__help { margin-top: 1.5rem; color: var(--ink-500); }
.status-page__symbol { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--amber-100); color: var(--amber-600); font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.status-page__symbol--success { background: #e8f6eb; color: #287a39; }
.status-page__symbol--cancel { background: #fff0ee; color: var(--danger); }
.status-card { max-width: 40rem; margin: 1.5rem auto; padding: clamp(1.25rem, 4vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); text-align: left; }
.status-card h2 { font-size: 1.55rem; }
.status-card__journey { padding-top: 1rem; border-top: 1px dashed var(--line-strong); font-family: var(--font-mono); font-size: 0.85rem; }

@media (min-width: 34rem) {
  .status-page__actions { flex-direction: row; }
}

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                           */
/* ---------------------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.5rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h2 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--amber-600);
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--amber-100); border-color: var(--amber); }
.faq-item summary:hover::after { border-color: var(--amber-600); }

.faq-item__answer { padding: 0 1.4rem 1.35rem; color: var(--ink-500); }
.faq-item__answer p { max-width: 42rem; }
.faq-item__answer a { font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Generic content fallbacks (unstyled legacy pages inherit these)         */
/* ---------------------------------------------------------------------- */

main > .wrap > h1:first-child,
main h1:first-child { margin-top: 0; }

table:not(.fare-table) { font-size: 0.95rem; }
table:not(.fare-table) th, table:not(.fare-table) td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; }

details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.5rem 1rem; margin-bottom: 0.75rem; }
details summary { cursor: pointer; font-weight: 600; padding: 0.5rem 0; }
details[open] summary { margin-bottom: 0.25rem; }
