/* ===========================================================
   Al Massar — project overrides
   Extends demo1/assets/css/theme.css
   =========================================================== */

/* -----------------------------------------------------------
   Brand color system
   Primary: #0091D0 — from the Al Massar logo (cerulean blue).
   Accent:  #E5B04B — heritage gold, pairs with the primary
            and evokes the earthy / pilgrimage palette.
   Neutral surfaces keep a subtle blue undertone so the brand
   blue blends naturally rather than punching against grey.
   ----------------------------------------------------------- */
:root {
  /* Primary blue */
  --brand-primary: #0091d0;
  --brand-primary-600: #0078b0;
  --brand-primary-700: #005e8a;
  --brand-primary-400: #33a7d9;
  --brand-primary-300: #66bde3;
  --brand-primary-200: #99d2ec;
  --brand-primary-100: #cce9f6;
  --brand-primary-50: #e6f4fb;
  --brand-primary-rgb: 0, 145, 208;

  /* Accent gold */
  --brand-accent: #e5b04b;
  --brand-accent-600: #c99632;
  --brand-accent-400: #ecc271;
  --brand-accent-rgb: 229, 176, 75;

  /* Neutrals with a hint of blue so the brand sits in the family */
  --brand-ink:        #0a0e13;
  --brand-surface:    #101418;
  --brand-surface-2:  #171c22;
  --brand-surface-3:  #1e2329;
  --brand-border:     rgba(255, 255, 255, 0.08);
  --brand-border-strong: rgba(255, 255, 255, 0.16);
  --brand-divider:    rgba(255, 255, 255, 0.06);

  /* Text */
  --brand-text:       #ffffff;
  --brand-text-muted: rgba(255, 255, 255, 0.72);
  --brand-text-soft:  rgba(255, 255, 255, 0.55);

  /* Ring / focus */
  --brand-focus-ring: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.35);
}

/* -----------------------------------------------------------
   Ambient brand glow
   Replaces the old animated vertical lines with a calm, static
   backdrop: a soft blue wash in the upper-left and a warm gold
   wash in the lower-right. Fixed so it feels atmospheric while
   scrolling, and z-index: -1 so it sits between the body's
   black background and all page content.
   ----------------------------------------------------------- */
.brand-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      60vw 55vh at 12% 18%,
      rgba(var(--brand-primary-rgb), 0.18),
      transparent 65%
    ),
    radial-gradient(
      55vw 50vh at 88% 82%,
      rgba(var(--brand-accent-rgb), 0.10),
      transparent 65%
    );
}
.theme-light .brand-glow {
  background:
    radial-gradient(
      60vw 55vh at 12% 18%,
      rgba(var(--brand-primary-rgb), 0.10),
      transparent 65%
    ),
    radial-gradient(
      55vw 50vh at 88% 82%,
      rgba(var(--brand-accent-rgb), 0.07),
      transparent 65%
    );
}
@media (prefers-reduced-motion: no-preference) {
  /* Purely static — no motion needed. Kept as a hook if we
     ever want a very slow drift later. */
}

/* --- Text selection */
::selection {
  background: var(--brand-primary);
  color: #fff;
}
::-moz-selection {
  background: var(--brand-primary);
  color: #fff;
}

/* --- Focus rings (accessible, brand-tinted) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Form control focus */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.18) !important;
}

/* --- `//` kicker marker before title-heading — gold accent
   so it reads as an intentional brand mark rather than a
   quiet bit of punctuation that disappears next to the
   small-caps label. Visible on dark, restated in light bands. */
.title-heading:before {
  color: var(--brand-accent);
  font-weight: 600;
  opacity: 0.9;
}

/* --- Content links inherit brand on hover */
p a,
li a:not(.nav-link):not(.nav-dropdown-link):not(.nav-subdropdown-link):not(.button):not(.nav-dropdown-toggle) {
  color: var(--brand-primary-300);
  text-decoration: none;
  transition: color 0.2s ease;
}
p a:hover,
li a:not(.nav-link):not(.nav-dropdown-link):not(.nav-subdropdown-link):not(.button):hover {
  color: var(--brand-primary-200);
}

/* --- Buttons: brand gradient replaces the generic pink/blue */
.button:after {
  background-image: linear-gradient(
    45deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  ) !important;
  opacity: 0.22 !important;
}
.button:hover:after {
  opacity: 0.38 !important;
}
.button:hover {
  background: rgba(var(--brand-primary-rgb), 0.18) !important;
}

/* Solid primary CTA — add `.button-primary` in markup */
.button.button-primary {
  background: var(--brand-primary);
  color: #fff;
}
.button.button-primary:after {
  display: none;
}
.button.button-primary:hover {
  background: var(--brand-primary-600) !important;
}

/* Accent CTA — add `.button-accent` in markup */
.button.button-accent {
  background: var(--brand-accent);
  color: var(--brand-ink);
}
.button.button-accent:after {
  display: none;
}
.button.button-accent:hover {
  background: var(--brand-accent-600) !important;
  color: #fff !important;
}

/* --- Circle buttons use primary tint on hover */
.button-circle:hover {
  background: rgba(var(--brand-primary-rgb), 0.22) !important;
}

/* --- Nav link active / hover uses a soft brand tint instead of black */
.header .header-menu .nav .nav-item .nav-link:hover,
.header .header-menu .nav .nav-item .nav-link.active,
.header .header-menu .nav .nav-item:hover .nav-link {
  background: rgba(var(--brand-primary-rgb), 0.22) !important;
  color: #fff;
}

/* --- Underline animation in dropdowns switches to brand */
.header .header-menu .nav .nav-item .nav-dropdown .nav-dropdown-item .nav-dropdown-link:before,
.header .header-menu .nav .nav-item .nav-dropdown .nav-dropdown-item .nav-subdropdown .nav-subdropdown-item .nav-subdropdown-link:before {
  background: var(--brand-primary) !important;
  height: 2px !important;
}

/* --- Mobile menu toggle button tinted */
.header .menu-toggle {
  background: rgba(var(--brand-primary-rgb), 0.35) !important;
}

/* -----------------------------------------------------------
   Logo: desktop uses horizontal PNG, mobile uses compact SVG
   ----------------------------------------------------------- */
.header .header-logo .logo-desktop,
.header .header-logo .logo-mobile {
  height: auto;
  width: auto;
  max-height: 50px;
  max-width: 100%;
}

/* Shrink desktop logo slightly between 1250–1449 so it doesn't
   crowd the nav pill. 1450px+ uses the full 50px height. */
@media (min-width: 1250px) and (max-width: 1449.98px) {
  .header .header-logo .logo-desktop {
    max-height: 38px;
  }
}
.header .header-logo .logo-mobile {
  display: none;
}

/* Switch to the compact SVG icon below 1250px. */
@media (max-width: 1249.98px) {
  .header .header-logo .logo-desktop {
    display: none;
  }
  .header .header-logo .logo-mobile {
    display: block;
    width: 75px;
    height: auto;
    max-height: initial;
  }
}

/* -----------------------------------------------------------
   Navigation breakpoint override
   8 content-heavy nav items + language switcher. They fit
   inline from 1200px up; below that, use the slide-in menu.
   ----------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .header .header-menu {
    z-index: 992;
    position: fixed;
    top: 0;
    right: -100%;
    background: #181a1c;
    width: 340px;
    max-width: 85vw;
    height: 100%;
    margin-left: 0;
    padding: 24px;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 8px 36px 0 rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  .header .header-menu.show {
    right: 0;
  }

  .header .header-menu .nav {
    flex-direction: column;
    padding-top: 52px;
  }
  .header .header-menu .nav .nav-item {
    width: 100%;
    margin: 0 0 8px 0;
  }
  .header .header-menu .nav .nav-item .nav-link {
    display: inline-block;
    background: #000;
  }

  .header .header-menu .nav .nav-item .nav-dropdown-toggle {
    position: absolute;
    top: 12px;
    right: 0;
    display: inline-block;
    font-size: 0.9em;
    line-height: 1;
  }

  .header .header-menu .nav .nav-item .nav-dropdown {
    display: none;
    visibility: visible;
    opacity: 1;
    position: static;
    width: auto;
    margin-top: 6px;
    padding: 20px;
    background: hsla(0, 0%, 100%, 0.08);
    border-radius: 0.5em;
    box-shadow: none;
  }
  .header .header-menu .nav .nav-item .nav-dropdown.show {
    display: block;
  }

  .header .header-menu #menu-close {
    display: inline-flex;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .header .menu-toggle {
    display: inline-block;
    position: relative;
    padding: 10px 34px 10px 24px;
    background: rgba(34, 36, 39, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 40px;
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
  }
  .header .menu-toggle span {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: inline-block;
    width: 4px;
    height: 4px;
  }
  .header .menu-toggle span:before,
  .header .menu-toggle span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
  }
  .header .menu-toggle span:before {
    top: -3px;
  }
  .header .menu-toggle span:after {
    bottom: -3px;
  }
}

/* Tight padding so inline items fit comfortably at xl+ */
@media (min-width: 1200px) {
  .header .header-menu .nav .nav-item .nav-link {
    padding: 8px 12px;
    font-size: 0.8em;
  }
}

