/* ==========================================================================
   JANAH — site styles
   Visual language modelled on the Inotek "IT Services" composition (rounded navy
   hero, sticky service stack, expanding panels) using JANAH brand colours
   sampled from final_logo.png: blue #0352A7, orange #FE7E1D.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy-950: #030C33;
  --navy-900: #061453;
  --navy-800: #0B1F6E;
  --brand: #0352A7;          /* logo blue */
  --brand-bright: #1667E0;   /* interactive blue on dark surfaces */
  --brand-glow: #2D7BFF;
  --brand-soft: #8DB8FF;     /* text accent on navy */
  --brand-50: #EAF2FD;
  --brand-100: #D3E3FB;
  --accent: #FE7E1D;         /* logo orange (decorative / on dark) */
  --accent-text: #B54C00;    /* orange that passes 4.5:1 on white */
  --accent-hover: #E05A00;   /* hover orange for button fills, links and menu */

  --bg: #F4F7FF;
  --bg-2: #E8EDFA;
  --surface: #FFFFFF;
  --line: #DCE3F4;
  --ink: #061453;
  --body: #4A5275;
  --muted: #5F6788;
  --on-dark: #FFFFFF;
  --on-dark-2: #C3CCEB;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --inset: clamp(8px, 1.4vw, 20px);
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1320px;
  --space: clamp(72px, 8.5vw, 120px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow-sm: 0 8px 24px -12px rgba(6, 20, 83, .18);
  --shadow-lg: 0 30px 70px -30px rgba(6, 20, 83, .35);
  --focus: var(--brand);
}
@media (max-width: 1199px) { :root { --header-h: 74px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font: 400 1rem/1.7 var(--font-body); color: var(--body); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.2vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 1rem + .45vw, 1.4rem); }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: .2em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
address { font-style: normal; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space); }

