﻿:root {
  --primary-50: #f0f4f8;
  --primary-100: #d9e2ec;
  --primary-200: #bcccdc;
  --primary-300: #9fb3c8;
  --primary-400: #829ab1;
  --primary-500: #627d98;
  --primary-600: #486581;
  --primary-700: #334e68;
  --primary-800: #243b53;
  --primary-900: #102a43;
  --bg: #ffffff;
  --text: #0f172a;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.topbar {
  background: var(--primary-900);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.topbar .inner { display: flex; justify-content: space-between; gap: 1rem; }
.topbar .right { display: none; gap: 1rem; }

.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--primary-100);
  z-index: 40;
  isolation: isolate;
}
.nav .inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; color: var(--primary-900); }
.brand strong { font-size: 1.6rem; display: block; line-height: 1; }
.brand span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.17em; color: var(--primary-600); font-weight: 700; }

.nav-links { display: none; align-items: center; gap: 1.2rem; }
.nav-links a { text-decoration: none; color: var(--primary-800); font-weight: 600; }
.nav-links a:hover { color: var(--primary-600); }
.nav-item { position: relative; }
.nav-item-dropdown { display: inline-flex; align-items: center; }
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-parent::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 13.5rem;
  padding: 0.55rem;
  display: grid;
  gap: 0.2rem;
  background: rgba(244, 250, 255, 0.94);
  border: 1px solid rgba(177, 210, 233, 0.65);
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(6, 38, 66, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 9999;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: rgba(203, 231, 250, 0.55);
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-toggle {
  border: 0;
  background: none;
  font-size: 1.75rem;
  color: var(--primary-900);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--primary-100);
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu .menu-wrap { padding: 1rem 0 1.2rem; display: grid; gap: 0.9rem; }
.mobile-menu a { text-decoration: none; color: var(--primary-800); font-weight: 600; font-size: 1.05rem; }
.bars-icon {
  line-height: 1;
  display: inline-block;
  font-size: 1.65rem;
}
.mobile-group {
  display: grid;
  gap: 0.45rem;
}
.mobile-group > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.mobile-group > a::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.mobile-submenu {
  display: grid;
  gap: 0.35rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(18, 86, 142, 0.24);
}
.mobile-submenu a {
  font-size: 0.96rem;
  font-weight: 600;
  color: #154f82;
}
.mobile-group.is-collapsed .mobile-submenu {
  display: none;
}
.mobile-group.is-collapsed > a::after {
  transform: rotate(-45deg);
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary-800); color: #fff; }
.btn-primary:hover { background: var(--primary-900); }
.btn-outline { border: 2px solid var(--primary-800); color: var(--primary-800); background: transparent; }
.btn-outline:hover { background: var(--primary-50); }

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: radial-gradient(circle at 30% 45%, #334e68 0, transparent 45%),
              radial-gradient(circle at 70% 55%, #102a43 0, transparent 45%),
              var(--primary-900);
  padding: 5rem 0;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin: 0 0 0.8rem; line-height: 1.05; }
.hero h1 span { color: var(--primary-400); }
.hero .tagline { font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--primary-200); margin: 0; }
.hero p { max-width: 680px; color: #d7e2ee; }
.hero-art {
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.07em;
  color: var(--primary-200);
  background: rgba(255,255,255,.05);
}

.section { padding: 4.8rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-alt { background: var(--primary-50); }
.section-dark { background: var(--primary-900); color: #fff; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0 0 1rem; color: var(--primary-900); }
.section-dark h2 { color: #fff; }
.lead { font-size: 1.14rem; color: var(--primary-700); }

.grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.card {
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: 18px;
  padding: 1.4rem;
}
.route-title, .feature-title, .card h3 { color: var(--primary-900); margin: 0 0 .5rem; }
.muted { color: var(--primary-600); }
.pill {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  font-size: .82rem;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 700;
}

.cta-box {
  background: var(--primary-900);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
}
.cta-box p { color: var(--primary-200); }

.form-shell {
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: 22px;
  padding: 1.2rem;
}
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
  color: var(--primary-900);
}
input, select, textarea {
  border: 1px solid var(--primary-100);
  background: var(--primary-50);
  border-radius: 12px;
  padding: .88rem .95rem;
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }

.accordion-item { border: 1px solid var(--primary-100); border-radius: 14px; overflow: hidden; background: #fff; }
.accordion-trigger {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--primary-900);
  cursor: pointer;
}
.accordion-panel {
  display: none;
  padding: 1rem;
  background: #f8fbfd;
  color: var(--primary-700);
}
.accordion-item.open .accordion-panel { display: block; }

.footer {
  margin-top: 4rem;
  background: var(--primary-900);
  color: #fff;
  padding: 3.3rem 0 1.2rem;
}
.footer-grid { display: grid; gap: 1.25rem; padding-bottom: 1.2rem; border-bottom: 1px solid #1f3f62; }
.footer a { color: var(--primary-300); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer small { color: var(--primary-400); }

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  z-index: 50;
}
.sticky-quote {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(5px);
  border-top: 1px solid #e5e7eb;
  padding: .75rem 1rem;
  z-index: 45;
}
.sticky-quote a { display: block; text-align: center; }

.hidden { display: none !important; }
.center { text-align: center; }

@media (min-width: 700px) {
  .topbar .right { display: flex; }
  .form-shell { padding: 1.8rem; }
  .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .nav-links { display: flex; }
  .mobile-toggle { display: none; }
  .sticky-quote { display: none; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hero-art--animated {
  padding: 0;
  overflow: hidden;
}

.shipping-scene {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
}

.scene-cloud {
  fill: rgba(233, 240, 248, 0.45);
  animation: cloudDrift 18s linear infinite;
}

.cloud-2 {
  animation-duration: 22s;
  animation-direction: reverse;
}

.route-line {
  fill: none;
  stroke: rgba(198, 224, 245, 0.75);
  stroke-width: 2.5;
  stroke-dasharray: 10 7;
}

.route-dot {
  fill: #f4fbff;
}

.route-label {
  fill: #e7f4ff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wave {
  fill: none;
  stroke: rgba(209, 233, 249, 0.5);
  stroke-width: 2;
  animation: waveRoll 5.5s linear infinite;
}

.wave-2 {
  animation-duration: 6.7s;
  animation-direction: reverse;
}

.wave-3 {
  animation-duration: 7.9s;
}

.cargo-ship {
  animation: shipSail 13s ease-in-out infinite;
}

.wake path {
  fill: none;
  stroke: rgba(220, 240, 255, 0.65);
  stroke-width: 2;
  stroke-linecap: round;
}

.wake-1 {
  animation: wakePulse 1.8s ease-in-out infinite;
}

.wake-2 {
  animation: wakePulse 2.1s ease-in-out infinite .3s;
}

.cargo-plane {
  animation: planeFly 8.5s ease-in-out infinite;
}

.wing-smoke {
  fill: rgba(226, 236, 244, 0.56);
  transform-origin: center;
}

.smoke-1 { animation: smokeTrail 1.6s ease-out infinite; }
.smoke-2 { animation: smokeTrail 1.6s ease-out infinite .35s; }
.smoke-3 { animation: smokeTrail 1.6s ease-out infinite .7s; }

@keyframes waveRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-80px); }
}

@keyframes shipSail {
  0% { transform: translate(120px, 300px); }
  45% { transform: translate(380px, 297px); }
  100% { transform: translate(620px, 300px); }
}

@keyframes planeFly {
  0% { transform: translate(125px, 132px) rotate(0deg); }
  50% { transform: translate(420px, 120px) rotate(-1.5deg); }
  100% { transform: translate(665px, 132px) rotate(0deg); }
}

@keyframes smokeTrail {
  0% { transform: translate(0, 0) scale(1); opacity: .5; }
  100% { transform: translate(-42px, -7px) scale(1.75); opacity: 0; }
}

@keyframes wakePulse {
  0%, 100% { opacity: .25; }
  50% { opacity: .9; }
}

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(60px); }
}

@media (max-width: 699px) {
  .shipping-scene {
    min-height: 290px;
  }

  .route-label {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-cloud,
  .wave,
  .cargo-ship,
  .cargo-plane,
  .wake-1,
  .wake-2,
  .smoke-1,
  .smoke-2,
  .smoke-3 {
    animation: none !important;
  }
}
/* Brand gradients + image-driven visual system */
:root {
  --logo-blue-700: #0f4f8a;
  --logo-blue-800: #0a3e70;
  --logo-blue-900: #072f58;
  --logo-cyan: #2f84c6;
  --accent-red: #d91f3a;
}

.topbar {
  background: linear-gradient(90deg, var(--logo-blue-900), var(--logo-blue-700) 55%, var(--logo-cyan));
}

.nav {
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(232,243,252,.95));
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .22rem;
}

.brand-logo {
  height: clamp(38px, 4.6vw, 56px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(11, 60, 101, .2));
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--logo-blue-800);
  font-weight: 800;
}

.nav-links > a {
  position: relative;
}

.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--logo-blue-700), var(--logo-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links > a:not(.btn):hover::after {
  transform: scaleX(1);
}

body[class^="page-"] main > section:first-child {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

body[class^="page-"] main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(145deg, rgba(7, 47, 88, .82) 0%, rgba(15, 79, 138, .68) 56%, rgba(47, 132, 198, .52) 100%),
    var(--page-hero-image);
  background-size: cover;
  background-position: center;
  opacity: .95;
  z-index: 0;
  transform: scale(1.03);
  animation: heroPan 24s ease-in-out infinite alternate;
}

body[class^="page-"] main > section:first-child > .container {
  position: relative;
  z-index: 1;
}

.page-index { --page-hero-image: url('images/2151998718ship-stock-imageplane-stock-image.jpg'); }
.page-about { --page-hero-image: url('images/1372ship-stock-image.jpg'); }
.page-services { --page-hero-image: url('images/1200plane-stock-image.jpg'); }
.page-how-it-works { --page-hero-image: url('images/735ship-stock-image.jpg'); }
.page-why-choose-us { --page-hero-image: url('images/2151989573ship-stock-image.jpg'); }
.page-faqs { --page-hero-image: url('images/1348ship-stock-imageplane-stock-image.jpg'); }
.page-contact { --page-hero-image: url('images/2152005472ship-stock-image.jpg'); }
.page-quote { --page-hero-image: url('images/2151468882plane-stock-image.jpg'); }
.page-privacy { --page-hero-image: url('images/1200plane-stock-image.jpg'); }
.page-terms { --page-hero-image: url('images/211ship-stock-image.jpg'); }

.page-index .hero::before {
  background-image: none;
}

.image-band {
  padding-top: 1rem;
}

.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(110, 151, 185, .24);
  aspect-ratio: var(--ratio, 3/2);
  box-shadow: 0 14px 30px rgba(9, 42, 72, .18);
  transform: translateY(0);
  animation: floatCard 5.8s ease-in-out infinite;
}

