* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: "Alexandria", sans-serif;
  scroll-behavior: smooth;
  overflow-x: clip;
}

:root {
  --primary: #2f6dff;
  --bg-panel: #0a1d43;
  --bg-card: #1a2b4d;
  --text-soft: #9fb4da;
  --line: rgba(170, 196, 244, 0.2);
  --page-bg: #041130;
  --page-text: #f6f9ff;
  --main-bg: linear-gradient(180deg, #061838 0%, #030f2b 100%);
  --theme-switch-bg: rgba(206, 219, 242, 0.2);
  --theme-switch-icon: #f3f7ff;
  --portal-bg: var(--primary);
  --portal-text: #fff;
}

[data-theme="light"] {
  --page-bg: #eef4ff;
  --page-text: #102443;
  --main-bg: linear-gradient(180deg, #f7faff 0%, #ecf3ff 100%);
  --theme-switch-bg: rgba(18, 40, 84, 0.12);
  --theme-switch-icon: #f5b301;
  --portal-bg: #1f5cf0;
  --portal-text: #fff;
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  width: 100%;
  padding-top: 74px;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(130% 80% at 20% 20%, rgba(10, 31, 75, 0.18), rgba(4, 16, 44, 0.1)),
    linear-gradient(180deg, rgba(4, 15, 42, 0.08) 20%, rgba(4, 16, 45, 0.52) 92%),
    url("./assets/images/malaysia-aviation-group-a330neo.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(110% 85% at 0% 100%, rgba(46, 117, 255, 0.42) 0%, rgba(19, 63, 173, 0.24) 38%, rgba(4, 17, 47, 0) 72%),
    linear-gradient(90deg, rgba(3, 13, 38, 0.86) 0%, rgba(3, 13, 38, 0.7) 40%, rgba(3, 13, 38, 0.35) 75%);
  opacity: 1;
  pointer-events: none;
}

.hero > *:not(.hero-overlay) {
  position: relative;
  z-index: 1;
}

.nav {
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  z-index: 2147483647 !important;
  pointer-events: auto;
  isolation: isolate;
  background-color: rgba(4, 14, 36, 0);
  border: 1px solid rgba(169, 198, 247, 0);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-radius: 0;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav.nav-scrolled {
  background-color: rgba(4, 14, 36, 0.55);
  border-color: rgba(169, 198, 247, 0.18);
  box-shadow: 0 10px 26px rgba(2, 9, 25, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] main {
  background: #ffffff;
}

[data-theme="light"] .nav.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(183, 198, 227, 0.45);
}

[data-theme="light"] body[data-route="destinations"] .nav {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(183, 198, 227, 0.45);
  box-shadow: 0 10px 26px rgba(2, 9, 25, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .nav.nav-scrolled .nav-links a {
  color: #123a79;
}

[data-theme="light"] body[data-route="destinations"] .nav .nav-links a {
  color: #123a79;
}

.brand {
  color: #61a2ff;
  text-decoration: none;
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-top: 0;
  height: 54px;
  overflow: hidden;
}

.brand-logo-image {
  width: auto;
  height: 100%;
  display: block;
}

.brand-footer {
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  color: var(--page-text);
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: #155dfc;
}

body[data-route="home"] .nav-links a[href="/"],
body[data-route="fleet"] .nav-links a[href="/fleet"],
body[data-route="destinations"] .nav-links a[href="/destinations"],
body[data-route="about-us"] .nav-links a[href="/about-us"] {
  color: #155dfc;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(169, 198, 247, 0.28);
  border-radius: 10px;
  background: rgba(8, 24, 59, 0.44);
  color: var(--page-text);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle .nav-toggle-bar + .nav-toggle-bar {
  margin-top: 4px;
}

[data-theme="light"] .nav-toggle {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(183, 198, 227, 0.78);
  color: #123a79;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.theme-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  background: var(--theme-switch-bg);
  color: var(--theme-switch-icon);
}

.theme-toggle-mobile {
  display: none;
}

.theme-toggle-mobile-label,
.theme-toggle-mobile-switch,
.theme-toggle-mobile-knob {
  display: none;
}

.portal-btn {
  color: var(--portal-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  background: #155dfc;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.portal-btn:hover {
  transform: translateY(-2px);
  background: #0f4bd2;
  box-shadow: 0 8px 18px rgba(10, 64, 192, 0.38);
}

body.menu-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid #4e8dff;
  outline-offset: 2px;
}

.hero-content {
  margin-top: 0;
  padding-top: 0;
  max-width: 680px;
  height: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(24px);
  animation: heroContentIn 800ms ease-out 120ms forwards;
}

.hero-content-wrap {
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

main > section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #155dfc;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #155dfc;
  animation: eyebrowPulse 1.2s ease-in-out infinite;
  box-shadow:
    0 0 0 4px rgba(21, 93, 252, 0.22),
    0 0 14px rgba(21, 93, 252, 0.92);
}

@keyframes eyebrowPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.75;
    box-shadow:
      0 0 0 2px rgba(47, 128, 255, 0.18),
      0 0 8px rgba(47, 128, 255, 0.55);
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow:
      0 0 0 6px rgba(47, 128, 255, 0.24),
      0 0 18px rgba(47, 128, 255, 0.95);
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Alexandria", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.05;
}

h1 br {
  display: block;
}

.hero-accent {
  color: #3884ff;
}

.hero-copy {
  color: #c6d6f3;
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
  margin: 18px 0 0;
}

.hero-copy-mobile-hide {
  display: inline;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  height: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 17px 24px;
  min-height: 56px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.btn-primary {
  min-width: 270px;
  background: #155dfc;
  color: white;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease;
}

.btn-primary:hover {
  background: #0f4bd2;
}

.btn-primary::after {
  content: "\203A";
  margin-left: 12px;
  font-size: 23px;
  line-height: 0;
  vertical-align: middle;
}

.btn-secondary {
  min-width: 238px;
  background: rgba(185, 197, 220, 0.26);
  color: white;
  border: 1px solid rgba(216, 228, 255, 0.1);
}

.btn-secondary::before {
  content: "\25B6";
  font-size: 15px;
  margin-right: 10px;
  vertical-align: middle;
}

.stats {
  margin-top: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(162, 192, 245, 0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: statsIn 760ms ease-out 360ms forwards;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statsIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats h3 {
  font-size: 34px;
}

.stats p {
  margin: 4px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #9eb3da;
}

.partners {
  background: #031236;
  border-top: 1px solid rgba(162, 192, 245, 0.12);
  border-bottom: 1px solid rgba(162, 192, 245, 0.12);
  height: 100px;
  display: flex;
  align-items: center;
}

[data-theme="light"] .partners {
  background: #ffffff;
  border-top: 1px solid rgba(183, 198, 227, 0.45);
  border-bottom: 1px solid rgba(183, 198, 227, 0.45);
}

.partners-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.muted {
  color: #8298bf;
}

.partner-logo {
  height: 44px;
  width: auto;
  display: block;
}

.ivao-logo {
  height: 44px;
}

.partners-inner .muted {
  font-size: 24px;
}

main {
  background: #020618;
}

[data-theme="light"] .hero {
  background:
    radial-gradient(130% 80% at 20% 20%, rgba(10, 31, 75, 0.18), rgba(4, 16, 44, 0.1)),
    linear-gradient(180deg, rgba(4, 15, 42, 0.08) 20%, rgba(4, 16, 45, 0.52) 92%),
    url("./assets/images/malaysia-aviation-group-a330neo.jpg") center/cover no-repeat;
}

[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(110% 85% at 0% 100%, rgba(46, 117, 255, 0.42) 0%, rgba(19, 63, 173, 0.24) 38%, rgba(4, 17, 47, 0) 72%),
    linear-gradient(90deg, rgba(3, 13, 38, 0.86) 0%, rgba(3, 13, 38, 0.7) 40%, rgba(3, 13, 38, 0.35) 75%);
}

[data-theme="light"] .hero-copy,
[data-theme="light"] .section-text,
[data-theme="light"] .ops-copy p,
[data-theme="light"] .footer p,
[data-theme="light"] .footer a,
[data-theme="light"] .muted,
[data-theme="light"] .stats p {
  color: #2b446a;
}

[data-theme="light"] .hero .nav-links a,
[data-theme="light"] .hero .hero-content,
[data-theme="light"] .hero .hero-content h1,
[data-theme="light"] .hero .hero-copy,
[data-theme="light"] .hero .stats h3 {
  color: #f6f9ff;
}

[data-theme="light"] .hero .stats p {
  color: #9eb3da;
}

[data-theme="light"] .feature-card,
[data-theme="light"] .fleet-card {
  background: linear-gradient(180deg, #f4f8ff 0%, #ebf2ff 100%);
}

[data-theme="light"] .footer {
  background: #dfeafd;
}

.features,
.fleet {
  padding: 82px 0;
}

.section-kicker {
  margin: 0;
  font-size: 12px;
  color: #5592ff;
  letter-spacing: 0.18em;
  font-weight: 800;
}

h2 {
  margin-top: 8px;
  font-size: clamp(31px, 3vw, 52px);
}

.section-text {
  margin-top: 12px;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.62;
}

.feature-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1c2f4f 0%, #1a2b48 100%);
  border-radius: 16px;
  padding: 22px 20px;
  min-height: 208px;
  opacity: 0;
  transform: translateY(16px);
}

.feature-card.is-visible {
  animation: featureCardIn 650ms ease-out forwards;
}

.features h2 {
  font-size: clamp(36px, 3.2vw, 52px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  color: #2f72ff;
  font-size: 18px;
  font-weight: 700;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.feature-card:nth-child(1) {
  animation-delay: 80ms;
}

.feature-card:nth-child(2) {
  animation-delay: 160ms;
}

.feature-card:nth-child(3) {
  animation-delay: 240ms;
}

.feature-card:nth-child(4) {
  animation-delay: 320ms;
}

.feature-card h3 {
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p {
  margin: 12px 0 0;
  color: #94a8cc;
  font-size: 12px;
  line-height: 1.55;
}

@keyframes featureCardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ops {
  margin-top: 16px;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ops-media {
  min-height: 0;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(162, 192, 245, 0.2);
  background: url("./assets/images/photo-1768051749320-19942a93abcc.jpeg") center/cover;
}

.ops-copy h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(30px, 2.75vw, 44px);
}

.ops-copy p {
  color: #95abd1;
  font-size: 13px;
  line-height: 1.7;
}

.ops-copy ul {
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ops-copy li {
  padding-left: 20px;
  position: relative;
  font-size: 12px;
  color: #a6bbdf;
}

[data-theme="light"] .ops-copy li {
  color: #2f4e7f;
}

.ops-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f8ff9;
}

[data-theme="light"] .ops-copy li::before {
  background: #1f67f4;
}

.ops-copy .btn {
  min-width: 236px;
}

.fleet-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fleet-card {
  border: 1px solid rgba(154, 187, 245, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, #13284e 0%, #0f2041 100%);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 44px rgba(2, 9, 28, 0.38);
  opacity: 0;
  transform: translateY(16px);
}

.fleet-card.is-visible {
  animation: featureCardIn 650ms ease-out forwards;
}

.fleet-card:nth-child(1) {
  animation-delay: 80ms;
}

.fleet-card:nth-child(2) {
  animation-delay: 160ms;
}

.fleet-card:nth-child(3) {
  animation-delay: 240ms;
}

.fleet-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border: 1px solid rgba(208, 227, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 20, 46, 0.72);
  color: #ebf3ff;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
}

[data-theme="light"] .fleet-tag {
  background: rgba(244, 248, 255, 0.96);
  border-color: rgba(126, 157, 214, 0.62);
  color: #1c3d74;
}

.fleet-image {
  height: 236px;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 420ms ease;
  will-change: transform;
}

.fleet-card:hover .fleet-image {
  transform: scale(1.06);
}

.fleet-image-a350 {
  background-image: url("./assets/images/c995c49bf01b6b83ac0c545285e032611df3ab97.jpeg");
}

.fleet-image-a330 {
  background-image: url("./assets/images/photo-1775056976197-b32d586597cb.jpeg");
}

.fleet-image-b738 {
  background-image: url("./assets/images/750x562_MastheadBanner-fleet-737800ng.jpg");
}

.fleet-image-b744 {
  background-image: url("./assets/images/b747-mas-ii.jpg");
}

.fleet-image-a388 {
  background-image: url("./assets/images/10200997895_db6f001776_b.jpg");
}

.fleet-image-b772 {
  background-image: url("./assets/images/140308-malaysia-plane-js-0659.webp");
}

.fleet-body {
  padding: 22px 24px 26px;
}

.fleet-body p {
  margin: 0;
  color: #2b73f8;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.fleet-body h3 {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.22;
}

.fleet-meta {
  margin-top: 18px;
  display: flex;
  gap: 22px;
  color: #a7bcde;
  font-size: 12px;
}

[data-theme="light"] .fleet-meta {
  color: #2f4e7f;
}

.fleet-meta span {
  position: relative;
  padding-left: 22px;
}

.fleet-meta span::before {
  content: "\2299";
  position: absolute;
  left: 0;
  top: -1px;
  color: #3f82f8;
  font-size: 14px;
}

[data-theme="light"] .fleet-meta span::before {
  color: #1f67f4;
}

.fleet-meta-sub {
  margin-top: 10px;
  gap: 0;
}

.fleet-meta-sub span::before {
  content: "\25CC";
}

.fleet-body button {
  margin-top: 22px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(194, 215, 255, 0.15);
  background: rgba(179, 200, 238, 0.1);
  color: #e4efff;
  padding: 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fleet-body button:hover {
  background: #1f67f4;
  border-color: #2f78ff;
  color: #f4f8ff;
}

[data-theme="light"] .fleet-body button {
  background: #155dfc;
  border-color: #1f67f4;
  color: #f4f8ff;
}

[data-theme="light"] .fleet-body button:hover {
  background: #0f4bd2;
  border-color: #155dfc;
  color: #f4f8ff;
}

.join {
  background: #155dfc;
  padding: 80px 0;
}

.join-inner {
  max-width: 640px;
  text-align: center;
}

.join p {
  margin: 13px auto 24px;
  color: #d8e6ff;
  font-size: 14px;
  line-height: 1.6;
}

[data-theme="light"] .join h2 {
  color: #ffffff;
}

.btn-light {
  color: #1f56cb;
  background: #f0f6ff;
  min-height: 64px;
  min-width: 190px;
  padding: 20px 30px;
  font-size: 17px;
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
}

.btn-light:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 33, 93, 0.3);
}

.btn-light:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(7, 33, 93, 0.24);
}

.footer {
  background: #071737;
  border-top: 1px solid rgba(162, 192, 245, 0.16);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #f5f9ff;
  line-height: 1.1;
}

[data-theme="light"] .footer h4 {
  color: #123a79;
}

.footer p {
  color: #95abd1;
  font-size: 12px;
  line-height: 1.5;
}

.footer section {
  display: flex;
  flex-direction: column;
}

.footer a {
  color: #94a9cf;
  font-size: 15px;
  text-decoration: none;
  margin-bottom: 10px;
  line-height: 1.45;
}

.footer-grid section a:hover {
  color: #2f78ff;
}

.footer-static-contact {
  color: #94a9cf;
  font-size: 15px;
  margin: 0 0 10px;
  line-height: 1.45;
}

.contact-icon {
  display: inline-flex;
  width: 14px;
  margin-right: 8px;
  color: #4f8ff9;
  font-size: 12px;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.footer-brand-image {
  width: auto;
  height: 62px;
  display: block;
  margin-bottom: 14px;
}

.footer-about p {
  max-width: 420px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin: 16px 0 18px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(167, 193, 247, 0.16);
  background: rgba(142, 170, 230, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9ddff;
  font-size: 14px;
  font-weight: 700;
}

.footer-grid .footer-socials a:hover {
  background: #1f67f4;
  border-color: #2f78ff;
  color: #f4f8ff;
}

.footer-socials a svg {
  width: 16px;
  height: 16px;
  display: block;
  color: currentColor;
  transition: color 180ms ease;
}

.footer-partner {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(162, 192, 245, 0.12);
  max-width: 400px;
}

.footer-partner span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #5c7ba8;
  margin-bottom: 10px;
}

.footer-partner img {
  width: 108px;
  height: auto;
  opacity: 0.82;
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-partner-logos a {
  display: inline-flex;
  align-items: center;
}

.footer-partner-logos .footer-ivao-logo {
  width: 86px;
  opacity: 0.88;
}

.footer-bottom {
  border-top: 1px solid rgba(162, 192, 245, 0.14);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy meta"
    "powered powered";
  align-items: flex-start;
  column-gap: 24px;
  row-gap: 5px;
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: #6f87b3;
  max-width: 1030px;
}

.footer-bottom-inner > p:first-child {
  grid-area: copy;
}

.footer-policies {
  display: flex;
  gap: 18px;
}

.footer-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-policies a {
  margin: 0;
  font-size: 12px;
  color: #879cc1;
}

.footer-powered {
  grid-area: powered;
  margin: 0;
  font-size: 11px;
  color: #6f87b3;
  text-align: left;
}

.footer-powered a {
  font: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
}

.footer-powered a:hover {
  color: #155dfc;
}

.join-app-page {
  background: #020618;
  color: #f4f8ff;
}

.route-page {
  display: none;
}

#application.join-app-page {
  display: none;
}

body[data-route="join"] #application.join-app-page {
  display: block;
}

#destinations-page.route-page {
  display: none;
}

section#fleet-route-hero {
  display: none;
}

#destinations-page.route-page {
  padding-top: 108px;
  padding-bottom: 84px;
}

.dest-overview-section {
  display: grid;
  gap: 34px;
}

.dest-page-header {
  margin: 0;
}

.dest-page-header h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 78px);
  line-height: 1.04;
}

.dest-page-header h1 span {
  color: #2f78ff;
}

.dest-page-header p {
  margin: 18px 0 0;
  max-width: 880px;
  color: #95acd4;
  font-size: 15px;
  line-height: 1.65;
}

.dest-top-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.dest-left-stack {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.dest-about-card {
  border: 1px solid rgba(154, 187, 245, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #122447 0%, #0f1f3f 100%);
  padding: 30px 26px;
}

[data-theme="light"] .dest-about-card {
  background: linear-gradient(180deg, #f3f7ff 0%, #eaf1ff 100%);
  border-color: rgba(173, 192, 227, 0.65);
}

.dest-about-card h2 {
  margin: 0;
  font-size: 36px;
}

.dest-about-card p {
  margin: 16px 0 0;
  color: #95acd4;
  font-size: 13px;
  line-height: 1.62;
}

[data-theme="light"] .dest-about-card h2 {
  color: #123a79;
}

[data-theme="light"] .dest-about-card p {
  color: #3f5884;
}

.dest-about-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dest-about-card li {
  color: #dce8ff;
  font-size: 13px;
  font-weight: 600;
  padding-left: 17px;
  position: relative;
}

[data-theme="light"] .dest-about-card li {
  color: #1f3f76;
}

.dest-about-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2670ff;
  position: absolute;
  left: 0;
  top: 6px;
}

.dest-map-card {
  border: 1px solid rgba(154, 187, 245, 0.14);
  border-radius: 20px;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(8, 19, 44, 0.8), rgba(8, 19, 44, 0.8)),
    url("./assets/images/photo-1575291789523-dd3433d35e5f.jpeg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dest-map-overlay {
  text-align: center;
  max-width: 420px;
}

.dest-map-pin {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #1f67f4;
  color: #f5f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dest-map-pin svg {
  width: 30px;
  height: 30px;
  display: block;
  animation: destMapPinIconPulse 1.4s ease-in-out infinite;
}

@keyframes destMapPinIconPulse {
  0%,
  100% {
    color: #cfe0ff;
  }

  50% {
    color: #ffffff;
  }
}

.dest-map-overlay h3 {
  margin: 0;
  font-size: 24px;
  color: #f4f8ff;
}

.dest-map-overlay p {
  margin: 8px 0 0;
  color: #9ab0d7;
  font-size: 13px;
  line-height: 1.6;
}

.dest-map-overlay button {
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: #f4f7ff;
  color: #0f1c37;
  padding: 12px 22px;
  font-family: "Alexandria", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.dest-stat-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.dest-stat-card {
  border: 1px solid rgba(154, 187, 245, 0.14);
  border-radius: 14px;
  background: #122447;
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
}

[data-theme="light"] .dest-stat-card {
  background: #eef4ff;
  border-color: rgba(173, 192, 227, 0.65);
}

.dest-stat-card.is-primary {
  background: #1f67f4;
}

[data-theme="light"] .dest-stat-card.is-primary {
  background: #155dfc;
}

.dest-stat-card span {
  color: #dce9ff;
  font-size: 18px;
}

[data-theme="light"] .dest-stat-card span {
  color: #1f67f4;
}

[data-theme="light"] .dest-stat-card.is-primary span {
  color: #dce9ff;
}

.dest-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.dest-stat-card p {
  margin: 6px 0 0;
  color: #b9cceb;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

[data-theme="light"] .dest-stat-card strong {
  color: #123a79;
}

[data-theme="light"] .dest-stat-card p {
  color: #4f6996;
}

[data-theme="light"] .dest-stat-card.is-primary strong,
[data-theme="light"] .dest-stat-card.is-primary p {
  color: #f4f8ff;
}

.dest-route-tabs {
  margin-top: 18px;
  display: inline-flex;
  gap: 10px;
}

.dest-route-tabs button {
  border: 1px solid rgba(159, 188, 241, 0.18);
  background: rgba(155, 184, 238, 0.12);
  color: #8da4ce;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: "Alexandria", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.dest-route-tabs button.is-active {
  background: #1f67f4;
  color: #f4f8ff;
  border-color: rgba(98, 157, 255, 0.62);
}

.dest-region-section {
  margin-top: 28px;
}

.dest-region-section h3 {
  margin: 0 0 14px;
  font-size: 34px;
}

.dest-region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dest-region-card {
  min-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(154, 187, 245, 0.16);
  background-size: cover;
  background-position: center;
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
  transform: translateY(0) scale(1);
}

.dest-region-card.region-sea {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1758714919929-834612349ef5.jpeg");
}

.dest-region-card.region-eap {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1767527556807-edbb50a2377e.jpeg");
}

.dest-region-card.region-mee {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1775449054217-6b3d442ff416.jpeg");
}

.dest-region-card.region-legacy-americas {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1762094650895-23486866d18c.jpeg");
}

.dest-region-card.region-legacy-africa {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1762094650835-1d3d851effc8.jpeg");
}

.dest-region-card.region-legacy-europe {
  background-image:
    linear-gradient(180deg, rgba(8, 19, 44, 0) 35%, rgba(8, 19, 44, 0.78) 100%),
    url("./assets/images/photo-1758714919929-834612349ef5.jpeg");
}

.dest-region-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  z-index: 1;
  transition: transform 260ms ease;
}

.dest-region-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    inset 0 0 0 1px rgba(154, 187, 245, 0.22),
    0 16px 32px rgba(3, 11, 30, 0.34);
  filter: saturate(1.05);
}

.dest-region-card:hover .dest-region-overlay {
  transform: translateY(-2px);
}

.dest-region-overlay h4 {
  margin: 0;
  font-size: 35px;
}

[data-theme="light"] .dest-region-overlay h4 {
  color: #f6f9ff;
}

.dest-region-overlay p {
  margin: 6px 0 0;
  color: #d6e6ff;
  font-size: 20px;
}

.dest-region-overlay .dest-region-era {
  margin-top: 4px;
  font-size: 14px;
  color: #b4c8e8;
}

#about-page.route-page {
  padding: 0;
}

.about-route-hero {
  background:
    linear-gradient(100deg, #02071c 0%, #02071c 48%, #081a45 61%, #08143b 100%);
  border-bottom: 1px solid rgba(148, 181, 238, 0.16);
}

.about-route-hero-inner {
  padding: 116px 0 84px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.about-route-copy h1 {
  margin: 0;
  font-size: clamp(40px, 4.8vw, 74px);
  line-height: 1.06;
}

[data-theme="light"] .about-route-copy h1 {
  color: #f6f9ff;
}

.about-route-copy h1 span {
  display: block;
  color: #2f78ff;
}

.about-route-copy p {
  margin: 18px 0 0;
  max-width: 760px;
  color: #96add4;
  font-size: 15px;
  line-height: 1.7;
}

.about-route-tags {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.about-route-tags span {
  border: 1px solid rgba(159, 188, 241, 0.18);
  background: rgba(155, 184, 238, 0.14);
  color: #d8e8ff;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
}

.about-route-tags span.is-primary {
  background: #1f67f4;
  border-color: rgba(98, 157, 255, 0.62);
}

.about-route-image {
  min-height: 560px;
  border-radius: 22px;
  border: 1px solid rgba(154, 187, 245, 0.2);
  background: url("./assets/images/photo-1575291789523-dd3433d35e5f.jpeg") center/cover;
}

.about-values {
  background: #0d1d3d;
  padding: 54px 0 68px;
}

[data-theme="light"] .about-values {
  background: #edf4ff;
}

.about-values h2 {
  text-align: center;
  margin: 0 0 26px;
  font-size: 42px;
}

[data-theme="light"] .about-values h2 {
  color: #123a79;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-values-grid article {
  border: 1px solid rgba(154, 187, 245, 0.14);
  border-radius: 18px;
  background: #22324e;
  padding: 28px 26px;
  text-align: center;
}

[data-theme="light"] .about-values-grid article {
  background: #ffffff;
  border-color: rgba(173, 192, 227, 0.65);
}

.about-values-grid article span {
  color: #2f78ff;
  font-size: 30px;
}

.about-values-icon.about-values-icon-community {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 14px;
  background: #e9f1ff;
  color: #2f78ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-values-icon.about-values-icon-community svg {
  width: 28px;
  height: 28px;
  display: block;
}

.about-values-grid article h3 {
  margin: 10px 0 0;
  font-size: 30px;
}

[data-theme="light"] .about-values-grid article h3 {
  color: #123a79;
}

.about-values-grid article p {
  margin: 12px 0 0;
  color: #95abd1;
  font-size: 12px;
  line-height: 1.65;
}

[data-theme="light"] .about-values-grid article p {
  color: #3f5884;
}

.about-mission {
  background: #02071c;
  padding: 62px 0 74px;
  text-align: center;
}

[data-theme="light"] .about-mission {
  background: #e5efff;
}

.about-mission-icon {
  margin: 0;
  color: #2f8dff;
  font-size: 46px;
}

[data-theme="light"] .about-mission-icon {
  color: #2f8dff;
}

.about-mission-icon svg {
  width: 46px;
  height: 46px;
  display: inline-block;
}

.about-mission-icon svg path {
  fill: #2f8dff;
}

.about-mission h2 {
  margin: 10px 0 0;
  font-size: 64px;
}

[data-theme="light"] .about-mission h2 {
  color: #123a79;
}

.about-mission p {
  margin: 12px 0 0;
  color: #a2b8dc;
  font-size: 30px;
  font-style: italic;
}

[data-theme="light"] .about-mission p {
  color: #395785;
}

body[data-route="join"] main > section:not(#application) {
  display: none;
}

body[data-route="fleet"] main > section {
  display: none;
}

body[data-route="fleet"] main > section#fleet-route-hero {
  display: block;
}

body[data-route="fleet"] main > section#fleet {
  display: block;
}

body[data-route="about-us"] main > section {
  display: none;
}

body[data-route="about-us"] main > section#about-page {
  display: block;
}

body[data-route="destinations"] main > section {
  display: none;
}

body[data-route="destinations"] main > section#destinations-page {
  display: block;
}

body[data-route="privacy-policy"] main > section {
  display: none;
}

body[data-route="privacy-policy"] main > section#privacy-page {
  display: block;
}

body[data-route="terms-of-service"] main > section {
  display: none;
}

body[data-route="terms-of-service"] main > section#terms-page {
  display: block;
}

body[data-route="cookie-policy"] main > section {
  display: none;
}

body[data-route="cookie-policy"] main > section#cookie-page {
  display: block;
}

body[data-route]:not([data-route="home"]) .hero {
  min-height: 0;
  height: auto;
  padding-top: 0;
  background: none;
}

body[data-route]:not([data-route="home"]) .hero > :not(.nav) {
  display: none;
}

.route-hero {
  padding: 120px 0 88px;
  background:
    radial-gradient(85% 115% at 55% 40%, rgba(57, 120, 243, 0.26) 0%, rgba(12, 34, 78, 0.12) 56%, rgba(2, 6, 24, 0.06) 100%),
    linear-gradient(180deg, #091d4a 0%, #081332 100%);
  border-bottom: 1px solid rgba(148, 181, 238, 0.15);
}

.route-hero-inner {
  text-align: center;
}

.route-hero h1 {
  font-size: clamp(46px, 5vw, 82px);
  line-height: 1.04;
}

[data-theme="light"] .route-hero h1 {
  color: #f6f9ff;
}

.route-hero h1 span {
  color: #2f78ff;
}

.route-hero p {
  margin: 18px auto 0;
  max-width: 760px;
  color: #9ab2db;
  font-size: 15px;
  line-height: 1.65;
}

.legal-page {
  padding: 120px 0 84px;
}

.legal-page-inner {
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.08;
}

.legal-page h2 {
  margin-top: 26px;
  font-size: clamp(24px, 2.2vw, 32px);
}

.legal-page p {
  margin: 12px 0 0;
  color: #9ab2db;
  font-size: 14px;
  line-height: 1.75;
}

[data-theme="light"] .legal-page h1,
[data-theme="light"] .legal-page h2 {
  color: #123a79;
}

[data-theme="light"] .legal-page p {
  color: #3f5884;
}

.fleet-route-tabs {
  margin-top: 26px;
  display: inline-flex;
  gap: 10px;
}

.fleet-route-tabs button {
  border: 1px solid rgba(159, 188, 241, 0.18);
  background: rgba(155, 184, 238, 0.12);
  color: #8da4ce;
  border-radius: 12px;
  padding: 10px 18px;
  font-family: "Alexandria", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: default;
}

.fleet-route-tabs button.is-active {
  background: #1f67f4;
  color: #f4f8ff;
  border-color: rgba(98, 157, 255, 0.62);
}

.join-app-main {
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  padding: 116px 0 52px;
  background: #020618;
  display: flex;
  align-items: center;
}

.join-app-shell {
  max-width: 1240px;
}

.join-app-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.join-app-header h1 {
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.1;
}

.join-app-header h1 span {
  color: #155dfc;
}

.join-app-header p {
  margin: 18px auto 0;
  max-width: 700px;
  color: #9ab2dc;
  font-size: 14px;
  line-height: 1.6;
}

.join-app-card {
  border-radius: 24px;
  border: 1px solid rgba(150, 185, 246, 0.15);
  background: #0d1b39;
  box-shadow: 0 20px 44px rgba(3, 10, 27, 0.44);
  display: grid;
  grid-template-columns: 0.6fr 1.24fr;
  overflow: hidden;
}

.join-app-aside {
  background: linear-gradient(180deg, #2766e9 0%, #1b56d3 100%);
  padding: 46px 44px;
}

.join-app-aside h2 {
  font-size: 46px;
  line-height: 1.15;
}

.join-app-aside > p {
  margin: 20px 0 0;
  color: #d6e6ff;
  font-size: 13px;
  line-height: 1.65;
}

.join-app-aside ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.join-app-aside li {
  font-size: 12px;
  font-weight: 600;
  color: #edf5ff;
  padding-left: 27px;
  position: relative;
}

.join-app-aside li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 2px;
  border: 1px solid rgba(235, 245, 255, 0.45);
  box-shadow: inset 0 0 0 3px rgba(208, 225, 255, 0.8);
}

.join-app-aside blockquote {
  margin: 26px 0 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(204, 223, 255, 0.16);
  background: rgba(14, 42, 113, 0.22);
}

.join-app-aside blockquote span {
  display: block;
  color: #afcbff;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.join-app-aside blockquote p {
  margin: 10px 0 0;
  color: #e8f3ff;
  font-size: 11px;
  line-height: 1.6;
  font-style: italic;
}

.join-app-aside blockquote cite {
  display: block;
  margin-top: 10px;
  color: #deebff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.join-app-form-wrap {
  padding: 42px 48px 40px;
}

.join-app-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.join-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.join-app-form label {
  color: #e8f2ff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.join-app-form input,
.join-app-form select,
.join-app-form textarea {
  border: 1px solid rgba(161, 189, 239, 0.13);
  border-radius: 13px;
  background: #1d2b45;
  color: #e6f1ff;
  font-family: "Alexandria", sans-serif;
  font-size: 13px;
  padding: 14px 14px;
  outline: 0;
}

.join-app-form textarea {
  resize: vertical;
  min-height: 100px;
}

.join-app-form input::placeholder,
.join-app-form textarea::placeholder {
  color: #8ea7d1;
}

.join-app-form select {
  appearance: none;
}

.join-app-form input:focus,
.join-app-form select:focus,
.join-app-form textarea:focus {
  border-color: rgba(83, 142, 252, 0.82);
  box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.16);
}

.join-app-form fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.join-app-form legend {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.join-app-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.join-app-chip {
  background: rgba(25, 40, 69, 0.9);
  border: 1px solid rgba(158, 187, 237, 0.2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  color: #d6e7ff;
  cursor: pointer;
}

.join-app-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.join-app-textarea-label {
  margin-top: -4px;
}

.join-app-form button {
  border: 0;
  border-radius: 13px;
  padding: 14px;
  color: #f5f9ff;
  background: #155dfc;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.join-app-form button:hover {
  filter: brightness(1.06);
}

@media (max-width: 1040px) {
  .feature-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ops-media {
    width: 100%;
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

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

  .footer h4 {
    font-size: 16px;
  }

  .footer a {
    font-size: 14px;
  }

  .footer-static-contact {
    font-size: 14px;
  }

  .footer p {
    font-size: 12px;
  }

  .footer-brand-image {
    height: 58px;
  }

  .footer-bottom-inner {
    display: flex;
    flex-direction: column;
  }

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

  .join-app-aside,
  .join-app-form-wrap {
    padding: 28px;
  }

  .join-app-aside h2 {
    font-size: 34px;
  }

  .join-app-header h1 {
    font-size: clamp(34px, 6vw, 52px);
  }
}

@media (max-width: 760px) {
  main > section {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  html,
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .container {
    width: min(1180px, calc(100% - 30px));
  }

  .nav.container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .nav {
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 14px 15px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: auto;
    background: transparent !important;
    border-color: transparent;
  }

  .nav:not(.nav-open) .nav-toggle {
    color: #ffffff;
  }

  .nav-toggle .nav-toggle-bar {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 3px;
    margin-top: 0;
    transform-origin: center;
    transition: transform 180ms ease, opacity 160ms ease;
  }

  .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(-7px);
  }

  .nav-toggle .nav-toggle-bar:nth-child(2) {
    transform: translateY(0);
  }

  .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(7px);
  }

  .nav-toggle .nav-toggle-bar + .nav-toggle-bar {
    margin-top: 0;
  }

  [data-theme="light"] .nav-toggle {
    background: transparent !important;
    border-color: transparent;
    color: #ffffff;
  }

  [data-theme="light"] .nav.nav-scrolled .nav-toggle {
    color: #123a79;
  }

  [data-theme="light"] .nav.nav-open .nav-toggle {
    color: #ffffff;
  }

  [data-theme="light"] .nav.nav-scrolled.nav-open .nav-toggle {
    color: #123a79;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 14px;
    border: 1px solid rgba(169, 198, 247, 0.18);
    background: rgba(4, 17, 44, 0.96);
    box-shadow: 0 12px 34px rgba(2, 9, 25, 0.45);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  [data-theme="light"] .nav-links {
    border-color: rgba(183, 198, 227, 0.62);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(16, 36, 67, 0.16);
  }

  .nav-links a {
    font-size: 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 10px;
  }

  [data-theme="light"] .nav-links a {
    color: #123a79;
  }

  [data-theme="light"] .hero .nav.nav-open .nav-links a {
    color: #123a79;
  }

  .nav.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav.nav-open .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-actions {
    gap: 6px;
    margin-left: 0;
  }

  .portal-btn {
    display: none !important;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .theme-toggle-desktop {
    display: none;
  }

  .theme-toggle-mobile {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(21, 93, 252, 0.14);
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    margin-top: 4px;
  }

  [data-theme="light"] .theme-toggle-mobile {
    background: rgba(31, 92, 240, 0.1);
  }

  .theme-toggle-mobile-label {
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #dce9ff;
  }

  [data-theme="light"] .theme-toggle-mobile-label {
    color: #123a79;
  }

  .theme-toggle-mobile-switch {
    display: inline-flex;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(115, 144, 196, 0.55);
    padding: 3px;
    transition: background-color 180ms ease;
  }

  .theme-toggle-mobile-knob {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(5, 16, 38, 0.3);
    transform: translateX(0);
    transition: transform 180ms ease;
  }

  .theme-toggle-mobile[data-theme-state="light"] .theme-toggle-mobile-switch {
    background: #1f67f4;
  }

  .theme-toggle-mobile[data-theme-state="light"] .theme-toggle-mobile-knob {
    transform: translateX(20px);
  }

  .theme-toggle-mobile .theme-toggle-icon {
    display: none;
  }

  .hero {
    background-position: 62% center;
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 88px;
    padding-bottom: 22px;
  }

  [data-theme="light"] .hero {
    background-position: 62% center;
  }

  .hero-content-wrap {
    flex: 1 1 auto;
    align-items: stretch;
    padding: 22px 0 16px;
  }

  .hero-content {
    min-height: 100%;
    justify-content: flex-start;
  }

  .hero-copy {
    margin-top: auto;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 1.04;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-content h1 {
    max-width: 12ch;
  }

  .hero-content h1 {
    text-wrap: balance;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-copy-mobile-hide {
    display: none;
  }

  .hero-cta {
    height: auto;
  }

  .btn-primary {
    min-width: 0;
    width: 100%;
  }

  .section-kicker {
    font-size: 13px;
  }

  .features {
    padding-top: 14px;
  }

  .fleet {
    padding-top: 14px;
  }

  body[data-route="fleet"] .fleet {
    padding-top: 0;
  }

  .partners {
    height: auto;
    padding: 14px 0;
  }

  .partners-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: 145px 145px;
    grid-template-rows: 32px 32px;
    justify-content: space-between;
    align-items: center;
    gap: 12px 0;
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .partners-inner .muted {
    width: 100%;
    font-size: 17px;
    letter-spacing: 0.08em;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: stretch;
    text-align: center;
  }

  .partners-inner .partner-link {
    display: block;
    width: 145px;
    height: 32px;
  }

  .partner-logo,
  .ivao-logo {
    width: 100%;
    height: 32px;
    object-fit: contain;
    object-position: center;
  }

  .partners-inner .partner-link {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
  }

  .partners-inner .partner-link-ivao {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
  }

  .section-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .ops {
    margin-top: 0;
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    position: static;
    z-index: auto;
    overflow: visible;
    clear: both;
    isolation: isolate;
  }

  .features + .ops {
    margin-top: 0;
    padding-top: 0;
  }

  .feature-grid {
    gap: 14px;
  }

  .ops-media {
    width: 100%;
    min-height: 220px;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
  }

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

  .feature-card p {
    font-size: 14px;
  }

  .feature-card {
    min-height: 0;
    height: auto;
  }

  .stats article p {
    font-size: 13px;
  }

  .footer p,
  .footer a,
  .footer-static-contact {
    font-size: 13px;
  }

  .footer-socials {
    width: 100%;
    justify-content: stretch;
    gap: 4px;
  }

  .footer-socials a {
    flex: 1 1 0;
    width: auto;
    height: 44px;
    max-width: none;
    border-radius: 8px;
  }

  .footer-meta {
    align-items: center;
    width: 100%;
  }

  .footer-powered {
    width: 100%;
    text-align: center;
  }

  .stats,
  .feature-grid,
  .fleet-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fleet-grid {
    padding: 8px 0 12px;
    overflow: visible;
  }

  .fleet-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 4px;
  }

  .stats article {
    min-width: 0;
  }

  .stats article h3 {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1;
    letter-spacing: -0.01em;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
  }

  .footer {
    padding-top: 40px;
  }

  .footer-policies {
    flex-wrap: wrap;
    gap: 12px;
  }

  .join-app-main {
    padding: 30px 0 38px;
  }

  .join-app-header {
    margin-bottom: 28px;
  }

  .join-app-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .join-app-aside,
  .join-app-form-wrap {
    padding: 24px 18px;
  }

  .join-app-chip-row {
    gap: 8px;
  }

  .join-app-form button {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  .nav {
    padding: 12px;
  }

  .brand-logo {
    height: 46px;
  }

  .portal-btn {
    display: none;
  }

  .hero-content-wrap {
    padding-top: 22px;
    padding-bottom: 12px;
  }

  h1 {
    font-size: clamp(30px, 8.8vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .stats,
  .feature-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