/* dark surfaces switch the focus ring to white */
.hero, .services-stack, .impact__card, .partners-band, .site-footer, .page-banner, .cta-strip, .xp, .side-cta, .detail-cta, .choose__card, .marquee { --focus: #fff; }

/* ---------- 3. Shared components ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 16px 3px 6px; margin-bottom: 18px;
  border: 1px solid var(--brand); border-radius: 999px; background: rgba(255, 255, 255, .55);
  color: var(--brand); font: 600 .94rem/1.6 var(--font-head);
}
.eyebrow .icon { width: 20px; height: 20px; }
.eyebrow--dark { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; --icon-contrast: var(--navy-900); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 8px 8px 8px 28px; border: 1px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:not(:has(.btn__icon)) { padding-right: 28px; }
.btn__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); transition: transform .45s var(--ease), background-color .35s; }
.btn__icon .icon { width: 20px; height: 20px; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--bright { background: var(--brand-bright); color: #fff; }
.btn--white { background: #fff; color: var(--navy-900); }
.btn--white .btn__icon { background: var(--brand); color: #fff; }
/* All filled buttons turn orange on hover/focus. */
.btn--primary:hover, .btn--bright:hover, .btn--white:hover,
.btn--primary:focus-visible, .btn--bright:focus-visible, .btn--white:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--primary:hover .btn__icon, .btn--bright:hover .btn__icon, .btn--white:hover .btn__icon,
.btn--primary:focus-visible .btn__icon, .btn--bright:focus-visible .btn__icon, .btn--white:focus-visible .btn__icon { background: #fff; color: var(--accent-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; padding-inline: 28px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.btn[aria-busy="true"] .btn__icon .icon { opacity: 0; }
.btn[aria-busy="true"] .btn__icon::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .btn__icon { position: relative; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1.4 var(--font-head); color: var(--brand); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon, .svc-card:hover .link-arrow .icon { transform: translate(3px, -3px); }
.link-arrow--light { color: #fff; }
.link-arrow:hover { text-decoration: underline; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tag-list li { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 .85rem/1.5 var(--font-head); }
.tag-list--dark li { background: transparent; border-color: rgba(255, 255, 255, .22); color: #E3E8F8; }

.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin: 0; }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }

.pill-tag { display: inline-block; padding: 2px 14px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); font: 600 .78rem/1.8 var(--font-head); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- 4. Header + navigation ---------- */
/* One header style on every page: transparent over the navy hero/banner with a glass nav
   pill and glass buttons; it becomes a fixed navy bar once the page is scrolled. */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 60; color: #fff; isolation: isolate; --focus: #fff; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background-color .3s, box-shadow .3s; }
.site-header:not(.is-stuck) .site-header__inner { padding-top: 14px; }
.site-header.is-stuck { position: fixed; animation: header-in .5s var(--ease); }
.site-header.is-stuck::before { background: rgba(6, 17, 83, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px -14px rgba(2, 8, 40, .6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: block; flex: none; padding: 8px 14px; border-radius: 14px; background: #fff; transition: padding .3s; }
.site-header.is-stuck .brand { padding: 6px 12px; }
.brand img { width: clamp(150px, 14vw, 190px); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta { min-height: 50px; padding-left: 22px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.header-cta .btn__icon { width: 36px; height: 36px; background: rgba(255, 255, 255, .16); color: #fff; }
.header-cta:hover, .header-cta:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.header-cta:hover .btn__icon, .header-cta:focus-visible .btn__icon { background: #fff; color: var(--accent-hover); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; place-items: center; }
.menu-btn .icon { width: 22px; height: 22px; }

.header-call { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-bright); color: #fff; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.header-call:hover { background: #fff; color: var(--brand); transform: rotate(-12deg); }
.header-call .icon { width: 22px; height: 22px; }
@media (max-width: 767px) { .header-call { display: none; } }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

.nav__head, .nav__foot { display: none; }
.nav__list { list-style: none; }
.nav__link { display: block; font: 700 1rem/1.3 var(--font-head); color: inherit; text-decoration: none; transition: color .25s; }
.sub-toggle { display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu { list-style: none; }
.submenu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font: 600 .95rem/1.35 var(--font-head); text-decoration: none; transition: background-color .25s, color .25s; }
.submenu a .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); transition: background-color .25s, color .25s; }
.submenu a.is-active { background: var(--bg); color: var(--brand); }
/* Hover/focus in orange: light orange tint, deep orange text, logo-orange icon tile. */
.submenu a:hover, .submenu a:focus-visible { background: #FFF1E6; color: #C84A00; }
.submenu a:hover .icon, .submenu a:focus-visible .icon { background: var(--accent); color: #fff; }
.submenu__all a { justify-content: space-between; color: var(--brand); margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; }
.submenu__all a:hover, .submenu__all a:focus-visible { background: #FFF1E6; color: #C84A00; }
.submenu__all a .icon, .submenu__all a:hover .icon, .submenu__all a:focus-visible .icon { width: 18px; height: 18px; padding: 0; background: none; color: inherit; }

@media (min-width: 1200px) {
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; display: flex; align-items: center; }
  .nav__list { padding: 0 24px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .nav__link { padding: 17px 13px; }
  .nav__item.is-active > .nav__link { color: #fff; text-decoration: underline 2px var(--accent); text-underline-offset: 8px; }
  /* Menu links (and the Services chevron) turn logo orange on hover/focus. */
  .nav__link:hover, .nav__link:focus-visible, .nav__item.is-active > .nav__link:hover { color: var(--accent); text-decoration: underline 2px var(--accent); text-underline-offset: 8px; }
  .has-sub:hover > .sub-toggle { color: var(--accent); }
  .submenu { --focus: var(--brand); }
  .sub-toggle { width: 24px; height: 24px; margin-left: -10px; margin-right: 4px; border-radius: 6px; }
  .submenu {
    position: absolute; top: calc(100% - 8px); left: -12px; min-width: 310px; padding: 10px;
    background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub.is-closed .submenu { opacity: 0; visibility: hidden; }
  .nav-backdrop { display: none !important; }
}
@media (max-width: 1199px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(400px, 90vw);
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: 18px 24px 28px; background: #fff; color: var(--ink); box-shadow: -20px 0 60px rgba(2, 11, 46, .3); --focus: var(--brand);
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
  }
  body.nav-open .nav { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  body.nav-open { overflow: hidden; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav__head img { width: 160px; }
  .nav__close { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 15px 0; font-size: 1.08rem; }
  .nav__item.is-active > .nav__link { color: var(--brand); }
  .nav__link:hover, .nav__link:focus-visible { color: #C84A00; }
  .sub-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; }
  .submenu { display: none; flex-basis: 100%; padding: 0 0 14px; }
  .has-sub.is-open .submenu { display: block; }
  .nav__foot { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; }
  .nav__contact { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav__contact .icon { color: var(--brand); }
  .nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(2, 11, 46, .55); opacity: 0; transition: opacity .35s; }
  body.nav-open .nav-backdrop { opacity: 1; }
}
@media (max-width: 767px) { .header-cta { display: none; } }

/* ---------- 5. Hero (home) ---------- */
/* Full-bleed navy hero with light rays, centred intro and a "deck" of content cards
   (composition modelled on Inotek home-9; all artwork is CSS/SVG, no template images). */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #061153;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(64px, 8vw, 112px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 75% at 50% 0%, #102383 0%, #071559 48%, #040E43 100%); }
.hero__rays {
  position: absolute; left: 50%; top: -8%; width: 170%; height: 100%; translate: -50% 0; transform-origin: 50% 0;
  background: repeating-conic-gradient(from 180deg at 50% 0%,
    rgba(150, 165, 255, 0) 0deg 2deg, rgba(150, 165, 255, .2) 2.8deg, rgba(150, 165, 255, 0) 3.6deg 5.6deg,
    rgba(120, 150, 255, .12) 6.5deg, rgba(150, 165, 255, 0) 7.4deg 9.5deg);
  -webkit-mask-image: radial-gradient(48% 95% at 50% 0%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 82%);
  mask-image: radial-gradient(48% 95% at 50% 0%, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 82%);
  filter: blur(4px); animation: rays 10s ease-in-out infinite alternate;
}
@keyframes rays { from { opacity: .7; rotate: -1.5deg; } to { opacity: 1; rotate: 1.5deg; } }
.hero__glow { position: absolute; left: 50%; top: -22%; width: min(980px, 95%); height: 80%; translate: -50% 0; background: radial-gradient(closest-side, rgba(118, 108, 255, .55), rgba(45, 123, 255, .22) 50%, transparent); filter: blur(30px); }
.hero__glow::after { content: ""; position: absolute; left: 50%; top: 10%; width: 150px; height: 95%; translate: -50% 0; background: linear-gradient(180deg, rgba(175, 165, 255, .6), rgba(120, 140, 255, 0) 85%); filter: blur(26px); }
.hero__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(3, 9, 44, .55)); }
.hero__inner { position: relative; }

.hero__intro { max-width: 920px; margin-inline: auto; text-align: center; animation: fade-up 1s var(--ease) both; }
.hero__kicker { margin: 0 0 18px; font: 600 clamp(.78rem, .72rem + .3vw, 1rem)/1.5 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.hero__title { margin: 0; color: #fff; font: 700 clamp(2.15rem, 1.15rem + 3.4vw, 3.75rem)/1.2 var(--font-head); letter-spacing: -.02em; text-wrap: balance; }
.hero__title-accent { display: block; width: fit-content; margin-inline: auto; background: linear-gradient(90deg, #FFFFFF 0%, #B9D3FF 48%, #FFB57E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .hero__title-accent { background: none; color: CanvasText; } }
.hero__lead { max-width: 620px; margin: 22px auto 0; color: rgba(255, 255, 255, .74); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 22px; margin-top: 34px; }
.hero__talk { display: inline-flex; align-items: center; gap: 14px; color: #fff; font: 600 1rem/1.2 var(--font-head); text-decoration: none; transition: color .3s; }
.hero__talk-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); transition: background-color .3s, color .3s, border-color .3s; }
.hero__talk-icon .icon { width: 22px; height: 22px; }
/* Orange on hover/focus, like the other header and hero links. */
.hero__talk:hover, .hero__talk:focus-visible { color: var(--accent); }
.hero__talk:hover .hero__talk-icon, .hero__talk:focus-visible .hero__talk-icon { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.hero__talk:hover > span:last-child, .hero__talk:focus-visible > span:last-child { text-decoration: underline 2px var(--accent); text-underline-offset: .25em; }

.hero__float { position: absolute; z-index: 1; animation: float 6s ease-in-out infinite alternate; }
.hero__float--left { left: 2%; top: -6px; }
.hero__float--right { right: 3%; top: 230px; animation-delay: -3s; }
.hero__float .orb { width: clamp(84px, 7.5vw, 116px); border-width: 4px; }
.hero__float .orb--pixels { box-shadow: 0 24px 50px -14px rgba(254, 126, 29, .6); rotate: -12deg; }
.hero__float .orb--ring { box-shadow: 0 24px 50px -14px rgba(45, 123, 255, .7); }
@keyframes float { to { translate: 0 -18px; } }
@media (max-width: 1199px) { .hero__float { display: none; } }
.orb { position: relative; display: grid; place-items: center; width: clamp(50px, 6.2vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--navy-900); }
.orb--pixels { background: var(--accent); grid-template-columns: repeat(2, 22%); gap: 7%; place-items: stretch; place-content: center; }
.orb--pixels i { display: block; aspect-ratio: 1; border-radius: 22%; background: #fff; }
.orb--pixels i:nth-child(2), .orb--pixels i:nth-child(3) { background: var(--navy-900); }
.orb--ring { background: var(--brand-bright); }
.orb--ring svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.orb--ring text { fill: #fff; font: 700 10.5px var(--font-head); letter-spacing: 1.6px; }
.orb--ring .icon { width: 34%; height: 34%; color: #fff; }

/* the card deck under the intro */
.hero__deck { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 24px; margin-top: clamp(48px, 7vw, 88px); animation: fade-up 1.1s .2s var(--ease) both; }
.deck-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.deck-card--photo { display: flex; min-height: 420px; margin: 0; }
.deck-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.deck-card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 17, 83, .05) 25%, rgba(6, 17, 83, .94) 100%); }
.deck-card--photo figcaption { position: relative; z-index: 1; display: grid; gap: 2px; margin-top: auto; padding: 24px; color: var(--on-dark-2); }
.deck-card--photo strong { font: 800 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/1.15 var(--font-head); color: #fff; letter-spacing: -.02em; }
.deck-card__badge { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; background: var(--accent); color: #fff; }
.deck-card__badge .icon { width: 24px; height: 24px; }

.deck-card--panel { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: linear-gradient(160deg, rgba(28, 52, 170, .62), rgba(10, 22, 95, .55)); }
.deck-panel__bar { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.deck-panel__dots { display: flex; gap: 6px; }
.deck-panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.deck-panel__dots i:nth-child(2) { background: #FFC24B; }
.deck-panel__dots i:nth-child(3) { background: var(--brand-glow); }
.deck-panel__title { margin: 0; font: 700 1.05rem/1.3 var(--font-head); color: #fff; letter-spacing: 0; }
.deck-panel__chip { margin-left: auto; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); font: 600 .8rem/1.4 var(--font-head); color: var(--on-dark-2); white-space: nowrap; }
.deck-panel__grid { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.deck-panel__grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }  /* odd service count: last tile spans the row */
.deck-svc { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); color: #fff; font: 600 .95rem/1.3 var(--font-head); text-decoration: none; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.deck-svc:hover { background: rgba(45, 123, 255, .26); border-color: rgba(141, 184, 255, .5); transform: translateY(-2px); }
.deck-svc__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-bright), #0B2BA8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.deck-svc__icon .icon { width: 22px; height: 22px; }
.deck-svc__arrow { width: 18px; height: 18px; margin-left: auto; color: var(--brand-soft); transition: transform .35s var(--ease); }
.deck-svc:hover .deck-svc__arrow { transform: translate(2px, -2px); }
.deck-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.deck-panel__foot p { margin: 0; color: var(--on-dark-2); font-size: .92rem; }

.deck-col { display: grid; grid-template-rows: auto 1fr; gap: 24px; }
.deck-card--ring { padding: 24px; text-align: center; }
.deck-ring { position: relative; width: 148px; margin: 0 auto 14px; }
.deck-ring svg { display: block; width: 100%; transform: rotate(-90deg); }
.deck-ring__arc { stroke-dasharray: 315; animation: ring-draw 1.6s .4s var(--ease) both; }
@keyframes ring-draw { from { stroke-dashoffset: 315; } to { stroke-dashoffset: 0; } }
.deck-ring__value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font: 800 2.5rem/1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.deck-ring__label { margin: 0; color: var(--on-dark-2); font-size: .95rem; line-height: 1.5; }
.deck-card--partners { padding: 22px 24px; }
.deck-card__label { margin: 0 0 12px; font: 700 .78rem/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-soft); }
.deck-partners { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.deck-partners span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); font: 600 .85rem/1.3 var(--font-head); color: #fff; }

@media (max-width: 1100px) {
  .hero__deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-card--panel { grid-column: 1 / -1; order: -1; }
  .deck-card--photo { min-height: 380px; }
}
@media (max-width: 640px) {
  .hero__deck { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .deck-col { gap: 16px; }
  .deck-panel__grid { grid-template-columns: minmax(0, 1fr); }
  .deck-card--photo { min-height: 320px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__kicker { letter-spacing: .1em; font-size: .72rem; }
  .hero__title { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.4rem); }
  .deck-panel__dots { display: none; }
  .deck-panel__title { white-space: nowrap; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. About (home) ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 346px) minmax(0, 1fr) minmax(0, 274px); grid-template-areas: "left main right"; align-items: start; }
.about__left { grid-area: left; }
.about__main { grid-area: main; padding-inline: clamp(28px, 4vw, 56px); margin-inline: clamp(20px, 2.5vw, 36px); border-inline: 1px solid var(--line); }
.about__right { grid-area: right; display: grid; justify-items: center; gap: 28px; }
.about__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 346 / 360; object-fit: cover; }
.about__exp { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.about__scribble { width: 34px; color: var(--brand); }
.about__exp strong { font: 800 clamp(3.4rem, 2.5rem + 3vw, 5.4rem)/1 var(--font-head); color: var(--brand); letter-spacing: -.04em; }
.about__exp sup { font-size: .45em; vertical-align: super; }
.about__exp > span { font: 700 .92rem/1.35 var(--font-head); color: var(--ink); text-transform: uppercase; }
.about__main h2 { max-width: 560px; }
.pillars { list-style: none; margin: 28px 0 34px; }
.pillars li { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font: 600 1.06rem/1.4 var(--font-head); color: var(--ink); }
.pillars li::before, .pillars li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; }
.pillars li::before { right: 0; background: var(--line); }
.pillars li::after { width: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-glow)); transform-origin: left; transform: scaleX(1); transition: transform 1.4s var(--ease); }
.reveal-ready [data-reveal]:not(.is-visible) .pillars li::after { transform: scaleX(0); }
.pillars li i { width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.spin-badge { position: relative; width: 160px; height: 160px; }
.spin-badge > svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.spin-badge circle { fill: var(--brand); }
.spin-badge text { fill: #fff; font: 700 11.5px var(--font-head); letter-spacing: 2.2px; }
.spin-badge__core { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); }
.spin-badge__core .icon { width: 30px; height: 30px; }
.person-card { position: relative; display: block; width: 100%; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; }
.person-card img { width: 100%; aspect-ratio: 274 / 330; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.person-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(6, 20, 83, .92)); }
.person-card:hover img { transform: scale(1.05); }
.person-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 20px; text-align: center; display: grid; gap: 2px; padding-inline: 12px; }
.person-card__body strong { font: 700 1.05rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.person-card__body small { color: var(--on-dark-2); font-size: .85rem; }
@media (max-width: 1099px) {
  .about__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "left right"; gap: 40px 28px; }
  .about__main { border: 0; padding: 0; margin: 0; }
  .about__right { grid-template-columns: auto 1fr; align-items: end; }
  .spin-badge { width: 120px; height: 120px; }
}
@media (max-width: 640px) {
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "main" "left" "right"; }
  .about__right { grid-template-columns: 1fr; justify-items: start; }
  .person-card { max-width: 320px; }
}

/* ---------- 7. Marquee ---------- */
.marquee { margin: 0 var(--inset); overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 100%); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-block: clamp(18px, 2.4vw, 28px); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); list-style: none; white-space: nowrap; font: 600 clamp(1.4rem, 1rem + 1.8vw, 2.5rem)/1.1 var(--font-head); letter-spacing: -.01em; }
.marquee__sep { display: grid; place-items: center; }
.marquee__sep .icon { width: clamp(22px, 2.4vw, 34px); height: clamp(22px, 2.4vw, 34px); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Service stack (home) ---------- */
.services-stack { margin: 0 var(--inset); padding-block: var(--space); background: var(--navy-900); color: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.services-stack h2 { color: #fff; }
.services-stack .section-head { padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.svc-row { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(220px, 312px); gap: 32px; padding: 40px 0; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 992px) and (min-height: 700px) {
  .svc-row { position: sticky; top: calc(var(--header-h) + 12px); box-shadow: 0 -24px 40px -24px rgba(0, 0, 0, .55); }
}
/* Service icon bullet in a logo-orange circle. */
.svc-row__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 28px -8px rgba(254, 126, 29, .6), inset 0 0 0 6px rgba(255, 255, 255, .14); transition: transform .45s var(--ease), background-color .35s; }
.svc-row__icon .icon { width: 34px; height: 34px; }
.svc-row:hover .svc-row__icon { transform: rotate(-10deg) scale(1.06); background: var(--accent-hover); }
.svc-row__title { margin: 0 0 18px; font: 700 clamp(1.8rem, 1rem + 3vw, 3.5rem)/1.04 var(--font-head); letter-spacing: -.025em; text-transform: uppercase; }
.svc-row__title a { color: #fff; text-decoration: none; transition: color .35s; }
.svc-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-row:hover .svc-row__title a { color: var(--brand-soft); }
.svc-row:focus-within { outline: 3px solid #fff; outline-offset: -3px; }
.svc-row__title a:focus-visible { outline: none; }
.svc-row p { max-width: 480px; color: var(--on-dark-2); margin-bottom: 26px; }
.svc-row__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font: 700 .95rem/1 var(--font-head); color: var(--brand-soft); }
.svc-row__more .icon { transition: transform .35s var(--ease); }
.svc-row:hover .svc-row__more .icon { transform: translate(4px, -4px); }
.svc-row__media { border-radius: var(--radius-md); overflow: hidden; align-self: start; }
.svc-row__media img { width: 100%; aspect-ratio: 312 / 350; object-fit: cover; transition: transform .7s var(--ease); }
.svc-row:hover .svc-row__media img { transform: scale(1.05) rotate(-2deg); }
@media (max-width: 991px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) 200px; gap: 12px 24px; }
  .svc-row__icon { grid-column: 1 / -1; width: 58px; height: 58px; }
  .svc-row__icon .icon { width: 28px; height: 28px; }
}
@media (max-width: 600px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__media { order: -1; }
  .svc-row__media img { aspect-ratio: 16 / 10; }
}

/* ---------- 9. Why choose (home) ---------- */
.choose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: var(--space) var(--inset) 0; background: var(--bg-2); border-radius: var(--radius-lg); overflow: hidden; }
.choose__media { position: relative; min-height: 600px; margin: 0; }
.choose__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.choose__card { position: absolute; right: 0; bottom: 0; width: min(300px, 72%); display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 24px; color: #fff; border-radius: var(--radius-lg) 0 0 0; background: linear-gradient(140deg, var(--brand-bright), var(--brand) 60%, var(--navy-900)); box-shadow: 0 0 0 10px var(--bg-2); }
.choose__card-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); margin-bottom: 8px; }
.choose__card-icon .icon { width: 28px; height: 28px; }
.choose__card strong { font: 700 1.25rem/1.3 var(--font-head); }
.choose__card span { color: var(--on-dark-2); font-size: .92rem; }
.choose__content { padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); align-self: center; }
.choose__content h2 { max-width: 560px; }
.tabs { margin-top: 28px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 28px; }
.tabs__tab { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 1px solid transparent; border-radius: 999px; background: #fff; color: var(--ink); font: 600 .95rem/1.2 var(--font-head); cursor: pointer; transition: background-color .3s, color .3s; }
.tabs__tab .icon { color: var(--brand); width: 20px; height: 20px; }
.tabs__tab[aria-selected="true"] { background: var(--brand); color: #fff; --icon-contrast: var(--brand); }
.tabs__tab[aria-selected="true"] .icon { color: #fff; }
.tabs__tab:not([aria-selected="true"]):hover { border-color: var(--brand); }
.tabs__panel { padding: 26px 4px 0; }
.tabs__panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.tabs__panel h3 .icon { color: var(--accent-text); }
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; margin-top: 30px; padding-top: 28px; border-top: 1px solid #cfd8ee; }
.feature-pair li { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.feature-pair strong { display: block; font: 700 1.05rem/1.3 var(--font-head); color: var(--ink); }
.feature-pair__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.feature-pair__icon .icon { width: 24px; height: 24px; }
@media (max-width: 991px) {
  .choose { grid-template-columns: 1fr; }
  .choose__media { min-height: 380px; }
}
@media (max-width: 560px) { .feature-pair { grid-template-columns: 1fr; } }

/* ---------- 10. Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.process__item { position: relative; text-align: center; padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 36px); border-right: 1px solid var(--line); }
.process__item:last-child { border-right: 0; }
.process__item:nth-child(2) { background: var(--bg-2); }
.blob { width: min(220px, 72%); margin: 0 auto 26px; transition: transform .8s var(--ease); }
.process__item:hover .blob { transform: rotate(10deg) scale(1.03); }
.process__item p { max-width: 320px; margin-inline: auto; }
@media (max-width: 860px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__item { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
  .process__item:last-child { border-bottom: 0; }
}

/* ---------- 11. Impact + expertise panels ---------- */
.band-light { margin: 0 var(--inset); padding: clamp(24px, 3vw, 40px) 0 var(--space); background: var(--bg-2); border-radius: var(--radius-lg); }
.impact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: var(--space); }
.impact__card { position: relative; overflow: hidden; min-height: 330px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); color: #fff; }
.impact__card--navy { background: radial-gradient(60% 70% at 85% 0%, rgba(45, 123, 255, .5), transparent 70%), linear-gradient(140deg, #0B2BA8 0%, var(--navy-900) 60%); }
.impact__card--navy h2 { color: #fff; max-width: 460px; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.3rem); }
.impact__card--blue { background: radial-gradient(50% 60% at 100% 100%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(125deg, #0E46C4 0%, var(--brand-bright) 100%); }
.call-block { display: inline-flex; align-items: center; gap: 16px; margin-top: 36px; color: #fff; text-decoration: none; }
.call-block__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-bright); box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); }
.call-block small { display: block; color: var(--on-dark-2); font-size: .88rem; }
.call-block strong { font: 700 1.3rem/1.3 var(--font-head); }
.call-block:hover strong { text-decoration: underline; }
.impact__stats { list-style: none; }
.impact__stats li { display: grid; grid-template-columns: 52px auto 1fr; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.impact__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); }
.impact__stats strong { font: 800 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--font-head); letter-spacing: -.03em; }
.impact__stats sup { font-size: .5em; }
.impact__stats li > span:last-child { font: 600 .98rem/1.4 var(--font-head); }
.impact__note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; font: 600 1.02rem/1.5 var(--font-head); }
.impact__note .icon { color: #FFD3B0; margin-top: 2px; }
@media (max-width: 900px) { .impact { grid-template-columns: 1fr; } }

.xp-panels { list-style: none; display: grid; gap: 16px; }
.xp { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; min-height: 360px; }
.xp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.xp::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6, 20, 83, .1) 0%, rgba(6, 20, 83, .55) 45%, rgba(6, 20, 83, .94) 100%); }
.xp__tab { display: none; }
.xp__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px); }
.xp__content h3 { color: #fff; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); margin-bottom: 10px; }
.xp__content p { color: #DCE3F5; max-width: 520px; }
.xp__content .tag-list { margin-bottom: 20px; }
@media (min-width: 992px) {
  .xp-panels.is-enhanced { display: flex; gap: 14px; height: 540px; }
  .is-enhanced .xp { flex: 0 0 92px; min-width: 0; min-height: 0; transition: flex-grow .7s var(--ease); }
  .is-enhanced .xp.is-active { flex-grow: 1; }
  .is-enhanced .xp:not(.is-active) .xp__img { transform: scale(1.15); }
  .is-enhanced .xp__tab { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0 30px; border: 0; background: none; color: #fff; cursor: pointer; transition: opacity .3s; }
  .is-enhanced .xp.is-active .xp__tab { inset: 22px 22px auto auto; width: 52px; height: 52px; padding: 0; }
  .is-enhanced .xp.is-active .xp__label { display: none; }
  .xp__arrow { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, transform .4s var(--ease); }
  .xp__tab:hover .xp__arrow { background: var(--brand-bright); transform: rotate(45deg); }
  .xp__label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font: 700 1.5rem/1 var(--font-head); letter-spacing: -.01em; }
  .is-enhanced .xp__content { opacity: 0; visibility: hidden; transform: translateY(24px); min-width: 460px; transition: opacity .4s, transform .5s var(--ease), visibility 0s .4s; }
  .is-enhanced .xp.is-active .xp__content { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .3s, transform .6s .3s var(--ease); }
}
@media (min-width: 992px) and (max-width: 1199px) { .is-enhanced .xp { flex-basis: 74px; } .xp__label { font-size: 1.2rem; } .is-enhanced .xp__content { min-width: 380px; } }

/* ---------- 12. Clients ---------- */
.clients-home__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.clients-home__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.client-logo { margin: 0; display: grid; place-items: center; gap: 14px; padding: 22px; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.client-logo img { max-height: 96px; width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; transition: transform .5s var(--ease); }
.client-logo:hover { border-color: var(--brand-100); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.client-logo:hover img { transform: scale(1.04); }
.client-logo figcaption { font: 600 .92rem/1.35 var(--font-head); color: var(--ink); text-align: center; }
@media (max-width: 900px) { .clients-home__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .clients-home__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 13. Contact block (home) + partners band ---------- */
.contact-home { position: relative; isolation: isolate; margin: 0 var(--inset); padding-top: 8px; }
.contact-home::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 48%; bottom: 0; background: var(--navy-900); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-card__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__body { padding: clamp(28px, 4vw, 56px); }
.contact-card__body h2 { margin-bottom: 10px; }
@media (max-width: 991px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__media img { height: 260px; }
}
.partners-band { margin: 0 var(--inset); padding: clamp(56px, 7vw, 96px) 0; background: var(--navy-900); color: #fff; border-radius: 0 0 var(--radius-lg) var(--radius-lg); text-align: center; }
.partners-band__title { color: #fff; font-size: clamp(1.1rem, .9rem + .8vw, 1.45rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 36px; }
.partners-band__title span { color: var(--brand-soft); }
.partners-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; list-style: none; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); overflow: hidden; }
.partners-list li { display: grid; place-items: center; padding: clamp(26px, 3vw, 40px) 16px; background: var(--navy-900); }
.partners-list span { font: 800 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1 var(--font-head); letter-spacing: -.02em; color: #fff; opacity: .88; transition: color .3s, opacity .3s; }
.partners-list li:hover span { color: var(--brand-soft); opacity: 1; }
.partners-band__more { margin: 28px 0 0; }

/* ---------- 14. Enquiry form ---------- */
.enquiry-form { margin-top: 28px; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font: 600 .9rem/1.4 var(--font-head); color: var(--ink); }
.req { color: var(--accent-text); }
.opt { font-weight: 500; color: var(--muted); }
.field__control { position: relative; }
.field__control .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--brand); pointer-events: none; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 13px 20px 13px 48px; border: 1px solid transparent; border-radius: 999px;
  background: #EFF3FD; color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 150px; padding: 16px 20px; border-radius: var(--radius-lg); resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23061453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #7C84A3; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: var(--brand-100); }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(3, 82, 167, .16); }
.field [aria-invalid="true"] { border-color: #C42B1C !important; background: #FFF6F5 !important; }
.field__error { margin: 6px 0 0 18px; color: #B42318; font-size: .86rem; font-weight: 500; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.field--check label { margin: 0; font: 400 .92rem/1.55 var(--font-body); color: var(--body); cursor: pointer; }
.field--check .field__error { grid-column: 2; margin-left: 0; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
.form-status { display: block; margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: .95rem; line-height: 1.5; }
.form-status:focus { outline: none; }
.form-status.is-pending { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.form-status.is-success { background: #ECFDF3; color: #05603A; border-color: #ABEFC6; }
.form-status.is-error { background: #FEF3F2; color: #B42318; border-color: #FECDCA; }
.form-status.is-notice { background: #FFFAEB; color: #93370D; border-color: #FEDF89; }
.form-status code { font-size: .9em; background: rgba(147, 55, 13, .08); padding: 1px 6px; border-radius: 4px; }
.form-status a { color: inherit; font-weight: 700; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; justify-content: space-between; } }

/* ---------- 15. FAQ ---------- */
.faq-sec { margin: var(--space) var(--inset) 0; padding-block: var(--space); background: var(--bg-2); border-radius: var(--radius-lg); }
.faq-sec__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.faq { margin-top: 30px; }
.faq__item { margin-bottom: 14px; background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid transparent; transition: border-color .3s; }
.faq__item:hover { border-color: var(--brand-100); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font: 600 1.02rem/1.45 var(--font-head); color: var(--ink); transition: background-color .3s, color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { background: var(--brand); color: #fff; }
/* Arrow bullet before each question: orange, turns to point down when the answer is open. */
.faq__q { display: flex; align-items: flex-start; gap: 12px; }
.faq__bullet { flex: none; width: 18px; height: 18px; margin-top: .2em; color: var(--accent); transition: transform .35s var(--ease), color .3s; }
.faq__item[open] .faq__bullet { transform: rotate(90deg); color: #FFD3B0; }
.faq__icon { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--brand-50); color: var(--brand); transition: transform .35s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: #fff; }
.faq__answer { padding: 18px 22px 20px; }
.faq__answer p { margin: 0; }
.faq-sec__media { position: relative; padding: 0 0 36px 0; }
.faq-sec__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 560 / 646; object-fit: cover; }
.dot-grid { position: absolute; top: 40px; right: -14px; width: 70px; height: 260px; background-image: radial-gradient(var(--brand) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .6; }
.faq-sec__stat { position: absolute; right: 0; bottom: 0; width: min(260px, 62%); padding: 28px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(140deg, var(--brand-bright), var(--brand)); box-shadow: 0 0 0 10px var(--bg-2); }
.faq-sec__stat strong { display: block; font: 800 3.4rem/1 var(--font-head); letter-spacing: -.03em; }
.faq-sec__stat sup { font-size: .45em; }
.faq-sec__stat > span { display: block; font: 600 1rem/1.4 var(--font-head); }
@media (max-width: 900px) { .faq-sec__grid { grid-template-columns: 1fr; } .faq-sec__media { max-width: 520px; } }

/* ---------- 16. Leadership ---------- */
.leaders-home__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 992px) { .leaders-home__intro { position: sticky; top: calc(var(--header-h) + 30px); } }
.leader-row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 18px; padding: 14px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.leader-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-row img { width: 150px; height: 150px; object-fit: cover; object-position: top; border-radius: 14px; }
.leader-row h3 { margin: 10px 0 4px; }
.leader-row h3 a { color: var(--ink); text-decoration: none; }
.leader-row p { margin: 0; font-size: .92rem; color: var(--muted); }
.corner-arrow { position: absolute; right: 0; bottom: 0; width: 54px; height: 54px; display: grid; place-items: center; border-radius: var(--radius-lg) 0 var(--radius-lg) 0; background: var(--bg); color: var(--ink); transition: background-color .3s, color .3s; }
.leader-row:hover .corner-arrow { background: var(--brand); color: #fff; }
@media (max-width: 991px) { .leaders-home__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .leader-row { grid-template-columns: 96px 1fr; gap: 16px; } .leader-row img { width: 96px; height: 110px; } .corner-arrow { width: 42px; height: 42px; } }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.leader-card__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.leader-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.leader-card:hover .leader-card__photo img { transform: scale(1.05); }
.leader-card__body { padding: 18px 6px 0; }
.leader-card__body span { font: 600 .78rem/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.leader-card__body h3 { margin: 6px 0 0; }

/* ---------- 17. Footer + CTA strip ---------- */
.cta-strip { position: relative; z-index: 2; margin-top: var(--space); margin-bottom: -84px; }
.cta-strip__box { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 36px; padding: clamp(28px, 3.5vw, 44px) clamp(24px, 4vw, 56px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(110deg, var(--brand) 0%, var(--brand-bright) 60%, var(--brand-glow) 100%); box-shadow: var(--shadow-lg); }
.cta-strip__waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.cta-strip__copy { display: flex; align-items: flex-start; gap: 16px; max-width: 640px; }
.cta-strip__icon { width: 40px; height: 40px; color: #fff; --icon-contrast: var(--brand); }
.cta-strip h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); margin-bottom: 6px; }
.cta-strip p { margin: 0; color: #fff; }
.cta-strip__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta-strip__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 700 1.05rem/1 var(--font-head); text-decoration: none; }
.cta-strip__phone:hover { text-decoration: underline; }

.site-footer { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--inset); padding-top: 160px; background: var(--navy-900); color: var(--on-dark-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.site-footer__waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand__logo { display: inline-block; padding: 10px 16px; margin-bottom: 22px; background: #fff; border-radius: 14px; }
.footer-brand__logo img { width: 190px; }
.footer-brand p { max-width: 380px; font-size: .95rem; }
.footer-contact { display: grid; gap: 16px; margin: 24px 0 0; }
.footer-contact dt { font: 600 .78rem/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: #9AA6D3; margin-bottom: 6px; }
.footer-contact dd { margin: 0; }
.footer-contact a, .footer-col a, .footer-mobile a { color: #fff; text-decoration: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer-contact .icon { color: var(--brand-soft); width: 18px; height: 18px; }
.footer-col h2 { color: #fff; font-size: 1.2rem; margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col ul a { color: var(--on-dark-2); transition: color .25s, padding .25s; }
.footer-col ul a:hover { color: #fff; padding-left: 6px; }
.footer-col address { color: #E3E8F8; line-height: 1.75; margin-bottom: 16px; }
.footer-mobile { margin: 18px 0 0; font-size: .92rem; }
.footer-contact a:hover, .footer-mobile a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 28px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 1099px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-contact { grid-template-columns: 1fr; } .site-footer { padding-top: 140px; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s; --focus: var(--brand); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top .icon { width: 20px; height: 20px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.to-top__ring .to-top__progress { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--progress, 0) * 100); }

/* ---------- 18. Inner page banner ---------- */
/* Full-bleed navy banner with the same light rays as the home hero; the shared header sits on top. */
.page-banner { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 14px + clamp(44px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); text-align: center; color: #fff; background: #061153; }
.page-banner .hero__rays { height: 140%; }
.page-banner h1 { color: #fff; margin: 0 0 20px; font: 800 clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem)/1.1 var(--font-head); letter-spacing: -.025em; animation: fade-up .9s var(--ease) both; }
.crumbs ol { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 8px 20px; list-style: none; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font: 600 .9rem/1.5 var(--font-head); animation: fade-up .9s .12s var(--ease) both; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .55; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .icon { width: 16px; height: 16px; }
.crumbs [aria-current] { color: var(--on-dark-2); }
.deco { position: absolute; z-index: -1; pointer-events: none; }
.deco--squiggle { top: calc(var(--header-h) + 64px); left: 17%; width: 46px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 26'%3E%3Cpath d='M3 20c5-10 9-10 12-4s7 6 10-2 8-9 11-3 5 4 7 1' fill='none' stroke='%232D7BFF' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; animation: float 6s ease-in-out infinite; }
.deco--ring { top: calc(var(--header-h) + 52px); right: 24%; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--brand-glow); animation: float 7s ease-in-out infinite reverse; }
.deco--dots { bottom: 20%; right: 30%; width: 34px; height: 50px; background-image: radial-gradient(rgba(255, 255, 255, .45) 3px, transparent 3.5px); background-size: 17px 17px; }
.deco--squares { bottom: 22%; left: 12%; display: grid; grid-template-columns: repeat(2, 14px); gap: 6px; animation: float 8s ease-in-out infinite; }
.deco--squares i { width: 14px; height: 14px; border-radius: 3px; background: var(--accent); }
.deco--squares i:nth-child(2) { background: var(--brand-glow); }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 640px) { .deco--squiggle, .deco--dots, .deco--squares { display: none; } .deco--ring { top: calc(var(--header-h) + 30px); right: 10%; } }

/* ---------- 19. Inner page building blocks ---------- */
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--body); }
.intro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 991px) { .intro-split { grid-template-columns: 1fr; } }
.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand-50); color: var(--brand); margin-top: 1px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: 1fr; } }

.collage { position: relative; padding: 0 20% 16% 0; }
.collage__main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 700 / 760; object-fit: cover; }
.collage__small { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: var(--radius-lg); border: 8px solid var(--bg); aspect-ratio: 1; object-fit: cover; }
.collage__badge { position: absolute; top: 28px; right: 6%; width: 124px; height: 124px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 8px rgba(3, 82, 167, .15); }
.collage__badge strong { font: 800 1.8rem/1 var(--font-head); }
.collage__badge span { font: 600 .75rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .08em; }

.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat { padding: clamp(24px, 3vw, 36px) 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { display: block; font: 800 clamp(2.4rem, 2rem + 1.6vw, 3.4rem)/1 var(--font-head); color: var(--brand); letter-spacing: -.03em; margin-bottom: 10px; }
.stat__value sup { font-size: .45em; }
.stat__label { font: 600 .95rem/1.4 var(--font-head); color: var(--ink); }
@media (max-width: 860px) { .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; list-style: none; }
.value-card { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.value-card:hover { transform: translateY(-6px); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.value-card__icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: var(--brand-50); color: var(--brand); }
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card p { margin: 0; }

.band-navy { margin: var(--space) var(--inset) 0; padding-block: var(--space); background: radial-gradient(50% 70% at 100% 0%, rgba(45, 123, 255, .35), transparent 70%), var(--navy-900); color: var(--on-dark-2); border-radius: var(--radius-lg); --focus: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .value-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.band-navy .value-card__icon { background: var(--brand-bright); color: #fff; }

/* Flex rather than grid so an incomplete last row is centred. */
.svc-grid { --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.svc-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * 24px) / var(--cols)); min-width: 0; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card__media { position: relative; overflow: hidden; }
.svc-card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 26px 26px 28px; }
.svc-card__body h3 { margin: 0; }
.svc-card__body h3 a { color: var(--ink); text-decoration: none; }
.svc-card__body p { margin: 0; }
.svc-card__body .link-arrow { margin-top: auto; }
@media (max-width: 1080px) { .svc-grid { --cols: 2; } }
@media (max-width: 640px) { .svc-grid { --cols: 1; } }

/* service detail */
.svc-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-aside { display: grid; gap: 24px; }
@media (min-width: 1100px) { .svc-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-box { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.side-box h2 { font-size: 1.3rem; padding-left: 14px; border-left: 3px solid var(--brand); margin-bottom: 18px; }
.side-nav { list-style: none; display: grid; gap: 10px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: 600 .95rem/1.3 var(--font-head); text-decoration: none; transition: background-color .25s, color .25s; }
.side-nav a .icon { width: 20px; height: 20px; color: var(--brand); }
.side-nav__arrow { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.side-nav a:hover, .side-nav a.is-active { background: var(--brand); color: #fff; }
.side-nav a:hover .icon, .side-nav a.is-active .icon { color: #fff; }
.side-nav a:hover .side-nav__arrow, .side-nav a.is-active .side-nav__arrow { opacity: 1; transform: none; }
.side-cta { position: relative; overflow: hidden; padding: 40px 28px; text-align: center; color: var(--on-dark-2); border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 50% 0%, rgba(45, 123, 255, .45), transparent 70%), linear-gradient(160deg, #0B2BA8, var(--navy-900) 60%); }
.side-cta__icon { width: 76px; height: 76px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-bright); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); }
.side-cta__icon .icon { width: 32px; height: 32px; }
.side-cta h2 { color: #fff; font-size: 1.5rem; }
.side-cta .btn { margin-top: 10px; }
.side-contact { list-style: none; display: grid; gap: 14px; }
.side-contact li { display: flex; gap: 12px; align-items: center; }
.side-contact .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.side-contact a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.side-contact a:hover { color: var(--brand); text-decoration: underline; }
.detail-visual { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); }
.detail-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.detail-main > h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); }
.detail-block { margin-top: clamp(40px, 5vw, 64px); }
.detail-block > h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 24px; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.cap { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: border-color .3s, transform .4s var(--ease); }
.cap:hover { border-color: var(--brand-100); transform: translateY(-3px); }
.cap__icon { width: 30px; height: 30px; color: var(--brand); }
.cap h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cap p { margin: 0; font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; list-style: none; }
.steps li { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--line); border-top: 4px solid var(--brand); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; font-size: .95rem; }
.tech-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tech-list li { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 .9rem/1.3 var(--font-head); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; list-style: none; }
.related-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) 22px; gap: 14px; align-items: center; height: 100%; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.related-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.related-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.related-card strong { display: block; font: 700 1rem/1.3 var(--font-head); margin-bottom: 4px; }
.related-card small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.related-card > .icon { color: var(--brand); }
.detail-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); color: var(--on-dark-2); background: radial-gradient(50% 90% at 100% 0%, rgba(45, 123, 255, .5), transparent 70%), var(--navy-900); }
.detail-cta h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.1vw, 1.8rem); margin-bottom: 6px; }
.detail-cta p { margin: 0; }
@media (max-width: 1099px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { order: 2; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); } }
@media (max-width: 700px) { .caps { grid-template-columns: 1fr; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list__icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.info-list__icon .icon { width: 24px; height: 24px; }
.info-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-list p { margin: 0; }
.info-list a { color: var(--body); text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--brand); text-decoration: underline; }
.form-card { padding: clamp(26px, 4vw, 48px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card h2 { margin-bottom: 8px; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }
.map-sec { position: relative; margin: var(--space) var(--inset) 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); min-height: clamp(420px, 46vw, 560px); }
.map-sec iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card { position: absolute; z-index: 2; left: clamp(16px, 3vw, 32px); top: clamp(16px, 3vw, 32px); max-width: 360px; padding: 26px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.map-card h2 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }
.map-card h2 .icon { color: var(--brand); }
.map-card address { margin-bottom: 18px; color: var(--body); }
.map-card__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.map__missing { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }
@media (max-width: 700px) {
  .map-sec { display: flex; flex-direction: column; min-height: 0; background: #fff; }
  .map-card { position: static; max-width: none; box-shadow: none; border-radius: 0; }
  .map-sec iframe { position: static; height: 360px; }
}

/* not found */
.not-found { text-align: center; padding-block: var(--space); }
.not-found__code { font: 800 clamp(5rem, 3rem + 10vw, 11rem)/1 var(--font-head); color: var(--brand); letter-spacing: -.05em; margin: 0; background: linear-gradient(135deg, var(--brand-glow), var(--navy-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .hero__actions { justify-content: center; margin-top: 28px; }

/* ---------- 20. Scroll reveal (only when JS initialised) ---------- */
.reveal-ready [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(36px); }

/* ---------- 21. Reduced motion ---------- */
@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; }
  .reveal-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 8px; padding-inline: 16px; }
}

/* ---------- 22. Utilities ---------- */
.mt-space { margin-top: var(--space); }
.pt-0 { padding-top: 0 !important; }
.rounded { border-radius: var(--radius-lg) !important; }
.text-center { text-align: center; }

.mb-0 { margin-bottom: 0 !important; }
.pt-space { padding-top: var(--space); }
.section-head__aside { max-width: 520px; margin: 0; }
.partner-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.partner-cards li { display: grid; place-items: center; min-height: 140px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.partner-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.partner-cards li:hover { transform: translateY(-4px); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.partner-cards span { font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.9rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.clients-page__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .clients-page__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .clients-page__logos { grid-template-columns: 1fr; } }
.clients-page__logos .client-logo { aspect-ratio: auto; grid-template-rows: 130px auto; padding: 28px 22px 22px; }
.clients-page__logos .client-logo img { max-height: 120px; }
main > .section:last-child { padding-bottom: clamp(24px, 3vw, 40px); }
