/* Google Sans (Google Sans Flex variable font 100-900) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ==========================================================================
   Diverse Pathwais PVT LTD. — design system
   Typography carried over from the Stitch reference (Inter, near-black
   headings, muted grey body copy). Brand hues taken from the company logo
   (deep navy + gold). Every section gets its own visual treatment.
   ========================================================================== */

/* Inter, self-hosted as a single variable font (weights 300-800). No
   third-party request, no @import waterfall. The unicode-range split means
   latin-ext is only fetched if a page actually uses those characters. */
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --navy-900: #06172b;
  --navy-800: #092441;
  --navy-700: #0e2a53;
  --navy: #14396f;
  --navy-400: #2f5fa8;
  --navy-100: #e8eff9;
  --navy-50: #f4f8fd;
  --gold: #f5ad16;
  --gold-600: #d18f00;
  --gold-100: #fff4dd;

  --accent: var(--navy);
  --accent-dark: var(--navy-700);
  --accent-soft: var(--navy-100);

  /* Typography colours (from the Stitch theme) */
  --heading: #111827;
  --body: #333333;
  --muted: #6b7280;
  --faint: #9ca3af;

  /* Surfaces */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f3f0e9;
  --line: #e6eaf0;
  --line-soft: #eef1f6;

  /* Type scale */
  --fs-display: clamp(3.25rem, 7.4vw, 6.75rem);
  --fs-h1: clamp(2.75rem, 5vw, 5.25rem);
  --fs-h2: clamp(2.35rem, 4.6vw, 4.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: 1.125rem;
  --fs-body: 0.9375rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --shell: 1240px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-sm: 0 2px 4px rgba(11, 37, 69, .05), 0 4px 12px rgba(11, 37, 69, .05);
  --shadow-md: 0 8px 20px rgba(11, 37, 69, .08), 0 2px 6px rgba(11, 37, 69, .04);
  --shadow-lg: 0 24px 48px rgba(11, 37, 69, .12), 0 8px 16px rgba(11, 37, 69, .06);
  --shadow-xl: 0 40px 80px rgba(11, 37, 69, .16), 0 12px 24px rgba(11, 37, 69, .08);
  --shadow-navy: 0 16px 40px rgba(20, 57, 111, .28);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --topbar-h: 42px;
  --bar-h: 82px;
  --header-h: calc(var(--topbar-h) + var(--bar-h));
}

/* -------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  /* `clip`, never `hidden`. overflow-x:hidden turns the root into a scroll
     container and silently stops `position: sticky` from pinning — which would
     kill the cinematic scroll stage. `clip` suppresses the horizontal
     scrollbar (from the off-canvas mobile nav) while leaving the vertical axis
     `visible`, so sticky and normal page scrolling both keep working. */
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* deliberately NOT overflow-x:hidden here — see the note on html above */
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.14;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.012em; }
p  { margin: 0 0 1rem; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 1.5rem; }
.shell--narrow { max-width: 900px; }
.section { padding: 6rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .75); }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============================================================ animation ===
   One IntersectionObserver in main.js adds `.is-in`. `--d` staggers children.
   Everything here degrades to "visible, no motion" under reduced-motion.     */
[data-anim] {
  opacity: 0;
  transition: opacity .85s var(--ease), transform .85s var(--ease), clip-path .95s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-anim="up"]     { transform: translateY(38px); }
[data-anim="down"]   { transform: translateY(-28px); }
[data-anim="left"]   { transform: translateX(46px); }
[data-anim="right"]  { transform: translateX(-46px); }
[data-anim="zoom"]   { transform: scale(.92); }
[data-anim="pop"]    { transform: scale(.8); }
[data-anim="mask"]   { clip-path: inset(0 0 100% 0); transform: translateY(20px); }
[data-anim="reveal"] { clip-path: inset(0 100% 0 0); }
[data-anim].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

@keyframes floaty   { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes pulseRing{ 0% { box-shadow: 0 0 0 0 rgba(240,165,0,.5) } 70% { box-shadow: 0 0 0 18px rgba(240,165,0,0) } 100% { box-shadow: 0 0 0 0 rgba(240,165,0,0) } }
@keyframes marquee  { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes shimmer  { from { background-position: -200% 0 } to { background-position: 200% 0 } }
@keyframes bobDown  { 0%,100% { transform: translateY(0); opacity: .9 } 50% { transform: translateY(8px); opacity: .4 } }
@keyframes spinSlow { to { transform: rotate(360deg) } }

/* ------------------------------------------------------ shared pieces --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-100);
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--gold); flex-shrink: 0;
}
.eyebrow--light { background: rgba(255, 255, 255, .1); color: #fff; }
.eyebrow--plain { background: none; padding: 0; color: var(--muted); }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.75; }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin: 1rem 0 0; line-height: 1.75; }
.section-head h2 .accent { color: var(--navy); }

/* decorative gradient blobs behind sections */
.blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px); opacity: .5; z-index: 0;
}
.blob--navy { background: radial-gradient(circle, rgba(47,95,168,.35), transparent 70%); }
.blob--gold { background: radial-gradient(circle, rgba(240,165,0,.28), transparent 70%); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s var(--ease-soft), border-color .3s var(--ease-soft),
              transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease-soft);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
/* sliding sheen fill */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateX(0); }

.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-navy); }
.btn--primary::before { background: linear-gradient(100deg, var(--gold), #ffc247); }
.btn--primary:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(240,165,0,.32); }

.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 14px 32px rgba(240,165,0,.32); }
.btn--gold::before { background: linear-gradient(100deg, var(--navy), var(--navy-400)); }
.btn--gold:hover { color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: #fff; border-color: var(--navy); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--outline::before { background: var(--heading); }
.btn--outline:hover { color: #fff; }

.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--navy-900); border-color: #fff; }

.btn--lg { padding: 1.05rem 2.4rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy);
  position: relative;
}
.link-more span.arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--navy-100); color: var(--navy);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.link-more:hover span.arrow { background: var(--gold); color: var(--navy-900); transform: translate(3px, -3px); }
.link-more::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0;
  background: var(--navy); transition: width .35s var(--ease);
}
.link-more:hover::after { width: calc(100% - 32px); }

