/* =========================================================
   KEYLINK TRANSPORT — Premium Website
   Design: Navy / Teal / Gold — Bebas Neue + Inter
   ========================================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #12294A;
  --teal:    #1A7B6E;
  --teal-lt: #22a092;
  --gold:    #F0A820;
  --gold-lt: #FFBD4A;
  --midnight:#0A0E1A;
  --frost:   #FFFFFF;
  --slate:   #64748B;
  --cloud:   #E8EDF5;
  --white:   #FFFFFF;
  --dark-card: #111928;

  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(10,14,26,0.18);
  --shadow-glow: 0 0 40px rgba(26,123,110,0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light only; /* force Chrome to render pure whites, no dark-mode tinting */
  background-color: #FFFFFF; /* Chrome paints html bg before body — lock it to pure white */
}

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--cloud);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- PRELOADER ---- */

/* ---- ENTRANCE — initial hidden states (lifted by GSAP after preloader) ---- */
/*
   body.js-loading guards everything so if JS fails the page is still readable.
   Each element starts invisible + offset; GSAP drives them into view.
   The existing CSS keyframe on .svh__title-line is suppressed with animation:none
   so GSAP owns the timeline exclusively.
*/
/* Nav bar shell — fades in first, items animate separately */
body.js-loading #mainNav {
  opacity: 0;
}

/* Logo slides in from the left */
body.js-loading .nav__logo {
  opacity: 0;
  transform: translateX(-18px);
}

/* Each nav link drops in from above */
body.js-loading .nav__links li {
  opacity: 0;
  transform: translateY(-14px);
}

/* Phone + CTA slide in from the right */
body.js-loading .nav__phone,
body.js-loading .nav__actions .btn {
  opacity: 0;
  transform: translateX(18px);
}
body.js-loading .svh__status {
  opacity: 0;
  transform: translateY(22px);
}
body.js-loading .svh__title-line {
  opacity: 0;
  transform: translateY(36px);
  animation: none !important;
}
body.js-loading .svh__sub {
  opacity: 0;
  transform: translateY(22px);
}
body.js-loading .svh__actions {
  opacity: 0;
  transform: translateY(22px);
}
body.js-loading .svh__scroll-hint {
  opacity: 0;
}

/* Pre-hide all scroll-animated elements to prevent flicker before GSAP sets opacity:0 */
.gsap-reveal,
.gsap-reveal-left,
.gsap-reveal-right,
.testimonials-slider {
  opacity: 0;
}

/* Reduced-motion fallback: show everything immediately, skip GSAP */
@media (prefers-reduced-motion: reduce) {
  body.js-loading #mainNav,
  body.js-loading .nav__logo,
  body.js-loading .nav__links li,
  body.js-loading .nav__phone,
  body.js-loading .nav__actions .btn,
  body.js-loading .svh__status,
  body.js-loading .svh__title-line,
  body.js-loading .svh__sub,
  body.js-loading .svh__actions,
  body.js-loading .svh__scroll-hint,
  .gsap-reveal,
  .gsap-reveal-left,
  .gsap-reveal-right,
  .testimonials-slider {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1400px;
}

.section {
  padding: 100px 0;
}

.section--light {
  background: var(--frost);
  color: var(--navy);
}

.section--navy {
  background: var(--navy);
}

.section--midnight {
  background: var(--midnight);
}

.section--radial-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(26,123,110,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 55%, rgba(18,41,74,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 40% 80%, rgba(26,123,110,0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.section--dark-card {
  background: var(--dark-card);
}

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240,168,32,0.12);
  border: 1px solid rgba(240,168,32,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.7;
}

.section--light .section-sub { color: #4B5D73; }
.section--navy .section-sub,
.section--midnight .section-sub { color: var(--cloud); opacity: 0.7; }

/* ---- BUTTONS ---- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  will-change: transform;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glass shine sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 0.55s ease;
  will-change: transform;
  pointer-events: none;
}
.btn:hover::before { transform: skewX(-18deg) translateX(320%); }

/* Gold — liquid glass orange */
.btn--gold {
  background: linear-gradient(135deg, rgba(255,185,40,0.72) 0%, rgba(240,148,10,0.65) 100%);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(255,200,80,0.38);
  box-shadow: 0 1px 0 rgba(255,255,255,0.32) inset,
              0 -1px 0 rgba(200,120,0,0.2) inset,
              0 8px 32px rgba(240,158,20,0.3);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.btn--gold:hover {
  background: linear-gradient(135deg, rgba(255,195,50,0.82) 0%, rgba(245,158,15,0.75) 100%);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.38) inset,
              0 -1px 0 rgba(200,120,0,0.2) inset,
              0 14px 44px rgba(240,158,20,0.45),
              0 0 20px rgba(255,180,40,0.2);
}

/* Ghost — liquid glass white tint */
.btn--ghost {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset,
              0 4px 20px rgba(0,0,0,0.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(34,160,146,0.5);
  color: var(--teal-lt);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset,
              0 8px 28px rgba(26,123,110,0.2);
}

/* Teal — liquid glass teal */
.btn--teal {
  background: linear-gradient(135deg, rgba(34,160,146,0.88) 0%, rgba(26,123,110,0.82) 100%);
  color: var(--white);
  border: 1px solid rgba(34,160,146,0.4);
  box-shadow: 0 2px 0 rgba(255,255,255,0.18) inset,
              0 6px 28px rgba(26,123,110,0.3);
}
.btn--teal:hover {
  background: linear-gradient(135deg, rgba(40,180,164,0.94) 0%, rgba(34,160,146,0.9) 100%);
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(255,255,255,0.22) inset,
              0 12px 36px rgba(26,123,110,0.45);
}

/* Outline gold — liquid glass orange tint */
.btn--outline-gold {
  background: rgba(240,168,32,0.08);
  color: var(--gold);
  border: 1px solid rgba(240,168,32,0.4);
  box-shadow: 0 1px 0 rgba(255,200,80,0.08) inset,
              0 4px 20px rgba(240,158,20,0.12);
}
.btn--outline-gold:hover {
  background: linear-gradient(135deg, rgba(255,185,40,0.72), rgba(240,148,10,0.65));
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  border-color: rgba(255,200,80,0.38);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.32) inset,
              0 -1px 0 rgba(200,120,0,0.2) inset,
              0 10px 36px rgba(240,158,20,0.4);
}

/* Liquid glass — frosted panel CTA */
.btn--glass {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.06) 100%
  );
  color: var(--white);
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 2px 0 rgba(255,255,255,0.18) inset,
              0 -1px 0 rgba(0,0,0,0.12) inset,
              0 8px 32px rgba(0,0,0,0.25);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.btn--glass:hover {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.10) 100%
  );
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(255,255,255,0.24) inset,
              0 -1px 0 rgba(0,0,0,0.1) inset,
              0 14px 44px rgba(0,0,0,0.3),
              0 0 24px rgba(255,255,255,0.08);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- NAVBAR — Liquid Glass ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(14, 28, 60, 0.72);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset,
              0 8px 40px rgba(0,0,0,0.3);
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(14, 28, 60, 0.85);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset,
              0 12px 48px rgba(0,0,0,0.45);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(232,237,245,0.75);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.nav__links a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,185,40,0.18), rgba(240,148,10,0.12));
  border: 1px solid rgba(255,200,80,0.25);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.nav__links a:hover {
  color: var(--gold);
}
.nav__links a:hover::after { opacity: 1; }

.nav__links a[aria-current="page"] {
  color: var(--gold);
  font-weight: 600;
}
.nav__links a[aria-current="page"]::after { opacity: 1; }

.nav__phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(34,160,146,0.9);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}
.nav__phone:hover {
  color: var(--gold);
  background: rgba(240,168,32,0.07);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
  width: 36px;
  height: 36px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              width 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — hidden on desktop, slide in from right on mobile */
.nav__mobile {
  display: none; /* desktop: completely off the rendering tree — no flash */
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100vh;
  background: linear-gradient(
    160deg,
    rgba(14, 28, 60, 0.55) 0%,
    rgba(8, 16, 36, 0.48) 60%,
    rgba(12, 22, 50, 0.52) 100%
  );
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-left: 1px solid rgba(255,255,255,0.1);
  box-shadow: -1px 0 0 rgba(255,255,255,0.06) inset, -12px 0 56px rgba(0,0,0,0.35);
  z-index: 1000;
  flex-direction: column;
  padding: 100px 32px 48px;
  gap: 8px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.4s;
}

/* Overlay behind the drawer — hidden on desktop */
.nav__mobile-overlay {
  display: none; /* desktop: no rendering, no flash */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.nav__mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile.open {
  transform: translateX(0);
  visibility: visible;
}

/* Staggered link reveal */
.nav__mobile a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(232,237,245,0.85);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
  letter-spacing: 0.02em;
}

.nav__mobile a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold);
}

.nav__mobile .nav__mobile-book {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,185,40,0.72), rgba(240,148,10,0.65));
  border: 1px solid rgba(255,200,80,0.38);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.28) inset, 0 6px 24px rgba(240,158,20,0.3);
  text-decoration: none;
}

.nav__mobile .nav__mobile-book:hover {
  background: linear-gradient(135deg, rgba(255,195,50,0.82), rgba(245,158,15,0.75));
  color: #fff;
}

/* Divider in mobile menu */
.nav__mobile-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 8px 0;
}

/* Primary links wrapper */
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Footer section */
.nav__mobile-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav__mobile-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav__mobile-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(232,237,245,0.55);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}

