:root {
  --navy-950: #071a33;
  --navy-900: #0b2748;
  --navy-800: #123b63;
  --navy-700: #195078;
  --ink: #182232;
  --muted: #607086;
  --line: #d8dee8;
  --soft: #f5f7fa;
  --silver: #e9edf2;
  --white: #ffffff;
  --gold: #c49a45;
  --gold-soft: #f4dfad;
  --red: #b82f3c;
  --teal: #147d7b;
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.16);
  --shadow-soft: 0 16px 42px rgba(7, 26, 51, 0.1);
  --radius: 8px;
  --max: 1180px;
  --header-offset: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6.8vw, 6.35rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.6rem);
}

h3 {
  font-size: 1.35rem;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(196, 154, 69, 0.55);
  outline-offset: 3px;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy-950);
  clip: auto;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(940px, calc(100% - 32px));
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-soft {
  background:
    linear-gradient(135deg, rgba(20, 125, 123, 0.08), transparent 38%),
    var(--soft);
}

.section-silver {
  background:
    linear-gradient(145deg, rgba(196, 154, 69, 0.12), transparent 36%),
    var(--silver);
}

.section-dark {
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-950);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: linear-gradient(90deg, var(--red), #8b2430 45%, var(--navy-900));
  font-size: 0.95rem;
  text-align: center;
}

.announcement p {
  margin: 0;
  overflow-wrap: anywhere;
}

.announcement a {
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(216, 222, 232, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.brand-logo {
  width: 98px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: 124px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.primary-nav a {
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  color: #2f3f54;
  font-size: 0.93rem;
  font-weight: 700;
}

.primary-nav a:hover {
  color: var(--navy-950);
  background: var(--soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switcher {
  position: relative;
  z-index: 120;
  color: var(--navy-950);
  font-size: 0.88rem;
  font-weight: 900;
}

.language-menu {
  position: relative;
}

.language-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(216, 222, 232, 0.94);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(196, 154, 69, 0.16), transparent 48%),
    #ffffff;
  box-shadow: 0 10px 26px rgba(7, 26, 51, 0.08);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.language-menu-trigger:focus-visible {
  outline: 3px solid rgba(196, 154, 69, 0.42);
  outline-offset: 3px;
}

.language-flag {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(7, 26, 51, 0.08);
  font-size: 1rem;
  line-height: 1;
}

.language-code {
  letter-spacing: 0.08em;
}

.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.7;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.language-menu.is-open .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 130;
  display: grid;
  min-width: 220px;
  padding: 0.45rem;
  border: 1px solid rgba(216, 222, 232, 0.94);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  visibility: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.language-menu.is-open .language-menu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.language-menu-list a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.58rem 0.65rem;
  border-radius: 12px;
  color: var(--ink);
}

.language-menu-list a:hover,
.language-menu-list a[aria-current="page"] {
  background: var(--soft);
  color: var(--navy-950);
}

.language-menu-list a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--gold);
}

.language-menu-list small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-950);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 12px 30px rgba(196, 154, 69, 0.28);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.button-outline {
  color: var(--navy-950);
  border-color: rgba(7, 26, 51, 0.24);
  background: var(--white);
}

.button-wide {
  width: 100%;
}

.centered-button {
  margin: 2rem auto 0;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: opacity 400ms ease;
}

.js .hero-bg,
.js .final-bg {
  opacity: 0.42;
}

.is-image-loaded.hero-bg,
.is-image-loaded.final-bg {
  opacity: 0.42;
}

.hero::before,
.final-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
}

.hero::before {
  background:
    linear-gradient(115deg, rgba(7, 26, 51, 0.92), rgba(7, 26, 51, 0.76) 44%, rgba(184, 47, 60, 0.24)),
    radial-gradient(circle at 84% 22%, rgba(196, 154, 69, 0.28), transparent 30%),
    linear-gradient(145deg, rgba(7, 26, 51, 0.88), rgba(18, 59, 99, 0.76) 54%, rgba(16, 43, 67, 0.9)),
    url("images/al-boraq-train-hero.jpg");
  background-position: center;
  background-size: auto, auto, auto, cover;
}