/* ================================================================ header ===
   Utility topbar + glass main bar. Shrinks and gains a shadow on scroll.     */
.site-header { position: sticky; top: 0; z-index: 120; }

.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-xs);
  height: var(--topbar-h);
  transition: height .35s var(--ease), opacity .3s var(--ease);
  overflow: hidden;
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); gap: 1rem; }
.topbar__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.topbar__list li { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__list svg { opacity: .65; flex-shrink: 0; }
.topbar a { transition: color .25s var(--ease); }
.topbar a:hover { color: var(--gold); }
.topbar__social { display: flex; gap: .35rem; }
.topbar__social a {
  width: 26px; height: 26px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.topbar__social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }

.headerbar {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.headerbar .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  height: var(--bar-h);
  transition: height .35s var(--ease);
}
.site-header.is-stuck .topbar { height: 0; opacity: 0; }
.site-header.is-stuck .headerbar { background: rgba(255, 255, 255, .95); box-shadow: 0 6px 30px rgba(11, 37, 69, .1); }
.site-header.is-stuck .headerbar .shell { height: 68px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 58px; width: auto; object-fit: contain;
  transition: height .35s var(--ease), transform .35s var(--ease);
}
.site-header.is-stuck .brand img { height: 46px; }
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; list-style: none; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .95rem;
  border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--heading);
  white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: color .25s var(--ease);
}
/* animated underline */
.nav__link::after {
  content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .3rem;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__caret { width: 10px; height: 10px; flex-shrink: 0; transition: transform .3s var(--ease); }
.nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }

/* ---- mega dropdown ---- */
.nav__sub {
  position: absolute; top: calc(100% + .55rem); left: 50%;
  width: 480px; padding: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -10px) scale(.98);
  transform-origin: top center;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav__sub::before {
  content: ''; position: absolute; top: -7px; left: 50%; margin-left: -7px;
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav__sub--single { width: 300px; grid-template-columns: 1fr; }

.nav__sub a {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .7rem .75rem; border-radius: 12px;
  color: var(--body);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.nav__sub a:hover { background: var(--navy-50); transform: translateX(3px); }
.nav__sub .ic {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav__sub a:hover .ic { background: var(--gold); color: var(--navy-900); }
.nav__sub strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--heading); line-height: 1.35; }
.nav__sub small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: .15rem; }

.header__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav__mobile-cta { display: none; }
.nav__drawer-header,
.nav__drawer-footer { display: none; }

html.nav-locked,
body.nav-locked {
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  touch-action: none;
}

.nav-toggle {
  display: none; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--navy); border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); }
.nav-toggle.is-open span::after  { transform: rotate(-45deg) translateY(-1px); }

/* scroll progress */
.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  z-index: 5;
}

/* ============================================================ cinematic ===
   Scroll = timeline. A tall invisible track holds a sticky full-screen stage;
   scroll progress (0 -> 1) drives the video play-head (when a clip is present),
   the image chapters, and every overlay cue.
   NOTE: no ancestor of .cine__stage may use overflow hidden/auto, or sticky
   stops pinning. That is why html/body use overflow-x: clip.               */
/* The stage is pulled up under the sticky header so it fills the viewport
   exactly at rest — otherwise the header's height pushes the bottom of the
   stage (scroll hint + chapter rail) below the fold before any scrolling. */
/* ========================================================== video hero ===
   Single-screen high-impact video hero with dynamic changing text
   (Peculiex-inspired aesthetic).                                            */
.video-hero {
  position: relative;
  min-height: calc(100vh - 122px);
  min-height: calc(100svh - 122px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #04101f;
  color: #fff;
  box-sizing: border-box;
  padding: 5rem 0;
}

.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.92) contrast(1.05);
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Ultra-light subtle tint so video is 100% visible and no dark background appears */
  background: rgba(4, 16, 31, 0.18);
}

.video-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.video-hero__inner {
  max-width: 980px;
}

/* Tag pill - neon style */
.video-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  background: #c6f135;
  color: #0b2545;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(198, 241, 53, 0.35);
  user-select: none;
}

.video-hero__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b2545;
  animation: pulseRing 2s infinite;
}

/* Massive punchy typography - strictly two lines with generous spacing */
.video-hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: none;
}

.video-hero__title-line {
  display: block;
}

/* Radiant yellow-white gradient for maximum contrast and visibility */
.video-hero__title-line--gradient {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 0%, #fff4b8 25%, #ffd600 65%, #ffaa00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: none;
}

.video-hero__subtitle {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
  max-width: 660px;
  margin-bottom: 2.75rem;
  text-shadow: none;
}

.video-hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 900px) {
  .video-hero {
    min-height: calc(100svh - 80px);
    padding: 3rem 0;
  }
  .video-hero__tag {
    margin-bottom: 1.35rem;
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
  }
  .video-hero__title {
    font-size: clamp(1.85rem, 6.4vw, 2.8rem);
    line-height: 1.18;
    margin-bottom: 1.35rem;
  }
  .video-hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.85rem;
  }
  .video-hero__actions {
    gap: 0.85rem;
  }
  .video-hero__actions .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .video-hero {
    padding: 2.25rem 0;
  }
  .video-hero__title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
  .video-hero__actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }
  .video-hero__actions .btn {
    flex: 1 1 auto;
    padding: 0.65rem 0.95rem;
    font-size: 0.78rem;
  }
}

