/* ============================================================
   SourceTX — Enhanced Design System
   Deep Navy + Electric Teal/Violet · Sora + Inter
   Dimensional, crafted, motion-forward
   ============================================================ */

:root {
  --navy-950: #050C17;
  --navy-900: #071526;
  --navy-800: #0A2340;
  --navy-700: #0F3360;
  --ink: #0E1C30;
  --teal: #14C8B5;
  --teal-600: #0FB7A5;
  --teal-bright: #3AE2CF;
  --violet: #7B5CFF;
  --violet-600: #6A48F5;
  --violet-bright: #9C7BFF;
  --grad: linear-gradient(120deg, #14C8B5, #7B5CFF);
  --grad-bright: linear-gradient(120deg, #3AE2CF, #9C7BFF);
  --grad-soft: linear-gradient(120deg, rgba(20, 200, 181, 0.12), rgba(123, 92, 255, 0.10));
  --sky: #E7F9F5;
  --soft: #F4F7FC;
  --line: #DCE4EE;
  --muted: #5B6E84;
  --white: #fff;
  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 22px rgba(10, 27, 49, 0.07);
  --shadow: 0 24px 60px rgba(10, 27, 49, 0.14);
  --shadow-lg: 0 40px 90px rgba(5, 12, 23, 0.35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ring: 0 0 0 4px rgba(20, 200, 181, 0.35);
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.025em; }
h1 { font-size: clamp(44px, 6.8vw, 76px); letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -0.035em; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }

::selection { background: rgba(20, 200, 181, 0.25); color: var(--navy-900); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #EAF0F6; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #14C8B5, #7B5CFF); border-radius: 20px; border: 3px solid #EAF0F6; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #0FB7A5, #6A48F5); }

.container { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: 8px;
}
.skip:focus { left: 10px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  z-index: 120; background: var(--grad); box-shadow: 0 0 14px rgba(20, 200, 181, 0.6);
  transition: width .08s linear;
}

/* Back to top */
.to-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(10, 27, 49, 0.9); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(10, 27, 49, 0.3); opacity: 0; pointer-events: none;
  transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background .25s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--navy-800); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 12px rgba(20, 200, 181, 0.35)); }
.wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 23px;
  letter-spacing: -0.03em; color: #fff; line-height: 1;
}
.wordmark .tx {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 12px; background: var(--grad);
  color: #fff; padding: 15px 28px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s ease;
  box-shadow: 0 10px 28px rgba(20, 200, 181, 0.3);
}
.btn::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left .55s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(20, 200, 181, 0.42); }
.btn:hover::before { left: 130%; }
.btn:active { transform: translateY(-1px) scale(0.985); }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-small { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }
.btn-gradient { background: var(--grad); }
.btn-teal { background: linear-gradient(120deg, #12BFAE, #0EA896); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.65); box-shadow: none; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn-outline::before { display: none; }
.btn-outline-dark { background: transparent; border: 1.5px solid #BFCDDD; color: var(--ink); box-shadow: none; }
.btn-outline-dark:hover { background: var(--soft); box-shadow: none; border-color: var(--teal); }
.btn-outline-dark::before { display: none; }
.btn-white { background: #fff; color: var(--navy-900); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
.btn-white:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.btn-white::before { background: linear-gradient(105deg, transparent, rgba(20, 200, 181, 0.25), transparent); }

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
  font-weight: 800; color: var(--teal-600); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  border-radius: 2px;
}
.eyebrow.dark { color: var(--teal-600); }
.lead { font-size: 19px; color: var(--muted); }
.lead.light, .section-dark .lead, .service-hero .lead, .solution-hero .lead { color: #C8D7E6; }
.light { color: #D3E0EC; }
.light-link { color: #8FDDF4; }

/* Gradient text */
.grad-text {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(5, 14, 26, 0.86);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0.85;
}
.site-header.scrolled {
  background: rgba(5, 14, 26, 0.96);
  box-shadow: 0 12px 34px rgba(2, 8, 16, 0.4);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: height .3s var(--ease); }
.site-header.scrolled .nav-wrap { height: 64px; }
.brand { display: inline-flex; align-items: center; }
.site-header nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.site-header nav a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 9px; color: #C7D3E0;
  transition: color .2s, background .2s;
}
.site-header nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--grad-bright);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-header nav a:not(.btn):hover, .site-header nav a.active { color: #fff; }
.site-header nav a:not(.btn):hover::after, .site-header nav a.active::after { transform: scaleX(1); }
.site-header nav .btn { margin-left: 8px; }
.menu {
  display: none; border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent; border-radius: 10px; padding: 12px; cursor: pointer;
}
.menu-bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }
.menu[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 740px; position: relative; display: flex; align-items: center;
  background: url("../pictures/hero-technology-professional.jpg") center/cover no-repeat;
  color: #fff; overflow: hidden;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(123, 92, 255, 0.22), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(20, 200, 181, 0.2), transparent 60%),
    linear-gradient(100deg, rgba(5, 14, 26, 0.88) 0%, rgba(8, 26, 46, 0.74) 46%, rgba(9, 29, 52, 0.38) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.9), transparent 75%);
  opacity: 0.35;
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 181, 0.4), transparent 65%);
  top: -180px; right: -120px; pointer-events: none; filter: blur(24px);
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.hero-glow.glow-violet { background: radial-gradient(circle, rgba(123, 92, 255, 0.35), transparent 65%); top: auto; right: 8%; bottom: -220px; animation-delay: -4s; }
.hero-content, .page-hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-content > * { animation: riseUp .8s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .grad-text { display: inline-block; }
.hero p { font-size: 20px; max-width: 660px; color: #DCE7F0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.trust-row span {
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px; font-weight: 600; font-size: 13px; color: #E6EEF5;
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.trust-row span:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); border-color: rgba(20, 200, 181, 0.6); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 48px; }
.hero-stats > div { position: relative; padding-left: 16px; }
.hero-stats > div::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad); }
.hero-stats strong { font-family: var(--font-head); font-size: 30px; display: block; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13px; color: #BFCDDA; }

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.55); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--teal-bright); animation: wheel 1.8s ease-in-out infinite; }