.final-cta::before {
  background:
    linear-gradient(115deg, rgba(7, 26, 51, 0.94), rgba(7, 26, 51, 0.72) 56%, rgba(184, 47, 60, 0.22)),
    url("images/al-boraq-train-platform-tangier.jpg");
  background-position: center;
  background-size: auto, cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 26, 51, 0.78) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 80px);
}

.hero-grid {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 780px;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-copy {
  max-width: 850px;
  min-width: 0;
}

.hero-lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-slogan {
  max-width: 680px;
  margin: -0.4rem 0 1rem;
  color: var(--gold-soft);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--gold-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.trust-list li {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.booking-widget,
.ticket-widget-large {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 232, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.booking-widget {
  position: relative;
  z-index: 20;
  padding: 1.25rem;
}

.booking-widget h2 {
  margin-bottom: 1rem;
  color: var(--navy-950);
  font-size: 1.9rem;
}

.panel-kicker {
  margin-bottom: 0.25rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ticket-widget {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(196, 154, 69, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f6f8fb);
}

.ticket-widget::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
  z-index: 1;
}

.ticket-widget script {
  display: none;
}

.ticket-widget iframe,
.ticket-widget form,
.ticket-widget .one2go,
.ticket-widget .one2go * {
  max-width: 100% !important;
}

.ticket-widget iframe,
.ticket-widget form,
.ticket-widget .one2go {
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 18px;
}

.ticket-widget-fallback[hidden] {
  display: none;
}

.ticket-widget-fallback {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.8rem;
  margin: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(7, 26, 51, 0.1);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.04), transparent 45%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(7, 26, 51, 0.08);
}

.ticket-widget-fallback label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy-950);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticket-widget-fallback select,
.ticket-widget-fallback input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(7, 26, 51, 0.14);
  border-radius: 999px;
  padding: 0 1rem;
  background: #f9fbfd;
  color: var(--navy-950);
  font: inherit;
  font-weight: 800;
}

.ticket-widget-fallback button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #e35a55);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(196, 40, 40, 0.24);
}

.ticket-widget-fallback-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.powered {
  position: relative;
  z-index: 2;
  margin-top: 0.55rem;
  padding: 0 0.7rem 0.2rem;
  text-align: right;
}

.powered a {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.72;
}

.ticket-widget .one2go .powered {
  display: none !important;
}

.ticket-widget-large {
  position: relative;
  z-index: 20;
  padding: 1rem;
  min-height: 430px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1fr);
}

.split-layout.reverse .section-copy {
  order: 2;
}

.section-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.fact-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.fact-grid article,
.feature-grid span,
.itinerary-grid article,
.steps article,
.support-card,
.note-card,
.warning-note,
.station-tip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.fact-grid article {
  min-width: 0;
  padding: 1rem;
}

.fact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.fact-grid strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--navy-950);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.media-frame,
.wide-media,
.map-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border: 1px solid rgba(216, 222, 232, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(196, 154, 69, 0.22), transparent 34%),
    linear-gradient(145deg, #eef2f6, #cbd5df 50%, #eef2f6);
  box-shadow: var(--shadow);
}

.media-frame::after,
.wide-media::after,
.map-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 52%, rgba(255, 255, 255, 0.34)),
    repeating-linear-gradient(90deg, rgba(7, 26, 51, 0.05) 0 1px, transparent 1px 44px);
  pointer-events: none;
}

.media-frame.tall {
  min-height: 0;
}

.media-frame.small {
  min-height: 0;
  box-shadow: none;
}

.wide-media {
  min-height: 0;
  margin-top: 2.4rem;
}

.js .media-frame img,
.js .wide-media img,
.js .map-visual img {
  opacity: 0;
}

.media-frame img,
.wide-media img,
.map-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(196, 154, 69, 0.14), transparent 32%),
    linear-gradient(145deg, #f8fafc, #edf1f6);
  transition: opacity 300ms ease;
}

