/* Transport & Tours — warm landing palette (#FAF9F6, #1A365D, #C59B27) */

/* Header: light page needs in-flow nav (not transparent over white hero) */
body.page-transport #top-bar {
  position: relative;
  z-index: 200;
  background-color: #fff;
  box-shadow: 0 2px 16px rgba(26, 54, 93, 0.08);
}

body.page-transport #top-bar .top-bar__bg {
  display: none;
}

body.page-transport #top-bar .top-bar__navigation a:not(.custom-btn) {
  color: #1a365d;
}

body.page-transport #top-bar .top-bar__navigation li.active > a:not(.custom-btn),
body.page-transport #top-bar .top-bar__navigation li:hover > a:not(.custom-btn) {
  color: #c59b27;
}

body.page-transport #top-bar .top-bar__navigation .submenu {
  z-index: 210;
}

body.page-transport #top-bar.is-expanded .top-bar__bg {
  display: block;
  background-color: #1a365d !important;
  background-image: none !important;
}

body.page-transport #top-bar.is-expanded .top-bar__navigation a:not(.custom-btn) {
  color: #fff;
}

.transport-page {
  background: #faf9f6;
}

.transport-hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, #faf9f6 0%, #f3f1ec 100%);
}

@media (min-width: 992px) {
  .transport-hero {
    padding: 64px 0 52px;
  }
}

.transport-hero__kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: #c59b27;
  margin-bottom: 10px;
}

.transport-hero__title {
  margin: 0 0 16px;
  color: #1a365d;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.transport-hero__title span {
  color: #c59b27;
}

.transport-hero__lead {
  margin: 0 0 20px;
  max-width: 720px;
  color: #3d4f63;
  font-size: 16px;
  line-height: 1.65;
}

.transport-assist {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 720px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 8px 24px rgba(26, 54, 93, 0.06);
}

.transport-assist__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(197, 155, 39, 0.14);
  color: #c59b27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.transport-assist__h {
  margin: 0 0 6px;
  color: #1a365d;
  font-size: 15px;
  font-weight: 700;
}

.transport-assist__p {
  margin: 0;
  color: #4a5d73;
  font-size: 14px;
  line-height: 1.6;
}

.transport-section {
  padding: 44px 0;
}

.transport-section--alt {
  background: #fff;
  border-top: 1px solid rgba(26, 54, 93, 0.06);
  border-bottom: 1px solid rgba(26, 54, 93, 0.06);
}

.transport-section__head {
  margin-bottom: 28px;
  max-width: 760px;
}

.transport-section__kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  color: #c59b27;
  margin-bottom: 8px;
}

.transport-section__title {
  margin: 0 0 10px;
  color: #1a365d;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.transport-section__desc {
  margin: 0;
  color: #4a5d73;
  font-size: 15px;
  line-height: 1.6;
}

.transport-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(26, 54, 93, 0.1);
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.06);
}

.transport-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.transport-table th,
.transport-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(26, 54, 93, 0.08);
  vertical-align: top;
}

.transport-table th {
  background: #1a365d;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.transport-table tr:last-child td {
  border-bottom: none;
}

.transport-table tbody tr:nth-child(even) td {
  background: rgba(250, 249, 246, 0.7);
}

.transport-table td:first-child {
  font-weight: 700;
  color: #1a365d;
  white-space: nowrap;
}

.transport-table--rates td:nth-child(2) {
  font-weight: 600;
  color: #1a365d;
}

.transport-table__note {
  margin-top: 12px;
  color: #6b7d92;
  font-size: 13px;
  line-height: 1.5;
}