/* ================================================ pinned horizontal rail ===
   The section pins and its rail travels sideways as you scroll down.        */
.hgal { position: relative; background: var(--navy-900); }
.hgal__track { position: relative; }
.hgal__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  /* clears the sticky header (68px once shrunk) so the pinned heading is not
     hidden behind it while the section is pinned */
  padding-top: 92px;
}
.hgal__head { padding: 0 1.5rem; margin-bottom: 2.5rem; }
.hgal__head .eyebrow {
  color: var(--gold) !important;
  background: rgba(240, 165, 0, 0.15) !important;
  border: 1px solid rgba(240, 165, 0, 0.5) !important;
  padding: 0.45rem 1.15rem !important;
  border-radius: 9999px !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  box-shadow: 0 0 25px rgba(240, 165, 0, 0.25) !important;
  margin-bottom: 0.85rem !important;
}
.hgal__head .eyebrow::before {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--gold) !important;
  box-shadow: 0 0 12px var(--gold) !important;
  flex-shrink: 0 !important;
}
.hgal__head .shell { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hgal__rail { display: flex; gap: 1.75rem; padding-left: max(1.5rem, calc((100vw - var(--shell)) / 2 + 1.5rem)); will-change: transform; }
.hgal__card {
  position: relative; flex: 0 0 auto;
  width: min(78vw, 420px); aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-800);
}
.hgal__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hgal__card:hover img { transform: scale(1.06); }
.hgal__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,16,31,.05) 30%, rgba(4,16,31,.92) 100%);
}
.hgal__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.9rem; }
.hgal__body h3 { color: #fff; font-size: 1.375rem; margin-bottom: .5rem; }
.hgal__body p { color: rgba(255, 255, 255, .76); font-size: var(--fs-body); line-height: 1.65; margin: 0 0 1.1rem; }
.hgal__index {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .16em; color: var(--gold); margin-bottom: .7rem;
}
.hgal__bar { height: 3px; border-radius: 999px; background: rgba(255,255,255,.14); margin-top: 2.5rem; overflow: hidden; }
.hgal__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--navy-400), var(--gold)); transform: scaleX(0); transform-origin: left; }

/* Below the pin breakpoint the rail becomes an ordinary swipe carousel. */
@media (max-width: 900px) {
  .hgal__track { height: auto !important; }
  .hgal__stage { position: static; height: auto; padding: 4rem 0; }
  .hgal__rail {
    transform: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 1rem; scrollbar-width: none;
  }
  .hgal__rail::-webkit-scrollbar { display: none; }
  .hgal__card { scroll-snap-align: center; width: min(80vw, 340px); }
  .hgal__bar { display: none; }
}

/* trust strip overlapping the cinematic stage */
.trust {
  position: relative; z-index: 20; margin-top: -60px;
}
.trust__inner {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust__item {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--line-soft);
  transition: background-color .3s var(--ease);
}
.trust__item:last-child { border-right: 0; }
.trust__item:hover { background: var(--navy-50); }
.trust__ic {
  width: 46px; height: 46px; margin: 0 auto .85rem; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy);
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.trust__item:hover .trust__ic { background: var(--gold); color: var(--navy-900); transform: translateY(-4px) rotate(-6deg); }
.trust__item strong { display: block; font-size: 1.0625rem; color: var(--heading); font-weight: 700; margin-bottom: .2rem; }
.trust__item span { font-size: var(--fs-xs); color: var(--muted); }

/* ========================================================= destinations ===
   Interactive marquee of country cards with full user controls.            */
.destinations-section {
  position: relative;
  overflow: hidden;
}

.destinations-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.destinations-header .section-head {
  margin-bottom: 0;
}

.marquee-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

.marquee-ctrl__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.marquee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: var(--navy-50);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}

.marquee-btn:hover {
  background: var(--navy-100);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.marquee-btn:active {
  transform: translateY(0);
}

.marquee-btn--toggle {
  min-width: 86px;
}

.marquee-btn.is-paused {
  background: #fff;
  border-color: var(--gold);
  color: var(--navy-900);
}

.marquee-ctrl__speeds {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-left: 1px solid var(--line);
  padding-left: 0.5rem;
}

.marquee-speed-btn {
  height: 28px;
  padding: 0 0.55rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.marquee-speed-btn:hover {
  color: var(--navy);
  background: var(--navy-50);
}

.marquee-speed-btn.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 6px rgba(11,37,69,0.2);
}

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  padding: 0.75rem 0 1.25rem;
}

.marquee.is-dragging {
  cursor: grabbing;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  flex: 0 0 auto;
  width: 220px;
  margin-right: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.15rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11,37,69,0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.marquee__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(11,37,69,0.16);
  border-color: rgba(240,165,0,0.4);
}

.marquee__flag-box {
  width: 86px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(11,37,69,0.1);
  box-shadow: 0 4px 12px rgba(11,37,69,0.12), 0 1px 2px rgba(11,37,69,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.marquee__item:hover .marquee__flag-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,37,69,0.22);
}

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

.marquee__info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.marquee__info span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.4;
}

.marquee__link {
  margin-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: var(--navy-50);
  transition: all 0.2s var(--ease);
}

.marquee__item:hover .marquee__link {
  background: var(--gold);
  color: var(--navy-900);
}

.marquee__link span {
  transition: transform 0.2s var(--ease);
}

.marquee__item:hover .marquee__link span {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .destinations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .marquee-ctrl {
    width: 100%;
    justify-content: space-between;
  }
  .marquee__item {
    width: 190px;
    padding: 1.25rem 1rem;
  }
  .marquee__flag-box {
    width: 76px;
    height: 48px;
  }
}

/* ======================================================= visa categories ===
   Asymmetric bento: first card spans two rows, the rest tile around it.      */