/* Page hero */
.page-hero {
  min-height: 430px; position: relative; display: flex; align-items: center;
  background-color: var(--navy-900); background-image: var(--hero, url("../pictures/hero-technology-professional.jpg"));
  background-position: center; background-size: cover; color: #fff; overflow: hidden;
  animation: heroZoomSingle 26s ease-in-out infinite alternate;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 14, 26, 0.9) 0%, rgba(8, 26, 46, 0.76) 52%, rgba(9, 29, 52, 0.42) 100%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.4;
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 19px; max-width: 660px; color: #DCE7F0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--soft); position: relative; }
.section-soft::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(600px 300px at 90% 0%, rgba(20, 200, 181, 0.07), transparent 60%),
                    radial-gradient(600px 300px at 10% 100%, rgba(123, 92, 255, 0.07), transparent 60%);
}
.section-dark { background: var(--navy-900); color: #fff; position: relative; }
.section-dark.proof-band { background: var(--navy-950); }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(700px 400px at 85% -10%, rgba(123, 92, 255, 0.14), transparent 60%),
                    radial-gradient(600px 380px at 8% 110%, rgba(20, 200, 181, 0.12), transparent 60%);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #C8D7E6; }
.section-tint { background: linear-gradient(180deg, #fff, var(--sky) 140%); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); max-width: 640px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before, .section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--violet)); border-radius: 2px; }

/* ---------- Stats band ---------- */
.stats { margin-top: -60px; position: relative; z-index: 5; }
.stat-grid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.stat-grid > div { position: relative; padding: 32px 30px; border-right: 1px solid var(--line); transition: background .25s ease; }
.stat-grid > div:hover { background: var(--sky); }
.stat-grid > div:last-child { border: 0; }
.stat-grid strong { display: block; font-family: var(--font-head); font-size: 25px; color: var(--navy-800); margin-bottom: 6px; }
.stat-grid strong em { font-style: normal; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-grid span { font-size: 14px; color: var(--muted); }

/* ---------- Split / photos ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.service-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.service-split.reverse > :first-child { order: 2; }
.service-split.reverse > :last-child { order: 1; }
.photo { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo.short { height: 400px; }
.photo-frame { position: relative; }
.photo-frame::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); z-index: 1; }
.photo-frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: var(--radius); border: 2px solid transparent;
  background: var(--grad) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6; pointer-events: none;
}

/* ---------- Grids ---------- */
.mini-grid, .cards, .process, .industries, .offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offices { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden;
  padding: 32px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.card::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 181, 0.12), transparent 65%);
  top: -80px; right: -80px; opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(20, 200, 181, 0.35); }
.card:hover::before { transform: scaleY(1); }
.card:hover::after { opacity: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(20, 200, 181, 0.32);
  transition: transform .3s var(--ease);
}
.card:hover .icon { transform: rotate(-6deg) scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; position: relative; z-index: 1; }
.section-dark .card { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.12); }
.section-dark .card p { color: #C8D7E6; }
.section-dark .card:hover { border-color: rgba(20, 200, 181, 0.5); }

/* Offices */
.office { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.office::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.office:hover::before { opacity: 1; }
.office h3 { font-size: 17px; margin-bottom: 8px; }
.office p { color: var(--muted); font-size: 14px; margin: 0; }

/* Process steps */
.process { position: relative; }
.step-card {
  position: relative; padding: 34px 30px 30px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card:hover::after { transform: scaleX(1); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--grad-soft);
  border: 1px solid rgba(20, 200, 181, 0.3); color: var(--teal-600);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 17px;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Checklist / quote ---------- */
.checklist { list-style: none; padding: 0; margin: 26px 0; }
.checklist li { margin: 12px 0; padding-left: 30px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  background-color: var(--teal);
  box-shadow: 0 4px 10px rgba(20, 200, 181, 0.3);
}
.quote {
  position: relative;
  padding: 32px 34px; border-left: 4px solid var(--teal);
  background: var(--sky); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 19px; font-weight: 600; color: var(--navy-800); line-height: 1.5;
}
.quote::after { content: "“"; position: absolute; right: 22px; top: -6px; font-family: var(--font-head); font-size: 90px; color: rgba(20, 200, 181, 0.16); line-height: 1; }

/* ---------- Service pages ---------- */
.service-hero, .solution-hero {
  position: relative; background: linear-gradient(120deg, #071526 0%, #0A2B4A 58%, #0E3A63 100%);
  background-size: 100% 100%, cover; background-position: center, center;
  color: #fff; padding: 96px 0 90px; overflow: hidden;
  animation: heroZoom 26s ease-in-out infinite alternate;
}
.service-hero::before, .solution-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 600px at 88% -10%, rgba(20, 200, 181, 0.24), transparent 60%),
    radial-gradient(600px 520px at 8% 110%, rgba(123, 92, 255, 0.22), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  opacity: 0.9;
}
.service-hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.service-hero h1, .solution-hero h1 { margin-bottom: 20px; }
.service-hero p, .solution-hero p { font-size: 19px; color: #C8D7E6; max-width: 640px; }
.animated-visual {
  width: 100%; border-radius: 22px; box-shadow: 0 30px 80px rgba(2, 12, 22, 0.5);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sticky service sub-nav */
.service-nav-wrap { padding: 16px 0; position: sticky; top: 78px; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.service-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.service-nav a { padding: 9px 16px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 700; color: var(--navy-800); border: 1px solid transparent; transition: all .2s ease; }
.service-nav a:hover { background: var(--sky); color: var(--teal-600); border-color: rgba(20, 200, 181, 0.4); }
.service-nav a.current { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(20, 200, 181, 0.4); }

/* Service family cards */
.service-family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-family {
  position: relative; display: block; min-height: 330px; padding: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-family::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-family::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, 0.1), transparent 65%); top: -120px; right: -120px; opacity: 0; transition: opacity .35s ease; }
.service-family:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-family:hover::after { transform: scaleX(1); }
.service-family:hover::before { opacity: 1; }
.service-number { position: absolute; right: 26px; top: 22px; font-family: var(--font-head); font-size: 46px; font-weight: 800; color: #EAF1F6; transition: color .3s ease; }
.service-family:hover .service-number { color: rgba(123, 92, 255, 0.25); }
.service-symbol { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; font-size: 26px; margin-bottom: 26px; box-shadow: 0 10px 24px rgba(20, 200, 181, 0.32); transition: transform .3s var(--ease); }
.service-family:hover .service-symbol { transform: scale(1.06) rotate(-4deg); }
.service-family h3 { margin-bottom: 12px; }
.service-family p { color: var(--muted); font-size: 15px; position: relative; z-index: 1; }
.text-link { display: inline-block; margin-top: 16px; color: var(--teal-600); font-weight: 700; font-size: 14px; transition: color .2s, transform .2s ease; }
.text-link:hover { color: var(--violet); }
.service-detail { overflow: hidden; }
.offering-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.two-col-list { columns: 2; column-gap: 34px; }
.two-col-list li { break-inside: avoid; }

/* Capability pills */
.capability-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.capability-pills span { padding: 9px 15px; border: 1px solid #C9D7E3; background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy-800); transition: all .2s ease; }
.capability-pills span:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(20, 200, 181, 0.15); }
.section-dark .capability-pills span { background: rgba(255, 255, 255, 0.05); color: #E4EDF4; border-color: rgba(255, 255, 255, 0.2); }

/* Visual stack + floating badges */
.visual-stack { position: relative; }
.floating-badge {
  position: absolute; background: rgba(255, 255, 255, 0.9); padding: 10px 16px; border-radius: 999px;
  box-shadow: var(--shadow); font-weight: 800; font-size: 13px; color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px);
  animation: badgeFloat 4.5s ease-in-out infinite;
}
.badge-one { top: 12%; left: -4%; }
.badge-two { top: 46%; right: -5%; animation-delay: 0.9s; }
.badge-three { bottom: 8%; left: 9%; animation-delay: 1.8s; }

/* Solution cards (service detail "capabilities") */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.solution-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 200, 181, 0.1), transparent 65%); bottom: -60px; right: -60px; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.solution-card > span { font-family: var(--font-head); font-size: 34px; font-weight: 800; background: linear-gradient(120deg, #B9C8D8, #93A8BC); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.solution-card h3 { margin-bottom: 10px; }
.solution-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Quote card */
.quote-card { padding: 40px; background: linear-gradient(135deg, var(--navy-900), #0E3A63); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 44px 44px; }
.quote-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 200, 181, 0.32), transparent 65%); bottom: -90px; right: -70px; }
.quote-card strong { font-family: var(--font-head); font-size: 26px; display: block; margin-bottom: 14px; position: relative; z-index: 1; }
.quote-card p { color: #C8D7E6; font-size: 17px; margin: 0; position: relative; z-index: 1; }

/* Delivery models */
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.delivery-card { position: relative; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); transition: transform .25s ease, background .25s ease, border-color .25s; }
.delivery-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); border-color: rgba(20, 200, 181, 0.5); }
.delivery-card h3 { font-size: 18px; }
.delivery-card p { color: #AFC2D4; font-size: 14.5px; }
.delivery-card strong, .delivery-card span { display: block; }
.delivery-card strong { color: var(--teal); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 18px; }
.delivery-card span { font-size: 14px; color: #D3E0EC; }

/* Managed grid */
.managed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.managed-card { padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, #F0FAF7); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden; }
.managed-card::after { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.managed-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.managed-card:hover::after { transform: scaleX(1); }
.managed-card span { display: block; font-family: var(--font-head); font-size: 38px; font-weight: 800; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.managed-card h3 { font-size: 18px; }
.managed-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.center-link { text-align: center; margin-top: 34px; }

/* Compact grid (ways to engage) */
.compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compact-card { padding: 26px; border-top: 4px solid var(--teal); background: #fff; border-radius: var(--radius-sm); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.compact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.compact-card h3 { font-size: 18px; margin-bottom: 8px; }
.compact-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Industry strip */
.industry-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-strip span { padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; color: var(--navy-800); box-shadow: var(--shadow-sm); transition: all .25s ease; }
.industry-strip span:hover { transform: translateY(-3px); border-color: rgba(20, 200, 181, 0.5); box-shadow: var(--shadow); color: var(--teal-600); }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 30px 0; background: var(--navy-950); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
.marquee-label { text-align: center; color: #6E86A0; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 700; margin-bottom: 20px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-inner { display: flex; align-items: center; gap: 14px; padding-right: 14px; }
.marquee-inner span { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #C8D7E6; font-weight: 600; font-size: 14px; }
.marquee-inner span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Proof band ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proof-item { position: relative; text-align: center; padding: 36px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform .25s ease, border-color .25s, background .25s; }
.proof-item:hover { transform: translateY(-4px); border-color: rgba(20, 200, 181, 0.5); background: rgba(255, 255, 255, 0.06); }
.proof-item strong { font-family: var(--font-head); font-size: 44px; font-weight: 800; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1.05; }
.proof-item span { color: #AFC2D4; font-size: 14px; font-weight: 600; }

/* ---------- Home capabilities ---------- */
.home-capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.home-capability { display: block; padding: 30px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden; }
.home-capability::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.home-capability::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, 0.1), transparent 65%); top: -80px; right: -80px; opacity: 0; transition: opacity .35s ease; }
.home-capability:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.home-capability:hover::before { transform: scaleY(1); }
.home-capability:hover::after { opacity: 1; }
.home-capability span { font-family: var(--font-head); font-weight: 800; color: var(--teal-600); font-size: 13px; letter-spacing: 0.1em; }
.home-capability h3 { margin: 10px 0 8px; font-size: 19px; }
.home-capability p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Jobs ---------- */
.search-panel {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px;
  padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.search-panel input, .search-panel select, .panel input, .panel select, .panel textarea {
  width: 100%; border: 1px solid #C9D7E3; border-radius: 10px; padding: 13px 15px;
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.search-panel input:focus, .search-panel select:focus, .panel input:focus, .panel select:focus, .panel textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 200, 181, 0.18);
}
.jobs { display: grid; gap: 16px; }
.job-card {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.job-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(0); transition: transform .3s var(--ease); }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(20, 200, 181, 0.5); }
.job-card:hover::after { transform: scaleY(1); }
.job-card h3 { margin-bottom: 10px; }
.job-card h3 a:hover { color: var(--teal-600); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12px; font-weight: 700; background: var(--sky); color: #0C8579; padding: 6px 11px; border-radius: 999px; }
.job-actions { display: flex; align-items: center; }
.job-count { font-weight: 700; color: var(--muted); margin-bottom: 18px; }

.job-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
.job-detail article { max-width: 760px; }
.job-detail ul { padding-left: 22px; }
.job-detail li { margin: 8px 0; }
.sidebar { position: sticky; top: 100px; align-self: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.panel label { display: block; font-weight: 700; margin-bottom: 16px; font-size: 14.5px; color: var(--navy-800); }
.panel small { font-weight: 400; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.form-status { min-height: 24px; margin: 12px 0 0; font-weight: 700; }
.form-status.success { color: #15803D; }
.form-status.error { color: #C2410C; }
.notice { background: #FFF6DF; border: 1px solid #F0D488; padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.notice strong { color: #8A5B00; }

/* ---------- Contact / employers ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card strong { display: block; font-family: var(--font-head); margin-bottom: 6px; color: var(--navy-800); }
.contact-card a { color: var(--teal-600); font-weight: 600; }
.contact-card a:hover { color: var(--violet); }
.contact-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta {
  padding: 60px; border-radius: 26px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #071526 0%, #0A2B4A 55%, #123B66 100%);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 200, 181, 0.34), transparent 65%);
  top: -160px; right: -80px; animation: orbDrift 10s ease-in-out infinite alternate;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: #C8D7E6; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #AFC2D4; padding: 74px 0 26px; border-top: 4px solid transparent; border-image: var(--grad) 1; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1fr; gap: 44px; }
.footer-brand .wordmark { font-size: 25px; }
.footer-brand p { color: #93A8BC; font-size: 14.5px; max-width: 320px; margin-top: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer-contact a { color: #D3E0EC; font-size: 14.5px; font-weight: 600; transition: color .2s, transform .2s ease; }
.footer-contact a:hover { color: var(--teal); }
.footer-col strong { display: block; color: #fff; font-family: var(--font-head); font-size: 15px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a, .footer-col span { display: block; margin-bottom: 10px; color: #93A8BC; font-size: 14px; transition: color .2s, transform .2s ease; }
.footer-col a:hover { color: var(--teal); transform: translateX(3px); }
.copyright {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 52px; padding-top: 22px;
  font-size: 13px; color: #6E86A0;
}
.copyright a:hover { color: var(--teal); }

/* ---------- Prose / legal ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { margin-top: 28px; }
.prose a { color: var(--teal-600); text-decoration: underline; }
.prose a:hover { color: var(--violet); }

/* ---------- Misc ---------- */
.empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed #AFC2D4; border-radius: var(--radius); color: var(--muted); }
.hidden { display: none !important; }
.admin { width: min(1180px, calc(100% - 40px)); margin: 40px auto; }
.table-wrap { overflow: auto; }
.admin table { border-collapse: collapse; width: 100%; background: #fff; }
.admin th, .admin td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.admin-card { border: 1px solid var(--line); padding: 18px; margin: 12px 0; border-radius: 10px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.admin .btn { padding: 8px 12px; font-size: 13px; }
.error-404 { text-align: center; padding: 90px 0; }
.error-404 h1 { font-size: clamp(60px, 10vw, 120px); margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 p { color: var(--muted); max-width: 460px; margin: 0 auto 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--reveal-delay, 0s); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes badgeFloat { 50% { transform: translateY(-10px); } }
@keyframes orbDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -20px) scale(1.12); } }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes riseUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes heroZoom {
  from { background-size: 100% 100%, cover; background-position: center, center; }
  to   { background-size: 100% 100%, 118% 118%; background-position: center, 50% 44%; }
}
@keyframes heroZoomSingle {
  from { background-size: cover; background-position: center; }
  to   { background-size: 118% 118%; background-position: center; }
}

/* ---------- Responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floating-badge { animation: none; }
  .btn, .card, .service-family, .solution-card, .job-card, .home-capability, .marquee-track { transition: none; animation: none; }
  .hero-content > * { animation: none; opacity: 1; }
}

@media (max-width: 1000px) {
  .service-family-grid, .solution-grid, .home-capabilities { grid-template-columns: repeat(2, 1fr); }
  .managed-grid, .delivery-grid, .compact-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hero-grid, .service-split { grid-template-columns: 1fr; gap: 42px; }
  .service-split.reverse > :first-child, .service-split.reverse > :last-child { order: initial; }
  .service-nav-wrap { position: static; }
  .offices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    background: rgba(5, 14, 26, 0.98); padding: 18px; border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow); border-radius: 14px; flex-direction: column; align-items: stretch; gap: 4px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a:not(.btn) { padding: 12px 14px; }
  .site-header nav a:not(.btn)::after { left: 14px; right: auto; bottom: 8px; width: 26px; }
  .site-header nav .btn { margin: 8px 0 0; }
  .menu { display: block; }
  .hero { min-height: 660px; }
  .split, .form-layout, .job-detail { grid-template-columns: 1fr; }
  .photo { height: 420px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > div:nth-child(2) { border-right: 0; }
  .stat-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mini-grid, .cards, .process, .industries { grid-template-columns: 1fr 1fr; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  .hero { min-height: 620px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .stat-grid, .mini-grid, .cards, .process, .industries, .offices, .two, .search-panel, .contact-cards { grid-template-columns: 1fr; }
  .stat-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-grid > div:last-child { border-bottom: 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .job-card { grid-template-columns: 1fr; }
  .job-actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; }
  .cta { padding: 36px; }
  .page-hero { min-height: 380px; }
  .photo { height: 320px; }
  .service-hero, .solution-hero { padding: 66px 0; }
  .service-hero h1, .solution-hero h1 { font-size: 38px; }
  .floating-badge { font-size: 12px; padding: 8px 12px; }
  .service-family { min-height: 0; }
  .two-col-list { columns: 1; }
  .proof-item strong { font-size: 36px; }
  .to-top { right: 16px; bottom: 88px; }
}

/* ---- Visitor chat assistant widget ---- */
.chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-fab-wrap { position: relative; width: fit-content; }
.chat-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(10, 27, 49, 0.35); transition: transform .2s ease, box-shadow .2s ease; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(10, 27, 49, 0.42); }
.chat-fab:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab-dismiss { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%; background: #E2574C; color: #fff; font-size: 13px; line-height: 22px; text-align: center; cursor: pointer; z-index: 2; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.chat-fab-dismiss:hover { background: #c93f36; }
.chat-restore { position: fixed; right: 22px; bottom: 22px; z-index: 1000; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer; background: var(--navy-900); color: #fff; font: 600 14px/1 var(--font-body); box-shadow: 0 14px 30px rgba(10, 27, 49, 0.35); transition: transform .2s ease, box-shadow .2s ease; }
.chat-restore:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(10, 27, 49, 0.42); }
.chat-restore svg { width: 18px; height: 18px; color: var(--teal); }
.chat-panel { width: 372px; max-width: calc(100vw - 28px); height: min(600px, calc(100vh - 130px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(10, 27, 49, 0.25); overflow: hidden; animation: chatIn .22s ease; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy-900); color: #fff; }
.chat-head .chat-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: none; }
.chat-head .chat-avatar svg { width: 22px; height: 22px; }
.chat-head-title { flex: 1; min-width: 0; }
.chat-head-title strong { display: block; font-family: var(--font-head); font-size: 15px; }
.chat-head-title span { display: block; font-size: 12px; color: #A9BCD2; }
.chat-close { background: rgba(255, 255, 255, 0.12); border: 0; color: #fff; cursor: pointer; padding: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.chat-close:hover { color: #fff; background: rgba(255, 255, 255, 0.22); }
.chat-close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chat-close svg { width: 18px; height: 18px; }
.chat-fab-open { background: var(--navy-900); }
.chat-fab-open:hover { box-shadow: 0 14px 30px rgba(10, 27, 49, 0.4); }
.chat-fab-open svg { width: 22px; height: 22px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); scroll-behavior: smooth; }
.chat-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--navy-800); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chatBlink 1.1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 2px; }
.chat-chip { font: 700 12.5px var(--font-body); color: var(--teal-600); background: var(--sky); border: 1px solid rgba(20, 200, 181, 0.35); border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: all .18s ease; }
.chat-chip:hover { background: var(--grad); color: #fff; border-color: transparent; }
.chat-chip:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chat-email { margin: 8px 16px 0; }
.chat-email input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font: 400 13px var(--font-body); color: var(--navy-800); background: #fff; }
.chat-email input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 200, 181, 0.15); }
.chat-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font: 400 14px var(--font-body); color: var(--navy-800); }
.chat-input input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 200, 181, 0.15); }
.chat-send { flex: none; width: 42px; height: 42px; border: 0; border-radius: var(--radius-sm); background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot { text-align: center; padding: 8px 12px 10px; background: #fff; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.chat-foot a { color: var(--teal-600); font-weight: 700; }
.chat-root[hidden] { display: none; }
@media (max-width: 520px) {
  .chat-root { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
  .chat-fab-wrap { margin-left: auto; }
  .chat-fab { margin-left: auto; }
  .chat-panel { width: 100%; max-width: none; height: min(620px, calc(100vh - 90px)); }
  .chat-restore { right: 12px; bottom: 12px; }
}