/* -----------------------------------------------------------
   Explore dropdown — flex layout so long labels wrap beside
   the icon, not underneath it. Icon stays fixed, text wraps
   cleanly in its own column.
   ----------------------------------------------------------- */
.nav-dropdown.nav-dropdown-explore .nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  white-space: normal;
}
.nav-dropdown.nav-dropdown-explore .nav-dropdown-link > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.95em;
  color: var(--brand-accent);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-dropdown.nav-dropdown-explore .nav-dropdown-link:hover > i {
  color: var(--brand-accent-400);
  opacity: 1;
  transform: translateY(-1px);
}
.nav-dropdown.nav-dropdown-explore .nav-dropdown-link > span {
  flex: 1 1 auto;
  min-width: 0;
}

/* Widen the Explore panel on desktop so labels stay on one line.
   Mobile/offcanvas is full-width already, so only desktop needs it. */
@media (min-width: 1200px) {
  .header .header-menu .nav .nav-item .nav-dropdown.nav-dropdown-explore {
    width: 260px;
  }
}

/* -----------------------------------------------------------
   Dropdown caret on parent nav items (e.g. Explore)
   Signals to users that the item opens a submenu.
   On mobile the theme's JS injects its own toggle chevron,
   so we hide ours there to avoid duplication.
   ----------------------------------------------------------- */
.header .header-menu .nav .nav-item .nav-link.has-caret {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header .header-menu .nav .nav-item .nav-link.has-caret .nav-link-caret {
  font-size: 0.7em;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 1200px) {
  .header .header-menu .nav .nav-item:hover .nav-link.has-caret .nav-link-caret {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--brand-primary-300);
  }
}
@media (max-width: 1199.98px) {
  .header .header-menu .nav .nav-item .nav-link.has-caret .nav-link-caret {
    display: none;
  }
}
@media (min-width: 1600px) {
  .header .header-menu .nav .nav-item .nav-link {
    padding: 8px 16px;
    font-size: 0.88em;
  }
}

/* -----------------------------------------------------------
   Language switcher
   ----------------------------------------------------------- */
.header .header-menu .nav .nav-item-lang .nav-link-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Flag visuals */
.nav-item-lang .lang-flag {
  display: inline-block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.nav-item-lang .lang-flag-trigger {
  width: 20px;
  height: 14px;
}

/* Items are purely presentational — no clicks, no pointer cursor */
.nav-dropdown-lang .nav-dropdown-link {
  cursor: default;
  user-select: none;
}
.nav-dropdown-lang .nav-dropdown-link[aria-disabled="true"] {
  pointer-events: none;
}
.header .header-menu .nav .nav-item-lang .nav-link-lang .lang-icon {
  font-size: 1em;
  line-height: 1;
  opacity: 0.9;
}
.header .header-menu .nav .nav-item-lang .nav-link-lang .lang-current {
  font-weight: 500;
  letter-spacing: 0.5px;
}
.header .header-menu .nav .nav-item-lang .nav-link-lang .lang-caret {
  font-size: 0.7em;
  opacity: 0.7;
}

/* Desktop dropdown panel */
@media (min-width: 1200px) {
  .header .header-menu .nav .nav-item .nav-dropdown.nav-dropdown-lang {
    width: 200px;
    padding: 10px 0;
    right: 0;
    left: auto;
  }
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-item {
    padding: 0 10px;
    margin-bottom: 2px;
  }
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }
  /* kill the underline animation inherited from generic dropdown */
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link:before,
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link:hover:before {
    display: none;
    animation: none;
  }
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link:hover {
    background: rgba(var(--brand-primary-rgb), 0.12);
  }
  .header
    .header-menu
    .nav
    .nav-item
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link.active {
    background: rgba(var(--brand-primary-rgb), 0.2);
  }
}

/* Language pill (code badge) */
.nav-dropdown-lang .nav-dropdown-link .lang-code {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nav-dropdown-lang .nav-dropdown-link.active .lang-code {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(var(--brand-primary-rgb), 0.55);
}
.nav-dropdown-lang .nav-dropdown-link .lang-name {
  flex: 1;
  font-size: 0.9em;
  line-height: 1.2;
  color: var(--brand-text-muted);
}
.nav-dropdown-lang .nav-dropdown-link.active .lang-name {
  color: #fff;
}
.nav-dropdown-lang .nav-dropdown-link .lang-check {
  font-size: 0.85em;
  color: var(--brand-primary-300);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-dropdown-lang .nav-dropdown-link.active .lang-check {
  opacity: 1;
}

/* Mobile/offcanvas layout — horizontal row of pills */
@media (max-width: 1199.98px) {
  .nav-item-lang .nav-dropdown.nav-dropdown-lang {
    padding: 14px !important;
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .nav-dropdown-item {
    display: inline-block;
    margin: 0 6px 6px 0 !important;
    padding: 0 !important;
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .nav-dropdown-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .nav-dropdown-link.active {
    background: rgba(255, 255, 255, 0.16);
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .nav-dropdown-link:before,
  .nav-item-lang
    .nav-dropdown.nav-dropdown-lang
    .nav-dropdown-link:hover:before {
    display: none;
    animation: none;
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .lang-check {
    display: none;
  }
  .nav-item-lang .nav-dropdown.nav-dropdown-lang .lang-name {
    font-size: 0.82em;
  }
}

/* RTL safety */
[dir="rtl"] .nav-dropdown-lang .nav-dropdown-link .lang-check {
  transform: scaleX(-1);
}

/* -----------------------------------------------------------
   Development Pillars grid — tighter typography and a more
   compact numbered badge so six cards breathe at 3-up while
   staying readable at 2-up and 1-up.
   ----------------------------------------------------------- */
.pillars-grid .order-box {
  padding: 26px;
  height: 100%;
}
.pillars-grid .order-box .order {
  width: 64px;
  min-width: 64px;
}
.pillars-grid .order-box .order h2 {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0;
}
.pillars-grid .order-box i {
  font-size: 1.5rem;
}
.pillars-grid .order-box h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.pillars-grid .order-box p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .pillars-grid .order-box .order {
    width: 72px;
    min-width: 72px;
  }
}
@media (max-width: 767.98px) {
  .pillars-grid .order-box {
    padding: 22px;
  }
  .pillars-grid .order-box .order h2 {
    font-size: 2rem;
  }
}

/* -----------------------------------------------------------
   Partners slider — normalize logo sizing so PNGs of varying
   dimensions render at a consistent visual height and spacing.
   ----------------------------------------------------------- */
.clients-slider-partners .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.clients-slider-partners .client-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}
.clients-slider-partners .client-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
}
.clients-slider-partners .client-box a img {
  width: auto;
  max-width: 100%;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.2s ease-out;
}
.clients-slider-partners .client-box a:hover img {
  transform: translateY(-2px);
}

/* -----------------------------------------------------------
   Mazarat (Sacred Stations) portfolio grid
   Lock every card image to the same 4:3 frame so the row reads
   as a clean, scannable series regardless of source aspect ratio.
   ----------------------------------------------------------- */
.portfolio-box .portfolio-img {
  aspect-ratio: 4 / 3;
}
.portfolio-box .portfolio-img a,
.portfolio-box .portfolio-img a img {
  width: 100%;
  height: 100%;
}
.portfolio-box .portfolio-img img {
  object-fit: cover;
  object-position: center;
  display: block;
}
.portfolio-box .sm-heading .text-muted {
  color: var(--brand-text-soft) !important;
  letter-spacing: 0.04em;
}

/* -----------------------------------------------------------
   Slider nav arrows — replace the stock cyan→pink gradient
   with a brand-aligned primary → accent wash. The rest/hover
   states use the same ramp, just at different intensities,
   so the motion reads as a quiet brand accent, not a splash.
   ----------------------------------------------------------- */
.button-circle {
  background: rgba(var(--brand-primary-rgb), 0.10);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  transition: background 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}
.button-circle:after {
  opacity: 0;
  background-image: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  transition: opacity 0.25s ease;
}
.button-circle:hover {
  background: rgba(var(--brand-primary-rgb), 0.14);
  border-color: rgba(var(--brand-accent-rgb), 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -12px rgba(var(--brand-primary-rgb), 0.55);
}
.button-circle:hover:after {
  opacity: 0.28;
}
.theme-light .button-circle {
  background: rgba(var(--brand-primary-rgb), 0.06);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
}
.theme-light .button-circle:after {
  opacity: 0;
}
.theme-light .button-circle:hover {
  background: rgba(var(--brand-primary-rgb), 0.10);
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.theme-light .button-circle:hover:after {
  opacity: 0.22;
}

/* -----------------------------------------------------------
   Card-title hover wash — swap the stock cyan→pink bar with
   a heritage-gold underline that fades into the primary blue.
   Subtle, warm, and reads as "highlighted" rather than "pop".
   ----------------------------------------------------------- */
.link-hover-2:before {
  opacity: 0.55;
  height: 22%;
  background: linear-gradient(
    90deg,
    rgba(var(--brand-accent-rgb), 0.85) 0%,
    rgba(var(--brand-primary-rgb), 0.55) 100%
  );
}
.theme-light .link-hover-2:before {
  opacity: 0.35;
}

/* -----------------------------------------------------------
   Hero overlay — replaces the flat .bg-dark-08 blanket that
   was desaturating the cover photo. Uses a two-layer gradient:
   1. A left → right sweep so body text on the left has a solid
      readable backdrop while the right stays vivid.
   2. A subtle bottom → top sweep so the lower edge has a bit
      more contrast without crushing the whole image.
   Result: text pops, image vibrancy is preserved.
   ----------------------------------------------------------- */
.hero-overlay {
  background:
    linear-gradient(
      to right,
      rgba(10, 14, 19, 0.82) 0%,
      rgba(10, 14, 19, 0.58) 45%,
      rgba(10, 14, 19, 0.28) 70%,
      rgba(10, 14, 19, 0.12) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 14, 19, 0.35) 0%,
      transparent 50%
    );
}

/* -----------------------------------------------------------
   Hero Slider — wraps the cover in a Swiper with fade
   transitions, a subtle Ken Burns zoom, staggered content
   reveal, and a side-mounted vertical pagination that flips
   to horizontal on small screens. RTL-aware.
   ----------------------------------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  /* Asymmetric corners — subtle at top, pronounced at bottom.
     Makes the hero read as a crafted card floating on the
     dark page rather than a hard-edged rectangle. */
  border-radius: 1em 1em clamp(1.75em, 4.5vw, 3.25em) clamp(1.75em, 4.5vw, 3.25em);
  /* Depth + brand-tinted bloom that bleeds into the dark gap
     below (section-box pb-5). The primary-blue glow gives the
     hero a "floating / emitting light" feel. */
  box-shadow:
    0 48px 80px -32px rgba(0, 0, 0, 0.65),
    0 0 140px -40px rgba(var(--brand-primary-rgb), 0.28);
}

/* Inner gold flourish hugging the bottom curve — a soft,
   feathered gradient wash that traces the hero's inner edge
   with a warm heritage gleam. Sits inside overflow:hidden so
   it clips perfectly to the rounded bottom, above the image
   but behind the text content. */
.hero-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--brand-accent-rgb), 0.55) 28%,
    rgba(var(--brand-primary-rgb), 0.55) 72%,
    transparent 100%
  );
  filter: blur(1px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
}