.bento {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 268px;
}
.bento__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy-900);
  display: flex; align-items: flex-end;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
/* 3 columns x 2 rows = 6 cells; the tall first card takes two, so the
   remaining four tile the grid exactly with no empty cell. */
.bento__card:nth-child(1) { grid-row: span 2; }
.bento__card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.bento__card:hover img { transform: scale(1.07); }
.bento__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,26,51,.05) 0%, rgba(7,26,51,.55) 45%, rgba(7,26,51,.94) 100%);
  transition: opacity .4s var(--ease);
}
.bento__body { position: relative; z-index: 2; padding: 1.85rem; width: 100%; }
.bento__tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-900); background: var(--gold);
  padding: .3rem .6rem; border-radius: 6px; margin-bottom: .8rem;
}
.bento__body h3 { color: #fff; font-size: 1.375rem; margin-bottom: .5rem; }
.bento__body p {
  color: rgba(255, 255, 255, .78); font-size: var(--fs-body); line-height: 1.65;
  margin: 0 0 1rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.bento__card:hover .bento__body p { max-height: 200px; opacity: 1; }
.bento__body .link-more { color: #fff; }
.bento__body .link-more span.arrow { background: rgba(255, 255, 255, .16); color: #fff; }
.bento__body .link-more:hover span.arrow { background: var(--gold); color: var(--navy-900); }
.bento__body .link-more::after { background: var(--gold); }

/* ================================================================ about ===
   Split layout: stacked image collage + copy with feature bullets.          */
.about-section {
  background: #ffffff !important;
  position: relative;
  padding: 5.5rem 0;
}
.about-section[data-section-index]::after,
.about-section::after {
  display: none !important;
  content: none !important;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-section .split {
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: stretch;
}

.collage {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.collage__main {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(6, 23, 43, 0.10);
  background: #fff;
}
.collage__main img { width: 100%; height: 100%; object-fit: cover; }
.collage__sub {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 44%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 14px 32px rgba(6, 23, 43, 0.14);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.collage__sub img { width: 100%; height: 100%; object-fit: cover; }
.collage__badge { display: none !important; }
.collage__ring { display: none !important; }

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-content .btn {
  width: fit-content;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(20, 57, 111, 0.22);
}
.about-title {
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--navy-900);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 960px) {
  .about-section .split {
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }
  .collage {
    height: auto;
    max-width: 520px;
  }
  .collage__main {
    min-height: 320px;
    height: auto;
    aspect-ratio: 16 / 11;
  }
}

.checklist { list-style: none; display: grid; gap: .9rem; margin: 1.75rem 0 2.25rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-body); color: var(--body); }
.checklist i {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; margin-top: .1rem;
  background: var(--navy-100); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================= services ===
   Numbered process rail — connected steps rather than plain cards.          */
.process { position: relative; display: grid; gap: 1.25rem; }
.process__row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.75rem; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.85rem 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.process__row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--navy), var(--gold));
  border-radius: 4px 0 0 4px; opacity: 0; transition: opacity .35s var(--ease);
}
.process__row { position: relative; overflow: hidden; }
.process__row:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.process__row:hover::before { opacity: 1; }
.process__num {
  font-size: 2.75rem; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy-400);
  transition: color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease);
}
.process__row:hover .process__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.process__body h3 { margin-bottom: .35rem; }
.process__body p { color: var(--muted); font-size: var(--fs-body); margin: 0; line-height: 1.7; }
.process__go {
  width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.process__row:hover .process__go { background: var(--navy); color: #fff; transform: rotate(-45deg); }

/* ============================================================ why us ======
   Dark band with glass feature tiles.                                       */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); border-color: rgba(240,165,0,.45); }
.feature__ic {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240, 165, 0, .16); color: var(--gold);
  transition: transform .4s var(--ease);
}
.feature:hover .feature__ic { transform: rotate(-8deg) scale(1.08); }
.feature h3 { color: #fff; font-size: 1.0625rem; margin-bottom: .5rem; }
.feature p { color: rgba(255, 255, 255, .62); font-size: var(--fs-body); line-height: 1.7; margin: 0; }

/* ============================================================== media =====
   Horizontal snap carousel with overlay captions.                           */
.media-section {
  background: #ffffff !important;
  position: relative;
  padding: 5.5rem 0;
}
.media-section[data-section-index]::after,
.media-section::after {
  display: none !important;
  content: none !important;
}

.media-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  padding-bottom: 0;
}
.media-track::-webkit-scrollbar { display: none; }
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 23, 43, 0.08) !important;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.media-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(6, 23, 43, 0.12) !important; }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-card:hover img { transform: scale(1.08); }
.media-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7,26,51,.88) 100%);
}
.media-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.75rem; }
.media-card__body h3 { color: #fff; font-size: 1.125rem; line-height: 1.4; }
.media-nav { display: none !important; }

@media (max-width: 960px) {
  .media-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ======================================================== testimonials ====
   Single rotating quote with avatar rail.                                   */
.testimonials-section {
  position: relative;
  padding: 5rem 0;
}
.testimonials-section[data-section-index]::after,
.testimonials-section::after {
  display: none !important;
  content: none !important;
}

.tstack { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.tstack__mark {
  font-size: 5.5rem; line-height: 1; font-weight: 900;
  color: #f0a500 !important; /* Bold, high-contrast visible gold */
  font-family: Georgia, serif; margin-bottom: -1.25rem; user-select: none;
  opacity: 1 !important;
}
.tstack__slide { display: none; }
.tstack__slide.is-active { display: block; animation: tFade .6s var(--ease); }
@keyframes tFade { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.tstack__slide p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.68; font-weight: 400;
  color: var(--heading); letter-spacing: -.015em; margin-bottom: 1.35rem;
}
.tstack__stars { color: #f0a500; letter-spacing: .18em; margin-bottom: 1rem; font-size: 1.15rem; }
.tstack__name { font-weight: 700; color: var(--heading); font-size: 1.05rem; }
.tstack__role { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.2rem; }
.tstack__avatars { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.tstack__avatar {
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 3px solid transparent; background: #fff;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(6, 23, 43, 0.08);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tstack__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.tstack__avatar:hover { transform: translateY(-3px); }
.tstack__avatar.is-active {
  border-color: #f0a500;
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.28), 0 8px 20px rgba(6, 23, 43, 0.14);
  transform: scale(1.1);
}

/* success story panel - crystal clear, high contrast, non-overlapping */
.story-panel {
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: linear-gradient(135deg, #06182c 0%, #0d2a4e 50%, #081d36 100%) !important;
  border: 1.5px solid rgba(240, 165, 0, 0.42);
  border-radius: 20px;
  padding: 2.25rem 2.75rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 50px rgba(6, 23, 43, 0.24), 0 0 32px rgba(240, 165, 0, 0.10);
  overflow: hidden;
}
.story-panel::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,.22), transparent 70%);
  pointer-events: none;
}
.story-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.story-panel__badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.story-badge--verified {
  background: rgba(240, 165, 0, 0.18);
  color: #fff3c9;
  border: 1.2px solid rgba(240, 165, 0, 0.6);
}
.story-badge--certified {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1.2px solid rgba(255, 255, 255, 0.35);
}
.story-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.72rem;
  background: #f0a500;
  color: #06172b;
  font-weight: 900;
  flex-shrink: 0;
}
.story-badge--certified .story-badge__icon {
  background: #f0a500;
  color: #06172b;
}
.story-panel h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  margin-top: 0;
  margin-bottom: 0.85rem;
  line-height: 1.28;
  position: relative;
  z-index: 2;
  font-weight: 800;
}
.story-panel p {
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  max-width: 660px;
}

/* Service trust pill in header */
.service-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.12);
  color: var(--navy-900);
  border: 1px solid rgba(240, 165, 0, 0.45);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.12);
  white-space: nowrap;
}
.service-trust-pill__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f0a500;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .story-panel { padding: 1.75rem 1.35rem; }
  .story-panel__top { justify-content: center; flex-direction: column; gap: 0.75rem; text-align: center; }
  .story-panel__badges { justify-content: center; }
}