.nav__mobile-footer-link:hover {
  color: rgba(232,237,245,0.9);
  background: rgba(255,255,255,0.04);
}

.nav__mobile-linkedin:hover {
  color: #70b5f9;
}

.nav__mobile-footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav__mobile-footer-legal a {
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: rgba(232,237,245,0.38) !important;
  text-decoration: none;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease !important;
}

.nav__mobile-footer-legal a:hover {
  color: rgba(232,237,245,0.7) !important;
  background: none !important;
}

.nav__mobile-footer-dot {
  color: rgba(232,237,245,0.2);
  font-size: 0.75rem;
}

.nav__mobile-footer-copy {
  font-size: 0.7rem;
  color: rgba(232,237,245,0.22);
  letter-spacing: 0.03em;
}

#mobileClose {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

#mobileClose:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ============================================================
   SCROLL VIDEO HERO (SVH)
   Full-bleed cinematic scroll-scrub.
   White BG. Video fills the viewport. Overlay at bottom-left.
   Scroll distance = 300vh → truck goes from full → empty.
   ============================================================ */

.svh {
  height: 300vh;         /* scroll runway — tune up/down to change speed */
  background: #ffffff;
  position: relative;
}

/* Sticky frame — two columns: text LEFT, video RIGHT */
.svh__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: #ffffff !important;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text video";
  align-items: center;
  padding-top: 80px; /* clear fixed nav */
}

/* Subtle bottom vignette */
.svh__sticky::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  pointer-events: none;
  z-index: 2;
}

/* ---- Right column: video ---- */
.svh__video {
  grid-area: video;
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  object-position: center center;
  padding: 24px 48px 24px 16px;
  /* Entrance animation */
  animation: svhVideoIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  /* Soft shadow so truck reads on white */
  filter: drop-shadow(0 24px 48px rgba(18,41,74,0.10)) drop-shadow(0 4px 16px rgba(18,41,74,0.07));
}

@keyframes svhVideoIn {
  from { opacity: 0; transform: scale(0.95) translateX(20px); }
  to   { opacity: 1; transform: scale(1)    translateX(0); }
}

/* ---- Left column: text ---- */
.svh__overlay {
  grid-area: text;
  padding: 0 32px 0 64px;
  z-index: 3;
  max-width: 100%;
}

/* Live status pill — "Loaded & Ready" → "En Route" → "Delivered" */
.svh__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(18,41,74,0.12);
  border-radius: 100px;
  padding: 9px 22px 9px 14px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.svh__status-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: svhPulse 2s ease-in-out infinite;
}

@keyframes svhPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,168,32,0.55); }
  50%       { box-shadow: 0 0 0 8px rgba(240,168,32,0); }
}

.svh__status-text {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Headline */
.svh__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}

.svh__title em {
  font-style: normal;
  color: var(--teal);
}

/* Each line animates in on load */
.svh__title-line {
  display: block;
  animation: svhLineIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.svh__title-line:nth-child(1) { animation-delay: 0.1s; }
.svh__title-line:nth-child(2) { animation-delay: 0.22s; }
.svh__title-line:nth-child(3) { animation-delay: 0.34s; }

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

.svh__sub {
  font-size: 1rem;
  color: #4B5D73;
  line-height: 1.65;
  margin-bottom: 28px;
  animation: svhLineIn 0.8s 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.svh__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: svhLineIn 0.8s 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Ghost button for white background */
.btn--ghost-dark {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  color: var(--navy);
  border: 1.5px solid rgba(18,41,74,0.2);
}
.btn--ghost-dark:hover {
  background: white;
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ---- Scroll hint — centered at bottom of hero ---- */
.svh__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svh__scroll-hint.hidden {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.svh__scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10, 14, 26, 0.6);
  white-space: nowrap;
  overflow: hidden;
  height: 1.2em;
  display: flex;
  align-items: center;
}

.svh__scroll-label-text {
  display: block;
  transition: none;
}

.svh__scroll-label-text.roll-out {
  animation: svhRollOut 0.3s ease-in forwards;
}

.svh__scroll-label-text.roll-in {
  animation: svhRollIn 0.35s ease-out forwards;
}

@keyframes svhRollOut {
  0%   { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(-120%); opacity: 0; }
}

@keyframes svhRollIn {
  0%   { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

.svh__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(10,14,26,0.3), transparent);
}

.svh__mouse-icon {
  width: 22px;
  height: 35px;
  color: rgba(10, 14, 26, 0.6);
  margin-top: -4px;
}

.svh__mouse-wheel {
  animation: svhMouseWheel 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes svhMouseWheel {
  0%   { transform: translateY(0);   opacity: 1; }
  55%  { transform: translateY(8px); opacity: 0; }
  56%  { transform: translateY(0);   opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}

/* ---- Gold progress bar — bottom edge ---- */
.svh__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(18,41,74,0.07);
  z-index: 4;
}

.svh__progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.05s linear;
  will-change: transform;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .svh__video,
  .svh__title-line,
  .svh__sub,
  .svh__actions,
  .svh__mouse-wheel { animation: none; }
}

/* ---- Mobile: cinematic truck hero — phones only ---- */
@media (max-width: 768px) {

  /* No scroll runway on mobile — hero is a single screen, video loops */
  .svh { height: auto; min-height: 100svh; }

  /* Flex column: overlay-top → video → overlay-bottom */
  .svh__sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    /* Clear fixed nav (84px) + any iOS safe-area top (notch/dynamic island) */
    padding-top: calc(env(safe-area-inset-top, 0px) + 88px);
    /* Clear iOS home bar */
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
  }

  /* Kill desktop bottom vignette — it creates blank space on mobile */
  .svh__sticky::after { display: none; }

  /* Warm ambient glow — centred on the middle where the truck lives */
  .svh__sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse 85% 50% at 50% 55%,
      rgba(240,168,32,0.07) 0%,
      rgba(34,160,146,0.045) 45%,
      transparent 72%
    );
    pointer-events: none;
    z-index: 0;
  }

  /* Dissolve overlay box so children join the flex stack directly */
  .svh__overlay {
    display: contents;
  }

  /* TOP: status + headline — centered above the truck */
  .svh__overlay-top {
    order: 1;
    position: relative;
    z-index: 3;
    padding: 16px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Gold-to-teal gradient rule — sits below the heading, above the truck */
  .svh__overlay-top::after {
    content: '';
    display: block;
    height: 2px;
    margin: 16px 0 0;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--gold) 25%,
      var(--teal) 75%,
      transparent 100%
    );
    opacity: 0.5;
    border-radius: 1px;
  }

  /* Truck video — looping animation sandwiched between heading and sub */
  .svh__video {
    order: 2;
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 1 auto;
    max-height: 38vh;
    height: auto;
    padding: 4px 10px;
    object-fit: contain;
    filter:
      drop-shadow(0 20px 40px rgba(18,41,74,0.18))
      drop-shadow(0 6px 18px rgba(18,41,74,0.10));
    transform: translateZ(0);
  }

  /* BOTTOM: subtitle + CTAs — centered below the truck */
  .svh__overlay-bottom {
    order: 3;
    position: relative;
    z-index: 3;
    padding: 0 24px 0;
    text-align: center;
  }

  /* Status badge — compact */
  .svh__status {
    margin-bottom: 10px;
  }

  /* Headline — tight, bold, mobile-scaled */
  .svh__title {
    font-size: clamp(2.1rem, 9.5vw, 3rem);
    line-height: 0.93;
    letter-spacing: 0.035em;
    margin-bottom: 0;
  }

  /* Subtitle — compact but visible */
  .svh__sub {
    display: block !important;
    font-size: 0.83rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  /* Full-width stacked CTAs — proper mobile touch targets */
  .svh__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .svh__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  /* Scroll-down indicator — hidden on mobile */
  .svh__scroll-hint {
    display: none !important;
  }

  /* Keep progress bar hidden */
  .svh__progress { display: none; }
}


/* ---- HERO (used by other pages) ---- */
/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 50%, rgba(26,123,110,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,168,32,0.4), transparent);
}

.hero__content {
  padding: 80px 0 80px 0;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__eyebrow span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__title em {
  font-style: normal;
  color: var(--teal-lt);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--cloud);
  opacity: 0.75;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__asset-placeholder {
  width: 100%;
  max-width: 620px;
  aspect-ratio: 4/3;
  background: rgba(26,123,110,0.08);
  border: 1.5px dashed rgba(26,123,110,0.4);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(26,123,110,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 40px;
}

.hero__asset-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cloud);
  opacity: 0.85;
  white-space: nowrap;
}

.trust-item__icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-item__label {
  font-weight: 700;
  color: var(--white);
}

.trust-bar__divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    135deg,
    rgba(18, 36, 72, 0.58) 0%,
    rgba(10, 20, 44, 0.48) 50%,
    rgba(14, 28, 58, 0.52) 100%
  );
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 36px 28px 28px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 12px 40px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top-edge glass shimmer */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.22) 30%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.22) 70%,
    transparent
  );
  transform: none;
  pointer-events: none;
}

/* Radial inner glow */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255,255,255,0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(26,123,110,0.35);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.1) inset,
    0 20px 56px rgba(0,0,0,0.38),
    0 0 24px rgba(26,123,110,0.12);
}

.service-card__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26,123,110,0.2) 0%, rgba(26,123,110,0.08) 100%);
  border: 1px solid rgba(26,123,110,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--teal-lt);
  box-shadow: 0 1px 0 rgba(34,160,146,0.15) inset;
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--cloud);
  opacity: 0.75;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Full-width glass button at bottom — liquid glass transparent */