/* Mirror the child slide's rounding so the inner image clips
   with the same soft bottom curve as the outer swiper box. */
.hero-slider .hero-slide,
.hero-slider .hero-slide.border-radius-1 {
  border-radius: inherit;
}
.hero-slider .swiper-slide {
  height: auto;
}
/* Each slide uses a layered layout: absolute background layer +
   relative content layer. The zoom is applied only to the bg
   layer so text and CTAs never scale out of view. */
.hero-slide {
  position: relative;
}
.hero-slide .hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: scale(1.015);
  transition: transform 9s ease-out;
  will-change: transform;
}
.hero-slider .swiper-slide-active .hero-slide .hero-slide-bg {
  transform: scale(1.08);
}
.hero-slide .hero-overlay {
  position: relative;
  z-index: 1;
}

/* Staggered content reveal on the active slide */
.hero-slider .hero-content > [class*="col-"] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-slider .swiper-slide-active .hero-content > [class*="col-"] > * {
  opacity: 1;
  transform: translateY(0);
}
.hero-slider
  .swiper-slide-active
  .hero-content
  > [class*="col-"]
  > *:nth-child(1) {
  transition-delay: 0.25s;
}
.hero-slider
  .swiper-slide-active
  .hero-content
  > [class*="col-"]
  > *:nth-child(2) {
  transition-delay: 0.4s;
}
.hero-slider
  .swiper-slide-active
  .hero-content
  > [class*="col-"]
  > *:nth-child(3) {
  transition-delay: 0.55s;
}

/* Pagination — floats at the bottom of the hero, inside a
   Bootstrap container so the dots line up with the hero copy
   instead of hugging the slider edges. The .container handles
   max-width + gutters for every breakpoint, and RTL swap is
   automatic since start/end mirror with the document direction. */
.hero-pagination-wrap {
  position: absolute;
  bottom: clamp(12px, 1.6vw, 22px);
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
.hero-pagination-wrap > .container {
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}
.hero-pagination {
  position: static !important;
  width: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0;
  display: inline-flex;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 14, 19, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}
.hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  margin: 0 !important;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 0.45s ease, background-color 0.45s ease,
    box-shadow 0.45s ease;
}
.hero-pagination .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.75);
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 52px;
  background: var(--brand-accent);
  box-shadow: 0 0 14px rgba(var(--brand-accent-rgb), 0.55);
}

/* Tablet: give a touch more breathing room from the bottom */
@media (max-width: 991.98px) {
  .hero-pagination {
    padding: 9px 14px;
    gap: 8px;
  }
  .hero-pagination .swiper-pagination-bullet {
    width: 24px;
  }
  .hero-pagination .swiper-pagination-bullet-active {
    width: 44px;
  }
}

/* Mobile: center the pill under the content */
@media (max-width: 767.98px) {
  .hero-pagination-wrap {
    bottom: 10px;
  }
  .hero-pagination-wrap > .container {
    justify-content: center;
  }
  .hero-pagination {
    padding: 8px 12px;
    gap: 6px;
  }
  .hero-pagination .swiper-pagination-bullet {
    width: 20px;
  }
  .hero-pagination .swiper-pagination-bullet-active {
    width: 36px;
  }
}

/* Pause autoplay while user hovers the slider */
.hero-slider:hover .swiper-slide-active .hero-slide-bg {
  transition-duration: 12s;
}

/* -----------------------------------------------------------
   Hero Highlights — "Journey at a glance" glass card that
   replaces the stand-alone play button. Three milestones
   connected by a vertical gold trail line, evoking the
   pilgrimage itself. RTL-aware via mirrored trail line and
   flex direction inherited from document dir.
   ----------------------------------------------------------- */
.hero-highlights {
  position: relative;
  display: block;
  width: 100%;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 19, 0.55) 0%,
    rgba(10, 14, 19, 0.3) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
/* Gradient edge highlight — adds a crafted "brand-lit" rim */
.hero-highlights::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-accent-rgb), 0.6) 0%,
    rgba(var(--brand-accent-rgb), 0) 45%,
    rgba(var(--brand-primary-rgb), 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Subtle ambient glow in the top-start corner */
.hero-highlights::after {
  content: "";
  position: absolute;
  top: -40%;
  inset-inline-start: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(var(--brand-accent-rgb), 0.22) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.4rem;
  background: rgba(var(--brand-accent-rgb), 0.14);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.38);
  border-radius: 999px;
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-kicker i {
  font-size: 0.85rem;
}
[dir="rtl"] .hero-kicker {
  letter-spacing: 0;
}

.hero-milestones {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1;
}
/* Trail line — gold gradient connecting the milestones */
.hero-milestones::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  inset-inline-start: 23px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(var(--brand-accent-rgb), 0.7) 0%,
    rgba(var(--brand-accent-rgb), 0.15) 100%
  );
}

.hero-milestone {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 0;
}
.hero-milestone + .hero-milestone {
  margin-top: 0.5rem;
}
.hero-milestone-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-accent);
  font-size: 1.15rem;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.28) 0%,
    rgba(var(--brand-accent-rgb), 0.32) 100%
  );
  border: 1px solid rgba(var(--brand-accent-rgb), 0.45);
  box-shadow: 0 0 0 5px rgba(10, 14, 19, 0.85),
    0 0 18px rgba(var(--brand-accent-rgb), 0.25);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-milestone:hover .hero-milestone-icon {
  transform: scale(1.06);
  box-shadow: 0 0 0 5px rgba(10, 14, 19, 0.85),
    0 0 26px rgba(var(--brand-accent-rgb), 0.55);
}

.hero-milestone-body {
  min-width: 0;
}
.hero-milestone-value {
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
}
.hero-milestone-value small {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-accent);
  -webkit-text-fill-color: var(--brand-accent);
  margin-inline-start: 0.25rem;
}
.hero-milestone-label {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

/* Below lg: card stacks under the copy — add breathing room */
@media (max-width: 991.98px) {
  .hero-highlights {
    margin-top: 1.75rem;
    padding: 1.5rem 1.25rem;
  }
  .hero-milestone-value {
    font-size: 1.25rem;
  }
  .hero-milestone-label {
    font-size: 0.85rem;
  }
}
@media (max-width: 575.98px) {
  .hero-highlights {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }
  .hero-milestone-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  .hero-milestones::before {
    inset-inline-start: 20px;
  }
  .hero-milestone-value {
    font-size: 1.15rem;
  }
}

/* -----------------------------------------------------------
   Partners Strip — homepage logo lockup replacing the clients
   slider. Five equal cells with monochrome logos that restore
   full colour on hover, plus a partner name caption. Built on
   a responsive flex grid (1→2→3→5 columns) so all five
   partners sit cleanly on every viewport. RTL-safe.
   ----------------------------------------------------------- */
.partners-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.partners-strip__item {
  display: flex;
}
.partners-strip figure {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 1.5rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: border-color 0.35s ease, background-color 0.35s ease,
    transform 0.35s ease, box-shadow 0.35s ease;
}
.partners-strip figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-accent-rgb), 0.55) 0%,
    rgba(var(--brand-accent-rgb), 0.12) 35%,
    rgba(var(--brand-primary-rgb), 0.12) 65%,
    rgba(var(--brand-primary-rgb), 0.55) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.35s ease;
  pointer-events: none;
}
.partners-strip figure:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.partners-strip figure:hover::before {
  background: linear-gradient(
    135deg,
    rgba(var(--brand-accent-rgb), 0.85) 0%,
    rgba(var(--brand-accent-rgb), 0.35) 50%,
    rgba(var(--brand-primary-rgb), 0.85) 100%
  );
}
.partners-strip img {
  max-width: 100%;
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.partners-strip figure:hover img {
  transform: scale(1.04);
}
.partners-strip figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  line-height: 1.35;
  min-height: 2.1em;
  transition: color 0.35s ease;
}
.partners-strip figure:hover figcaption {
  color: var(--brand-accent);
}