/* ================================================================ CTA =====
   Single-screen optimized enquiry form band.                                */
.form-band {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  padding: 2.75rem 0 !important;
}
.form-band[data-section-index]::after,
.form-band::after {
  display: none !important;
  content: none !important;
}
.form-card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  max-width: 760px !important;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(6, 23, 43, 0.08);
}
.form-card__head {
  margin-bottom: 1.25rem;
}
.form-card__head h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  margin: 0.35rem 0 0.25rem;
  color: var(--navy-900);
}
.form-card__head .lead {
  font-size: 0.92rem;
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.5;
}
.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
}
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 700; color: var(--navy-800); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .68rem 1rem;
  font-family: inherit; font-size: 0.92rem; color: var(--heading);
  background: var(--surface-alt); border: 1px solid transparent; border-radius: 12px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: none; min-height: 68px; height: 68px; }
.field input:hover, .field select:hover, .field textarea:hover { background: #fff; border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 57, 111, .1);
}
.field .error { font-size: var(--fs-xs); color: #c0392b; min-height: 0.85rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #c0392b; background: #fff5f4;
}
.form-card .btn--primary {
  margin-top: 0.85rem;
  padding: 0.78rem 1.6rem;
  font-size: 0.95rem;
}

@media (max-width: 680px) {
  .form-band {
    padding: 1.25rem 0 !important;
    min-height: auto;
  }
  .form-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    margin: 0 0.5rem;
  }
  .form-card__head {
    margin-bottom: 0.75rem;
  }
  .form-card__head h2 {
    font-size: 1.25rem;
    margin: 0.2rem 0;
  }
  .form-card__head .lead {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .field label {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
  }
  .field input, .field select {
    padding: 0.52rem 0.7rem;
    font-size: 0.82rem;
    border-radius: 8px;
  }
  .field textarea {
    min-height: 52px;
    height: 52px;
    padding: 0.52rem 0.7rem;
    font-size: 0.82rem;
    border-radius: 8px;
  }
  .field .error {
    display: none;
  }
  .field.has-error .error {
    display: block;
    font-size: 0.68rem;
  }
  .form-card .btn--primary {
    margin-top: 0.6rem;
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
  .story-panel { padding: 1.75rem 1.25rem; }
}
.form-status {
  margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: 14px;
  font-size: var(--fs-body); display: none;
}
.form-status.is-visible { display: block; animation: tFade .4s var(--ease); }
.form-status.is-success { background: #e8f5ec; color: #1c6b39; border: 1px solid #bfe3cb; }

/* ======================================================== Floating Moving Animations ====
   High-end ambient floating badges, shapes, and glowing particle dynamics.               */

@keyframes floatGentle {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(1.5deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, 14px, 0) rotate(-1.5deg);
  }
}

@keyframes floatDiagonal {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  33% {
    transform: translate3d(8px, -12px, 0) rotate(1.2deg);
  }
  66% {
    transform: translate3d(-6px, -18px, 0) rotate(-1deg);
  }
}

@keyframes floatDriftWide {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -22px, 0) scale(1.08);
  }
}

@keyframes floatSpinSlow {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(180deg) translateY(-10px);
  }
  100% {
    transform: rotate(360deg) translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.22;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(1.1);
  }
}