.service-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  margin-top: auto;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.1) inset;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card__link::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 0.55s ease;
  will-change: transform;
  pointer-events: none;
}

.service-card__link:hover::before { transform: skewX(-18deg) translateX(320%); }

.service-card__link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 -1px 0 rgba(0,0,0,0.08) inset;
  gap: 12px;
}

.service-card__tags {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---- STATS ---- */
.stats-section {
  background: var(--midnight);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

.stat-item {
  background: rgba(14,28,60,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:hover {
  background: rgba(18,41,74,0.7);
}

.stat-item::before { display: none; }
.stat-item::after { display: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(232,237,245,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- WHY KEYLINK ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  position: relative;
  text-align: center;
  padding: 36px 24px 32px;
  border-radius: 16px;
  opacity: 1 !important;
  background: linear-gradient(
    135deg,
    rgba(18, 36, 72, 0.55) 0%,
    rgba(10, 20, 44, 0.45) 50%,
    rgba(14, 28, 58, 0.5) 100%
  );
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 8px 32px rgba(0,0,0,0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Glass shimmer highlight at top edge */
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.2) 30%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.2) 70%,
    transparent
  );
  pointer-events: none;
}

/* Subtle inner glow layer */
.value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255,255,255,0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.value-card:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 42, 82, 0.65) 0%,
    rgba(14, 28, 58, 0.55) 50%,
    rgba(18, 36, 72, 0.6) 100%
  );
  border-color: rgba(26,123,110,0.35);
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 -1px 0 rgba(0,0,0,0.1) inset,
    0 16px 48px rgba(0,0,0,0.35),
    0 0 20px rgba(26,123,110,0.1);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(240,168,32,0.15) 0%, rgba(240,168,32,0.06) 100%);
  border: 1px solid rgba(240,168,32,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  box-shadow: 0 1px 0 rgba(255,200,80,0.12) inset;
  position: relative;
  z-index: 1;
}

.value-card__icon svg { width: 24px; height: 24px; }

.value-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.value-card__desc {
  font-size: 0.84rem;
  color: var(--cloud);
  opacity: 0.6;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ---- COVERAGE ---- */
.coverage-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.coverage-section::before {
  content: '';
  position: absolute;
  right: -20%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(26,123,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.coverage-cta {
  grid-column: 1;
  grid-row: 2;
  margin-top: -44px;
}

.coverage-routes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.coverage-country {
  margin-bottom: 8px;
}

.coverage-country__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cloud);
  transition: all var(--transition);
}

.route-pill:hover {
  background: rgba(26,123,110,0.15);
  border-color: var(--teal);
  color: var(--white);
}

.coverage-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 16px 0;
}

.coverage-map {
  position: relative;
  background: rgba(26,123,110,0.05);
  border: 1px solid rgba(26,123,110,0.15);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coverage-map svg {
  width: 90%;
  height: 90%;
  opacity: 0.8;
}

/* ---- GRADIENT BAND: Standards → Coverage → Savings → Testimonials ---- */
.gradient-band {
  background: var(--midnight);
  position: relative;
}

.gradient-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(26,123,110,0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 35%, rgba(18,41,74,0.55) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 60%, rgba(26,123,110,0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(18,41,74,0.4) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.gradient-band > * {
  position: relative;
  z-index: 1;
}

/* Sections inside gradient-band are transparent */
.savings-callout,
.testimonials-section {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.savings-callout {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Standards and coverage sections inside band */
.standards-content {
  background: transparent;
}

.coverage-section {
  background: transparent;
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  overflow: hidden;
}

.testimonial-card {
  flex: 0 0 380px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(18, 36, 72, 0.52) 0%,
    rgba(10, 20, 44, 0.42) 50%,
    rgba(14, 28, 58, 0.48) 100%
  );
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 8px 32px rgba(0,0,0,0.25);
}

/* Top-edge shimmer */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.22) 30%,
    rgba(255,255,255,0.38) 50%,
    rgba(255,255,255,0.22) 70%,
    transparent
  );
  pointer-events: none;
}

/* Radial inner glow + quote mark */
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  font-family: Georgia, serif;
  pointer-events: none;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--cloud);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.author-role {
  font-size: 0.8rem;
  color: var(--cloud);
  opacity: 0.6;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.testimonials-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.testimonials-nav button:hover {
  border-color: var(--teal);
  background: rgba(26,123,110,0.15);
}

.testimonials-nav button svg { width: 18px; height: 18px; }

/* ---- CAREERS STRIP ---- */
.careers-strip {
  background: var(--midnight);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle teal glow top-left */
.careers-strip::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,123,110,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.careers-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.careers-strip__video-wrap {
  flex: 0 0 420px;
  max-width: 420px;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.07);
}

.careers-strip__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.careers-strip__content {
  flex: 1;
}

.careers-strip__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.careers-strip__sub {
  font-size: 1rem;
  color: var(--cloud);
  opacity: 0.7;
  margin-top: 10px;
  max-width: 500px;
}

.careers-open-roles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.role-badge {
  background: rgba(34,160,146,0.1);
  border: 1px solid rgba(34,160,146,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-lt);
}

.careers-strip__cta { flex-shrink: 0; }

/* ======================================================
   BLOG SLIDER SECTION — Home Page
   ====================================================== */
.blog-slider-section {
  background: var(--midnight);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs */
.blog-slider-section::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -220px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26,123,110,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.blog-slider-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(240,168,32,0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.blog-slider-section .container {
  position: relative;
  z-index: 1;
}

/* ---- Section header ---- */
.blog-slider__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-slider__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 8px;
}

.blog-slider__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--frost);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.blog-slider__sub {
  font-size: 1rem;
  color: rgba(232,237,245,0.55);
  margin-top: 10px;
  max-width: 420px;
  line-height: 1.6;
}

/* View-all button */
.btn--blog-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-radius: 100px;
  padding: 11px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cloud);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-end;
}

.btn--blog-all:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 0 28px rgba(26,123,110,0.38);
  transform: translateY(-2px);
}

/* ---- Category filter tags ---- */
.blog-slider__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.blog-filter-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(232,237,245,0.65);
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
}

.blog-filter-tag:hover {
  background: rgba(26,123,110,0.18);
  border-color: rgba(34,160,146,0.4);
  color: var(--teal-lt);
}

.blog-filter-tag.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 0 20px rgba(26,123,110,0.42);
}

/* ---- Stage: side arrows + slider wrapper ---- */
.blog-slider__stage {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---- Slider wrapper + track ---- */
.blog-slider__wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: grab;
  padding: 16px 0 28px;
}

.blog-slider__wrapper:active {
  cursor: grabbing;
}

.blog-slider__track {
  display: flex;
  gap: 24px;
  /* transition applied dynamically by JS */
}

/* ---- Individual glass card ---- */
.blog-slide-card {
  flex: 0 0 320px;
  height: 510px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  /* Liquid glass */
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transition:
    transform 0.38s cubic-bezier(0.4,0,0.2,1),
    box-shadow 0.38s ease,
    border-color 0.38s ease;
  user-select: none;
  -webkit-user-select: none;
}

.blog-slide-card:hover {
  transform: translateY(-12px);
  border-color: rgba(26,123,110,0.5);
  box-shadow:
    0 28px 64px rgba(0,0,0,0.42),
    0 0 56px rgba(26,123,110,0.16),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.1);
}

/* Image area */
.bsc__img-wrap {
  position: relative;
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}

.bsc__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  pointer-events: none;
}

.blog-slide-card:hover .bsc__img {
  transform: scale(1.09);
}

.bsc__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,14,26,0) 20%,
    rgba(10,14,26,0.72) 100%
  );
}

/* Category badge */
.bsc__category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,14,26,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 4px 13px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-lt);
}

/* Card body */
.bsc__body {
  padding: 20px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.bsc__title {
  font-family: var(--font-head);
  font-size: 1.22rem;
  letter-spacing: 0.025em;
  color: var(--frost);
  line-height: 1.2;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.blog-slide-card:hover .bsc__title {
  color: var(--teal-lt);
}

/* Summary text */
.bsc__summary {
  font-size: 0.84rem;
  color: rgba(232,237,245,0.58);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0;
}

.blog-slide-card:hover .bsc__summary {
  color: rgba(232,237,245,0.72);
}

/* Meta bar */
.bsc__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.bsc__date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  color: rgba(232,237,245,0.4);
  line-height: 1;
}

.bsc__read-more {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  transition: color 0.22s, letter-spacing 0.22s;
}

.blog-slide-card:hover .bsc__read-more {
  color: var(--gold-lt);
  letter-spacing: 0.1em;
}

/* ---- Arrow buttons (shared base) ---- */
.blog-slider__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  color: var(--cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.22s,
    color 0.25s,
    opacity 0.25s;
}

.blog-slider__arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 0 28px rgba(26,123,110,0.48), 0 4px 16px rgba(0,0,0,0.3);
  transform: scale(1.1);
}

.blog-slider__arrow:active {
  transform: scale(0.94);
}