/* Light-theme variant — matches other light-theme components */
.theme-light .partners-strip figure {
  background: #fff;
  border-color: #eaeaea;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.theme-light .partners-strip figure:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.theme-light .partners-strip figcaption {
  color: var(--brand-text-muted, #5a6572);
}

/* Responsive grid — keeps all partners visible without scroll */
@media (max-width: 1199.98px) {
  .partners-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .partners-strip__item:nth-child(4) {
    grid-column: 1 / span 2;
  }
  .partners-strip__item:nth-child(4) figure {
    max-width: 100%;
  }
  .partners-strip__item:nth-child(5) {
    grid-column: 3 / span 1;
  }
}
@media (max-width: 767.98px) {
  .partners-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .partners-strip__item:nth-child(n) {
    grid-column: auto;
  }
  .partners-strip__item:last-child {
    grid-column: 1 / -1;
  }
  .partners-strip img {
    height: 60px;
  }
  .partners-strip figure {
    padding: 1.25rem 0.75rem 1rem;
  }
}
@media (max-width: 419.98px) {
  .partners-strip {
    grid-template-columns: 1fr;
  }
  .partners-strip__item:last-child {
    grid-column: auto;
  }
}

/* -----------------------------------------------------------
   Journey Stages — replaces the stock pricing cards.
   Stage cards carry narrative context (traditions, landmarks)
   and a station count, not a price.
   ----------------------------------------------------------- */
.journey-stages .stage-card .icon-box {
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.18) 0%,
    rgba(var(--brand-accent-rgb), 0.22) 100%
  );
  color: var(--brand-accent);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
}
.journey-stages .stage-kicker {
  color: var(--brand-accent);
  letter-spacing: 0.12em;
}
.journey-stages .stage-lede {
  color: var(--brand-text-muted);
  margin-top: 0.75rem;
}
.journey-stages .stage-list li {
  display: flex;
  align-items: flex-start;
  padding: 0.35rem 0;
  color: var(--brand-text);
}
.journey-stages .stage-list li .bi-chevron-right {
  flex: 0 0 auto;
  color: var(--brand-accent);
  font-size: 0.85em;
  line-height: 1.6;
  padding-right: 0.5rem;
}
/* Global stage-list — works outside .journey-stages too */
.stage-list li {
  display: flex;
  align-items: flex-start;
  padding: 0.35rem 0;
}
.stage-list li i {
  flex: 0 0 auto;
  color: var(--brand-accent);
  font-size: 0.85em;
  line-height: 1.6;
}
.journey-stages .stage-meta h1 {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  margin-right: 0.75rem;
}
.journey-stages .stage-meta span {
  color: var(--brand-text-soft);
  font-size: 0.85rem;
  line-height: 1.35;
}
.journey-stages .stage-card--featured {
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
  box-shadow: 0 18px 60px -30px rgba(var(--brand-primary-rgb), 0.55);
}
.theme-light .journey-stages .stage-lede,
.theme-light .journey-stages .stage-meta span {
  color: rgba(10, 14, 19, 0.72);
}
.theme-light .journey-stages .stage-list li {
  color: rgba(10, 14, 19, 0.88);
}

/* -----------------------------------------------------------
   .button-brand — primary CTA using the Al Massar palette.
   Solid primary blue, gold hover ring, soft lift. Replaces
   the stock cyan→pink gradient sitting behind `.button:after`.
   ----------------------------------------------------------- */