/* Floating animation helper classes */
.float-slow-1 {
  animation: floatGentle 5.5s ease-in-out infinite;
  will-change: transform;
}
.float-slow-2 {
  animation: floatReverse 6.8s ease-in-out infinite;
  will-change: transform;
}
.float-slow-3 {
  animation: floatDiagonal 7.5s ease-in-out infinite;
  will-change: transform;
}
.float-drift {
  animation: floatDriftWide 12s ease-in-out infinite alternate;
  will-change: transform;
}
.float-spin {
  animation: floatSpinSlow 24s linear infinite;
  will-change: transform;
}
.pulse-glow {
  animation: pulseGlow 6s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Floating Badges */
.float-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(6, 23, 43, 0.12), 0 2px 6px rgba(6, 23, 43, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
}
.float-badge:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 16px 40px rgba(6, 23, 43, 0.18);
}
.float-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Badge Themes */
.float-badge--gold {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  border: 1.5px solid rgba(240, 165, 0, 0.45);
}
.float-badge--gold .float-badge__icon {
  background: #f0a500;
  color: #fff;
}

.float-badge--navy {
  background: rgba(6, 23, 43, 0.92);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.float-badge--navy .float-badge__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #f0a500;
}

.float-badge--glass {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.float-badge--glass .float-badge__icon {
  background: #f0a500;
  color: #fff;
}

.float-badge--dark {
  background: rgba(14, 34, 61, 0.92);
  color: #fff;
  border: 1px solid rgba(240, 165, 0, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.float-badge--dark .float-badge__icon {
  background: #f0a500;
  color: #06172b;
}

/* Floating Shapes */
.float-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.float-shape--ring {
  border-radius: 50%;
  border: 2px dashed rgba(240, 165, 0, 0.35);
}
.float-shape--ring-navy {
  border-radius: 50%;
  border: 2px dashed rgba(20, 57, 111, 0.25);
}
.float-shape--dot {
  border-radius: 50%;
  background: radial-gradient(circle, #f0a500 0%, rgba(240, 165, 0, 0.2) 70%);
  box-shadow: 0 0 16px rgba(240, 165, 0, 0.5);
}
.float-shape--cross {
  width: 16px;
  height: 16px;
  position: relative;
}
.float-shape--cross::before, .float-shape--cross::after {
  content: '';
  position: absolute;
  background: rgba(240, 165, 0, 0.45);
  border-radius: 2px;
}
.float-shape--cross::before { top: 0; left: 7px; width: 2px; height: 16px; }
.float-shape--cross::after { top: 7px; left: 0; width: 16px; height: 2px; }

/* Section ambient overflow protection & positioning */
.about-section,
.services-section,
.why-us-section,
.media-section,
.testimonials-section,
.form-band,
.site-footer {
  position: relative;
  overflow: hidden;
}

/* Feature cards in Why Us floating subtly */
.why-us-section .feature:nth-child(1) { animation: floatGentle 7s ease-in-out infinite 0s; }
.why-us-section .feature:nth-child(2) { animation: floatReverse 8s ease-in-out infinite 1s; }
.why-us-section .feature:nth-child(3) { animation: floatDiagonal 7.5s ease-in-out infinite 0.5s; }
.why-us-section .feature:nth-child(4) { animation: floatGentle 8.5s ease-in-out infinite 1.8s; }

/* Testimonials Quote Floating */
.testimonials-section .tstack__mark {
  display: inline-block;
  animation: floatGentle 4.5s ease-in-out infinite;
}

/* Specific floating positions for Form */
.float-badge--form-left {
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
}
.float-badge--form-right {
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
}

@media (max-width: 1100px) {
  .float-badge--form-left,
  .float-badge--form-right {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .float-badge {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
  }
  .float-shape--ring {
    opacity: 0.5;
  }
}

/* -------------------------------------------------------- page banner --- */
.page-hero {
  position: relative; overflow: hidden;
  background-color: var(--navy-900);
  background-image: url('../img/banners/banner-about.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 110px);
  min-height: clamp(640px, 92vh, 980px);
  display: flex;
  align-items: flex-end;
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(4rem, 8vw, 6.5rem);
  box-sizing: border-box;
  color: rgba(255, 255, 255, .88);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  width: 100%; height: 100%;
  background:
    linear-gradient(180deg, rgba(6, 17, 32, 0.45) 0%, rgba(6, 17, 32, 0.12) 30%, rgba(6, 17, 32, 0.76) 75%, rgba(6, 17, 32, 0.96) 100%),
    linear-gradient(90deg, rgba(6, 17, 32, 0.95) 0%, rgba(6, 17, 32, 0.65) 45%, rgba(6, 17, 32, 0.22) 75%, rgba(6, 17, 32, 0.42) 100%);
  z-index: 1; pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 165, 0, 0.45), transparent);
  z-index: 2;
}
.page-hero .shell { position: relative; z-index: 3; width: 100%; }
.page-hero__content { max-width: 880px; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold, #f0a500);
  margin-bottom: 0.85rem; text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}
.page-hero__eyebrow::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold, #f0a500);
  box-shadow: 0 0 12px var(--gold, #f0a500), 0 0 4px #fff;
}
.page-hero h1,
.page-hero__title {
  color: #fff; font-size: clamp(2.85rem, 6.5vw, 5.25rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.025em;
  text-transform: uppercase; margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}
.page-hero p,
.page-hero__lead {
  color: rgba(255, 255, 255, .88); font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  max-width: 740px; margin: 0; line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.breadcrumb { font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); margin-bottom: 1.4rem; letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb a { color: rgba(255, 255, 255, .8); transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 .45rem; color: rgba(255, 255, 255, .45); }

/* -------------------------------------------------------------- prose --- */
.prose { max-width: 820px; }
.prose > p:first-of-type { font-size: 1.1875rem; color: var(--heading); line-height: 1.8; }
.prose p { color: var(--body); font-size: 1.0625rem; line-height: 1.85; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.75rem; margin: 3rem 0 1rem; }
.prose h3 { font-size: 1.25rem; margin: 2.25rem 0 .875rem; }
.prose ol { margin: 0 0 1.5rem; padding-left: 1.35rem; }
.prose li { color: var(--body); font-size: 1.0625rem; line-height: 1.8; margin-bottom: .75rem; }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.5rem; }
.prose ul > li { position: relative; padding-left: 2rem; }
.prose ul > li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--navy), var(--gold));
}
.prose ol > li::marker { color: var(--navy); font-weight: 700; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--heading); font-weight: 600; }