/* Disabled state — still visible, just dimmed */
.blog-slider__arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* Side arrows — larger, flanking the track */
.blog-slider__arrow--side {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.blog-slider__arrow--side:hover {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(26,123,110,0.52), 0 8px 24px rgba(0,0,0,0.35);
}

/* ---- Footer: count + bottom arrows ---- */
.blog-slider__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-slider__count {
  font-size: 0.76rem;
  color: rgba(232,237,245,0.4);
  letter-spacing: 0.07em;
}

.blog-slider__nav {
  display: flex;
  gap: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .blog-slider__arrow--side { display: none; }
  .blog-slider__stage { gap: 0; }
}

@media (max-width: 768px) {
  .blog-slider-section { padding: 72px 0 88px; }
  .blog-slider__header { flex-direction: column; align-items: flex-start; }
  .btn--blog-all { align-self: flex-start; }
  .blog-slide-card { flex: 0 0 285px; height: 490px; }
  .bsc__img-wrap { height: 168px; }
  .blog-slider__footer { justify-content: flex-end; }
  .blog-slider__count { display: none; }
}

.cta-section {
  background: var(--midnight);
  padding: 120px 0 130px;
}

/* ---- SERVICES SECTION CTA ---- */
.services-cta-wrap { text-align: center; }

.btn--services-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,185,40,0.72), rgba(240,148,10,0.65));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,200,80,0.38);
  text-decoration: none;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.32) inset, 0 -1px 0 rgba(200,120,0,0.2) inset, 0 8px 32px rgba(240,158,20,0.3);
}

.btn--services-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.38) inset, 0 -1px 0 rgba(200,120,0,0.2) inset, 0 14px 44px rgba(240,158,20,0.45), 0 0 20px rgba(255,180,40,0.2);
}

.btn-services-cta__shine {
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shineSlide 2.8s ease-in-out infinite;
}

@keyframes shineSlide {
  0%   { left: -75%; }
  40%  { left: 125%; }
  100% { left: 125%; }
}

/* ---- STANDARDS SECTION CTA ---- */
.standards-cta-wrap { text-align: center; }

.btn--standards-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 6px 28px rgba(0,0,0,0.2);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.btn--standards-cta:hover {
  background: rgba(240,168,32,0.08);
  border-color: rgba(240,168,32,0.5);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,220,100,0.15) inset, 0 10px 36px rgba(240,168,32,0.2);
}

.btn-standards-cta__ring {
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: rotateBorder 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes rotateBorder {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ---- CONTACT CTA ---- */
/* =========================================================
   BOOK A LOAD — Two-Column Quote Section
   ========================================================= */

.bal-section {
  background: var(--midnight);
  padding: 160px 0 170px;
  position: relative;
  overflow: hidden;
}

.bal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(26,123,110,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(18,41,74,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.bal-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ---- Left column ---- */
.bal-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1.5;
}

.bal-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}

.bal-body {
  font-size: 1rem;
  color: rgba(232,237,245,0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 44px;
}

.bal-services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
}

.bal-service {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bal-service__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(26,123,110,0.12);
  border: 1px solid rgba(26,123,110,0.25);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-lt);
  transition: background 0.25s, border-color 0.25s;
}

.bal-service__icon svg {
  width: 16px;
  height: 16px;
}

.bal-service:hover .bal-service__icon {
  background: rgba(26,123,110,0.22);
  border-color: rgba(26,123,110,0.45);
}

.bal-service__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232,237,245,0.75);
  line-height: 1.3;
}

/* ---- Right column — Card ---- */
.bal-card {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26,123,110,0.2),
    0 24px 64px rgba(0,0,0,0.5),
    0 0 80px rgba(26,123,110,0.08);
  position: sticky;
  top: 100px;
}

.bal-card__header {
  background: linear-gradient(135deg, #0A1628 0%, var(--navy) 100%);
  padding: 28px 28px 24px;
  border-bottom: 1px solid rgba(26,123,110,0.2);
  position: relative;
  overflow: hidden;
}

.bal-card__header::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,123,110,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bal-card__title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

.bal-card__body {
  padding: 24px 28px 28px;
}

.bal-card__sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ---- Form inside card ---- */
.bal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bal-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bal-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bal-form__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,237,245,0.5);
}

.bal-form__input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 0;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}

.bal-form__input::placeholder {
  color: rgba(232,237,245,0.28);
  font-style: italic;
}

.bal-form__input:focus {
  border-bottom-color: var(--teal-lt);
}

.bal-form__textarea {
  resize: none;
  min-height: 72px;
}

/* Checkboxes */
.bal-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.bal-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.bal-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.bal-checkbox input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal-lt);
}

.bal-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 7px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.bal-checkbox span {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(232,237,245,0.65);
  user-select: none;
}

.bal-checkbox:hover span {
  color: var(--white);
}

/* Submit button */
.bal-form__submit {
  margin-top: 6px;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  color: #0A0E1A;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(240,168,32,0.3);
}

.bal-form__submit:hover {
  box-shadow: 0 8px 28px rgba(240,168,32,0.45);
  transform: translateY(-1px);
}

.bal-form__submit:active {
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .bal-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .bal-card {
    position: static;
  }
  .bal-body {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .bal-section {
    padding: 72px 0 80px;
  }
  .bal-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .bal-form__row {
    grid-template-columns: 1fr;
  }
  .bal-card__header,
  .bal-card__body {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 400px) {
  .bal-services {
    grid-template-columns: 1fr;
  }
}

/* ---- FOOTER ---- */
.social-share-bar {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
}
.social-share-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.social-share-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.social-share-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cloud);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-share-bar__btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.footer {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
  position: relative;
  z-index: 2;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  margin-bottom: 20px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--cloud);
  opacity: 0.55;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cloud);
  opacity: 0.7;
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(26,123,110,0.2);
  border-color: var(--teal);
  opacity: 1;
}

.social-link svg { width: 16px; height: 16px; }

.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--cloud);
  opacity: 0.55;
  text-decoration: none;
  transition: all var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--teal-lt);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--cloud);
  opacity: 0.6;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer__contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--teal-lt);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer__contact-item a:hover { color: var(--white); opacity: 1; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--cloud);
  opacity: 0.4;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--cloud);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer__legal a:hover { opacity: 0.8; }

/* ---- FLOATING CTA ---- */
/* ---- OFFICE MOVE BANNER ---- */
.office-banner {
  position: fixed;
  bottom: 32px;
  left: 24px;
  z-index: 950;
}

.office-banner__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 420px;
  padding: 20px 20px 20px 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 -1px 0 rgba(0,0,0,0.08) inset,
    0 16px 48px rgba(0,0,0,0.18),
    0 4px 16px rgba(0,0,0,0.1);
  animation: bannerSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  overflow: hidden;
}

.office-banner__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 50%, transparent);
  pointer-events: none;
}

@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.office-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(240,168,32,0.2), rgba(240,168,32,0.08));
  border: 1px solid rgba(240,168,32,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.office-banner__content {
  flex: 1;
  min-width: 0;
}

.office-banner__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.office-banner__highlight {
  color: var(--teal-lt);
}

.office-banner__text {
  font-size: 0.82rem;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1.55;
}

.office-banner__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(240,168,32,0.12);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.office-banner__close:hover {
  background: rgba(240,168,32,0.25);
  color: var(--gold-lt);
}

/* Collapsed tab */
.office-banner__tab {
  display: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 8px 24px rgba(0,0,0,0.15);
  transition: background 0.2s, color 0.2s;
  animation: bannerSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.office-banner__tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.office-banner__tab svg {
  writing-mode: horizontal-tb;
  flex-shrink: 0;
  color: var(--gold);
}

.office-banner__tab-text {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--gold);
}

/* States */
.office-banner.collapsed .office-banner__inner {
  display: none;
}

.office-banner.collapsed .office-banner__tab {
  display: flex;
}

.office-banner.dismissed {
  display: none;
}

@media (max-width: 768px) {
  .office-banner { left: 14px; bottom: 24px; right: 80px; }
  .office-banner__inner { max-width: none; padding: 16px; gap: 12px; }
  .office-banner__icon { width: 36px; height: 36px; border-radius: 10px; }
  .office-banner__icon svg { width: 20px; height: 20px; }
  .office-banner__title { font-size: 0.9rem; }
  .office-banner__text { font-size: 0.78rem; }
  .office-banner.collapsed { right: auto; }
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 32px;
  z-index: 900;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.floating-cta.visible { display: flex; }

.floating-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-icon:hover {
  transform: translateY(-3px);
}

.floating-email {
  background: linear-gradient(135deg, rgba(18,41,74,0.88), rgba(12,28,52,0.82));
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 20px rgba(18,41,74,0.45);
}

.floating-email:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 28px rgba(18,41,74,0.65);
}

.floating-call {
  background: linear-gradient(135deg, rgba(34,160,146,0.88), rgba(26,123,110,0.82));
  border: 1px solid rgba(100,220,200,0.3);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 20px rgba(34,160,146,0.45);
}

.floating-call:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 28px rgba(34,160,146,0.65);
}

.floating-linkedin {
  background: linear-gradient(135deg, rgba(0,119,181,0.88), rgba(0,90,140,0.82));
  border: 1px solid rgba(100,180,255,0.3);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 20px rgba(0,119,181,0.45);
}

.floating-linkedin:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 28px rgba(0,119,181,0.65);
}

.floating-book__icon { display: none; }

.floating-book-wrap { position: relative; }

.floating-book-tooltip {
  display: none;
}