.media-collage {
  display: grid;
  gap: 0.48rem;
  padding: 0.48rem;
  background:
    linear-gradient(135deg, rgba(196, 154, 69, 0.18), transparent 36%),
    linear-gradient(145deg, #ffffff, #edf2f7);
}

.media-frame.media-collage {
  aspect-ratio: 1 / 1;
}

.media-frame.tall.media-collage {
  aspect-ratio: 4 / 5;
}

.media-collage img {
  min-width: 0;
  min-height: 0;
  border-radius: calc(var(--radius) - 3px);
  object-fit: cover;
  background: #eef2f6;
}

.media-collage-trio {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.media-collage-trio img:first-child {
  grid-row: span 2;
}

.media-collage-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.media-collage-mosaic img:first-child {
  grid-column: span 2;
}

.media-collage-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.media-collage-route {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.media-collage-route img:first-child {
  grid-row: span 2;
  object-fit: contain;
  background:
    radial-gradient(circle at 28% 16%, rgba(196, 154, 69, 0.12), transparent 34%),
    #ffffff;
}

.media-frame.is-image-loaded img,
.wide-media.is-image-loaded img,
.map-visual.is-image-loaded img {
  opacity: 1;
}

.media-frame.is-image-missing img,
.wide-media.is-image-missing img,
.map-visual.is-image-missing img {
  display: none;
}

.cta-band {
  padding: 3rem 0;
}

.section-gold {
  background:
    linear-gradient(120deg, rgba(196, 154, 69, 0.18), rgba(20, 125, 123, 0.09)),
    #fffaf0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.cta-band p {
  max-width: 780px;
  margin-bottom: 0.55rem;
  color: #46566b;
}

.cta-band small {
  color: var(--navy-950);
  font-weight: 800;
}

.route-section {
  background:
    linear-gradient(180deg, #ffffff, #f7f8fa);
}

.route-map-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.map-visual {
  min-height: 0;
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.route-line::before {
  display: none;
  content: none;
}

.route-line article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.station-route-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0 0 0.95rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--soft);
}

.station-route-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.station-route-photo figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 26, 51, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.station-dot {
  position: absolute;
  z-index: 2;
  top: 1.35rem;
  left: 1.35rem;
  width: 20px;
  height: 20px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px rgba(184, 47, 60, 0.35);
}

.route-line article:nth-child(2) .station-dot {
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(196, 154, 69, 0.35);
}

.route-line article:nth-child(3) .station-dot {
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(20, 125, 123, 0.35);
}

.route-line article:nth-child(4) .station-dot {
  background: var(--navy-800);
  box-shadow: 0 0 0 2px rgba(18, 59, 99, 0.35);
}

.route-line h3,
.route-line p {
  margin-bottom: 0.45rem;
}

.route-line p:last-child {
  margin-bottom: 0;
}

.visual-stack {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.visual-stack::before {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 1rem;
  width: 2px;
  content: "";
  background: linear-gradient(var(--red), var(--gold), var(--teal));
  opacity: 0.55;
}

.visual-stack-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(130px, 0.92fr) minmax(0, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0.65rem;
  border: 1px solid rgba(216, 222, 232, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(196, 154, 69, 0.1), transparent 48%),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.visual-stack-card img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  border-radius: calc(var(--radius) - 3px);
  object-fit: cover;
}

.visual-stack-card figcaption {
  align-self: center;
  margin: 0;
  color: var(--navy-950);
  font-weight: 900;
  line-height: 1.25;
}

.visual-stack-card figcaption span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-right: 0.45rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-950);
  font-size: 0.82rem;
}

.journey-visual-stack {
  gap: 1rem;
}

.journey-card {
  grid-template-columns: minmax(150px, 1fr) minmax(0, 1fr);
}

.journey-card figcaption span {
  width: auto;
  height: auto;
  margin: 0 0 0.4rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
}

.journey-card:nth-child(even) {
  transform: translateX(1.2rem);
}

.route-card-grid,
.station-grid,
.trust-grid,
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.class-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.route-card,
.station-card,
.class-card,
.trust-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.route-card {
  min-height: 330px;
  padding: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(184, 47, 60, 0.08), transparent 40%);
}

.route-card span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card p,
.station-card p,
.class-card p {
  color: var(--muted);
}

.route-card a {
  display: inline-flex;
  margin-top: auto;
  color: var(--navy-950);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  padding: 1rem;
}

.steps article span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy-950);
  font-weight: 900;
}

.steps h3,
.steps p {
  grid-column: 2;
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--muted);
}