.button.button-brand {
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px -14px rgba(var(--brand-primary-rgb), 0.65);
  transition: background 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.button.button-brand:after {
  background-image: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}
.button.button-brand:hover {
  background: var(--brand-primary-600);
  border-color: rgba(var(--brand-accent-rgb), 0.55);
  box-shadow: 0 14px 34px -14px rgba(var(--brand-primary-rgb), 0.75);
  transform: translateY(-1px);
  color: #fff;
}
.button.button-brand:hover:after {
  opacity: 1;
}
.theme-light .button.button-brand {
  color: #fff;
}
.theme-light .button.button-brand:hover {
  color: #fff;
}

/* -----------------------------------------------------------
   Station Details — compact horizontal media cards for the
   "Ten Stations in Detail" section. Image left, content right,
   stacks vertically on narrow screens.
   ----------------------------------------------------------- */
.station-grid .station-detail {
  display: flex;
  gap: 1.25rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
}
.station-grid .station-detail:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.38);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -24px rgba(var(--brand-primary-rgb), 0.5);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.station-grid .station-detail__img {
  flex: 0 0 40%;
  max-width: 40%;
  aspect-ratio: 1 / 1;
  border-radius: 0.75em;
  overflow: hidden;
  position: relative;
}
.station-grid .station-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.station-grid .station-detail:hover .station-detail__img img {
  transform: scale(1.05);
}
.station-grid .station-detail__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.station-grid .station-detail__index {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.station-grid .station-detail__title {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
.station-grid .station-detail__meta {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.station-grid .station-detail__meta .text-muted {
  color: var(--brand-text-soft) !important;
}
.station-grid .station-detail__desc {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.theme-light .station-grid .station-detail {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .station-grid .station-detail:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.55);
  box-shadow: 0 22px 44px -26px rgba(var(--brand-primary-rgb), 0.4);
}
.theme-light .station-grid .station-detail__desc,
.theme-light .station-grid .station-detail__meta .text-muted {
  color: rgba(10, 14, 19, 0.7) !important;
}

@media (max-width: 575.98px) {
  .station-grid .station-detail {
    flex-direction: column;
    gap: 1rem;
  }
  .station-grid .station-detail__img {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* -----------------------------------------------------------
   Station Grid — Compact variant
   Used on the homepage "Ten Stations in Detail" section.
   Vertical media card with edge-to-edge image, a floating
   gold numbered badge, and tight body copy so 10 stations
   fit in 4 short rows (3 per row at lg) instead of 5 tall ones.
   ----------------------------------------------------------- */
.station-grid--compact .station-detail {
  position: relative;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.station-grid--compact .station-detail__img {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1em 1em 0 0;
}
.station-grid--compact .station-detail__img::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 19, 0.55) 0%,
    rgba(10, 14, 19, 0) 100%
  );
  pointer-events: none;
}
.station-grid--compact .station-detail__body {
  padding: 1rem 1.15rem 1.15rem;
  gap: 0;
}
.station-grid--compact .station-detail__index {
  position: absolute;
  top: 0.8rem;
  inset-inline-start: 0.8rem;
  margin: 0;
  padding: 0.32rem 0.7rem;
  background: linear-gradient(135deg, var(--brand-accent), #d09a36);
  color: #1a1209;
  border-radius: 0.45em;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 6px 16px -8px rgba(var(--brand-accent-rgb), 0.6);
}
.station-grid--compact .station-detail__title {
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}
.station-grid--compact .station-detail__meta {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.station-grid--compact .station-detail__desc {
  font-size: 0.83rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.station-grid--compact .station-detail:hover .station-detail__img img {
  transform: scale(1.06);
}
@media (max-width: 575.98px) {
  .station-grid--compact .station-detail__img {
    aspect-ratio: 16 / 9;
  }
  .station-grid--compact .station-detail__desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }
}

/* -----------------------------------------------------------
   Stations Slider — Swiper carousel for the homepage
   "Ten Stations in Detail" section. Uses fractional
   slidesPerView at every breakpoint (1.2 → 1.5 → 2.5 → 3.2)
   so a peeking next slide always invites swipe interaction.
   ----------------------------------------------------------- */
.stations-slider-wrap {
  position: relative;
  margin-top: 2rem;
  padding-top: 4rem; /* room for nav arrows pinned at the top-end */
}
.stations-slider {
  overflow: hidden;
  padding-bottom: 0.5rem;
}
.stations-slider .swiper-slide {
  height: auto;
  display: flex;
}
.stations-slider .swiper-slide > .station-detail {
  width: 100%;
}

/* Navigation arrows — circular, brand-themed, pinned top-end */
.stations-slider__nav {
  position: absolute;
  top: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  border: 1px solid var(--brand-border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0;
  transition: background 0.28s ease, border-color 0.28s ease,
    color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  z-index: 5;
}
.stations-slider__nav:hover,
.stations-slider__nav:focus-visible {
  background: linear-gradient(
    135deg,
    var(--brand-accent),
    var(--brand-primary)
  );
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(var(--brand-accent-rgb), 0.55);
  outline: none;
}
.stations-slider__nav.swiper-button-disabled {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}
.stations-slider__nav--next {
  inset-inline-end: 0;
}
.stations-slider__nav--prev {
  inset-inline-end: 3.4rem;
}
.stations-slider__nav i {
  line-height: 1;
}

.theme-light .stations-slider__nav {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.12);
  color: rgba(10, 14, 19, 0.78);
  box-shadow: 0 8px 22px -16px rgba(10, 14, 19, 0.35);
}
.theme-light .stations-slider__nav:hover,
.theme-light .stations-slider__nav:focus-visible {
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .stations-slider-wrap {
    padding-top: 3.5rem;
  }
  .stations-slider__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
  }
  .stations-slider__nav--prev {
    inset-inline-end: 3rem;
  }
}

/* -----------------------------------------------------------
   Trail Map — interactive Leaflet map + station list side-panel
   No section background; the map lives inside a branded card
   so it reads as a "product" between station details and footer.
   ----------------------------------------------------------- */
.trail-map-card {
  border: 1px solid var(--brand-border);
  border-radius: 1.25em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 80px -40px rgba(var(--brand-primary-rgb), 0.45);
}
.trail-map {
  width: 100%;
  height: 560px;
  background: var(--brand-surface-2);
}
.trail-map .leaflet-control-attribution {
  background: rgba(10, 14, 19, 0.7);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  backdrop-filter: blur(6px);
}
.trail-map .leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.85);
}
.trail-map .leaflet-control-zoom a {
  background: rgba(10, 14, 19, 0.85);
  color: #fff;
  border: 1px solid var(--brand-border);
  backdrop-filter: blur(6px);
}
.trail-map .leaflet-control-zoom a:hover {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

/* Custom numbered pin */
.trail-pin {
  width: 36px;
  height: 46px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  cursor: pointer;
  transition: transform 0.25s ease;
}
.trail-pin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-primary);
  border: 2px solid var(--brand-accent);
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  clip-path: path(
    "M18 0 C7.5 0 0 8 0 18 C0 30 18 46 18 46 C18 46 36 30 36 18 C36 8 28.5 0 18 0 Z"
  );
}
.trail-pin__num {
  position: relative;
  z-index: 1;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.02em;
  margin-top: -8px;
}
.trail-pin:hover,
.trail-pin--active {
  transform: translateY(-3px) scale(1.08);
}
.trail-pin--active::before {
  background: var(--brand-accent);
  border-color: #fff;
}
.trail-pin--active .trail-pin__num {
  color: var(--brand-ink);
}

/* Popup styling */
.trail-map .leaflet-popup-content-wrapper {
  background: rgba(16, 20, 24, 0.96);
  color: var(--brand-text);
  border: 1px solid var(--brand-border-strong);
  border-radius: 0.85em;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
  padding: 0;
}
.trail-map .leaflet-popup-tip {
  background: rgba(16, 20, 24, 0.96);
  border: 1px solid var(--brand-border-strong);
}
.trail-map .leaflet-popup-content {
  margin: 0;
  width: 260px !important;
}
.trail-popup {
  padding: 0.95rem 1rem 1rem;
}
.trail-popup__index {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.trail-popup__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: #fff;
}
.trail-popup__meta {
  font-size: 0.78rem;
  color: var(--brand-text-soft);
  margin: 0;
}
.trail-map .leaflet-popup-close-button {
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 0.35rem 0.5rem !important;
}

/* Side list */
.trail-map-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  height: 560px;
  overflow-y: auto;
  border-left: 1px solid var(--brand-border);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--brand-primary-rgb), 0.4) transparent;
}
.trail-map-list::-webkit-scrollbar {
  width: 6px;
}
.trail-map-list::-webkit-scrollbar-thumb {
  background: rgba(var(--brand-primary-rgb), 0.35);
  border-radius: 3px;
}
.trail-map-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  border: 1px solid transparent;
}
.trail-map-item:hover,
.trail-map-item--active {
  background: rgba(var(--brand-primary-rgb), 0.08);
  border-color: rgba(var(--brand-accent-rgb), 0.3);
  transform: translateX(-2px);
}
.trail-map-item--active {
  background: rgba(var(--brand-accent-rgb), 0.12);
  border-color: rgba(var(--brand-accent-rgb), 0.5);
}
.trail-map-item__num {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  border: 1px solid rgba(var(--brand-accent-rgb), 0.6);
}
.trail-map-item--active .trail-map-item__num {
  background: var(--brand-accent);
  color: var(--brand-ink);
}
.trail-map-item__body {
  flex: 1 1 auto;
  min-width: 0;
}
.trail-map-item__title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-text);
  line-height: 1.25;
  margin: 0 0 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trail-map-item__meta {
  font-size: 0.72rem;
  color: var(--brand-text-soft);
  letter-spacing: 0.04em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Light theme */
.theme-light .trail-map-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .trail-map-list {
  border-left-color: rgba(10, 14, 19, 0.08);
}
.theme-light .trail-map-item__title {
  color: var(--brand-ink);
}
.theme-light .trail-map-item__meta {
  color: rgba(10, 14, 19, 0.6);
}
.theme-light .trail-map-item:hover,
.theme-light .trail-map-item--active {
  background: rgba(var(--brand-primary-rgb), 0.06);
}

/* section-light band — trail map overrides */
.section-light .trail-map-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
  box-shadow: 0 18px 48px -24px rgba(var(--brand-primary-rgb), 0.18),
    0 6px 18px rgba(22, 24, 26, 0.05);
}
.section-light .trail-map-list {
  border-left-color: rgba(10, 14, 19, 0.1);
}
.section-light .trail-map-item__title {
  color: #0a0e13;
}
.section-light .trail-map-item__meta {
  color: rgba(10, 14, 19, 0.6);
}
.section-light .trail-map-item:hover,
.section-light .trail-map-item--active {
  background: rgba(var(--brand-primary-rgb), 0.06);
  border-color: rgba(var(--brand-accent-rgb), 0.3);
}
.section-light .trail-map-item--active {
  background: rgba(var(--brand-accent-rgb), 0.1);
  border-color: rgba(var(--brand-accent-rgb), 0.45);
}
/* Popup — fight section-light h/p overrides; keep dark glass pill */
.section-light .trail-map .trail-popup__title {
  color: #ffffff !important;
}
.section-light .trail-map .trail-popup__meta {
  color: rgba(255, 255, 255, 0.65) !important;
}

@media (max-width: 991.98px) {
  .trail-map {
    height: 420px;
  }
  .trail-map-list {
    height: auto;
    max-height: 360px;
    border-left: none;
    border-top: 1px solid var(--brand-border);
  }
}
@media (max-width: 575.98px) {
  .trail-map {
    height: 340px;
  }
}

/* -----------------------------------------------------------
   Footer — brand refresh: logo + contact blocks + dark gradient
   The inner panel uses a deep diagonal gradient (ink → surface)
   with a faint brand glow so the footer reads as a distinct,
   premium "closing chord" against the page's mid-dark sections.
   ----------------------------------------------------------- */
footer .section-box .bg-lighter {
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      rgba(var(--brand-primary-rgb), 0.14) 0%,
      rgba(var(--brand-primary-rgb), 0) 55%
    ),
    radial-gradient(
      90% 120% at 100% 100%,
      rgba(var(--brand-accent-rgb), 0.10) 0%,
      rgba(var(--brand-accent-rgb), 0) 60%
    ),
    linear-gradient(
      135deg,
      #05080b 0%,
      #0a0e13 45%,
      #0f141a 100%
    );
  border: 1px solid var(--brand-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 70px -40px rgba(0, 0, 0, 0.7);
}
.theme-light footer .section-box .bg-lighter {
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      rgba(var(--brand-primary-rgb), 0.18) 0%,
      rgba(var(--brand-primary-rgb), 0) 55%
    ),
    radial-gradient(
      90% 120% at 100% 100%,
      rgba(var(--brand-accent-rgb), 0.14) 0%,
      rgba(var(--brand-accent-rgb), 0) 60%
    ),
    linear-gradient(
      135deg,
      #07090d 0%,
      #0c1117 45%,
      #11171f 100%
    );
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}
.theme-light footer .section-box .bg-lighter p,
.theme-light footer .section-box .bg-lighter .footer-contact__value {
  color: rgba(255, 255, 255, 0.85);
}
.theme-light footer .section-box .bg-lighter .footer-contact__label,
.theme-light footer .section-box .bg-lighter .footer-contact__hint {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand-logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}
.footer-contact {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.footer-contact__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--brand-primary-rgb), 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
  transition: background 0.25s ease, color 0.25s ease;
}
.footer-contact:hover .footer-contact__icon {
  background: var(--brand-primary);
  color: #fff;
}
.footer-contact__body {
  flex: 1 1 auto;
  min-width: 0;
}
.footer-contact__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-text-soft);
  margin: 0 0 0.25rem;
}
.footer-contact__value {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brand-text);
  text-decoration: none;
  margin: 0 0 0.2rem;
  line-height: 1.3;
  word-break: break-word;
}
.footer-contact__value:hover {
  color: var(--brand-accent);
}
.footer-contact__hint {
  font-size: 0.8rem;
  color: var(--brand-text-soft);
  margin: 0;
}
.theme-light .footer-contact__icon {
  background: rgba(var(--brand-primary-rgb), 0.08);
}
.theme-light .footer-contact__value {
  color: var(--brand-ink);
}
.theme-light .footer-contact__label,
.theme-light .footer-contact__hint {
  color: rgba(10, 14, 19, 0.6);
}