@keyframes tooltipSlideIn {
  0%   { opacity: 0; transform: translateX(12px) scale(0.9); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes tooltipPulse {
  0%, 100% { box-shadow: 0 2px 16px rgba(240,168,32,0.35); }
  50%      { box-shadow: 0 2px 24px rgba(240,168,32,0.6); }
}

@media (max-width: 768px) {
  .floating-cta { right: 14px; bottom: 24px; gap: 10px; }
  .floating-icon { width: 38px; height: 38px; }
  .floating-icons { gap: 8px; margin-bottom: 0; }
  .floating-book {
    width: 42px;
    height: 42px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }
  .floating-book__text { display: none; }
  .floating-book__icon { display: block; color: var(--midnight); }

  .floating-book-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(135deg, #f0a820, #e8940a);
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 2px 16px rgba(240,168,32,0.35);
    pointer-events: none;
    animation: tooltipSlideIn 0.5s cubic-bezier(0.16,1,0.3,1) both,
               tooltipPulse 2s ease-in-out 0.5s infinite;
  }

  .floating-book-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #e8940a;
    border-radius: 2px;
  }

  .floating-book-tooltip.visible {
    display: block;
  }
}

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  background: var(--navy);
  padding: 80px 0;     /* top clears fixed nav; bottom matches for equal spacing */
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,123,110,0.2) 0%, transparent 60%);
}

.page-header__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header__sub {
  font-size: 1.1rem;
  color: var(--cloud);
  opacity: 0.7;
  max-width: 560px;
}

/* ---- CONTACT FORM PAGE ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info-block {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.contact-info-block__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: rgba(26,123,110,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-lt);
  flex-shrink: 0;
}

.contact-detail__icon svg { width: 18px; height: 18px; }

.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: var(--cloud);
  line-height: 1.5;
}

.contact-detail__value a {
  color: var(--teal-lt);
  text-decoration: none;
}

.form-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cloud);
  opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(26,123,110,0.05);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group select option { background: var(--navy); color: var(--white); }

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
}

/* ---- CAREERS PAGE ---- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.role-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.role-card:hover {
  border-color: rgba(26,123,110,0.3);
  transform: translateY(-4px);
}

.role-card__type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-lt);
  background: rgba(26,123,110,0.12);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.role-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.role-card__location {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.role-card__desc {
  font-size: 0.9rem;
  color: var(--cloud);
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ---- SERVICES DETAIL PAGE ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.service-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--cloud);
  opacity: 0.8;
}

.service-detail__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='rgba(26,123,110,0.2)'/%3E%3Cpath d='M5 9l3 3 5-5' stroke='%2322a092' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__visual {
  background: rgba(26,123,110,0.06);
  border: 1px solid rgba(26,123,110,0.15);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26,123,110,0.4);
  font-size: 0.85rem;
  font-weight: 500;
}

/* When the visual holds a real image — strip the placeholder box */
.service-detail__visual--has-image {
  background: transparent;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
  display: block;
  position: relative;
  overflow: visible;
}

/* Teal ambient glow behind the asset — ties it to the site palette */
.service-detail__visual--has-image::before {
  content: '';
  position: absolute;
  inset: 15% 5%;
  background: radial-gradient(ellipse at 55% 60%, rgba(26,123,110,0.22) 0%, transparent 68%);
  filter: blur(48px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* The image itself */
.corridor-map-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  /* Edge-blend: fade all edges into the midnight background */
  -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, black 35%, rgba(0,0,0,0.6) 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 82% 78% at 50% 50%, black 35%, rgba(0,0,0,0.6) 60%, transparent 100%);
  /* 3D perspective tilt for depth */
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg) translateY(0);
  transform-origin: center center;
  /* Layered drop-shadow: dark depth + teal ambient */
  filter:
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.7))
    drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 80px rgba(26, 123, 110, 0.18));
  transition:
    transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.65s ease;
  will-change: transform, filter;
  /* Continuous slow float animation */
  animation: corridorFloat 6s ease-in-out infinite;
}

@keyframes corridorFloat {
  0%   { transform: perspective(1200px) rotateY(-4deg) rotateX(3deg) translateY(0px); }
  50%  { transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) translateY(-12px); }
  100% { transform: perspective(1200px) rotateY(-4deg) rotateX(3deg) translateY(0px); }
}

/* Pause float on hover so the hover transform takes over cleanly */
.service-detail__visual--has-image:hover .corridor-map-img {
  animation-play-state: paused;
}

/* ---- Orange-background variant (Coverage section) ---- */
.service-detail__visual--orange-bg {
  background: radial-gradient(ellipse at 40% 55%, var(--gold-lt) 0%, var(--gold) 45%, rgba(240,168,32,0.7) 100%);
  border-radius: 20px;
  border: 1.5px solid rgba(240,168,32,0.35);
  padding: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(240,168,32,0.12),
    0 20px 60px rgba(240,168,32,0.3),
    0 4px 16px rgba(0,0,0,0.4);
}

.service-detail__visual--orange-bg::before {
  background: radial-gradient(ellipse at 50% 40%, rgba(255,189,74,0.3) 0%, transparent 65%);
}

.service-detail__visual--orange-bg .corridor-map-img {
  -webkit-mask-image: none;
  mask-image: none;
  filter:
    drop-shadow(0 20px 40px rgba(0,0,0,0.55))
    drop-shadow(0 4px 12px rgba(0,0,0,0.4))
    drop-shadow(0 0 60px rgba(240,168,32,0.2));
}

.service-detail__visual--orange-bg:hover {
  box-shadow:
    0 0 0 1px rgba(240,168,32,0.25),
    0 28px 72px rgba(240,168,32,0.4),
    0 8px 24px rgba(0,0,0,0.5);
}

.service-detail__visual--orange-bg:hover .corridor-map-img {
  filter:
    drop-shadow(0 28px 52px rgba(0,0,0,0.65))
    drop-shadow(0 6px 18px rgba(0,0,0,0.45))
    drop-shadow(0 0 80px rgba(240,168,32,0.3));
}

.service-detail__visual--orange-bg:hover::before {
  background: radial-gradient(ellipse at 50% 40%, rgba(255,189,74,0.4) 0%, transparent 65%);
}

@media (prefers-reduced-motion: reduce) {
  .corridor-map-img { animation: none; }
}

/* Hover: straightens, rises, glow intensifies */
.service-detail__visual--has-image:hover .corridor-map-img {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg) translateY(-10px);
  filter:
    drop-shadow(0 36px 64px rgba(0, 0, 0, 0.75))
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 100px rgba(26, 123, 110, 0.28));
}

/* Hover glow aura intensifies too */
.service-detail__visual--has-image:hover::before {
  background: radial-gradient(ellipse at 55% 60%, rgba(26,123,110,0.32) 0%, transparent 68%);
}

/* ---- ABOUT PAGE ---- */
.about-standards-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 130px;
  text-align: center;
}

.about-standards-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-standards-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.82) 0%, rgba(18,41,74,0.78) 100%);
  z-index: 1;
}

.about-standards-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-values-section {
  position: relative;
  background: var(--midnight);
  overflow: hidden;
}

.about-values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/values-bg.webp') center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.about-values-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,40,0.7) 0%, rgba(10,18,40,0.5) 50%, rgba(10,18,40,0.8) 100%);
  pointer-events: none;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 60px;
}

.about-value-item {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.about-value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25) 50%, transparent);
  pointer-events: none;
}

.about-value-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(240,168,32,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2), 0 0 16px rgba(240,168,32,0.06);
}

.about-value-item__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-value-item__desc {
  font-size: 0.85rem;
  color: var(--cloud);
  opacity: 0.75;
  line-height: 1.6;
}

/* ---- SCROLL ANIMATION CLASSES ---- */
/* Only opacity:0 here — GSAP sets/clears the transform via inline style */
.gsap-reveal,
.gsap-reveal-left,
.gsap-reveal-right,
.gsap-scale {
  opacity: 0;
}