.note-card,
.warning-note,
.availability-note,
.station-tip,
.support-card {
  padding: 1rem;
}

.note-card {
  color: var(--navy-950);
  background: #fffaf0;
}

.warning-note {
  color: #6d2430;
  background: #fff4f5;
}

.availability-note {
  border-left: 4px solid var(--gold);
  color: var(--navy-950);
  background: #fffaf0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--white);
  background: var(--navy-950);
}

tbody th {
  color: var(--navy-950);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.class-card,
.station-card {
  overflow: hidden;
}

.class-card h3,
.class-card p,
.station-card h3,
.station-card p {
  padding-right: 1rem;
  padding-left: 1rem;
}

.station-card h3,
.class-card h3 {
  margin-top: 1rem;
}

.station-card p,
.class-card p {
  padding-bottom: 1rem;
}

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

.station-tip {
  margin-top: 1rem;
  background: var(--white);
}

.station-tip h3 {
  margin-bottom: 0.35rem;
}

.station-tip p {
  margin-bottom: 0;
  color: var(--muted);
}

.itinerary-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.itinerary-grid article {
  padding: 1rem;
}

.itinerary-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid span {
  padding: 0.85rem 1rem;
  color: var(--navy-950);
  font-weight: 850;
}

.check-list,
.tips-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.4rem 0;
  list-style: none;
}

.check-list li,
.tips-list li {
  position: relative;
  padding-left: 1.75rem;
  color: #3f4f63;
}

.check-list li::before,
.tips-list li::before {
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background:
    linear-gradient(135deg, var(--gold), var(--red));
}

.tips-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.why-section {
  position: relative;
  overflow: hidden;
}

.why-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(184, 47, 60, 0.16), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 70px);
  pointer-events: none;
}

.why-section .container {
  position: relative;
}

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

.trust-grid article {
  padding: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.trust-grid h3 {
  font-size: 1.15rem;
}

.trust-grid p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 26, 51, 0.06);
}