/* Stack a second contact (fax) below the first at matching size */
.footer-contact + .footer-contact {
  margin-top: 1.1rem;
}

/* -----------------------------------------------------------
   Contact Page — info cards, HQ iframe, form refinements
   ----------------------------------------------------------- */

/* Social pills in the intro */
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
}
.contact-social li {
  margin: 0;
}

/* Contact info cards — Address, Phone, Fax, Email */
.contact-info-grid {
  margin-top: 0;
}
.contact-info-card {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow: hidden;
}
.contact-info-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    closest-side,
    rgba(var(--brand-primary-rgb), 0.18),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--brand-accent-rgb), 0.45);
  box-shadow: 0 24px 48px -28px rgba(var(--brand-primary-rgb), 0.55);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.contact-info-card:hover::after {
  opacity: 1;
}
.contact-info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--brand-primary-rgb), 0.12);
  border: 1px solid rgba(var(--brand-accent-rgb), 0.4);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
}
.contact-info-card:hover .contact-info-card__icon {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: rotate(-4deg) scale(1.05);
}
.contact-info-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-text-soft);
  margin: 0 0 0.4rem;
  font-weight: 500;
}
.contact-info-card__value {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--brand-text);
  text-decoration: none;
  margin: 0 0 0.65rem;
  word-break: break-word;
}
a.contact-info-card__value:hover {
  color: var(--brand-accent);
}
.contact-info-card__value.email-break {
  font-size: 0.98rem;
  letter-spacing: -0.005em;
}
.contact-info-card__hint {
  font-size: 0.82rem;
  color: var(--brand-text-soft);
  margin: auto 0 0;
}
.contact-info-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-accent);
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s ease, transform 0.2s ease;
}
.contact-info-card__link:hover {
  color: var(--brand-primary);
  transform: translateX(3px);
}

/* HQ map card — iframe + header/footer meta */
.hq-map-card {
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 30px 70px -40px rgba(var(--brand-primary-rgb), 0.5);
}
.hq-map-card__header {
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--brand-border);
}
.hq-map-card__kicker {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hq-map-card__title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brand-text);
  margin: 0 0 0.4rem;
}
.hq-map-card__address {
  font-size: 0.88rem;
  color: var(--brand-text-soft);
  margin: 0;
}
.hq-map-card__iframe {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  background: var(--brand-surface-2);
}
.hq-map-card__iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05);
}
.hq-map-card__footer {
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--brand-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.hq-map-card__hours {
  font-size: 0.82rem;
  color: var(--brand-text-soft);
  display: inline-flex;
  align-items: center;
}

/* Form refinements — inherit theme.css baseline; small ergonomics only */
.contact-form textarea {
  resize: vertical;
}
.contact-form__note {
  font-size: 0.8rem;
  color: var(--brand-text-soft);
  flex: 1 1 220px;
}

/* Light-theme overrides */
.theme-light .contact-info-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .contact-info-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.theme-light .contact-info-card__value {
  color: var(--brand-ink);
}
.theme-light .contact-info-card__label,
.theme-light .contact-info-card__hint {
  color: rgba(10, 14, 19, 0.6);
}
.theme-light .contact-info-card__icon {
  background: rgba(var(--brand-primary-rgb), 0.08);
}

/* section-light band — contact info card overrides */
.section-light .contact-info-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.section-light .contact-info-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.section-light .contact-info-card__value {
  color: var(--brand-ink);
}
.section-light a.contact-info-card__value:hover {
  color: var(--brand-primary-600);
}
.section-light .contact-info-card__label,
.section-light .contact-info-card__hint {
  color: rgba(10, 14, 19, 0.6);
}
.section-light .contact-info-card__icon {
  background: rgba(var(--brand-primary-rgb), 0.08);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
}
.section-light .contact-info-card__link {
  color: var(--brand-primary-600);
}
.section-light .contact-info-card__link:hover {
  color: var(--brand-primary-700);
}

.theme-light .hq-map-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .hq-map-card__header,
.theme-light .hq-map-card__footer {
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .hq-map-card__title {
  color: var(--brand-ink);
}
.theme-light .hq-map-card__address,
.theme-light .hq-map-card__hours {
  color: rgba(10, 14, 19, 0.6);
}
.theme-light .contact-form__note {
  color: rgba(10, 14, 19, 0.6);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hq-map-card__iframe {
    min-height: 380px;
  }
}
@media (max-width: 767.98px) {
  .contact-info-card {
    padding: 1.4rem 1.2rem;
  }
  .contact-info-card__icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  .hq-map-card__iframe {
    min-height: 320px;
  }
  .hq-map-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .hq-map-card__iframe {
    min-height: 280px;
  }
}

/* ===========================================================
   About Page — component styles
   =========================================================== */

/* -----------------------------------------------------------
   About Highlights — intro bullet list beside the hero heading
   Uses brand icons with accent tinting to convey trust markers.
   ----------------------------------------------------------- */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--brand-text-muted);
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--brand-border);
  border-radius: 0.85em;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.about-highlights li:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.35);
  background: rgba(var(--brand-primary-rgb), 0.05);
  transform: translateX(-3px);
}
.about-highlights li i {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: var(--brand-accent);
  margin-top: 0.1rem;
  transition: transform 0.3s ease;
}
.about-highlights li:hover i {
  transform: scale(1.15);
}
.theme-light .about-highlights li {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
  color: rgba(10, 14, 19, 0.75);
}
.theme-light .about-highlights li:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.5);
}

/* -----------------------------------------------------------
   About Stats — at-a-glance counter strip beneath the intro
   Glassmorphism card with gradient border glow on hover.
   ----------------------------------------------------------- */
.about-stats {
  position: relative;
}
.about-stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
}
.about-stat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.3),
    rgba(var(--brand-accent-rgb), 0.25)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.about-stat-card:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(var(--brand-primary-rgb), 0.6);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.about-stat-card:hover::before {
  opacity: 1;
}
.about-stat-card .stroke-text {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about-stat-card .sm-heading {
  color: var(--brand-text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.theme-light .about-stat-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .about-stat-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.theme-light .about-stat-card .sm-heading {
  color: rgba(10, 14, 19, 0.6);
}
@media (max-width: 575.98px) {
  .about-stat-card {
    padding: 1.5rem 1rem;
  }
}

/* -----------------------------------------------------------
   About Plan — development plan blocks inside station cards
   Compact callout area with icon label and bullet list.
   ----------------------------------------------------------- */
.about-plan {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--brand-border);
}
.about-plan__label {
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 0.55rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-accent-rgb), 0.12),
    rgba(var(--brand-primary-rgb), 0.08)
  );
  border: 1px solid rgba(var(--brand-accent-rgb), 0.25);
  border-radius: 999px;
}
.about-plan__label i {
  font-size: 0.85em;
  opacity: 0.85;
}
.about-plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-plan__list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.15rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--brand-text-muted);
}
.about-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.7;
}
.theme-light .about-plan {
  border-top-color: rgba(10, 14, 19, 0.08);
}
.theme-light .about-plan__label {
  background: rgba(var(--brand-accent-rgb), 0.08);
  border-color: rgba(var(--brand-accent-rgb), 0.3);
}
.theme-light .about-plan__list li {
  color: rgba(10, 14, 19, 0.72);
}

/* -----------------------------------------------------------
   Station Detail — About-page variant
   Inherits base .station-detail from almasar.css but adds
   vertical stacking on the about page for richer content
   (the development plan makes the card taller).
   ----------------------------------------------------------- */
.station-detail--about {
  flex-direction: column;
  gap: 0;
}
.station-detail--about .station-detail__img {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75em 0.75em 0 0;
}
.station-detail--about .station-detail__body {
  padding: 1.25rem;
  justify-content: flex-start;
}

/* Featured variant — gold accent border + subtle glow */
.station-detail--featured {
  border-color: rgba(var(--brand-accent-rgb), 0.3) !important;
  box-shadow: 0 12px 36px -18px rgba(var(--brand-accent-rgb), 0.35);
}
.station-detail--featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-accent)
  );
  border-radius: 1em 1em 0 0;
  opacity: 0.85;
}
.station-detail--featured:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.55) !important;
  box-shadow: 0 22px 50px -22px rgba(var(--brand-accent-rgb), 0.45);
}
.station-grid .station-detail--about {
  position: relative;
}
.theme-light .station-detail--featured {
  border-color: rgba(var(--brand-accent-rgb), 0.35) !important;
}

/* -----------------------------------------------------------
   About Principles — "How We Work" icon cards
   Four-up grid with branded icon circles and descriptive text.
   ----------------------------------------------------------- */