/* ---- PREFERS REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .gsap-reveal,
  .gsap-reveal-left,
  .gsap-reveal-right,
  .gsap-scale {
    opacity: 1;
    transform: none;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 140px 0 80px; }
  .hero__visual { min-height: 360px; }
  .coverage-layout { grid-template-columns: 1fr; gap: 40px; }
  .coverage-map { max-width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
  .nav__mobile-overlay { display: block; }
  .nav__actions .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 20px; justify-content: flex-start; overflow-x: auto; padding: 0 24px; }
  .trust-bar__divider { display: none; }
  .hero__title { font-size: 3.2rem; letter-spacing: 0.04em; }
  .form-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .cta-form input, .cta-form select { min-width: unset; width: 100%; }
  .testimonials-slider { flex-direction: column; }
  .testimonial-card { flex: none; }

  /* ---- Page hero (services, about, careers): center text on mobile ---- */
  .page-header .container {
    text-align: center;
  }
  .page-header__title,
  .page-header__sub {
    text-align: center;
  }
  .page-header__sub {
    margin-left: auto;
    margin-right: auto;
  }

  /* ---- cta-section: reduce huge padding ---- */
  .cta-section { padding: 60px 0 64px; }

  /* ---- "Ready to Ship" buttons: stack vertically ---- */
  .cta-btns {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .cta-or { display: none; }

  /* ---- Careers "More Than a Job" grid: 1 column ---- */
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* ---- About credentials grid: 1 column, reduce top gap ---- */
  .cred-grid {
    grid-template-columns: 1fr !important;
    margin-top: 28px !important;
    gap: 12px !important;
  }
  .cred-grid > div { padding: 24px !important; }

  /* ---- About offices grid: 1 column, smaller cards ---- */
  .offices-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .offices-grid > div { padding: 20px 16px !important; }
  .offices-grid > div > div:first-child { font-size: 0.65rem !important; margin-bottom: 8px !important; }
  .offices-grid > div > div:nth-child(2) { font-size: 1.05rem !important; margin-bottom: 10px !important; }
  .offices-grid > div > div:nth-child(3) { font-size: 0.78rem !important; margin-bottom: 12px !important; }
  .offices-grid > div > a { font-size: 0.75rem !important; word-break: break-all; }

  /* ---- Coverage section: hide image on mobile, center button ---- */
  .coverage-layout {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .coverage-layout > div:first-child { order: 1; }
  .coverage-layout .gsap-reveal-right {
    display: none;
  }
  .coverage-cta {
    order: 2;
    grid-column: 1;
    grid-row: unset;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  /* ---- Contact page: center and fit on mobile ---- */
  .contact-layout { gap: 24px; }
  .contact-info-block {
    padding: 20px 16px;
    text-align: center;
    border-radius: 14px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }
  .contact-info-block__title {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .contact-detail__icon {
    margin: 0 auto;
    width: 34px;
    height: 34px;
  }
  .contact-detail__label { font-size: 0.7rem; }
  .contact-detail__value { font-size: 0.85rem; word-break: break-word; overflow-wrap: break-word; }
  .form-card { padding: 28px 20px; }
  .form-card h2, .form-card p { text-align: center; }

  /* ---- Careers strip ---- */
  .careers-strip { overflow: hidden; }
  .careers-strip__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .careers-strip__video-wrap {
    flex: 0 0 auto;
    width: 240px;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 14px;
  }
  .careers-strip__video {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
  }
  .careers-strip__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .careers-strip__title {
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
  }
  .careers-strip__sub {
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }
  .careers-open-roles {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .role-badge { font-size: 0.72rem; padding: 4px 10px; }
  .careers-strip__cta { display: flex; justify-content: center; }
  .gsap-reveal-right { transform: none !important; opacity: 1 !important; }
  .gsap-reveal-left { transform: none !important; opacity: 1 !important; }
  .gsap-reveal { transform: none !important; opacity: 1 !important; }
  .gsap-scale { transform: none !important; opacity: 1 !important; }

  /* ---- Save More. Ship Smarter. — center everything on mobile ---- */
  .savings-callout .container > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .savings-callout .container > div > div {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================
   ROUTES SECTION
   ========================================================== */

.routes-section {
  padding: 100px 0 110px;
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

/* Subtle teal→gold gradient rule at the top */
.routes-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(26,123,110,0.55) 25%,
    rgba(240,168,32,0.4) 75%,
    transparent 100%
  );
}

/* Faint radial glow in the background */
.routes-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center,
    rgba(26,123,110,0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* ---- Header ---- */
.routes-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.routes-title {
  color: var(--white);
  margin: 14px 0 18px;
  line-height: 1;
}

.routes-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cloud);
  opacity: 0.62;
}

/* ---- Cards grid ---- */
.routes-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.route-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--teal);
  border-radius: 16px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition),
              border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
}

.route-card:hover {
  background: rgba(26,123,110,0.08);
  border-color: rgba(26,123,110,0.3);
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,14,26,0.5),
              0 0 0 1px rgba(26,123,110,0.2);
}

/* Large watermark number */
.route-card__num {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: var(--font-head);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* Badge row */
.route-card__top {
  margin-bottom: 22px;
}

.route-card__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
}

.route-card__badge--us {
  background: rgba(59,130,246,0.15);
  color: #7eb6ff;
  border: 1px solid rgba(59,130,246,0.28);
}

.route-card__badge--ca {
  background: rgba(220,38,38,0.12);
  color: #ff9090;
  border: 1px solid rgba(220,38,38,0.22);
}

/* City names */
.route-card__from {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--cloud);
  opacity: 0.55;
  line-height: 1;
}

.route-card__arrow {
  font-size: 1.1rem;
  color: var(--teal-lt);
  margin: 6px 0 4px;
  display: block;
  line-height: 1;
}

.route-card__to {
  font-family: var(--font-head);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  line-height: 1.05;
}

/* Divider */
.route-card__divider {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
  margin: 14px 0 12px;
}

/* Distance + description */
.route-card__km {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.route-card__desc {
  font-size: 0.7rem;
  color: var(--slate);
  margin-top: 3px;
  letter-spacing: 0.015em;
}

/* ---- Footer CTA ---- */
.routes-footer {
  text-align: center;
  margin-top: 48px;
}

.routes-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .routes-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 480px) {
  .routes-section { padding: 64px 0 72px; }
  .routes-header { margin-bottom: 40px; }
  .routes-cards { grid-template-columns: 1fr; gap: 12px; }
  .route-card { padding: 24px 20px 20px; }
  .route-card__to { font-size: 1.9rem; }
}

/* ==========================================================
   BLOG PAGE — Clean magazine-style grid (Kota-inspired)
   ========================================================== */

.blog-page {
  background: transparent;
  position: relative;
  z-index: 2; /* sits above the fixed fog + canvas */
}

/* ---- Blog Page Canvas + Fog ---- */
/* Full-page fixed WebGL canvas — renders waves behind all content */
.blog-page__canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Dark fog layer — sits above canvas, below all content */
.blog-page-fog {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(10,14,26,0.62);
  pointer-events: none;
}

/* ---- Blog Header ---- */
.blog-header {
  position: relative;
  overflow: visible;
  padding: 0;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

/* Overlay stack:
   1. Top-to-mid: light tint so shader is visible above the fold
   2. Mid-to-bottom: solid midnight so text/tabs are fully readable
   3. Sides: soft vignette */
.blog-header__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top stays mostly transparent — let the waves show */
    linear-gradient(180deg,
      rgba(10,14,26,0.25)  0%,
      rgba(10,14,26,0.40) 30%,
      rgba(10,14,26,0.72) 60%,
      rgba(10,14,26,0.95) 82%,
      rgba(10,14,26,1.00) 100%
    ),
    /* Left/right edge vignette */
    linear-gradient(90deg,
      rgba(10,14,26,0.55) 0%,
      transparent 18%,
      transparent 82%,
      rgba(10,14,26,0.55) 100%
    );
}

/* Fade band below the header: solid midnight at top → transparent midnight at bottom.
   Bridges the hard edge between the header box and the grid section beneath it. */
.blog-header__overlay::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    rgba(10,14,26,1.00) 0%,
    rgba(10,14,26,0.00) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.blog-header__overlay::after { display: none; }

/* Content sits above canvas + overlays */
.blog-header__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 0;
}

.blog-header__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 14px;
  opacity: 0.85;
}

.blog-header__title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
  /* Subtle gold text-shadow for depth */
  text-shadow:
    0 0 80px rgba(240,168,32,0.12),
    0 2px 4px rgba(0,0,0,0.4);
}
.blog-header__sub {
  font-size: 1.05rem;
  color: var(--cloud);
  opacity: 0.5;
  margin-bottom: 36px;
}

/* Search */
.blog-header__search {
  position: relative;
  max-width: 420px;
  margin: 0 auto 28px;
}
.blog-header__search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  pointer-events: none;
}
.blog-header__search input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  /* Liquid glass — reads over the canvas */
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 24px rgba(0,0,0,0.2);
}
.blog-header__search input::placeholder { color: var(--slate); }
.blog-header__search input:focus {
  border-color: rgba(240,168,32,0.45);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(240,168,32,0.1), 0 1px 0 rgba(255,255,255,0.08) inset;
}

/* Category Tabs */
.blog-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 0 48px;
}
.blog-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(232,237,245,0.6);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.blog-tab:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  color: var(--white);
}
.blog-tab.active {
  background: linear-gradient(135deg, rgba(34,160,146,0.2), rgba(26,123,110,0.15));
  border-color: rgba(34,160,146,0.45);
  color: var(--teal-lt);
  box-shadow:
    0 0 0 1px rgba(34,160,146,0.1),
    0 4px 16px rgba(34,160,146,0.15),
    0 1px 0 rgba(255,255,255,0.06) inset;
}

/* ---- Blog Grid ---- */
.blog-grid-section {
  padding: 32px 0 64px;
  position: relative;
  z-index: 2;
}