.media-card:nth-child(2) { animation-delay: .6s; }
.media-card:nth-child(3) { animation-delay: 1.1s; }

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .45s ease;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 34, 59, .45), rgba(7, 34, 59, 0));
}

.media-card:hover img {
  transform: scale(1.12);
}

.media-caption {
  position: absolute;
  left: .85rem;
  bottom: .8rem;
  margin: 0;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #eef7ff;
  font-weight: 700;
  z-index: 1;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@keyframes heroPan {
  0% { background-position: center 50%, center 55%; }
  100% { background-position: center 42%, center 45%; }
}

@media (min-width: 760px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  body[class^="page-"] main > section:first-child::before,
  .media-card {
    animation: none !important;
  }
}
/* Typography + contrast refinement */
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  letter-spacing: 0.012em;
  line-height: 1.72;
}

h1, h2, h3, h4 {
  letter-spacing: 0.032em;
  line-height: 1.28;
}

.nav-links a,
.btn,
.brand-sub,
label,
.media-caption,
.topbar {
  letter-spacing: 0.045em;
}

.hero .tagline,
.hero h1 span,
.section h1 span {
  font-family: 'Merriweather', serif;
  letter-spacing: 0.03em;
  line-height: 1.15;
  font-weight: 400;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0a345e 0%, #0f5f9f 65%, #1e78b8 100%);
  border: 1px solid rgba(210, 233, 250, 0.32);
  box-shadow: 0 10px 20px rgba(8, 47, 83, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #082e54 0%, #0c548f 60%, #1a6da8 100%);
}

.btn-outline {
  background: rgba(248, 252, 255, 0.96);
  color: #0b345e;
  border-color: #0f4f8a;
  box-shadow: 0 6px 16px rgba(12, 55, 93, 0.2);
}

.btn-outline:hover {
  background: #ffffff;
  color: #082d50;
  border-color: #0b3f6f;
}

.hero {
  background: radial-gradient(circle at 28% 38%, #4f7da4 0, transparent 42%),
              radial-gradient(circle at 70% 55%, #153e63 0, transparent 45%),
              linear-gradient(145deg, #0b2f54 0%, #0e406d 58%, #0f3258 100%);
}

.hero h1,
.hero .tagline,
.hero p,
.hero .btn {
  text-shadow: 0 2px 14px rgba(6, 26, 46, 0.65);
}

.hero p {
  color: #eef7ff;
}

.hero .tagline {
  color: #f4fbff;
}

.hero .btn-outline {
  background: #ffffff;
  color: #0a345e;
  border-color: #d8eaf8;
}

body[class^="page-"] main > section:first-child::before {
  background-image:
    linear-gradient(145deg, rgba(5, 32, 58, .9) 0%, rgba(10, 63, 109, .82) 55%, rgba(34, 117, 179, .72) 100%),
    var(--page-hero-image);
}

body[class^="page-"] main > section:first-child h1,
body[class^="page-"] main > section:first-child h2,
body[class^="page-"] main > section:first-child p,
body[class^="page-"] main > section:first-child .lead {
  color: #f4faff;
  text-shadow: 0 2px 12px rgba(4, 22, 39, 0.7);
}
/* Full-screen hero + taller sections + parallax shapes */
.section {
  padding: clamp(5.5rem, 10vh, 8.4rem) 0;
}

.section-tight {
  padding: clamp(4.4rem, 8vh, 6.6rem) 0;
}

.page-index .hero {
  min-height: calc(100svh - 118px);
  padding-top: clamp(4.8rem, 8vh, 7.5rem);
  padding-bottom: clamp(4.8rem, 8vh, 7.5rem);
}

.hero-grid {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroTextIn .9s cubic-bezier(.2,.85,.25,1) forwards;
}

.hero-copy > *:nth-child(1) { animation-delay: .08s; }
.hero-copy > *:nth-child(2) { animation-delay: .23s; }
.hero-copy > *:nth-child(3) { animation-delay: .4s; }
.hero-copy > *:nth-child(4) { animation-delay: .56s; }

.hero-art--animated {
  opacity: 0;
  transform: translateY(18px) scale(.985);
  animation: heroVisualIn 1s ease-out .35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.parallax-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.parallax-shape {
  position: absolute;
  opacity: .26;
  filter: blur(1px);
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--ps, 0px)), 0);
  transition: transform .2s ease-out;
}

.shape-a {
  width: clamp(180px, 20vw, 300px);
  top: 18%;
  left: -4%;
}

.shape-b {
  width: clamp(140px, 16vw, 230px);
  top: 60%;
  right: 4%;
}

.shape-c {
  width: clamp(220px, 24vw, 360px);
  top: 34%;
  right: 24%;
}

main,
.nav,
.topbar,
.footer,
.floating-whatsapp,
.sticky-quote {
  position: relative;
  z-index: 1;
}

@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-art--animated,
  .reveal-on-scroll {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .parallax-shape {
    transition: none !important;
    transform: none !important;
  }
}


.nav-links a.btn-primary, .mobile-menu a.btn-primary, .sticky-quote .btn-primary, a.btn-primary { color: #ffffff !important; }


.hero h1 span,
body[class^="page-"] main > section:first-child h1 span {
  color: var(--accent-red) !important;
  font-weight: 700;
}

.page-index .hero h1,
.page-index .hero h1 span {
  color: #ffffff !important;
}

.hero-art--video {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 35, 63, 0.52);
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) contrast(1.05);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 70ms linear;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-video-bg.is-active {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 31, 58, 0.25), transparent 42%),
    linear-gradient(135deg, rgba(6, 28, 50, 0.44), rgba(6, 28, 50, 0.08));
}

