:root {
  --ink: #152028;
  --muted: #5d6872;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #dde3e6;
  --brand: #047c7a;
  --brand-dark: #015f60;
  --accent: #d83b2d;
  --gold: #efb84c;
  --shadow: 0 18px 50px rgba(10, 26, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  color: #ffffff;
  background: rgba(12, 22, 30, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 168px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.main-nav a:hover,
.header-cta:hover {
  color: #ffffff;
}

.header-cta {
  min-width: max-content;
  padding: 12px 16px;
  color: #132027;
  font-weight: 700;
  background: var(--gold);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 21, 27, 0.88) 0%, rgba(9, 21, 27, 0.72) 42%, rgba(9, 21, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 18, 24, 0.38), rgba(12, 18, 24, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 520px);
  gap: clamp(26px, 5vw, 68px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 86px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats span {
  min-width: 136px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.booking-panel {
  align-self: end;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trip-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 18px;
  background: #edf3f3;
  border-radius: 8px;
}

.trip-toggle button {
  min-height: 42px;
  color: var(--muted);
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.trip-toggle button.active {
  color: #ffffff;
  background: var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(239, 184, 76, 0.55);
  outline-offset: 2px;
}

.search-button,
.book-button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  color: #ffffff;
  font-weight: 800;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.search-button:hover,
.book-button:hover {
  background: #b92f24;
}

.section-heading {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.results-section,
.section-band,
.timetable-section,
.features-section,
.agencies-section {
  padding: 76px 0;
}

.results-section {
  background: #ffffff;
}

.results-header {
  background: rgba(12, 22, 30, 0.94);
}

.results-page {
  min-height: 100vh;
  background: #ffffff;
}

.results-hero {
  padding: 132px 0 34px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 25, 31, 0.94), rgba(10, 25, 31, 0.72)),
    url("../img/hero-bus.png") center / cover;
}

.results-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 58px);
}

.results-summary {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.result-list,
.route-grid,
.agency-grid,
.features-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) 0.7fr 0.7fr minmax(360px, 1.35fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.result-group {
  display: block;
  padding: 0;
  overflow: hidden;
}

.result-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #eef6f6;
  border-bottom: 1px solid var(--line);
}

.result-company-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.result-company-logo,
.booking-company-logo,
.ticket-company-logo {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.result-company-logo {
  flex: 0 0 auto;
  width: 76px;
  height: 46px;
  padding: 5px;
}

.result-group__header strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: 24px;
}

.result-group__header span {
  display: block;
  color: var(--muted);
}

.result-group__header > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  background: #e4f0ef;
  border-radius: 999px;
}

.trip-availability-list {
  display: grid;
}

.trip-availability {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr minmax(360px, 1.35fr);
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.trip-availability:first-child {
  border-top: 0;
}

.trip-availability:nth-child(even) {
  background: #fbfcfc;
}

.trip-availability__details {
  display: grid;
  gap: 7px;
}

.trip-availability__details > span,
.trip-availability__details > em {
  display: block;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.trip-availability__details > em {
  color: var(--ink);
  font-weight: 800;
}

.result-card small,
.result-card span {
  display: block;
  color: var(--muted);
}

.result-card strong {
  font-size: 20px;
}

.result-main {
  display: grid;
  gap: 4px;
}

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

.fare-option {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.fare-option:hover,
.fare-option.active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.fare-option span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.fare-option strong {
  font-size: 17px;
}

.fare-option em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.25;
}

.fare-option:disabled {
  color: #8a949b;
  background: #eef1f2;
  border-color: #d8dddf;
  cursor: not-allowed;
  opacity: 0.72;
}

.book-button {
  width: auto;
  min-width: 130px;
  margin: 0;
  padding: 0 18px;
}

body.modal-open {
  overflow: hidden;
}

.choice-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(8, 16, 22, 0.62);
}

.choice-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 22px 28px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.choice-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-weight: 800;
  background: #eef3f3;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.choice-modal__header small {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.choice-modal__header h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3.4vw, 34px);
}

.choice-modal__header p,
.choice-note {
  color: var(--muted);
  line-height: 1.55;
}

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

.choice-summary span {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f5f8f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.choice-summary small,
.choice-summary em {
  color: var(--muted);
  font-style: normal;
}

.choice-summary strong {
  font-size: 19px;
}

.choice-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.passenger-fields {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.passenger-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 10px 14px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.passenger-line legend {
  padding: 0 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.payment-methods {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-methods legend {
  padding: 0 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.payment-methods input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.payment-methods span {
  display: grid;
  gap: 4px;
}

.payment-methods strong {
  color: var(--ink);
}

.payment-methods em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.payment-methods--logos label {
  min-height: 82px;
}

.payment-methods--logos img {
  width: 72px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.payment-phone-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 12px;
}

.payment-phone-grid label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.payment-phone-grid select,
.payment-phone-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.country-picker {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.country-flag {
  width: 34px;
  height: 24px;
  border: 1px solid rgba(17, 29, 36, 0.18);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(17, 29, 36, 0.12);
}

.flag-cg {
  background: linear-gradient(135deg, #009543 0 35%, #fbde4a 35% 65%, #dc241f 65% 100%);
}

.flag-cd {
  background:
    linear-gradient(135deg, transparent 0 41%, #f7d618 41% 47%, #ce1021 47% 55%, #f7d618 55% 61%, transparent 61%),
    #007fff;
}

.flag-ga {
  background: linear-gradient(#009e60 0 33.33%, #fcd116 33.33% 66.66%, #3b75c3 66.66%);
}

.flag-cm {
  background:
    radial-gradient(circle at center, #fcd116 0 12%, transparent 13%),
    linear-gradient(90deg, #007a5e 0 33.33%, #ce1126 33.33% 66.66%, #fcd116 66.66%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66%);
}

.choice-form .search-button {
  grid-column: 1 / -1;
}

.choice-note {
  margin: 14px 0 0;
}

.section-band {
  background: var(--paper);
}

.booking-page {
  background: var(--paper);
}

.booking-checkout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px) 70px;
}

.booking-recap,
.reservation-form {
  min-width: 0;
}

.booking-recap-card,
.reservation-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-recap-card {
  padding: 24px;
}

.booking-recap-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.booking-company-logo {
  flex: 0 0 auto;
  width: 88px;
  height: 50px;
  padding: 6px;
}

.booking-step,
.booking-block__head > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: 999px;
  font-weight: 900;
  flex: 0 0 auto;
}

.booking-block {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-block__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.booking-block__head h2 {
  margin: 0 0 4px;
  color: var(--brand-dark);
}

.booking-block__head p {
  margin: 0;
  color: var(--muted);
}

.booking-recap-card small {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.booking-recap-card h2 {
  margin: 5px 0;
  color: var(--brand-dark);
}

.booking-recap-card p {
  margin: 0;
  color: var(--muted);
}

.booking-recap-card header > strong {
  color: var(--brand-dark);
  font-size: 24px;
  white-space: nowrap;
}

.reservation-form {
  display: grid;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.booking-block > label,
.reservation-form > label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.reservation-form input[type="text"],
.reservation-form input[type="tel"],
.reservation-form input[type="number"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
}

.ticket-shell {
  min-height: 100vh;
  padding: 32px 16px;
  background: #f0f2f3;
}

.ticket-document {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 34px;
  background: #ffffff;
  border-top: 10px solid var(--brand);
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  color: #25313a;
}

.ticket-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #bfc8c8;
}

.ticket-header img {
  width: 180px;
  max-height: 58px;
  object-fit: contain;
}

.ticket-header .ticket-company-logo {
  display: block;
  width: 132px;
  height: 58px;
  margin: 8px 0 6px auto;
  padding: 6px;
}

.ticket-brand-name {
  display: block;
  margin-top: 4px;
  color: var(--brand-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.ticket-header small,
.ticket-header span {
  display: block;
  color: var(--muted);
}

.ticket-header strong {
  display: block;
  color: var(--brand);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  text-align: right;
}

.ticket-document h2 {
  margin: 14px 0 7px;
  color: var(--brand-dark);
  font-size: 18px;
  text-decoration: underline;
}

.ticket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ticket-table th,
.ticket-table td {
  padding: 7px 8px;
  border: 1px solid #8e989b;
  vertical-align: top;
}

.ticket-table th {
  color: #5a6870;
  font-weight: 700;
  background: #f5f8f8;
}

.ticket-table td,
.ticket-table tfoot {
  font-weight: 700;
}

.ticket-table tfoot td {
  text-align: right;
}

.ticket-note {
  margin: 8px 0 14px;
  font-size: 12px;
  font-weight: 700;
}

.ticket-receipt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 170px;
  border: 1px solid #c8d0d2;
}

.ticket-receipt > div {
  padding: 18px;
}

.ticket-receipt > div + div {
  border-left: 1px solid #c8d0d2;
}

.ticket-total {
  margin-top: 28px;
  font-size: 18px;
}

.ticket-actions {
  margin-top: 22px;
  text-align: right;
}

@media print {
  .ticket-shell {
    padding: 0;
    background: #ffffff;
  }

  .ticket-document {
    width: 100%;
    box-shadow: none;
  }

  .ticket-actions {
    display: none;
  }
}

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

.route-card,
.agency-grid article,
.feature {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-card span {
  display: inline-grid;
  width: 48px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: var(--brand);
  border-radius: 6px;
}

.route-card h3,
.agency-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.route-card p,
.agency-grid p,
.feature p {
  color: var(--muted);
  line-height: 1.55;
}

.route-card strong {
  color: var(--accent);
}

.timetable-section {
  background: #ffffff;
}

.timetable {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.65fr 0.65fr 0.55fr;
  gap: 16px;
  padding: 17px 20px;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: #ffffff;
  font-weight: 800;
  background: var(--brand-dark);
}

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

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.agencies-section {
  background: var(--paper);
}

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

.agency-grid a {
  color: var(--brand-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: #111d24;
}

.site-footer p {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 170px;
  }

  .booking-panel {
    align-self: auto;
  }

  .result-card {
    grid-template-columns: 1fr 1fr;
  }

  .trip-availability {
    grid-template-columns: 1fr 1fr;
  }

  .fare-options {
    grid-column: 1 / -1;
  }

  .route-grid,
  .features-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    height: 34px;
    max-width: 150px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 32px;
    line-height: 1.05;
  }

  .result-card,
  .trip-availability,
  .agency-grid,
  .choice-summary,
  .choice-form,
  .passenger-line,
  .payment-methods,
  .fare-options {
    grid-template-columns: 1fr;
  }

  .booking-checkout {
    grid-template-columns: 1fr;
    padding: 24px 14px 52px;
  }

  .payment-phone-grid {
    grid-template-columns: 1fr;
  }

  .booking-recap-card,
  .reservation-form {
    padding: 18px;
  }

  .booking-recap-card header {
    display: grid;
  }

  .booking-recap-card header > strong {
    font-size: 21px;
  }

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

  .form-grid label {
    gap: 5px;
    font-size: 12px;
  }

  input,
  select {
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }

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

  .hero-content {
    width: min(100% - 24px, 1180px);
    gap: 22px;
    padding-top: 118px;
    padding-bottom: 34px;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.45;
  }

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

  .hero-stats span {
    min-width: 0;
    padding: 10px;
    font-size: 12px;
  }

  .hero-stats strong {
    font-size: 17px;
  }

  .booking-panel {
    padding: 12px;
  }

  .trip-toggle {
    margin-bottom: 12px;
  }

  .trip-toggle button {
    min-height: 38px;
    font-size: 13px;
  }

  .search-button,
  .book-button {
    min-height: 44px;
    margin-top: 14px;
    font-size: 14px;
  }

  .results-section,
  .section-band,
  .timetable-section,
  .features-section,
  .agencies-section {
    padding: 52px 0;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }

  .timetable {
    border: 0;
    background: transparent;
  }

  .table-head {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .table-row span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
  }

  .table-row span::before {
    color: var(--muted);
    font-weight: 800;
  }

  .table-row span:nth-child(1)::before {
    content: "Compagnie";
  }

  .table-row span:nth-child(2)::before {
    content: "Ligne";
  }

  .table-row span:nth-child(3)::before {
    content: "Depart";
  }

  .table-row span:nth-child(4)::before {
    content: "Arrivee";
  }

  .table-row span:nth-child(5)::before {
    content: "Places";
  }
}