.layout { display: grid; gap: 3.5rem; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.sidebar { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--bar-h) + 1.5rem); }
.side-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.side-card h3 { font-size: 1.0625rem; margin-bottom: 1.1rem; }
.side-card ul { list-style: none; display: grid; gap: .3rem; }
.side-card ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .85rem; border-radius: 12px;
  font-size: var(--fs-sm); color: var(--body);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.side-card ul a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.side-card ul a:hover { background: var(--navy-50); color: var(--navy); transform: translateX(3px); }
.side-card ul a:hover::after { opacity: 1; transform: translateX(0); }
.side-card ul a.is-active { background: var(--navy); color: #fff; font-weight: 600; }
.side-card ul a.is-active::after { opacity: 1; transform: translateX(0); }
.side-card--cta {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-800), var(--navy));
  border-color: transparent; color: rgba(255, 255, 255, .8);
}
.side-card--cta::after {
  content: ''; position: absolute; right: -50px; bottom: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,.3), transparent 70%);
}
.side-card--cta h3, .side-card--cta strong { color: #fff; position: relative; z-index: 2; }
.side-card--cta p { color: rgba(255, 255, 255, .78); font-size: var(--fs-body); position: relative; z-index: 2; }
.side-card--cta .btn { position: relative; z-index: 2; }

/* -------------------------------------------------------- contact bits --- */
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.contact-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem 1.85rem;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.10);
  border-color: rgba(240, 165, 0, 0.35);
}
.contact-card__ic {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-100); color: var(--navy);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover .contact-card__ic {
  background: var(--gold); color: var(--navy-900); transform: scale(1.06) rotate(-6deg);
  box-shadow: 0 6px 16px rgba(240, 165, 0, 0.3);
}
.contact-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .85rem; color: var(--heading); }
.contact-card ul { list-style: none; display: grid; gap: .65rem; margin: 0; padding: 0; }
.contact-card a { font-size: var(--fs-body); color: var(--body); font-weight: 500; transition: color .25s var(--ease); }
.contact-card p { font-size: var(--fs-body); color: var(--body); line-height: 1.65; margin: 0; }
.contact-card__offices { display: flex; flex-direction: column; gap: 1rem; margin-top: .15rem; }
.contact-card__office { display: flex; flex-direction: column; gap: .3rem; }
.contact-card__office-title {
  font-size: .82rem; font-weight: 700; color: var(--navy); text-transform: uppercase;
  letter-spacing: .04em; margin: 0; display: inline-flex; align-items: center; gap: .45rem;
}
.contact-card__office-title::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: inline-block; flex-shrink: 0;
}
.contact-card__office p { font-size: .88rem; line-height: 1.55; color: var(--body); }

.contact-card__social {
  display: flex; align-items: center; gap: .75rem; margin-top: 0; padding-top: 0; flex-wrap: wrap;
}
.contact-card__social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-100); color: var(--navy);
  border: 1px solid rgba(11, 37, 69, 0.08);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.04);
}
.contact-card__social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.14);
}
.contact-card__social-btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.contact-card__social-btn--ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; border-color: #dc2743; }
.contact-card__social-btn--li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.contact-card__social-btn--yt:hover { background: #ff0000; color: #fff; border-color: #ff0000; }

/* --------------------------------------------------- office locations section --- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.office-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(11, 37, 69, 0.10);
  border-color: rgba(240, 165, 0, 0.4);
}
.office-card--primary {
  border-color: rgba(240, 165, 0, 0.32);
}
.office-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.14);
  color: #926600;
  border: 1px solid rgba(240, 165, 0, 0.3);
}
.office-card__badge--secondary {
  background: var(--navy-100);
  color: var(--navy);
  border-color: rgba(11, 37, 69, 0.12);
}
.office-card__header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.office-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-100);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.office-card:hover .office-card__icon {
  background: var(--gold);
  color: var(--navy-900);
  transform: scale(1.05);
}
.office-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.25;
}
.office-card__subtitle {
  display: block;
  font-size: .84rem;
  color: var(--body);
  margin-top: .25rem;
}
.office-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.office-card__item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--body);
}
.office-card__item svg {
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--gold);
}
.office-card__item strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 2px;
}
.office-card__item p {
  margin: 0;
  color: var(--body);
}
.office-card__item a {
  color: var(--navy);
  font-weight: 600;
  transition: color .2s var(--ease);
}
.office-card__item a:hover {
  color: var(--gold);
}
.office-tag {
  display: inline-block;
  font-size: .74rem;
  padding: .15rem .45rem;
  border-radius: 4px;
  background: var(--navy-100);
  color: var(--body);
  margin-left: .35rem;
}
.office-card__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.office-card__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* Map card */
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.04);
}
.map-card__header {
  padding: 1.25rem 1.75rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.map-card__frame {
  width: 100%;
  height: 360px;
  background: var(--navy-100);
}
.map-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .offices-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .office-card {
    padding: 1.5rem 1.25rem;
  }
  .office-card__badge {
    position: static;
    margin-bottom: .85rem;
    align-self: flex-start;
  }
}