.hero-typewriter {
  position: relative;
}

.hero-typewriter > span {
  display: inline-block;
  white-space: pre-wrap;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  padding-right: 0.1em;
  animation: typeCursorBlink .85s steps(1, end) infinite;
}

.page-index .hero {
  position: relative;
  overflow: hidden;
  background: #071d34;
}

.page-index {
  --home-topbar-height: 34px;
  --home-nav-height: 86px;
  --home-header-stack-height: calc(var(--home-topbar-height) + var(--home-nav-height));
}

.page-index main {
  margin-top: calc(-1 * var(--home-header-stack-height));
}

.page-index .hero .container {
  position: relative;
  z-index: 2;
}

.page-index .hero-grid {
  grid-template-columns: 1fr !important;
}

.page-index .hero-copy {
  max-width: 760px;
  padding-top: clamp(1.8rem, 5vh, 3.2rem);
}

@keyframes typeCursorBlink {
  0%, 49% { border-right-color: rgba(255, 255, 255, 0.9); }
  50%, 100% { border-right-color: transparent; }
}

/* Homepage hero isolation: only frame-sequence image is allowed */
.page-index {
  --page-hero-image: none !important;
}

.page-index .hero::before {
  content: none !important;
  background-image: none !important;
}

.page-index .hero {
  background-image: none !important;
  min-height: calc(100svh + var(--home-header-stack-height));
  padding-top: calc(var(--home-header-stack-height) + clamp(2.3rem, 6vh, 5rem));
  padding-bottom: clamp(4.2rem, 7vh, 6rem);
}