.blog-grid-section__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.blog-section__label {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.blog-section__count {
  font-size: 0.75rem;
  color: var(--slate);
  font-weight: 500;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Post card base */
.blog-post {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10,14,26,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.blog-post:hover {
  background: rgba(18,41,74,0.6);
  border-color: rgba(34,160,146,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.blog-post.hidden { display: none; }

.blog-post__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-post__img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.blog-post:hover .blog-post__img img {
  transform: scale(1.05);
}

.blog-post__body {
  padding: 14px 16px 18px;
}

/* Category badges */
.blog-post__cat {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 9px;
}
.blog-post__cat--industry {
  background: rgba(240,168,32,0.12);
  color: var(--gold);
  border: 1px solid rgba(240,168,32,0.25);
}
.blog-post__cat--logistics {
  background: rgba(34,160,146,0.12);
  color: var(--teal-lt);
  border: 1px solid rgba(34,160,146,0.25);
}
.blog-post__cat--safety {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}
.blog-post__cat--company {
  background: rgba(99,102,241,0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.2);
}
.blog-post__cat--tips {
  background: rgba(45,189,110,0.1);
  color: #4ade80;
  border: 1px solid rgba(45,189,110,0.2);
}

.blog-post__title {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.blog-post:hover .blog-post__title { color: var(--gold); }

.blog-post__excerpt {
  font-size: 0.88rem;
  color: var(--cloud);
  opacity: 0.55;
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-post__date {
  font-size: 0.73rem;
  color: rgba(34,160,146,0.65);
  display: block;
  font-weight: 500;
}

/* ---- Grid Placement (magazine layout) ---- */
/* Featured: first post spans left 8 cols, 2 rows */
.blog-post--featured {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
}
.blog-post--featured .blog-post__link {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}
.blog-post--featured .blog-post__img {
  aspect-ratio: 16/9;
}
.blog-post--featured .blog-post__title {
  font-size: 1.35rem;
  line-height: 1.25;
}
.blog-post--featured .blog-post__excerpt {
  display: block;
}

/* Posts 2-3: stack on the right in 4 cols */
.blog-post:nth-child(2) { grid-column: 9 / 13; grid-row: 1; }
.blog-post:nth-child(3) { grid-column: 9 / 13; grid-row: 2; }

/* Posts 4-5: half-width each */
.blog-post:nth-child(4) { grid-column: 1 / 7; }
.blog-post:nth-child(5) { grid-column: 7 / 13; }

/* Posts 6+: thirds */
.blog-post:nth-child(n+6) { grid-column: span 4; }

/* Excerpts hidden on non-featured cards */
.blog-post:not(.blog-post--featured) .blog-post__excerpt { display: none; }

/* ---- Empty State ---- */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--slate);
}
.blog-empty svg { margin-bottom: 16px; opacity: 0.35; }
.blog-empty p { font-size: 1rem; margin-bottom: 20px; color: var(--cloud); opacity: 0.6; }

/* ---- Load More ---- */
.blog-load-more {
  text-align: center;
  padding: 48px 0 0;
}

/* ---- Newsletter CTA ---- */
.blog-newsletter {
  padding: 72px 0 88px;
}
.blog-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 56px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(30, 20, 6, 0.58) 0%,
    rgba(16, 26, 52, 0.50) 55%,
    rgba(12, 20, 46, 0.54) 100%
  );
  border: 1px solid rgba(240,168,32,0.22);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 80px rgba(240,168,32,0.07),
    0 2px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset,
    0 20px 60px rgba(0,0,0,0.28);
}
/* Top shimmer with gold tint */
.blog-newsletter__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,200,80,0.38) 25%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,200,80,0.38) 75%,
    transparent
  );
  pointer-events: none;
}
/* Gold radial glow — upper right corner */
.blog-newsletter__inner::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(240,168,32,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.blog-newsletter__title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-newsletter__text p {
  font-size: 0.95rem;
  color: var(--cloud);
  opacity: 0.78;
}
.blog-newsletter__form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.blog-newsletter__form input {
  width: 270px;
  padding: 13px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.blog-newsletter__form input::placeholder { color: var(--slate); }
.blog-newsletter__form input:focus {
  border-color: rgba(240,168,32,0.45);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(240,168,32,0.10);
}

/* When filtered: uniform grid, no asymmetric placement */
.blog-grid--filtered .blog-post--featured { grid-column: 1 / -1; grid-row: auto; }
.blog-grid--filtered .blog-post--featured .blog-post__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.blog-grid--filtered .blog-post--featured .blog-post__img { aspect-ratio: 16/10; }
.blog-grid--filtered .blog-post:nth-child(2),
.blog-grid--filtered .blog-post:nth-child(3),
.blog-grid--filtered .blog-post:nth-child(4),
.blog-grid--filtered .blog-post:nth-child(5) {
  grid-column: span 4;
  grid-row: auto;
}

/* ---- Blog Responsive ---- */
@media (max-width: 1024px) {
  /* Switch featured to full-width, posts to 6-col pairs */
  .blog-post--featured { grid-column: 1 / -1; grid-row: auto; }
  .blog-post:nth-child(2),
  .blog-post:nth-child(3),
  .blog-post:nth-child(4),
  .blog-post:nth-child(5) { grid-column: span 6; grid-row: auto; }
  .blog-post:nth-child(n+6) { grid-column: span 6; }
}

@media (max-width: 768px) {
  /* ---- Header ---- */
  /* Push entire page below the fixed nav (76px) so hero content is never hidden */
  .blog-page { padding-top: 76px; }
  .blog-header { min-height: 460px; align-items: center; }
  .blog-header__content { padding-top: 0; padding-bottom: 0; }
  .blog-header__title { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .blog-header__sub { font-size: 0.9rem; margin-bottom: 24px; }
  /* font-size 1rem (16px) prevents iOS auto-zoom on input focus */
  .blog-header__search input { font-size: 1rem; }

  /* ---- Category tabs: scrollable, hidden scrollbar, fade edges ---- */
  .blog-tabs {
    gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 0 36px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
  .blog-tabs::-webkit-scrollbar { display: none; }
  .blog-tab { flex-shrink: 0; font-size: 0.8rem; padding: 9px 18px; min-height: 38px; }

  /* ---- Grid ---- */
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-post--featured,
  .blog-post:nth-child(2),
  .blog-post:nth-child(3),
  .blog-post:nth-child(4),
  .blog-post:nth-child(5),
  .blog-post:nth-child(n+6) { grid-column: 1 / -1; }

  /* ---- Featured card: stack image above body ---- */
  .blog-post--featured .blog-post__link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .blog-post--featured .blog-post__img { aspect-ratio: 3/2; flex-shrink: 0; }
  .blog-post--featured .blog-post__title { font-size: 1.15rem; line-height: 1.3; }
  .blog-post--featured .blog-post__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.84rem;
    opacity: 0.7;
  }

  /* ---- Regular cards ---- */
  .blog-post__body { padding: 12px 14px 16px; }
  .blog-post__title { font-size: 0.88rem; line-height: 1.4; }

  /* ---- Section header ---- */
  .blog-grid-section { padding: 24px 0 48px; }
  .blog-grid-section__header { margin-bottom: 16px; padding-bottom: 14px; }
  .blog-section__label { font-size: clamp(1.5rem, 5.5vw, 2rem); }

  /* ---- Newsletter ---- */
  .blog-newsletter { padding: 48px 0 64px; }
  .blog-newsletter__inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .blog-newsletter__form { flex-direction: column; width: 100%; }
  /* 1rem = 16px prevents iOS auto-zoom */
  .blog-newsletter__form input { width: 100%; font-size: 1rem; }
  .blog-newsletter__form .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .blog-page { padding-top: 76px; }
  .blog-header { min-height: 440px; align-items: center; }
  .blog-header__content { padding-top: 0; padding-bottom: 0; }
  .blog-header__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .blog-header__sub { font-size: 0.85rem; }
  .blog-grid { gap: 12px; }
  .blog-post--featured .blog-post__img { aspect-ratio: 16/9; }
  .blog-newsletter__inner { padding: 28px 18px; }
  .blog-newsletter__title { font-size: 1.6rem; }
}

/* Disable card lift on touch devices — hover:none catches all true touch screens */
@media (hover: none) {
  .blog-post:hover {
    transform: none;
    background: rgba(10,14,26,0.18);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
  }
  .blog-post:hover .blog-post__img img { transform: none; }
  .blog-post:hover .blog-post__title { color: var(--white); }
}

/* ---- END BLOG PAGE ---- */

/* ======================================================
   RELATED ARTICLES SLIDER (rs-*)
   Used on all blog post pages — dynamic via related-slider.js
   ====================================================== */
.post-related {
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.post-related .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.post-related__label {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}

/* Wrapper — handles edge fades + arrow positioning */
.rs-wrap {
  position: relative;
}
.rs-wrap::before,
.rs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 5;
  pointer-events: none;
}
.rs-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--midnight, #0a0e1a), transparent);
}
.rs-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--midnight, #0a0e1a), transparent);
}

/* Viewport — clips the track */
.rs-viewport {
  overflow: hidden;
  padding: 14px 0;
  margin: -14px 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.rs-viewport.rs-dragging {
  cursor: grabbing;
}

/* Track — flex row of cards */
.rs-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* ---- Card ---- */
.rs-card {
  width: 296px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  background: linear-gradient(
    135deg,
    rgba(18,36,72,0.55) 0%,
    rgba(10,20,44,0.45) 100%
  );
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 10px 32px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
/* Top shimmer line */
.rs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18) 50%, transparent);
  pointer-events: none;
  z-index: 1;
}
.rs-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,160,146,0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 18px 48px rgba(0,0,0,0.35),
    0 0 24px rgba(34,160,146,0.08);
}

/* Card image */
.rs-card__img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.rs-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}
.rs-card:hover .rs-card__img img {
  transform: scale(1.06);
}
/* Gradient overlay on image */
.rs-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,14,26,0.65) 100%);
  pointer-events: none;
}
/* Category badge */
.rs-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(10,14,26,0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--teal-lt, #4ecdc4);
}