.about-principles {
  position: relative;
}
.about-principle {
  text-align: center;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
}
.about-principle:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -24px rgba(var(--brand-primary-rgb), 0.5);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.about-principle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.15) 0%,
    rgba(var(--brand-accent-rgb), 0.2) 100%
  );
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
  font-size: 1.5rem;
  color: var(--brand-accent);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.about-principle:hover .about-principle__icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.25) 0%,
    rgba(var(--brand-accent-rgb), 0.3) 100%
  );
  border-color: rgba(var(--brand-accent-rgb), 0.6);
  box-shadow: 0 8px 24px -8px rgba(var(--brand-accent-rgb), 0.35);
}
.about-principle h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.about-principle p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--brand-text-muted);
  margin: 0;
}
.theme-light .about-principle {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .about-principle:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.5);
}
.theme-light .about-principle p {
  color: rgba(10, 14, 19, 0.7);
}
.theme-light .about-principle__icon {
  background: rgba(var(--brand-primary-rgb), 0.08);
}
@media (max-width: 767.98px) {
  .about-principle {
    padding: 1.5rem 1.25rem;
  }
  .about-principle__icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

/* ===========================================================
   Vision & Mission Page — component styles
   =========================================================== */

/* -----------------------------------------------------------
   Intro Quote — decorative blockquote in the hero area
   ----------------------------------------------------------- */
.vm-intro-quote {
  position: relative;
  padding: 1.75rem 2rem;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vm-intro-quote::before {
  content: "\201C";
  position: absolute;
  top: -0.1em;
  left: 1rem;
  font-size: 4.5rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.5;
  pointer-events: none;
}
.vm-intro-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
}
.vm-intro-quote blockquote p {
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--brand-text);
  margin: 0 0 0.65rem;
}
.vm-intro-quote blockquote cite {
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--brand-accent);
  letter-spacing: 0.04em;
}
.theme-light .vm-intro-quote {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .vm-intro-quote blockquote p {
  color: var(--brand-ink);
}

/* -----------------------------------------------------------
   VM Media Card — image with floating label badge
   Used for both Vision and Mission hero images.
   ----------------------------------------------------------- */
.vm-media-card {
  position: relative;
  border-radius: 1.25em;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  box-shadow: 0 30px 70px -40px rgba(var(--brand-primary-rgb), 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.vm-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -40px rgba(var(--brand-primary-rgb), 0.65);
}
.vm-media-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.vm-media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.vm-media-card:hover .vm-media-card__img img {
  transform: scale(1.06);
}
.vm-media-card__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(var(--brand-primary-rgb), 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vm-media-card__badge i {
  font-size: 0.95em;
}
.vm-media-card__badge--mission {
  background: rgba(var(--brand-accent-rgb), 0.9);
  color: var(--brand-ink);
}
.vm-media-card--mission {
  box-shadow: 0 30px 70px -40px rgba(var(--brand-accent-rgb), 0.4);
}
.vm-media-card--mission:hover {
  box-shadow: 0 40px 80px -40px rgba(var(--brand-accent-rgb), 0.55);
}
.theme-light .vm-media-card {
  border-color: rgba(10, 14, 19, 0.08);
}

/* -----------------------------------------------------------
   VM Content Block — label + heading + rich-text + CTAs
   ----------------------------------------------------------- */
.vm-label {
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.45rem 1rem;
  background: var(--brand-primary);
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(var(--brand-primary-rgb), 0.55);
}
.vm-label i {
  font-size: 0.9em;
}
.vm-label--mission {
  background: var(--brand-accent);
  color: var(--brand-ink);
  box-shadow: 0 4px 12px -4px rgba(var(--brand-accent-rgb), 0.55);
}

.vm-richtext {
  color: var(--brand-text-muted);
}
.vm-richtext .lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--brand-text);
  margin-bottom: 1rem;
}
.vm-richtext p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.vm-richtext p:last-child {
  margin-bottom: 0;
}
.theme-light .vm-richtext {
  color: rgba(10, 14, 19, 0.72);
}
.theme-light .vm-richtext .lead {
  color: var(--brand-ink);
}

/* -----------------------------------------------------------
   VM Outcome Cards — four-up grid beneath the Vision section
   ----------------------------------------------------------- */
.vm-outcome-card {
  text-align: center;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
}
.vm-outcome-card:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -24px rgba(var(--brand-primary-rgb), 0.5);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.vm-outcome-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.15) 0%,
    rgba(var(--brand-accent-rgb), 0.2) 100%
  );
  border: 1px solid rgba(var(--brand-accent-rgb), 0.35);
  font-size: 1.5rem;
  color: var(--brand-accent);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.vm-outcome-card:hover .vm-outcome-card__icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.25),
    rgba(var(--brand-accent-rgb), 0.3)
  );
  border-color: rgba(var(--brand-accent-rgb), 0.6);
  box-shadow: 0 8px 24px -8px rgba(var(--brand-accent-rgb), 0.35);
}
.vm-outcome-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.vm-outcome-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--brand-text-muted);
  margin: 0;
}
.theme-light .vm-outcome-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .vm-outcome-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.5);
}
.theme-light .vm-outcome-card p {
  color: rgba(10, 14, 19, 0.7);
}
.theme-light .vm-outcome-card__icon {
  background: rgba(var(--brand-primary-rgb), 0.08);
}
@media (max-width: 767.98px) {
  .vm-outcome-card {
    padding: 1.5rem 1.25rem;
  }
  .vm-outcome-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

/* -----------------------------------------------------------
   VM Value Cards — numbered horizontal cards for Core Values
   Side-accent number + rich body text. Last card gets accent
   border for visual emphasis.
   ----------------------------------------------------------- */
.vm-value-card {
  display: flex;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--brand-border);
  border-radius: 1em;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease, background 0.3s ease;
}
.vm-value-card:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(var(--brand-primary-rgb), 0.5);
  background: rgba(var(--brand-primary-rgb), 0.04);
}
.vm-value-card__number {
  flex: 0 0 auto;
  font-family: "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.65;
  padding-top: 0.15rem;
}
.vm-value-card:hover .vm-value-card__number {
  opacity: 1;
}
.vm-value-card__body {
  flex: 1 1 auto;
  min-width: 0;
}
.vm-value-card__body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.vm-value-card__body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brand-text-muted);
  margin: 0;
}
.vm-value-card--accent {
  border-color: rgba(var(--brand-accent-rgb), 0.35);
  box-shadow: 0 12px 36px -18px rgba(var(--brand-accent-rgb), 0.3);
  position: relative;
}
.vm-value-card--accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-accent)
  );
  border-radius: 1em 1em 0 0;
  opacity: 0.85;
}
.theme-light .vm-value-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
}
.theme-light .vm-value-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.theme-light .vm-value-card__body p {
  color: rgba(10, 14, 19, 0.72);
}

/* section-light band — vision/mission component overrides */
.section-light .vm-media-card {
  border-color: rgba(10, 14, 19, 0.08);
  box-shadow: 0 20px 50px -28px rgba(var(--brand-primary-rgb), 0.2),
    0 6px 18px rgba(22, 24, 26, 0.05);
}
.section-light .vm-richtext {
  color: rgba(10, 14, 19, 0.72);
}
.section-light .vm-richtext .lead {
  color: #0a0e13;
}
.section-light .vm-value-card {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
  box-shadow: 0 8px 24px -14px rgba(var(--brand-primary-rgb), 0.18),
    0 3px 10px rgba(22, 24, 26, 0.04);
}
.section-light .vm-value-card:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.5);
  box-shadow: 0 18px 40px -18px rgba(var(--brand-primary-rgb), 0.28),
    0 6px 16px rgba(22, 24, 26, 0.06);
}
.section-light .vm-value-card__body p {
  color: rgba(10, 14, 19, 0.72);
}

@media (max-width: 575.98px) {
  .vm-value-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
  }
  .vm-value-card__number {
    font-size: 2rem;
  }
}

/* ===========================================================
   Breadcrumb — dark/light visibility
   =========================================================== */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--brand-text-muted);
}
.breadcrumb-item a {
  color: var(--brand-accent);
}
.breadcrumb-item a:hover {
  color: var(--brand-primary);
}
.breadcrumb-item.active {
  color: var(--brand-text);
}
.theme-light .breadcrumb-item.active {
  color: var(--brand-ink);
}

/* --- Explore dropdown: wider on desktop for long labels --- */
@media (min-width: 992px) {
  .header .header-menu .nav .nav-item .nav-dropdown-explore {
    width: 300px;
  }
  .header .header-menu .nav .nav-item .nav-dropdown-explore .nav-dropdown-link {
    white-space: nowrap;
  }
}

/* ===========================================================
   Section-level theme bands — .section-light / .section-dark
   Lets a dark page alternate with light bands per section.
   Scopes theme-light-style overrides to a single section.
   =========================================================== */

/* -----------------------------------------------------------
   Light band
   A clean warm-neutral surface. Components inside flip to
   white cards with soft shadows and ink-dark text. Restraint
   over layered effects — the band reads premium because the
   surface itself stays quiet and the cards do the talking.
   ----------------------------------------------------------- */
.section-light {
  position: relative;
  /* Clean warm off-white — the surface itself stays quiet so
     the cards inside can do the talking. */
  background: #f4f6fa;
  color: rgba(10, 14, 19, 0.72);
  isolation: isolate;
}
/* -----------------------------------------------------------
   Typography overrides inside a light band
   ----------------------------------------------------------- */
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
  color: #0a0e13;
}
.section-light h1 a,
.section-light h2 a,
.section-light h3 a,
.section-light h4 a,
.section-light h5 a,
.section-light h6 a {
  color: #0a0e13;
}
.section-light h1 a:hover,
.section-light h2 a:hover,
.section-light h3 a:hover,
.section-light h4 a:hover,
.section-light h5 a:hover,
.section-light h6 a:hover {
  color: var(--brand-primary-600);
}
.section-light p {
  color: rgba(10, 14, 19, 0.74);
}
.section-light p a:not(.button) {
  color: var(--brand-primary-600);
}
.section-light p a:not(.button):hover {
  color: var(--brand-primary-700);
}
.section-light .title-heading {
  color: var(--brand-primary-600);
}
/* `//` marker inherits the heading color — no background slab. */
.section-light .title-heading:before {
  color: var(--brand-accent-600);
  background: none;
}
.section-light .sm-heading {
  color: rgba(10, 14, 19, 0.62);
}
.section-light .text-muted,
.section-light ul.list-inline-dot li .text-muted {
  color: rgba(10, 14, 19, 0.55) !important;
}
.section-light ul.list-inline-dot li:before {
  background: rgba(10, 14, 19, 0.28);
}