.transport-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .transport-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .transport-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.transport-info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 54, 93, 0.1);
  box-shadow: 0 8px 22px rgba(26, 54, 93, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.transport-info-card:hover {
  border-color: rgba(197, 155, 39, 0.45);
  box-shadow: 0 14px 32px rgba(26, 54, 93, 0.1);
  transform: translateY(-2px);
}

.transport-info-card__h {
  margin: 0 0 10px;
  color: #1a365d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.transport-info-card__p {
  flex: 1;
  margin: 0 0 16px;
  color: #4a5d73;
  font-size: 14px;
  line-height: 1.6;
}

.transport-info-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.transport-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 155, 39, 0.45);
  background: rgba(197, 155, 39, 0.1);
  color: #1a365d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.transport-link-btn:hover {
  background: rgba(197, 155, 39, 0.2);
  border-color: #c59b27;
  color: #1a365d;
  text-decoration: none;
}

.transport-link-btn--external::after {
  content: "↗";
  font-size: 12px;
  color: #c59b27;
}

.transport-dest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .transport-dest-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .transport-dest-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.transport-dest-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
  border: 2px solid rgba(26, 54, 93, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 54, 93, 0.08);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.transport-dest-card:hover {
  border-color: rgba(197, 155, 39, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 54, 93, 0.12);
}

.transport-dest-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.transport-dest-card:hover .transport-dest-card__img {
  transform: scale(1.06);
}

.transport-dest-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.88) 0%, rgba(26, 54, 93, 0.15) 60%, transparent 100%);
}

.transport-dest-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
}

.transport-booking-section {
  padding: 44px 0 64px;
  background: #f3f1ec;
}

/* Modals */
.transport-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.transport-modal[hidden] {
  display: none;
}

.transport-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 54, 93, 0.55);
}

.transport-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.transport-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 54, 93, 0.08);
  color: #1a365d;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.transport-modal__close:hover {
  background: rgba(197, 155, 39, 0.2);
}

.transport-modal__title {
  margin: 0 32px 12px 0;
  color: #1a365d;
  font-size: 20px;
}

.transport-modal__body {
  color: #4a5d73;
  font-size: 14px;
  line-height: 1.65;
}

.transport-modal__body p {
  margin: 0 0 12px;
}

.transport-modal__body p:last-child {
  margin-bottom: 0;
}

.transport-modal__footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 54, 93, 0.08);
}

/* Booking module — city grid & route panel */

.transport-city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .transport-city-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1200px) {
  .transport-city-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.transport-city-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 150px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.transport-city-card:hover {
  border-color: rgba(252, 219, 90, 0.45);
  transform: translateY(-2px);
}

.transport-city-card.is-selected {
  border-color: #fcdb5a;
  box-shadow: 0 0 0 1px rgba(252, 219, 90, 0.35), 0 12px 28px rgba(0, 0, 0, 0.35);
}

.transport-city-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.transport-city-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.transport-city-card.is-selected .transport-city-card__img,
.transport-city-card:hover .transport-city-card__img {
  transform: scale(1.05);
}

.transport-city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
}

.transport-city-card__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px 10px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
}

.transport-city-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.transport-city-card.is-selected .transport-city-card__check {
  background: #fcdb5a;
  border-color: #fcdb5a;
  color: #1a1a1a;
}

.transport-route-panel {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(252, 219, 90, 0.08);
  border: 1px solid rgba(252, 219, 90, 0.28);
}

.transport-route-panel__title {
  margin: 0 0 10px;
  color: #fcdb5a;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transport-route-panel__route {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.5;
}

.transport-route-panel__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transport-route-panel__stats li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.transport-route-panel__stats b {
  color: #fcdb5a;
}

.transport-route-panel__note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.transport-route-panel.is-loading .transport-route-panel__route::after {
  content: " — calculating route…";
  color: rgba(252, 219, 90, 0.8);
}

.transport-route-panel.is-error {
  border-color: rgba(255, 120, 120, 0.4);
  background: rgba(255, 80, 80, 0.08);
}

.transport-api-hint {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(252, 219, 90, 0.35);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.transport-api-hint code {
  color: #fcdb5a;
  font-size: 11px;
}