summary {
  position: relative;
  padding: 1rem 3.2rem 1rem 1rem;
  color: var(--navy-950);
  font-weight: 900;
  cursor: pointer;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  content: "+";
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final-cta::before {
  z-index: 1;
  opacity: 0.96;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  width: min(830px, 100%);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.13rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

.booking-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.support-card {
  margin-top: 1.4rem;
  background: var(--soft);
}

.support-card h3 {
  margin-bottom: 0.35rem;
}

.support-card p {
  margin-bottom: 0;
  color: var(--muted);
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .header-inner,
html[dir="rtl"] .primary-nav,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .trust-list,
html[dir="rtl"] .cta-band-inner,
html[dir="rtl"] .footer-bottom {
  direction: rtl;
}

html[dir="rtl"] .language-switcher {
  direction: ltr;
}

html[dir="rtl"] .station-dot {
  right: 1.35rem;
  left: auto;
}

html[dir="rtl"] .station-route-photo figcaption {
  right: auto;
  left: 0.65rem;
}

html[dir="rtl"] .visual-stack::before {
  right: 1rem;
  left: auto;
}

html[dir="rtl"] .visual-stack-card figcaption span {
  margin-right: 0;
  margin-left: 0.45rem;
}

html[dir="rtl"] .journey-card:nth-child(even) {
  transform: translateX(-1.2rem);
}

html[dir="rtl"] .check-list li,
html[dir="rtl"] .tips-list li {
  padding-right: 1.75rem;
  padding-left: 0;
}

html[dir="rtl"] .check-list li::before,
html[dir="rtl"] .tips-list li::before {
  right: 0;
  left: auto;
}

.desktop-floating-cta,
.mobile-sticky-cta,
.whatsapp-help {
  position: fixed;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 14px 36px rgba(7, 26, 51, 0.24);
  font-weight: 900;
}

.desktop-floating-cta {
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.desktop-floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-sticky-cta {
  display: none;
}

.whatsapp-help {
  right: 1.2rem;
  bottom: 5rem;
  color: var(--white);
  background: var(--teal);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #061326;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(6, minmax(110px, 1fr));
  gap: 1.4rem;
  padding: 3.5rem 0 2rem;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small,
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.68);
}

.footer-disclaimer {
  max-width: 460px;
  margin: 1rem 0 0;
  font-size: 0.93rem;
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer nav,
.footer-legal {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    background: var(--white);
  }

  .primary-nav {
    top: 100px;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-content: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow);
  }

  .header-actions {
    top: 480px;
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem 1rem;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .primary-nav,
  .site-header.is-open .header-actions {
    display: grid;
  }

  .site-header.is-open .header-actions {
    display: flex;
  }

  .language-switcher {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .route-map-wrap,
  .booking-request-grid {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse .section-copy {
    order: 0;
  }

  .route-card-grid,
  .station-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-offset: 76px;
  }

  body {
    padding-bottom: 76px;
    font-size: 16px;
  }

  h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.12rem);
    hyphens: auto;
    word-break: break-word;
  }

  .hero h1 {
    max-width: min(100%, 13ch);
  }

  h2 {
    hyphens: auto;
  }

  .container,
  .narrow {
    width: min(100% - 24px, var(--max));
  }

  .announcement {
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
  }

  .announcement a {
    align-self: center;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 72px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .primary-nav {
    top: 88px;
  }

  .header-actions {
    top: 468px;
  }

  .hero-grid {
    padding: 3.8rem 0;
  }

  .hero-copy,
  .booking-widget,
  .ticket-widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-actions,
  .cta-band-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .trust-list li {
    width: 100%;
  }

  .booking-widget {
    padding: 1rem;
  }

  .ticket-widget .one2go {
    display: block !important;
    width: calc(100% - 1.2rem) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0.6rem !important;
    overflow: hidden !important;
    border-radius: 24px !important;
  }

  .ticket-widget .one2go .height,
  .ticket-widget .one2go form.o2grow {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.85rem !important;
    box-sizing: border-box !important;
  }

  .ticket-widget .one2go *,
  .ticket-widget .one2go *::before,
  .ticket-widget .one2go *::after {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ticket-widget .one2go .one2goheader {
    margin: -0.85rem -0.85rem 0 !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .ticket-widget .one2go .o2gcol,
  .ticket-widget .one2go .o2gcol-xs-6,
  .ticket-widget .one2go .o2ginput-group,
  .ticket-widget .one2go .o2ginput-group-btn,
  .ticket-widget .one2go .o2gmonth {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .ticket-widget .one2go .o2gform-control,
  .ticket-widget .one2go .o2ggo,
  .ticket-widget .one2go .o2gbtn {
    width: 100% !important;
    min-height: 46px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .fact-grid,
  .feature-grid,
  .route-card-grid,
  .station-grid,
  .trust-grid,
  .class-grid,
  .tips-list {
    grid-template-columns: 1fr;
  }

  .fact-grid strong,
  .feature-grid span {
    font-size: 0.95rem;
    word-break: break-word;
  }

  .route-card {
    min-height: auto;
  }

  .route-line {
    grid-template-columns: 1fr;
  }

  .route-line article {
    padding: 1rem;
  }

  .station-route-photo {
    aspect-ratio: 16 / 10;
  }

  .visual-stack::before {
    left: 0.82rem;
  }

  .visual-stack-card,
  .journey-card {
    grid-template-columns: 1fr;
  }

  .visual-stack-card img {
    min-height: 190px;
  }

  .journey-card:nth-child(even) {
    transform: none;
  }

  .media-frame,
  .wide-media,
  .map-visual {
    min-height: 0;
  }

  .media-frame.tall {
    min-height: 0;
  }

  .media-frame.tall.media-collage {
    aspect-ratio: 16 / 11;
  }

  .media-collage-strip,
  .media-collage-duo,
  .media-collage-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-collage-strip img:first-child,
  .media-collage-route img:first-child {
    grid-column: span 2;
  }

  .media-collage-route img:first-child {
    grid-row: auto;
  }

  .table-wrap {
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  th,
  td {
    padding: 0.85rem;
  }

  .steps article {
    grid-template-columns: 38px 1fr;
  }

  .steps article span {
    width: 38px;
    height: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .desktop-floating-cta {
    display: none;
  }

  .mobile-sticky-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    border-radius: var(--radius);
  }

  .whatsapp-help {
    right: 12px;
    bottom: 74px;
    left: 12px;
    border-radius: var(--radius);
  }
}