/* -----------------------------------------------------------
   Stroke text — from white outline to brand-primary outline
   ----------------------------------------------------------- */
.section-light .stroke-text {
  color: var(--brand-primary);
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  -webkit-text-stroke-width: 1.2px;
  -webkit-text-stroke-color: rgba(var(--brand-primary-rgb), 0.6);
}
@media (max-width: 991.98px) {
  .section-light .stroke-text {
    -webkit-text-stroke-width: 1px;
  }
}

/* -----------------------------------------------------------
   bg-lighter — when sitting inside a light band, becomes a
   clean white panel with a soft elevation shadow.
   ----------------------------------------------------------- */
.section-light .bg-lighter {
  background: #ffffff;
  box-shadow: 0 18px 48px -24px rgba(var(--brand-primary-rgb), 0.22),
    0 6px 18px rgba(22, 24, 26, 0.05);
  transition: box-shadow 0.25s ease;
}
.section-light .bg-lighter:hover {
  box-shadow: 0 24px 56px -24px rgba(var(--brand-primary-rgb), 0.28),
    0 10px 22px rgba(22, 24, 26, 0.06);
}

/* -----------------------------------------------------------
   Fancy-box / order-box — flip to white with brand hairlines
   ----------------------------------------------------------- */
.section-light .fancy-box,
.section-light .order-box {
  background: #ffffff;
  box-shadow: 0 14px 38px -22px rgba(var(--brand-primary-rgb), 0.22),
    0 4px 14px rgba(22, 24, 26, 0.04);
  border: 1px solid rgba(10, 14, 19, 0.06);
}
.section-light .fancy-box:hover,
.section-light .order-box:hover {
  box-shadow: 0 22px 48px -20px rgba(var(--brand-primary-rgb), 0.35),
    0 8px 22px rgba(22, 24, 26, 0.07);
  border-color: rgba(var(--brand-accent-rgb), 0.35);
}
.section-light .order-box i {
  color: var(--brand-primary-600);
}
.section-light .order-box h3 {
  color: #0a0e13;
}
.section-light .order-box p {
  color: rgba(10, 14, 19, 0.7);
}
/* Kill the stock cyan→pink gradient decorations on hover */
.section-light .fancy-box:after,
.section-light .order-box:after {
  background-image: linear-gradient(
    90deg,
    rgba(var(--brand-primary-rgb), 0.75) 0%,
    rgba(var(--brand-accent-rgb), 0.75) 100%
  );
}

/* -----------------------------------------------------------
   Journey Stages — three cards on light ground
   ----------------------------------------------------------- */
.section-light .journey-stages .stage-card {
  background: #ffffff;
  border: 1px solid rgba(10, 14, 19, 0.06);
  box-shadow: 0 14px 38px -22px rgba(var(--brand-primary-rgb), 0.22),
    0 4px 14px rgba(22, 24, 26, 0.04);
}
.section-light .journey-stages .stage-card:hover {
  border-color: rgba(var(--brand-accent-rgb), 0.35);
}
.section-light .journey-stages .stage-card--featured {
  border: 1px solid rgba(var(--brand-accent-rgb), 0.45);
  box-shadow: 0 22px 54px -24px rgba(var(--brand-primary-rgb), 0.3),
    0 8px 22px rgba(22, 24, 26, 0.06);
}
.section-light .journey-stages .stage-card .icon-box {
  background: linear-gradient(
    135deg,
    rgba(var(--brand-primary-rgb), 0.12) 0%,
    rgba(var(--brand-accent-rgb), 0.18) 100%
  );
  color: var(--brand-accent-600);
  border-color: rgba(var(--brand-accent-rgb), 0.38);
}
.section-light .journey-stages .stage-kicker {
  color: var(--brand-accent-600);
}
.section-light .journey-stages .stage-lede {
  color: rgba(10, 14, 19, 0.72);
}
.section-light .journey-stages .stage-list li {
  color: rgba(10, 14, 19, 0.85);
}
.section-light .journey-stages .stage-meta h1 {
  background: linear-gradient(
    135deg,
    var(--brand-primary-600) 0%,
    var(--brand-accent-600) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-light .journey-stages .stage-meta span {
  color: rgba(10, 14, 19, 0.62);
}

/* -----------------------------------------------------------
   Filter tabs — horizontal scroll, no wrap, invisible scrollbar
   ----------------------------------------------------------- */
.filter ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-left: 0;
  margin: 0;
  /* hide scrollbar — Firefox */
  scrollbar-width: none;
  /* hide scrollbar — IE/Edge legacy */
  -ms-overflow-style: none;
}
.filter ul::-webkit-scrollbar {
  display: none;
}
.filter ul li {
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .filter ul {
    overflow-x: visible;
    justify-content: center;
  }
}

/* -----------------------------------------------------------
   Filter tabs — white pills with dark text on light ground
   ----------------------------------------------------------- */
.section-light .filter ul li {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(22, 24, 26, 0.08);
  color: #181a1c;
  font-weight: 500;
}
.section-light .filter ul li:hover {
  box-shadow: 0 6px 24px rgba(22, 24, 26, 0.12);
}
.section-light .filter ul li:hover::after {
  opacity: 0.05;
}
.section-light .filter ul li::after {
  background-image: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-accent) 100%
  );
}
.section-light .filter ul li.mixitup-control-active {
  color: #fff;
}
.section-light .filter ul li.mixitup-control-active::after {
  opacity: 1;
}

/* -----------------------------------------------------------
   Portfolio box — override inline-style var(--brand-text-muted)
   ----------------------------------------------------------- */
.section-light .portfolio-box p {
  color: rgba(10, 14, 19, 0.72) !important;
}

/* -----------------------------------------------------------
   Partners-strip — clean white figures on light ground
   ----------------------------------------------------------- */
.section-light .partners-strip figure {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.06);
  box-shadow: 0 2px 14px rgba(22, 24, 26, 0.05);
}
.section-light .partners-strip figure:hover {
  box-shadow: 0 18px 42px -16px rgba(var(--brand-primary-rgb), 0.22),
    0 6px 18px rgba(22, 24, 26, 0.06);
  background: #ffffff;
}
.section-light .partners-strip figcaption {
  color: rgba(10, 14, 19, 0.6);
}
.section-light .partners-strip figure:hover figcaption {
  color: var(--brand-accent-600);
}

/* -----------------------------------------------------------
   Station grid — white cards on light ground
   ----------------------------------------------------------- */
.section-light .station-grid .station-detail {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.07);
  box-shadow: 0 10px 30px -22px rgba(var(--brand-primary-rgb), 0.18),
    0 3px 12px rgba(22, 24, 26, 0.04);
}
.section-light .station-grid .station-detail:hover {
  background: #ffffff;
  border-color: rgba(var(--brand-accent-rgb), 0.5);
  box-shadow: 0 24px 48px -26px rgba(var(--brand-primary-rgb), 0.35),
    0 10px 22px rgba(22, 24, 26, 0.06);
}
.section-light .station-grid .station-detail__title {
  color: #0a0e13;
}
.section-light .station-grid .station-detail__desc,
.section-light .station-grid .station-detail__meta .text-muted {
  color: rgba(10, 14, 19, 0.7) !important;
}

/* -----------------------------------------------------------
   Slider nav buttons on light ground
   ----------------------------------------------------------- */
.section-light .button-circle {
  background: rgba(var(--brand-primary-rgb), 0.06);
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  color: #0a0e13;
}
.section-light .button-circle:hover {
  background: rgba(var(--brand-primary-rgb), 0.12);
  border-color: rgba(var(--brand-accent-rgb), 0.55);
}
.section-light .button-circle:after {
  opacity: 0;
}
.section-light .stations-slider__nav {
  background: #ffffff;
  border-color: rgba(10, 14, 19, 0.08);
  color: #0a0e13;
  box-shadow: 0 8px 22px -12px rgba(var(--brand-primary-rgb), 0.25);
}
.section-light .stations-slider__nav:hover,
.section-light .stations-slider__nav:focus-visible {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
}

/* -----------------------------------------------------------
   Link hovers in light bands
   ----------------------------------------------------------- */
.section-light .link-hover-2:before {
  opacity: 0.35;
  background: linear-gradient(
    90deg,
    rgba(var(--brand-accent-rgb), 0.85) 0%,
    rgba(var(--brand-primary-rgb), 0.55) 100%
  );
}

/* -----------------------------------------------------------
   .section-dark — explicit dark band (no background override;
   used when a dark section follows a light one, to allow
   fine-tuned seam decoration).
   ----------------------------------------------------------- */
.section-dark {
  position: relative;
}