/* Card body */
.rs-card__body {
  padding: 16px 18px 20px;
}
.rs-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white, #fff);
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.rs-card:hover .rs-card__title {
  color: var(--teal-lt, #4ecdc4);
}
.rs-card__footer {
  display: flex;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.rs-card__date {
  font-size: 0.7rem;
  color: rgba(34,160,146,0.7);
  font-weight: 500;
}

/* ---- Arrow buttons ---- */
.rs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,14,26,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white, #fff);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 4px 16px rgba(0,0,0,0.3);
}
.rs-wrap:hover .rs-btn {
  opacity: 1;
}
.rs-btn:hover {
  background: rgba(34,160,146,0.22);
  border-color: rgba(34,160,146,0.4);
  transform: translateY(-50%) scale(1.1);
}
.rs-btn:active {
  transform: translateY(-50%) scale(0.93);
}
.rs-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rs-btn--prev { left: -22px; }
.rs-btn--next { right: -22px; }
.rs-btn.rs-disabled {
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 768px) {
  .rs-btn { display: none; }
  .rs-card { width: 256px; }
  .rs-wrap::before,
  .rs-wrap::after { width: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   SPECIALIZATIONS — Text Rotate Section
   ========================================================= */

/* ---- Shared video parallax wrapper (Services + Specializations) ---- */
.video-duo-wrapper {
  position: relative;
  overflow: hidden;
}

.video-duo-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}

.video-duo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 10, 20, 0.80) 0%,
    rgba(6, 10, 20, 0.68) 50%,
    rgba(6, 10, 20, 0.80) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Seamless join — no gap between the two sections */
.video-duo-wrapper .section { background: transparent; }

/* Preserve dark-section text colours for content inside the wrapper */
.video-duo-wrapper .section-title { color: var(--white); }
.video-duo-wrapper .section-sub   { color: var(--cloud); opacity: 0.8; }
.video-duo-wrapper .tag           { color: var(--teal); }

.spec-section {
  background: transparent;
  position: relative;
  overflow: visible;
  padding: 100px 0 90px;
}

.spec-section::before { display: none; }

.spec-section > .container { position: relative; z-index: 3; }

/* Header */
.spec-header {
  text-align: center;
  margin-bottom: 64px;
}

.spec-roll-label {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: rgba(232,237,245,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 2px;
}

.spec-roll-outer {
  height: clamp(3.6rem, 8.5vw, 6.4rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 32px;
}

.spec-roll-container {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  white-space: nowrap;
}

/* Per-word overflow clip for the roll effect */
.tr-word {
  display: inline-block;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: bottom;
}

/* Per-character animation */
.tr-char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
}

.tr-char--in {
  transform: translateY(0);
  opacity: 1;
}

.tr-char--out {
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.28s ease;
}

.tr-space {
  display: inline-block;
  width: 0.28em;
}

/* Context paragraph */
.spec-context {
  max-width: 640px;
  margin: 0 auto;
  color: var(--cloud);
  opacity: 0.72;
  line-height: 1.78;
  font-size: 1.05rem;
}

/* Divider line */
.spec-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
  margin: 28px auto;
  border-radius: 2px;
}

/* Cards grid */
.spec-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 520px) {
  .spec-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .spec-cards { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}

.spec-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 14px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

/* Glass shimmer top edge */
.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.2) 30%,
    rgba(255,255,255,0.35) 50%,
    rgba(255,255,255,0.2) 70%,
    transparent
  );
  pointer-events: none;
}

/* Radial inner glow */
.spec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255,255,255,0.04) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.spec-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(240,168,32,0.25);
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 8px 24px rgba(0,0,0,0.1),
    0 0 16px rgba(240,168,32,0.05);
}

.spec-card__icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(240,168,32,0.15) 0%, rgba(240,168,32,0.06) 100%);
  border: 1px solid rgba(240,168,32,0.18);
  border-radius: 13px;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 1px 0 rgba(255,200,80,0.12) inset;
  transition: background var(--transition), border-color var(--transition);
}

.spec-card:hover .spec-card__icon {
  background: linear-gradient(135deg, rgba(240,168,32,0.25) 0%, rgba(240,168,32,0.12) 100%);
  border-color: rgba(240,168,32,0.35);
}

.spec-card__icon svg {
  width: 22px;
  height: 22px;
}

.spec-card__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cloud);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}


@media (prefers-reduced-motion: reduce) {
  .tr-char {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* =====================================================
   STANDARDS SCROLL EXPANSION
   ===================================================== */

.standards-wrapper {
  position: relative;
  height: 300vh;   /* 200vh scroll tunnel + 100vh visible */
}

.standards-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
}

.standards-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(26,123,110,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 55%, rgba(18,41,74,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 40% 80%, rgba(26,123,110,0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Background layer */
.standards-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.standards-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.standards-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

/* Expanding image */
.standards-media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.45);
  will-change: width, height;
  /* initial size — overridden by JS */
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 85vh;
}

.standards-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.standards-media__dimmer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  will-change: opacity;
}

/* Title overlay */
.standards-titles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  pointer-events: none;
  overflow: hidden;
}

.standards-tag {
  font-family: var(--font-head) !important;
  font-size: clamp(2rem, 4.5vw, 5rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  color: var(--gold-lt) !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: none !important;
}

.standards-title-l,
.standards-title-r {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 5rem);
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.7);
  will-change: transform;
  white-space: nowrap;
}

.standards-hint {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-top: 18px;
  will-change: transform, opacity;
}

.standards-split-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 24px 64px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 -1px 0 rgba(0,0,0,0.08) inset,
    0 12px 40px rgba(0,0,0,0.2);
  pointer-events: none;
  will-change: opacity, transform;
  position: relative;
  overflow: hidden;
}

.standards-split-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 50%, transparent);
  pointer-events: none;
}

.standards-split-cta__text {
  color: var(--gold);
}

.standards-split-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(240,168,32,0.2);
  border: 1px solid rgba(240,168,32,0.25);
  color: var(--gold);
  font-size: 1.25rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.standards-split-cta.visible {
  pointer-events: auto;
}

.standards-split-cta:hover {
  transform: translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(240,168,32,0.3);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 20px 50px rgba(0,0,0,0.25),
    0 0 24px rgba(240,168,32,0.1);
}

.standards-split-cta:hover .standards-split-cta__arrow {
  transform: translateX(4px);
  background: rgba(240,168,32,0.35);
}


/* Dark value-card overrides for the content below */

.standards-content .value-card {
  color: #fff;
}

.standards-content .value-card__title {
  color: #fff;
}

.standards-content .value-card__desc {
  color: rgba(232, 237, 245, 0.7);
}

@media (max-width: 768px) {
  .standards-title-l,
  .standards-title-r {
    font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    white-space: normal;
    padding: 0 16px;
  }
  .standards-wrapper {
    height: 250vh;
  }
}

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
#cookieBanner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(140px);
  z-index: 9999;
  width: min(700px, calc(100vw - 32px));
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 -1px 0 rgba(0,0,0,0.2) inset,
    0 28px 72px rgba(0,0,0,0.55),
    0 0 0 1px rgba(240,168,32,0.1);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity   0.4s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

#cookieBanner.cb-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#cookieBanner.cb-hiding {
  transform: translateX(-50%) translateY(140px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 1, 1),
    opacity   0.35s ease;
}

.cb-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(240,168,32,0.45));
  user-select: none;
}

.cb-body {
  flex: 1;
  min-width: 0;
}

.cb-body h4 {
  font-family: var(--font-display, 'Exo 2', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  letter-spacing: 0.025em;
}

.cb-body p {
  font-size: 0.77rem;
  color: rgba(232,237,245,0.55);
  margin: 0;
  line-height: 1.55;
}

.cb-body a {
  color: var(--gold, #F0A820);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cb-body a:hover {
  color: var(--gold-lt, #FFBD4A);
}

.cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.cb-decline {
  padding: 9px 17px;
  background: transparent;
  color: rgba(232,237,245,0.45);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.cb-decline:hover {
  color: rgba(232,237,245,0.75);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.cb-accept {
  padding: 10px 22px;
  background: linear-gradient(135deg, rgba(255,185,40,0.88) 0%, rgba(240,148,10,0.82) 100%);
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,200,80,0.4);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 18px rgba(240,158,20,0.32);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cb-accept::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg) translateX(-160%);
  transition: transform 0.5s ease;
  will-change: transform;
  pointer-events: none;
}

.cb-accept:hover::before { transform: skewX(-18deg) translateX(320%); }

.cb-accept:hover {
  background: linear-gradient(135deg, rgba(255,200,55,0.98) 0%, rgba(245,158,15,0.92) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(240,158,20,0.48);
}

@media (max-width: 600px) {
  #cookieBanner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px;
    gap: 14px;
    bottom: 16px;
    border-radius: 18px;
  }
  .cb-icon { display: none; }
  .cb-actions {
    justify-content: stretch;
  }
  .cb-decline,
  .cb-accept {
    flex: 1;
    text-align: center;
    padding: 11px 12px;
  }
}

/* ---- Shared Share Buttons (blog posts + main pages) ---- */
.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}
.post-share__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}
.post-share__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.post-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.post-share__btn--linkedin {
  background: rgba(10,102,194,0.12);
  color: #6daef7;
  border-color: rgba(10,102,194,0.28);
}
.post-share__btn--linkedin:hover {
  background: rgba(10,102,194,0.25);
  border-color: rgba(10,102,194,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10,102,194,0.2);
}
.post-share__btn--facebook {
  background: rgba(24,119,242,0.1);
  color: #7ab3f7;
  border-color: rgba(24,119,242,0.24);
}
.post-share__btn--facebook:hover {
  background: rgba(24,119,242,0.24);
  border-color: rgba(24,119,242,0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,242,0.18);
}
.post-share__btn--x {
  background: rgba(255,255,255,0.05);
  color: var(--cloud);
  border-color: rgba(255,255,255,0.1);
}
.post-share__btn--x:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
@media (max-width: 480px) {
  .post-share { flex-direction: column; align-items: flex-start; gap: 12px; }
}