/* Top-of-page translucent two-row header */
body.at-top .topbar {
  background: rgba(7, 47, 88, 0.56) !important;
  backdrop-filter: blur(8px);
}

body.at-top .nav {
  background: rgba(232, 243, 252, 0.42) !important;
  border-bottom-color: rgba(145, 183, 213, 0.38) !important;
  backdrop-filter: blur(8px);
}

/* Hero heading: sharp white diagonal offset shadow */
.page-index .hero .hero-copy h1.hero-typewriter > span {
  text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Homepage: liquid glass header + better menu spacing */
.page-index .topbar {
  background: linear-gradient(135deg, rgba(7, 47, 88, 0.54), rgba(25, 99, 158, 0.42)) !important;
  border-bottom: 1px solid rgba(196, 228, 249, 0.24);
  backdrop-filter: saturate(1.25) blur(14px);
  position: relative;
  z-index: 55;
}

.page-index .nav {
  background: linear-gradient(145deg, rgba(11, 54, 92, 0.42), rgba(7, 44, 77, 0.3)) !important;
  border-bottom: 1px solid rgba(190, 223, 247, 0.28) !important;
  box-shadow: 0 10px 26px rgba(8, 42, 72, 0.22);
  backdrop-filter: saturate(1.25) blur(15px);
  position: relative;
  z-index: 56;
}

.page-index .nav .inner {
  height: 86px;
}

.page-index .nav-links {
  gap: clamp(1.15rem, 2vw, 2rem);
}

.page-index .nav-links > a:not(.btn) {
  padding: 0.1rem 0.2rem;
  letter-spacing: 0.055em;
  color: #ffffff;
}

.page-index .nav-links > a:not(.btn):hover,
.page-index .nav-links > a:not(.btn):focus-visible,
.page-index .nav-parent {
  color: #ffffff;
}

.page-index .mobile-toggle {
  color: #ffffff;
}

.page-index .brand {
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 18px rgba(7, 35, 59, 0.2);
  backdrop-filter: blur(7px);
}

.page-index .nav-item-dropdown .nav-dropdown {
  background: linear-gradient(145deg, rgba(12, 58, 96, 0.92), rgba(8, 44, 74, 0.9));
  border-color: rgba(180, 217, 243, 0.42);
  box-shadow: 0 16px 30px rgba(8, 42, 72, 0.22);
}

.page-index .nav-item-dropdown .nav-dropdown a {
  color: #f4fbff;
}

.page-index .nav-item-dropdown .nav-dropdown a:hover {
  background: rgba(171, 216, 247, 0.22);
  color: #ffffff;
}

.page-index .mobile-menu {
  background: rgba(12, 56, 93, 0.72);
  border-top: 1px solid rgba(177, 215, 241, 0.36);
  backdrop-filter: saturate(1.2) blur(12px);
}

.page-index .mobile-menu a {
  color: #f3fbff;
}

.page-index .mobile-submenu a {
  color: #e9f7ff;
}

.page-index .mobile-submenu {
  border-left-color: rgba(220, 240, 255, 0.36);
}

body.page-index.at-top .topbar {
  background: linear-gradient(135deg, rgba(7, 47, 88, 0.44), rgba(27, 105, 168, 0.31)) !important;
}

body.page-index.at-top .nav {
  background: linear-gradient(145deg, rgba(10, 52, 88, 0.36), rgba(7, 40, 70, 0.24)) !important;
}

@media (max-width: 1023px) {
  .page-index {
    --home-topbar-height: 34px;
    --home-nav-height: 78px;
  }
}

