/* ==========================================================================
   Med Logistics Services — Design system
   ========================================================================== */
:root {
  --brand: #16bff1;
  --brand-2: #0ea5d9;
  --brand-3: #0b7fb0;
  --brand-soft: #e7f8fe;
  --accent: #ff8a3d;
  --ink: #07111f;
  --ink-2: #0c1a2e;
  --ink-3: #13253d;
  --text: #1b2a3d;
  --muted: #5d6b7e;
  --line: #e4eaf1;
  --bg: #f5f8fb;
  --danger: #dc2626;
  --radius: 24px;
  --shadow-sm: 0 2px 8px rgba(7, 17, 31, .06);
  --shadow: 0 16px 44px -16px rgba(7, 17, 31, .2);
  --shadow-lg: 0 34px 80px -24px rgba(7, 17, 31, .38);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.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: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 10px 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-3);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 191, 241, .2);
}
.on-dark .eyebrow, .eyebrow--dark {
  background: rgba(22, 191, 241, .1); color: var(--brand); border: 1px solid rgba(22, 191, 241, .25);
}
.text-grad {
  background: linear-gradient(90deg, var(--brand), #7ae3ff 45%, var(--brand) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .text-grad { animation: shine 6s linear infinite; }
.text-accent { color: var(--brand); }
@keyframes shine { to { background-position: -200% center; } }

.lead { font-size: 1.125rem; color: var(--muted); }
.on-dark { color: #b7c5d6; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead { color: #98a9bd; }

.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--ink); overflow: hidden; }
.section-head { max-width: 740px; margin: 0 auto clamp(44px, 6vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(22, 191, 241, .7);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(22, 191, 241, .85); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-3); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--brand-3);
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i { transform: translateX(5px); }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.progress {
  position: fixed; inset: 0 0 auto; z-index: 1001; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--header-h); display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header.scrolled {
  --header-h: 72px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(7, 17, 31, .25);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; flex: none; }
.brand img { height: 52px; width: auto; transition: opacity .35s, height .4s var(--ease); }
.header.scrolled .brand img { height: 46px; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.header.scrolled .logo-light { opacity: 0; }
.header.scrolled .logo-dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .82); transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.header.scrolled .nav a { color: var(--muted); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; transition: color .3s; }
.header-phone .i { width: 18px; height: 18px; color: var(--brand); }
.header.scrolled .header-phone { color: var(--ink); }

.menu-toggle {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s, background-color .3s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.header.scrolled .menu-toggle { background: var(--bg); border-color: var(--line); }
.header.scrolled .menu-toggle span { background: var(--ink); }
.menu-open .menu-toggle span { background: #fff; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .header .logo-light { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }
.menu-open .header .menu-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 110px 28px 40px;
  background: radial-gradient(circle at 80% 10%, rgba(22, 191, 241, .18), transparent 50%), rgba(7, 17, 31, .98);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.m-link {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8vw, 44px); color: #fff; padding: 6px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  transition-delay: calc(var(--i, 0) * 60ms + 100ms);
}
.m-link.active, .m-link:hover { color: var(--brand); }
.menu-open .m-link { opacity: 1; transform: none; }
.mobile-menu .m-foot {
  margin-top: 36px; display: grid; gap: 10px; color: #98a9bd;
  opacity: 0; transition: opacity .6s .4s;
}
.menu-open .mobile-menu .m-foot { opacity: 1; }
.m-foot a { display: inline-flex; align-items: center; gap: 10px; }
.m-foot .i { width: 18px; height: 18px; color: var(--brand); }
.m-foot .btn { margin-top: 12px; justify-self: start; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 120px;
  background: var(--ink); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(7, 17, 31, .96) 0%, rgba(7, 17, 31, .8) 40%, rgba(7, 17, 31, .35) 72%, rgba(7, 17, 31, .6) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, .95) 0%, transparent 38%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 50%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 25% 50%, #000 15%, transparent 75%);
}
/* Soft glows use gradients instead of filter: blur(), which is very costly to repaint. */
.hero-orb {
  position: absolute; z-index: -1; pointer-events: none; will-change: transform;
  animation: orb 16s ease-in-out infinite alternate;
}
.hero-orb--1 { width: 640px; height: 640px; left: -220px; top: 0; background: radial-gradient(closest-side, rgba(22, 191, 241, .26), transparent); }
.hero-orb--2 { width: 560px; height: 560px; right: 4%; bottom: -220px; background: radial-gradient(closest-side, rgba(255, 138, 61, .18), transparent); animation-delay: -6s; }
@keyframes orb { to { transform: translate(80px, -60px) scale(1.15); } }

.hero-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; animation: fadeIn 2s .8s forwards; }
.route-base { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.4; }
.route-flow { fill: none; stroke: url(#routeGrad); stroke-width: 2; stroke-dasharray: 6 12; }
.node circle { fill: var(--brand); }
.node .ring {
  fill: none; stroke: var(--brand); stroke-width: 1.5; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite;
}
.node--accent circle { fill: var(--accent); }
.node--accent .ring { stroke: var(--accent); animation-delay: -1.3s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }

.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #dbe7f3;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 191, 241, .7); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(22, 191, 241, 0); }
}
.hero h1 {
  margin: 26px 0 22px; color: #fff;
  font-size: clamp(2.7rem, 6.6vw, 5.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em;
}
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes lineUp { to { transform: none; } }

.hero-rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 18px; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: #cfe0ee; }
.rotator { display: inline-grid; overflow: hidden; height: 1.5em; line-height: 1.5; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap; color: var(--brand); font-weight: 700;
  transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.rotator > span.is-active { transform: none; opacity: 1; }
.rotator > span.is-leaving { transform: translateY(-100%); opacity: 0; }
.hero .lead { color: rgba(226, 235, 245, .8); max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }

.track-label { margin: 0 0 10px 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.track-form {
  display: flex; align-items: center; gap: 8px; max-width: 540px; padding: 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .3s, box-shadow .3s;
}
.track-form:focus-within { border-color: rgba(22, 191, 241, .6); box-shadow: 0 0 0 4px rgba(22, 191, 241, .15); }
.track-form > .i { margin-left: 14px; width: 20px; height: 20px; color: var(--brand); }
.track-form input { flex: 1; min-width: 0; padding: 10px 4px; border: 0; outline: 0; background: none; color: #fff; font-size: 15px; }
.track-form input::placeholder { color: rgba(255, 255, 255, .5); }
.track-form.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero-cards { display: grid; gap: 18px; justify-items: end; }
.hero-cards > div:nth-child(2) { margin-right: 56px; }
.glass-card {
  display: flex; align-items: center; gap: 16px; min-width: 270px; padding: 18px 24px 18px 18px;
  border-radius: 22px; border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, rgba(30, 52, 80, .78), rgba(12, 26, 46, .6));
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite; animation-delay: var(--fd, 0s); will-change: transform;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.glass-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(22, 191, 241, .18); color: var(--brand); }
.glass-card strong { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1.1; color: #fff; }
.glass-card span { font-size: 13.5px; color: #a9bacb; }

.intro { opacity: 0; transform: translateY(26px); animation: introUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.mouse { width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .4); position: relative; }
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--brand); animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
[data-depth] { transition: translate .8s var(--ease); }

/* ---------- Partners marquee ---------- */
.partners { padding: 48px 0; border-bottom: 1px solid var(--line); background: #fff; }
.partners-title { text-align: center; margin: 0 0 26px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8b99aa; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 72px; width: max-content; padding-right: 72px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner { display: flex; align-items: center; gap: 14px; color: #9aa8b8; transition: color .3s; }
.partner b { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.partner small { max-width: 170px; font-size: 12px; font-weight: 600; line-height: 1.35; color: #a7b3c2; }
.partner:hover { color: var(--brand-3); }

/* ---------- Split / about teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.media-stack { position: relative; padding: 0 36px 48px 0; }
.media-main { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.media-main img, .media-sub img { width: 100%; height: 100%; object-fit: cover; }
.media-sub {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border-radius: 24px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.exp-badge {
  position: absolute; left: -22px; top: 36px; z-index: 2;
  padding: 20px 24px; border-radius: 22px; background: var(--ink); color: #c7d3e1; box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.exp-badge strong { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--brand); }
.exp-badge span { font-size: 13px; font-weight: 600; }
.cert-badge {
  position: absolute; left: 32px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: 18px; background: #fff; box-shadow: var(--shadow);
}
.cert-badge .glass-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-3); }
.cert-badge strong { display: block; font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.cert-badge span { font-size: 12.5px; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-3); }
.tick .i { width: 14px; height: 14px; stroke-width: 3; }
.on-dark .checklist li { color: #e3ebf4; }
.on-dark .tick { background: rgba(22, 191, 241, .15); color: var(--brand); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  will-change: transform;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(22, 191, 241, .14), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.thumb { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 17, 31, .55)); }
.service-card:hover .thumb img { transform: scale(1.1); }
.service-card .body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 42px 24px 26px; }
.s-icon {
  position: absolute; top: -28px; left: 24px; z-index: 2;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff;
  box-shadow: 0 14px 26px -10px rgba(22, 191, 241, .8); transition: transform .6s var(--ease);
}
.service-card:hover .s-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 96px) 0; background: var(--ink); color: #fff; isolation: isolate; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(22, 191, 241, .35) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
  opacity: .5;
}
.stats-band::after {
  content: ""; position: absolute; z-index: -1; width: 800px; height: 800px;
  left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(22, 191, 241, .18), transparent);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 20px 24px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  background: linear-gradient(180deg, #fff 30%, #8fd9f5); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { margin-top: 12px; font-weight: 600; color: #98a9bd; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; }
.process-line { position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line); }
.process-line span {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s;
}
.process.in .process-line span { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 26px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line);
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: #9aa8b8;
  transition: all .7s var(--ease); transition-delay: calc(var(--i, 0) * .5s + .2s);
}
.step-num .i { position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2; }
.process.in .step-num {
  color: #fff; border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  box-shadow: 0 0 0 10px rgba(22, 191, 241, .1), 0 18px 34px -12px rgba(22, 191, 241, .7);
}
.step h3 { font-size: 20px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Features (dark) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  position: relative; overflow: hidden; height: 100%; padding: 36px 30px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .6s var(--ease), border-color .5s, background-color .5s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(22, 191, 241, .4); background: rgba(255, 255, 255, .05); }
.f-icon {
  display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 24px; border-radius: 18px;
  background: rgba(22, 191, 241, .12); color: var(--brand); transition: all .6s var(--ease);
}
.f-icon .i { width: 28px; height: 28px; }
.feature:hover .f-icon { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.feature h3 { font-size: 20px; color: #fff; }
.feature p { margin: 0; font-size: 15px; color: #98a9bd; }
.f-num { position: absolute; top: 14px; right: 24px; font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .04); }
.section--light-features .feature { background: #fff; border-color: var(--line); }
.section--light-features .feature:hover { border-color: rgba(22, 191, 241, .5); box-shadow: var(--shadow); }
.section--light-features .feature h3 { color: var(--ink); }
.section--light-features .feature p { color: var(--muted); }
.section--light-features .f-icon { background: var(--brand-soft); color: var(--brand-3); }
.section--light-features .f-num { color: rgba(7, 17, 31, .04); }
.section--dark .glow-top {
  position: absolute; top: -300px; left: 50%; translate: -50% 0; width: 1100px; height: 600px;
  background: radial-gradient(closest-side, rgba(22, 191, 241, .14), transparent); pointer-events: none;
}

/* ---------- Testimonials ---------- */
.t-slider { position: relative; max-width: 920px; margin: 0 auto; }
.t-viewport { overflow: hidden; border-radius: 30px; touch-action: pan-y; }
.t-track { display: flex; transition: transform .9s var(--ease); }
.t-slide { flex: 0 0 100%; padding: 6px; }
.t-card {
  position: relative; padding: clamp(36px, 6vw, 60px); text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.qmark { position: absolute; top: 18px; left: 34px; font-family: Georgia, serif; font-size: 140px; line-height: 1; color: var(--brand); opacity: .15; }
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 22px; color: #ffb020; }
.stars .i { width: 20px; height: 20px; }
.t-card blockquote { margin: 0 0 30px; font-size: clamp(1.08rem, 2vw, 1.32rem); font-weight: 500; line-height: 1.65; color: var(--ink); }
.t-author { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.avatar {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; font-family: var(--font-display); font-weight: 800;
}
.t-author strong { display: block; font-family: var(--font-display); color: var(--ink); }
.t-author span { font-size: 14px; color: var(--muted); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.t-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease);
}
.t-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #cfd8e3; cursor: pointer; transition: width .5s var(--ease), background-color .4s; }
.t-dot.active { width: 34px; background: var(--brand); }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 7vw, 90px); border-radius: 34px; background: var(--ink); color: #c7d3e1; }
.cta-bg { position: absolute; inset: -25% 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(7, 17, 31, .96) 20%, rgba(11, 127, 176, .78)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { max-width: 640px; margin-bottom: 12px; font-size: clamp(1.9rem, 3.8vw, 2.9rem); color: #fff; }
.cta p { margin: 0; max-width: 560px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 110px)) 0 clamp(80px, 9vw, 120px);
  background: var(--ink); color: #fff;
}
.page-hero-media { position: absolute; inset: -12% 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 17, 31, .95) 10%, rgba(7, 17, 31, .72) 55%, rgba(7, 17, 31, .45)), linear-gradient(0deg, rgba(7, 17, 31, .7), transparent 50%);
}
.page-hero .hero-grid { z-index: -1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .35); }
.crumbs [aria-current] { color: var(--brand); }
.page-hero h1 { max-width: 820px; margin-bottom: 18px; font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; color: #fff; }
.page-hero p { max-width: 640px; margin: 0; font-size: 1.15rem; color: rgba(226, 235, 245, .8); }
.page-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; color: #fff; }
.page-hero-wave.to-alt { color: var(--bg); }

/* ---------- About page ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  position: relative; overflow: hidden; height: 100%; padding: 38px 32px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.value-card:hover::after { transform: scaleX(1); }
.value-card .f-icon { background: var(--brand-soft); color: var(--brand-3); }
.value-card h3 { font-size: 22px; }
.value-card p { margin: 0; color: var(--muted); }

.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.org {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: 20px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .4s, transform .5s var(--ease);
}
.org:hover { border-color: rgba(22, 191, 241, .4); transform: translateY(-4px); }
.org b { display: grid; place-items: center; flex: none; width: 70px; height: 70px; border-radius: 18px; background: rgba(22, 191, 241, .12); color: var(--brand); font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; }
.org span { font-size: 15px; font-weight: 600; color: #d8e2ee; }

/* ---------- Services page ---------- */
.chip-nav-wrap { position: sticky; top: 72px; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chip-nav { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.chip-nav::-webkit-scrollbar { display: none; }
.chip-nav a {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: #fff; transition: all .3s var(--ease);
}
.chip-nav a .i { width: 16px; height: 16px; }
.chip-nav a:hover { color: var(--ink); border-color: #c7d2de; }
.chip-nav a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-nav a.active .i { color: var(--brand); }

.service-row { scroll-margin-top: 150px; padding: clamp(60px, 8vw, 100px) 0; }
.service-row:nth-child(even) { background: var(--bg); }
.service-row:nth-child(even) .split > :first-child { order: 2; }
.service-media { position: relative; }
.service-media .media-main { aspect-ratio: 3 / 2; }
.service-media .s-icon { top: auto; bottom: -26px; left: auto; right: 32px; width: 72px; height: 72px; border-radius: 22px; }
.service-media .s-icon .i { width: 32px; height: 32px; }
.service-index { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--brand-3); }
.service-row h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.industry:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.industry .glass-icon { width: 50px; height: 50px; background: var(--brand-soft); color: var(--brand-3); transition: all .5s var(--ease); }
.industry:hover .glass-icon { background: var(--brand); color: #fff; transform: rotate(-8deg); }
.on-dark .industry { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); color: #fff; }
.on-dark .industry:hover { border-color: rgba(22, 191, 241, .4); box-shadow: none; }
.on-dark .industry .glass-icon { background: rgba(22, 191, 241, .12); color: var(--brand); }
.on-dark .industry:hover .glass-icon { background: var(--brand); color: #fff; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 46px); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card[id] { scroll-margin-top: 100px; }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label, .field-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.input {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 15px; outline: 0; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.input::placeholder { color: #98a4b3; }
.input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(22, 191, 241, .16); }
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea.input { min-height: 130px; resize: vertical; }
.field.invalid .input { border-color: #f87171; background: #fef2f2; }
.err { font-size: 13px; font-weight: 600; color: var(--danger); }
.err:empty { display: none; }
.form-sub { margin: 30px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-3); }
.form-sub:first-child { margin-top: 0; }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 16px; font-weight: 600; font-size: 15px; margin-bottom: 22px; }
.alert .i { width: 22px; height: 22px; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-info { background: var(--brand-soft); border: 1px solid #bdeefc; color: var(--brand-3); }
.alert[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .25s;
}
.chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-3); }
.chip input:focus-visible + span, .choice input:focus-visible + .choice-body { outline: 2px solid var(--brand); outline-offset: 2px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; }
.choice-body {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px; border-radius: 18px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .3s var(--ease);
}
.choice-body:hover { border-color: #c7d2de; }
.choice-body .glass-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); color: var(--muted); transition: all .3s; }
.choice-body strong { display: block; color: var(--ink); }
.choice-body small { color: var(--muted); font-size: 13px; }
.choice input:checked + .choice-body { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 12px 26px -16px rgba(22, 191, 241, .8); }
.choice input:checked + .choice-body .glass-icon { background: var(--brand); color: #fff; }
.choice-grid.invalid .choice-body { border-color: #f87171; }

.check-row {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px;
  border: 1.5px solid var(--line); cursor: pointer; transition: border-color .25s, background-color .25s;
}
.check-row + .check-row { margin-top: 12px; }
.check-row:hover { border-color: #c7d2de; }
.check-row:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-3); flex: none; }
.check-row strong { display: block; color: var(--ink); font-size: 15px; }
.check-row small { color: var(--muted); font-size: 13.5px; }
.check-inline { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14.5px; color: var(--text); cursor: pointer; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--brand-3); }
.sub-field { margin: 12px 0 0 52px; max-width: 280px; }
.sub-field[hidden] { display: none; }

/* Quote stepper */
.stepper { position: relative; display: flex; justify-content: space-between; margin: 0 0 40px; padding: 0; list-style: none; }
.stepper::before, .stepper .stepper-fill { content: ""; position: absolute; top: 22px; left: 22px; height: 2px; }
.stepper::before { right: 22px; background: var(--line); }
.stepper .stepper-fill { width: calc((100% - 44px) * var(--progress, 0)); background: linear-gradient(90deg, var(--brand), var(--brand-3)); transition: width .7s var(--ease); }
.stepper li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #9aa8b8; transition: color .4s; }
.stepper .dot {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); transition: all .5s var(--ease);
}
.stepper .dot .i { width: 20px; height: 20px; }
.stepper li.active, .stepper li.done { color: var(--ink); }
.stepper li.active .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 7px rgba(22, 191, 241, .15); transform: scale(1.06); }
.stepper li.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-panel { display: none; min-width: 0; border: 0; padding: 0; margin: 0; }
.q-panel.active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.q-panel h2 { margin-bottom: 6px; }
.q-panel > p { color: var(--muted); margin-bottom: 26px; }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.q-nav .step-count { font-size: 14px; font-weight: 600; color: var(--muted); }
.review-block { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 16px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-head h3 { margin: 0; font-size: 16px; }
.review-edit { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--brand-soft); color: var(--brand-3); font-size: 13px; font-weight: 700; cursor: pointer; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; }
.review-list div { min-width: 0; }
.review-list dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.review-list dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.review-list .full { grid-column: 1 / -1; }
.success-view { text-align: center; padding: 20px 0; }
.success-check { width: 96px; height: 96px; margin: 0 auto 24px; }
.success-check circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1s var(--ease) forwards; }
.success-check path { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-view p { max-width: 460px; margin-inline: auto; color: var(--muted); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.aside-stack { display: grid; gap: 20px; position: sticky; top: 100px; }
.aside-card { padding: 30px; border-radius: 26px; background: var(--ink); color: #b7c5d6; position: relative; overflow: hidden; }
.aside-card::before { content: ""; position: absolute; width: 400px; height: 400px; right: -170px; top: -170px; background: radial-gradient(closest-side, rgba(22, 191, 241, .3), transparent); }
.aside-card h3 { position: relative; color: #fff; font-size: 20px; }
.aside-card ul { position: relative; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; font-size: 15px; }
.aside-card li .tick { background: rgba(22, 191, 241, .15); color: var(--brand); }
.aside-card--light { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.aside-card--light::before { display: none; }
.aside-card--light h3 { color: var(--ink); }

/* ---------- Contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -70px; position: relative; z-index: 2; }
.info-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.info-card .glass-icon { margin-bottom: 12px; background: var(--brand-soft); color: var(--brand-3); }
.info-card h3 { margin: 0 0 4px; font-size: 17px; }
.info-card p, .info-card a { margin: 0; font-size: 15px; color: var(--muted); }
.info-card a:hover { color: var(--brand-3); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.map-card { overflow: hidden; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg); }
.map-card iframe { display: block; width: 100%; height: 360px; border: 0; filter: saturate(.9); }
.quote-promo {
  display: flex; align-items: center; gap: 18px; padding: 24px; margin-top: 20px; border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; transition: transform .5s var(--ease), box-shadow .5s;
}
.quote-promo:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(22, 191, 241, .9); }
.quote-promo .glass-icon { background: rgba(255, 255, 255, .2); color: #fff; }
.quote-promo strong { display: block; font-family: var(--font-display); font-size: 17px; }
.quote-promo span { font-size: 14px; opacity: .85; }
.quote-promo > .i { margin-left: auto; transition: transform .35s var(--ease); }
.quote-promo:hover > .i { transform: translateX(5px); }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; }
.not-found .container { display: flex; flex-direction: column; align-items: center; }
.big-404 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 22vw, 14rem); line-height: .9; letter-spacing: -.06em;
  background: linear-gradient(180deg, #fff 20%, rgba(22, 191, 241, .6)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.not-found p { margin: 10px auto 34px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 100px) 0 0; background: var(--ink); color: #98a9bd; font-size: 15px; }
.footer::before { content: ""; position: absolute; width: 900px; height: 900px; right: -350px; top: -450px; background: radial-gradient(closest-side, rgba(22, 191, 241, .14), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-logo { height: 70px; width: auto; margin-bottom: 22px; }
.footer h4 { margin-bottom: 22px; font-size: 16px; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .3s var(--ease); }
.footer ul a:hover { color: var(--brand); transform: translateX(4px); }
.contact-line { display: flex; align-items: flex-start; gap: 12px; }
.contact-line .i { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.contact-line a:hover { color: var(--brand); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #c7d3e1; transition: all .35s var(--ease); }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.socials .i { width: 18px; height: 18px; }
.footer-mark {
  position: relative; margin-top: 64px; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 10.5vw, 9.6rem); line-height: .85; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom em { font-style: normal; color: var(--brand); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: #fff; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover .i { transform: translateY(-3px); }
.to-top .i { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.to-top .ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring-svg circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 157.08; stroke-dashoffset: calc(157.08 * (1 - var(--p, 0))); }

/* Set by JS on sections scrolled out of view so looping effects stop consuming GPU. */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-56px); }
.js [data-reveal="right"] { transform: translateX(56px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .layout-aside { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1024px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: repeat(3, auto); justify-content: start; justify-items: start; margin-top: 12px; }
  .hero-cards > div:nth-child(2) { margin-right: 0; }
  .glass-card { min-width: 0; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-aside, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-stack { position: static; }
  .industries { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .split > :first-child { order: 0; }
  .services-grid, .features, .values, .org-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .process-line { display: none; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-cards > div:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 74px; }
  .container { width: min(1240px, 100% - 32px); }
  .brand img { height: 44px; }
  .header-cta .btn { display: none; }
  .hero { padding-bottom: 100px; }
  .hero-cards { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .track-form .btn { padding: 11px 16px; }
  .services-grid, .features, .values, .org-grid, .industries, .info-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .checklist, .form-grid, .form-grid--3, .choice-grid, .review-list { grid-template-columns: 1fr; }
  .media-stack { padding: 0 16px 36px 0; }
  .exp-badge { left: -8px; padding: 14px 18px; }
  .exp-badge strong { font-size: 34px; }
  .cert-badge { left: 12px; }
  .stepper li span.label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .scroll-cue { display: none; }
  .sub-field { margin-left: 0; }
  .q-nav .step-count { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