.email-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.email-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.email-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.email-card__avatar {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 999px;
  background: linear-gradient(140deg, var(--navy), var(--navy-400)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem;
  box-shadow: var(--shadow-navy);
}
.email-card h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.email-card a { font-size: var(--fs-body); color: var(--navy); word-break: break-all; }
.email-card a:hover { text-decoration: underline; }

.quote-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote__stars { color: var(--gold); font-size: var(--fs-sm); letter-spacing: .14em; margin-bottom: 1rem; }
.quote p { color: var(--body); font-size: var(--fs-body); line-height: 1.8; margin-bottom: 1.25rem; }
.quote__name { font-weight: 700; color: var(--heading); font-size: var(--fs-sm); }

/* ------------------------------------------------------------- footer --- */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .68); overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; left: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,95,168,.28), transparent 70%);
}
.site-footer .shell { position: relative; z-index: 2; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .7rem; }
.site-footer h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  padding: 4.5rem 0 3rem;
}
.footer-brand img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: .5rem .8rem; margin-bottom: 1.4rem; }
.footer-brand p { font-size: var(--fs-body); line-height: 1.8; margin: 0; }
.footer-grid ul { list-style: none; display: grid; gap: .7rem; }
.footer-grid ul a, .footer-grid ul li { font-size: var(--fs-body); }
.footer-grid ul a { display: inline-flex; align-items: center; gap: .5rem; transition: color .25s var(--ease), transform .25s var(--ease); }
.footer-grid ul a::before {
  content: '›'; color: var(--gold); opacity: 0; transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.footer-grid ul a:hover { color: #fff; transform: translateX(4px); }
.footer-grid ul a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.65; }
.footer-contact svg { flex-shrink: 0; margin-top: .3rem; color: var(--gold); }
.footer-contact a::before { content: none !important; }
.footer-contact div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact__label {
  display: block; font-size: .84rem; font-weight: 700; color: #ffffff;
  letter-spacing: .02em; margin-bottom: 2px;
}
.footer-contact__address {
  display: block; font-size: var(--fs-body); color: rgba(255, 255, 255, .75); line-height: 1.55;
}

.social { display: flex; gap: .55rem; margin-top: 1.75rem; }
.social a {
  width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-4px); }

.footer-note { border-top: 1px solid rgba(255, 255, 255, .08); padding: 2rem 0; }
.footer-note p { font-size: var(--fs-xs); line-height: 1.85; color: rgba(255, 255, 255, .45); }
.footer-note p:last-child { margin-bottom: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.6rem 0 2.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.footer-bottom p { margin: 0; font-size: var(--fs-xs); }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-bottom ul a { font-size: var(--fs-xs); transition: color .25s var(--ease); }
.footer-bottom ul a:hover { color: var(--gold); }

/* ------------------------------------------------------ floating bits --- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: .7rem; }
.wa-float__label {
  max-width: 216px; background: #fff; color: var(--body);
  font-size: var(--fs-xs); line-height: 1.5;
  padding: .75rem 1rem; border-radius: 12px; box-shadow: var(--shadow-lg);
}
.wa-float__btn {
  position: relative;
  width: 62px; height: 62px; border-radius: 999px; flex-shrink: 0;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
}
.wa-float__btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: pulseRing 2.6s infinite;
}
.wa-float__btn:hover { transform: scale(1.08); }

.to-top {
  position: fixed; right: 29px; bottom: 98px; z-index: 95;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(4, 16, 31, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-3px); }

/* ------------------------------------------------------ reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee__track { animation: none; }

  /* Cinematic stages collapse to a single readable screen: no long scrub
     track, no pinning, no travelling rail. main.js also skips the engine. */
  .cine__track { height: auto !important; }
  .cine__stage { position: static; height: auto; min-height: 74vh; }
  .cine__layer { opacity: 1 !important; transform: none !important; }
  .cine__layer + .cine__layer { display: none; }
  .cine__cue { opacity: 1 !important; transform: none !important; }
  .cine__cue + .cine__cue { display: none; }
  .cine__hint, .cine__rail { display: none; }
  .hgal__track { height: auto !important; }
  .hgal__stage { position: static; height: auto; padding: 4rem 0; }
  .hgal__rail { transform: none !important; overflow-x: auto; }
}

/* ========================================================= breakpoints ==== */
@media (max-width: 1180px) {
  /* 2 columns: tall card + 4 tiles leaves one gap, so the last card fills it. */
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 250px; }
  .bento__card:nth-child(1) { grid-row: span 2; }
  .bento__card:nth-child(5) { grid-column: span 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 3rem; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 3.5rem; }
  .collage { max-width: 520px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .process__row { grid-template-columns: 64px 1fr; gap: 1.25rem; padding: 1.5rem; }
  .process__go { display: none; }
  .process__num { font-size: 2.125rem; }
}

@media (max-width: 900px) {
  .topbar__list li.hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn { display: none; }
  .nav__mobile-cta { display: none; }
  .wa-float__label { display: none; }
  .media-track { grid-auto-columns: minmax(300px, 1fr); }
  /* shorter scrub on phones so the intro does not outstay its welcome */
  .cine__track { height: 260vh; }
  .cine__hint { display: none; }
  .cine__text { font-size: 1rem; }
  .cine__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 700px) {
  .section { padding: 4rem 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .bento__card:nth-child(1), .bento__card:nth-child(4), .bento__card:nth-child(5) { grid-row: span 1; grid-column: span 1; }
  .bento__body p { max-height: 200px; opacity: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust { margin-top: -40px; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .trust__item:last-child { border-bottom: 0; }
  .form-card { padding: 1.75rem 1.25rem; }
  .story-panel { padding: 2.25rem 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand img { height: 46px; }
  .topbar__list li.hide-xs { display: none; }
  :root { --bar-h: 72px; --topbar-h: 38px; }
  .collage { padding-right: 2rem; padding-bottom: 2rem; }
  .collage__badge { left: 0; }
}
