/* =========================================================
   Aurevan Technologies — Home
   Palette taken from the brand gradient (#0f93d4 → #1b2d7e)
   ========================================================= */

/* Mazzard is not a free web font — place your licensed files in /fonts */
@font-face { font-family: "Mazzard"; src: url("fonts/MazzardH-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mazzard"; src: url("fonts/MazzardH-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mazzard"; src: url("fonts/MazzardH-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blue-1: #0f93d4;
  --blue-2: #1567b3;
  --blue-3: #1b2d7e;
  --grad: linear-gradient(180deg, #0f93d4 0%, #1567b3 50%, #1b2d7e 100%);
  --grad-x: linear-gradient(90deg, #0f93d4, #1b2d7e);

  --bg: #e9ecf0;
  --card: #ffffff;
  --ink: #0a0c12;
  --muted: #6b7280;
  --soft: #f1f3f6;
  --line: #e4e7ec;
  --dark: #0d0f16;

  --r-xl: 28px;
  --r-lg: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1320px;
  /* page sections: content width + side gutter (gutter shrinks on tablet/phone) */
  --container: 1180px;
  --gutter: 48px;
}

[data-theme="dark"] {
  --bg: #07090f;
  --card: #10131c;
  --ink: #f2f4f8;
  --muted: #9aa3b2;
  --soft: #181c27;
  --line: #222838;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue-1); color: #fff; }

/* ---------- Utilities ---------- */
.section { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 60px auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.card { background: var(--card); border-radius: var(--r-xl); transition: background .5s var(--ease); }
.card--pad { padding: 56px 56px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.center { display: flex; justify-content: center; margin-top: 48px; }

.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

.h2 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.h2--lg { font-size: clamp(26px, 3vw, 40px); }

.dot-grad { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); display: inline-block; box-shadow: 0 0 0 3px rgba(15,147,212,.15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 500;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-x);
  transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(21,103,179,.6); }
.btn:hover .dot-grad { background: #fff; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--light { background: var(--card); }
.btn--grey { background: #dcdfe4; color: #0a0c12; }
.btn--dark { background: var(--ink); color: var(--card); }
.btn--grad { background: var(--grad-x); color: #fff; padding: 16px 64px; }
.btn--grad::before { background: var(--dark); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
/* keyboard focus gets the same fill as hover */
.btn:focus-visible { outline: none; color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-1) 35%, transparent); }
.btn:focus-visible::before { transform: translateY(0); }
.btn:focus-visible .dot-grad { background: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 24px;
  transition: transform .5s var(--ease), background .4s var(--ease), backdrop-filter .4s;
}
/* the frosted bar lives on a pseudo-layer: backdrop-filter on .header itself would trap the fixed mobile drawer inside the header box */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: background .4s var(--ease); }
.header.is-scrolled::before { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
/* logo-dark.svg (dark artwork) shows on the light theme; logo-light.svg on the dark theme */
.logo__img { display: block; width: auto; height: 38px; transition: transform .5s var(--ease), opacity .3s; }
.logo__img--ondark { display: none; height: 30px; }
[data-theme="dark"] .logo__img--onlight { display: none; }
[data-theme="dark"] .logo__img--ondark { display: block; }
.logo:hover .logo__img { transform: translateY(-1px); opacity: .85; }
.footer__bottom .logo__img--onlight { height: 46px; }
.footer__bottom .logo__img--ondark { height: 36px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; padding: 8px 14px; font-size: 13px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; transition: background .3s, color .3s; }
.nav__link:hover, .nav__link.is-active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
/* desktop: thin gradient underline instead of the pill — draws in from the left on hover, stays on the current page */
@media (min-width: 1101px) {
  .nav__link:hover, .nav__link.is-active { background: none; }
  .nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--grad-x); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav__link:hover::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); transform-origin: left; }
  .nav__link.is-active { color: var(--blue-2); }
  .nav__link.is-active::after { transform: scaleX(1); }
  [data-theme="dark"] .nav__link::after { background: linear-gradient(90deg, #3fb6ef, #6f8cff); }
  [data-theme="dark"] .nav__link.is-active { color: #5cc3f2; }
}
.chev { display: inline-block; transform: rotate(90deg); font-size: 12px; transition: transform .3s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .chev { transform: rotate(-90deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 180px;
  background: var(--card); border-radius: 16px; padding: 8px;
  box-shadow: 0 20px 50px -20px rgba(10,20,60,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--ease);
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; font-size: 13px; border-radius: 10px; transition: background .25s, padding .25s; }
.dropdown a:hover, .dropdown a[aria-current] { background: var(--soft); padding-left: 16px; }
.dropdown--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 300px; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.icon-btn:hover { transform: rotate(90deg); background: var(--card); }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--card); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger.is-open span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; padding: 160px 24px 60px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 26px;
}
.hero__glow {
  position: absolute; width: 620px; height: 620px; border-radius: 50%; top: 10%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(15,147,212,.18), rgba(27,45,126,.08) 45%, transparent 70%);
  filter: blur(20px); pointer-events: none; animation: float 10s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-50%, 30px) scale(1.06); } }
/* particle network behind the hero copy (drawn by script.js); --net-rgb is the dot/line colour */
.hero { --net-rgb: 21, 103, 179; }
[data-theme="dark"] .hero { --net-rgb: 15, 147, 212; }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__eyebrow { font-size: 14px; color: var(--muted); max-width: 520px; position: relative; }
.hero__title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; max-width: 1000px; position: relative;line-height: 1.25; }
.hero__title .grad-word { background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scroll-down {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--card);
  display: grid; place-items: center; margin-top: 10px; position: relative;
}
.scroll-down svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* split word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: translateY(0); }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: 18px 0 40px; border-bottom: 0; }
.ticker__track { display: flex; gap: 60px; width: max-content; animation: marquee 30s linear infinite; }
.ticker__track { align-items: center; }
.tk { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.tk__icon { flex: 0 0 auto; width: 1.6em; height: 1.6em; border-radius: .45em; background: var(--grad-x); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(21,103,179,.7); }
.tk__icon svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Who we are ---------- */
.showreel { margin-top: 36px; background: var(--soft); border-radius: var(--r-lg); padding: 12px; max-width: 360px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.showreel:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(21,103,179,.5); }
.showreel__screen { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: #05060a; display: grid; place-items: center; }
.showreel__bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(15,147,212,.55), transparent 55%), radial-gradient(circle at 75% 70%, rgba(27,45,126,.8), transparent 55%); animation: shift 8s ease-in-out infinite alternate; }
@keyframes shift { to { transform: scale(1.3) rotate(8deg); } }
.showreel__text { position: absolute; color: #fff; font-size: 13px; letter-spacing: .3em; opacity: .6; left: 22%; }
.showreel__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.showreel__preview.is-ready { opacity: 1; }
.showreel__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,6,10,.45)); pointer-events: none; }
.showreel__screen .play { z-index: 1; }
.play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue-3); display: grid; place-items: center; transition: transform .4s var(--ease); }
.play::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.play:hover { transform: scale(1.12); }
.showreel__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 4px; font-size: 13px; }
.about__copy { display: flex; flex-direction: column; gap: 18px; }
.about__copy p { font-size: 14px; color: var(--muted); max-width: 520px; }
.about__copy .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Section head ---------- */
.section__head { margin-bottom: 32px; padding: 0 16px; }

/* ---------- Explore link ---------- */
.explore { font-size: 13px; display: inline-flex; gap: 8px; align-items: center; position: relative; }
.explore::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--grad-x); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.explore:hover::after { transform: scaleX(1); }
.explore span { transition: transform .4s var(--ease); }
.explore:hover span { transform: translateX(6px); }

/* ---------- Services ---------- */
.services { list-style: none; margin-top: 50px; }
.services li a {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.services li a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,147,212,.08), rgba(27,45,126,.08)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.services li a:hover::before { transform: scaleX(1); }
.services .num { font-size: 13px; color: var(--muted); position: relative; }
.services .name { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; position: relative; transition: transform .5s var(--ease), color .4s; }
.services .arr { position: absolute; right: 8px; font-size: 18px; transition: transform .5s var(--ease), color .4s; }
.services li a:hover .name { transform: translateX(12px); color: var(--blue-2); }
.services li a:hover .arr { transform: translateX(-6px) rotate(-45deg); color: var(--blue-2); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; margin-top: 30px; }
.acc__item { border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.acc__q { width: 100%; display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; text-align: left; padding: 26px 0; font-size: 15px; gap: 12px; }
.acc__q .num { font-size: 11px; color: var(--muted); }
.plus { width: 40px; height: 40px; border-radius: 50%; background: var(--card); position: relative; transition: background .4s, transform .5s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .4s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__q:hover .plus { transform: scale(1.08); }
.acc__item.is-open .plus { background: var(--grad-x); transform: rotate(180deg); }
.acc__item.is-open .plus::before, .acc__item.is-open .plus::after { background: #fff; }
.acc__item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__a > p { overflow: hidden; padding-left: 82px; padding-right: 56px; font-size: 14px; color: var(--muted); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a > p { padding-bottom: 24px; }

/* ---------- Testimonials ---------- */
.testi { padding-right: 0; }
/* Swiper container: top padding leaves room for the hover lift; the strip still bleeds off the right edge */
.testi__swiper { padding: 30px 40px 10px 0; margin: 0; }
.testi__swiper .swiper-wrapper { align-items: stretch; }
.tcard { flex: 0 0 auto; width: min(360px, 82vw); height: auto; background: var(--card); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); user-select: none; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(21,103,179,.55); }
.tcard p { font-size: 14px; color: var(--muted); }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who b { display: block; font-size: 15px; font-weight: 500; }
.tcard__who small { color: var(--muted); font-size: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.li-btn { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 600; transition: background .3s, color .3s; }
.li-btn:hover { background: var(--blue-2); color: #fff; }
.testi__ctrl { display: flex; align-items: center; gap: 30px; padding: 30px 40px 0 0; }
.progress { flex: 1; height: 2px; background: color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 20%; background: var(--grad-x); transition: width .4s var(--ease); }
.arrows { display: flex; gap: 10px; }
.circle { width: 44px; height: 44px; border-radius: 50%; background: var(--card); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.circle:hover { background: var(--grad-x); color: #fff; transform: scale(1.08); }

/* ---------- Contact ---------- */
.contact__title {
    font-size: clamp(30px, 5.2vw, 50px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1;
    text-align: center;
    margin: 40px auto 16px;
    max-width: 1000px;
}
.contact__sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.form-card { max-width: 980px; margin: 0 auto; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: block; margin-bottom: 26px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; padding: 22px 0 10px; outline: none; resize: vertical; appearance: none; border-radius: 0;
}
.field span { position: absolute; left: 0; top: 22px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { top: 0; font-size: 11px; color: var(--blue-2); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--grad-x); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.error::after { transform: scaleX(1); background: #e0445a; }
.field select option { color: #0a0c12; }
.field-label { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: all .35s var(--ease); }
.chip:hover { border-color: var(--blue-1); }
.chip.is-on { background: var(--grad-x); color: #fff; border-color: transparent; transform: scale(1.04); }
.form-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form-foot__proof small { font-size: 12px; color: var(--muted); }
.badges { display: flex; gap: 8px; margin-top: 8px; }
.badges span { font-size: 12px; padding: 6px 12px; background: var(--soft); border-radius: 999px; }
.form-msg { margin-top: 18px; font-size: 14px; min-height: 20px; color: var(--blue-2); }

/* ---------- Footer ---------- */
.footer { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 70px var(--gutter) 30px; }
.footer__top { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.9fr; gap: 32px; padding-bottom: 46px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.footer h5 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.footer__col a { display: block; width: fit-content; font-size: 14px; color: var(--muted); padding: 6px 0; transition: color .3s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--blue-2); transform: translateX(4px); }

/* Contact column: round icon + label/value rows, then socials */
.fcontact { list-style: none; display: grid; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.fcontact li { display: flex; align-items: center; gap: 14px; }
.fcontact__icon { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1a6ff0; color: #fff; }
.fcontact__icon--wa { background: #25d366; }
.fcontact__icon svg { width: 18px; height: 18px; fill: currentColor; }
.fcontact__icon svg.is-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fcontact small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.fcontact a, .fcontact b { font-size: 14px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; transition: color .3s; }
.fcontact a:hover { color: var(--blue-2); }
.follow { font-size: 14px; color: var(--ink); margin: 20px 0 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 16px -10px rgba(10,20,60,.35); transition: all .4s var(--ease); }
.socials a:hover { background: var(--grad-x); color: #fff; transform: translateY(-4px); }
.socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13px; color: var(--muted); text-align: center; }
.footer__bottom p a:hover { color: var(--blue-2); }
.to-top { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--card); transition: transform .4s var(--ease), background .3s; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { transform: translateY(-5px); background: var(--blue-2); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(5,8,20,.75); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(900px, 100%); position: relative; transform: scale(.92); transition: transform .5s var(--ease); }
.modal.is-open .modal__box { transform: scale(1); }
.modal__video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 18px; background: #000; object-fit: contain; max-height: calc(100vh - 120px); }
.modal__close { position: absolute; top: -48px; right: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); }

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; padding: 150px 24px 50px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.page-hero .hero__glow { top: -20%; }
.page-hero__title { font-size: clamp(30px, 4vw, 54px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; max-width: 980px; position: relative; }
.page-hero__title .grad-word { background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__lead { font-size: 16px; color: var(--muted); max-width: 640px; position: relative; }
.page-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; position: relative; }
.page-hero--left { align-items: flex-start; text-align: left; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12px; color: var(--muted); position: relative; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--blue-2); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Body copy ---------- */
.lead { font-size: 16px; color: var(--muted); max-width: 620px; }
.copy { display: flex; flex-direction: column; gap: 16px; }
.copy p { font-size: 15px; color: var(--muted); }
.copy p a, .feature p a, .cta p a, .checks li a, .acc__a a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.copy p a:hover, .feature p a:hover, .checks li a:hover, .acc__a a:hover { color: var(--blue-2); }
.cta p a:hover { color: #fff; }
.copy h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin-top: 10px; }
.copy .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.features--2 { grid-template-columns: repeat(2, 1fr); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: var(--soft); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(21,103,179,.55); }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad-x); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 500; margin-bottom: 14px;
}
.feature h3 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.feature p { font-size: 14px; color: var(--muted); }
a.feature .explore { margin-top: auto; padding-top: 10px; }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { border-top: 1px solid var(--line); padding-top: 22px; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1.5px; background: var(--grad-x); }
.step__num { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.step h3 { font-size: 17px; font-weight: 500; margin: 14px 0 8px; letter-spacing: -.01em; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Checklist & tags ---------- */
.checks { list-style: none; display: grid; gap: 14px; }
.checks--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.checks li { position: relative; padding-left: 30px; font-size: 14px; color: var(--muted); }
.checks li strong { color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-x); }
.checks li::after { content: ""; position: absolute; left: 5.5px; top: 7px; width: 7px; height: 3.5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 12px; transition: background .3s, color .3s, transform .3s var(--ease); }
a.tag:hover { background: var(--grad-x); color: #fff; transform: translateY(-2px); }

/* ---------- Stat row (standalone) ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-row > div { background: var(--soft); border-radius: var(--r-lg); padding: 26px; }
.stat-row strong { display: block; font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.02em; }
.stat-row span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--dark); color: #fff; border-radius: var(--r-xl);
  padding: 80px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.cta::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; top: -55%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(15,147,212,.35), rgba(27,45,126,.2) 45%, transparent 70%); pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(26px, 3.3vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; max-width: 780px; }
.cta p { color: #9aa3b2; max-width: 520px; font-size: 15px; }
.btn--white { background: #fff; color: #0a0c12; }

/* ---------- Link list (jobs, industries, related) ---------- */
.services li a small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.blog-pager__info { font-size: 14px; color: var(--muted); }
.post {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (min-width: 901px) { .posts:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(21,103,179,.55); }
.post__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--grad); }
.post__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 50%); transition: transform .8s var(--ease); }
.post:hover .post__media::after { transform: scale(1.3); }
.post__media--b { background: linear-gradient(135deg, #bfe6fb 0%, #6fb8ea 40%, #3c5fc2 75%, #1b2d7e 100%); }
.post__media--c { background: linear-gradient(160deg, #cfd4db, #6b7280 60%, #2a2e37); }
.post__media span { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.post p { font-size: 14px; color: var(--muted); }
.post .explore { margin-top: auto; padding-top: 8px; align-self: flex-start; }

/* ---------- Article ---------- */
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); position: relative; }
.article-meta b { color: var(--ink); font-weight: 500; }
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(20px, 2.1vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-top: 48px; }
.prose h3 { font-size: 18px; font-weight: 500; margin-top: 32px; }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose blockquote { border-left: 2px solid var(--blue-1); padding: 4px 0 4px 22px; font-size: 19px; line-height: 1.5; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 500; }
.prose td { color: var(--muted); }
.toc { background: var(--soft); border-radius: var(--r-lg); padding: 22px 26px; }
.toc p { font-size: 13px; font-weight: 500; color: var(--ink); }
.toc ol { margin-top: 10px; }
.toc li { font-size: 14px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.member { background: var(--soft); border-radius: var(--r-lg); padding: 12px 12px 18px; transition: transform .5s var(--ease); }
.member:hover { transform: translateY(-6px); }
.member__photo { aspect-ratio: 1; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 500; margin-bottom: 14px; }
.member b { display: block; font-size: 15px; font-weight: 500; padding: 0 6px; }
.member small { display: block; font-size: 12px; color: var(--muted); padding: 0 6px; }

/* ---------- Contact details ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto 16px; }
.contact-card { background: var(--card); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.contact-card small { font-size: 12px; color: var(--muted); }
.contact-card a, .contact-card b { font-size: 16px; font-weight: 500; }
.contact-card a:hover { color: var(--blue-2); }

/* ---------- Contact page ---------- */
.contact-wrap { padding-top: 20px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: stretch; }
.contact-info, .contact-form { padding: 44px 40px; box-shadow: 0 30px 60px -40px rgba(10,20,60,.25); }
.contact-info__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.contact-info__rule { display: block; width: 42px; height: 3px; border-radius: 3px; background: var(--grad-x); margin: 22px 0; }
.contact-info__text { font-size: 15px; line-height: 1.7; color: var(--muted); }
.contact-list { list-style: none; margin-top: 26px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--blue-1) 12%, var(--card)); color: var(--blue-3); display: grid; place-items: center; }
[data-theme="dark"] .contact-list__icon { color: #7fc8ef; }
.contact-list svg, .contact-safe svg, .btn--send svg, .contact-form__note svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.contact-list a, .contact-list b { font-size: 14px; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { color: var(--blue-2); transition: color .3s; }
.contact-list a[href^="tel"] { color: var(--ink); }
.contact-list a:hover { color: var(--blue-1); }
.contact-safe { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 20px; border-radius: 14px; background: color-mix(in srgb, var(--blue-1) 7%, var(--card)); }
.contact-safe > span { color: var(--blue-2); flex-shrink: 0; }
.contact-safe > span svg { width: 26px; height: 26px; }
.contact-safe p { font-size: 13px; line-height: 1.7; color: var(--muted); }
.contact-safe b { display: block; font-weight: 500; color: var(--ink); }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Outlined field: label sits on the top border, top-left */
.cfield { position: relative; margin-bottom: 26px; }
.cfield > label, .cfield > .cfield__label {
  position: absolute; top: 0; left: 12px; z-index: 2; transform: translateY(-50%);
  padding: 0 6px; background: var(--card); line-height: 1.2;
  font-size: 12px; font-weight: 500; color: var(--muted); pointer-events: none; transition: color .3s, background .5s var(--ease);
}
.cfield label i, .cfield__label i { font-style: normal; color: #e0445a; }
.cfield:focus-within > label, .cfield:focus-within > .cfield__label, .cfield.is-open > .cfield__label { color: var(--blue-2); }
.cfield.error > label, .cfield.error > .cfield__label { color: #e0445a; }
.cfield input, .cfield select, .cfield textarea, .ms__btn {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 10px; padding: 17px 16px 15px; outline: none; appearance: none;
  transition: border-color .3s, box-shadow .3s, background .5s var(--ease);
}
.cfield input::placeholder, .cfield textarea::placeholder { color: #9aa3b2; }
.cfield textarea { min-height: 120px; resize: vertical; display: block; }
.cfield select, .ms__btn {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.cfield select:invalid, .cfield select:has(option[value=""]:checked) { color: #9aa3b2; }
.cfield select option { color: #0a0c12; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus, .ms__btn:focus-visible, .cfield.is-open .ms__btn { border-color: var(--blue-1); box-shadow: 0 0 0 4px rgba(15,147,212,.12); }
.cfield.error input, .cfield.error select, .cfield.error textarea, .cfield.error .ms__btn { border-color: #e0445a; box-shadow: 0 0 0 4px rgba(224,68,90,.1); }

/* Multi-select dropdown */
.ms__btn { text-align: left; display: flex; flex-wrap: wrap; gap: 6px; min-height: 52px; align-items: center; }
.ms__btn[aria-expanded="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231567b3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
.ms__placeholder { color: #9aa3b2; }
.ms__pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--blue-1) 12%, var(--card)); color: var(--blue-3); font-size: 12px; line-height: 1.4; }
[data-theme="dark"] .ms__pill { color: #9fd6f5; }
.ms__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 280px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 24px 50px -20px rgba(10,20,60,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cfield.is-open .ms__panel { opacity: 1; visibility: visible; transform: none; }
.ms__opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; transition: background .2s; }
.ms__opt:hover, .ms__opt:focus-within { background: var(--soft); }
.ms__opt input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; padding: 0; border-radius: 5px; border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: none; }
.ms__opt input:checked { background: var(--grad-x); border-color: transparent; }
.ms__opt input:checked::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.ms__opt input:focus-visible { box-shadow: 0 0 0 3px rgba(15,147,212,.25); }
.btn--send { width: 100%; justify-content: center; padding: 18px 24px; border-radius: 12px; font-size: 15px; color: #fff; background: linear-gradient(90deg, #0f93d4, #1b2d7e); box-shadow: 0 16px 34px -14px rgba(21,103,179,.8); margin-top: 4px; }
.btn--send::before { background: var(--dark); }
.contact-form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.contact-form__note svg { width: 14px; height: 14px; }
.contact-form .form-msg { text-align: center; }

/* Mobile number: country code dropdown + number in one outlined box */
.cf-phone { display: flex; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 10px; background: var(--card); transition: border-color .3s, box-shadow .3s, background .5s var(--ease); }
.cf-phone:focus-within { border-color: var(--blue-1); box-shadow: 0 0 0 4px rgba(15,147,212,.12); }
.cfield.error .cf-phone { border-color: #e0445a; box-shadow: 0 0 0 4px rgba(224,68,90,.1); }
.cfield .cf-phone > input { flex: 1; min-width: 0; border: 0; box-shadow: none; background-color: transparent; border-radius: 0 10px 10px 0; }

/* Country code picker */
.cc { position: static; flex: 0 0 auto; display: flex; }
.cc__btn {
  display: flex; align-items: center; gap: 8px; padding: 0 30px 0 14px; font: inherit; font-size: 14px; color: var(--ink);
  border-right: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 10px 0 0 10px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px;
  transition: background-color .25s;
}
.cc__btn:hover, .cc.is-open .cc__btn { background-color: var(--soft); }
.cc__btn:focus-visible { outline: 2px solid var(--blue-1); outline-offset: -2px; }
.cc__flag, .cc__list img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.cc__code { font-variant-numeric: tabular-nums; }
.cc__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 24px 50px -20px rgba(10,20,60,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cc.is-open .cc__panel { opacity: 1; visibility: visible; transform: none; }
.cc__search { position: relative; margin-bottom: 6px; }
.cc__search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: #9aa3b2; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.cfield .cc__search input, .cfield .cc__search input:focus { padding: 11px 12px 11px 36px; font-size: 13px; border-radius: 8px; background: var(--soft); border: 1px solid transparent; box-shadow: none; }
.cfield .cc__search input:focus { border-color: color-mix(in srgb, var(--blue-1) 40%, transparent); }
.cc__list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; outline: none; }
.cc__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; outline: none; transition: background .2s; }
.cc__list li[hidden] { display: none; }
.cc__list li:hover, .cc__list li:focus { background: var(--soft); }
.cc__list li[aria-selected="true"] { background: color-mix(in srgb, var(--blue-1) 10%, var(--card)); color: var(--blue-3); font-weight: 500; }
[data-theme="dark"] .cc__list li[aria-selected="true"] { color: #9fd6f5; }
.cc__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc__dial { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cc__empty { padding: 14px 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* "What happens next?" box under the contact details */
.contact-next { margin-top: 18px; padding: 22px 24px 0; border-radius: 14px; background: color-mix(in srgb, var(--blue-1) 7%, var(--card)); }
.contact-next__title { font-size: 19px; font-weight: 500; color: var(--ink); margin: 0 0 18px; }
.contact-next__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-next__steps li { display: flex; gap: 10px; align-items: flex-start; padding: 0 12px; border-left: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.contact-next__steps li:first-child { padding-left: 0; border-left: 0; }
.contact-next__steps li:last-child { padding-right: 0; }
.contact-next__steps span { flex-shrink: 0; color: var(--blue-2); }
[data-theme="dark"] .contact-next__steps span { color: #7fc8ef; }
.contact-next svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-next__steps b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.contact-next__steps p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.contact-next__foot { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 16px 0 18px; border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); font-size: 13px; color: var(--muted); }
.contact-next__foot svg { width: 18px; height: 18px; color: var(--blue-2); }

.contact-form .contact-next { margin-top: 26px; }

/* Contact submit: pill button with an arrow badge, note beside it */
.cf-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 4px; }
.cf-actions .contact-form__note { margin: 0; }
.cf-submit { padding: 7px 7px 7px 28px; gap: 18px; font-size: 15px; color: #fff; background: var(--ink); }
[data-theme="dark"] .cf-submit { background: #fff; color: #0a0c12; }
.cf-submit__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-x); color: #fff; transition: transform .5s var(--ease), background .4s; }
.cf-submit__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cf-submit:hover .cf-submit__icon, .cf-submit:focus-visible .cf-submit__icon { background: #fff; color: var(--blue-2); transform: rotate(-45deg); }
.cf-submit:disabled { opacity: .7; cursor: progress; }

.trusted { text-align: center; padding-top: 30px; }
.trusted__title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.trusted__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 64px; margin-top: 34px; }
.trusted__logos a { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: #8a919c; transition: color .3s, transform .3s var(--ease); }
.trusted__logos img { width: 30px; height: 30px; opacity: .45; transition: opacity .3s; }
[data-theme="dark"] .trusted__logos img { filter: invert(1); }
.trusted__logos a:hover { color: var(--blue-2); transform: translateY(-3px); }
.trusted__logos a:hover img { opacity: .8; }

/* ---------- Centered section head ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin: 0 auto 44px; max-width: 680px; }
.sec-head .h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; }
.sec-head__lead { font-size: 15px; color: var(--muted); }

/* ---------- Home: What we offer ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer {
  position: relative; overflow: hidden; background: var(--card); border-radius: var(--r-lg);
  padding: 38px 28px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s var(--ease);
}
.offer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-x); transform: scaleX(0); transition: transform .6s var(--ease); }
.offer:hover, .offer:focus-visible { transform: translateY(-6px); box-shadow: 0 28px 56px -30px rgba(21,103,179,.55); outline: none; }
.offer:hover::before, .offer:focus-visible::before { transform: scaleX(1); }
.offer__icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 12px; display: grid; place-items: center;
  background: var(--soft); color: var(--blue-2); transition: background .4s var(--ease), color .4s, transform .5s var(--ease);
}
[data-theme="dark"] .offer__icon { color: #7fc8ef; }
.offer__icon svg, .focus__tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.offer:hover .offer__icon, .offer:focus-visible .offer__icon { background: var(--grad-x); color: #fff; transform: rotate(-6deg) scale(1.06); }
.offer h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.offer p { font-size: 14px; color: var(--muted); max-width: 290px; }
.offer__more { margin-top: 8px; font-size: 13px; color: var(--blue-2); display: inline-flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.offer:hover .offer__more, .offer:focus-visible .offer__more { opacity: 1; transform: none; }
@media (hover: none) { .offer__more { opacity: 1; transform: none; } }

/* ---------- Home: Industry focus ---------- */
.focus { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.focus__visual { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #05060a; min-height: 440px; display: grid; place-items: center; padding: 40px 24px 64px; }
.focus__visual::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(circle at 25% 30%, rgba(15,147,212,.55), transparent 50%), radial-gradient(circle at 80% 75%, rgba(27,45,126,.85), transparent 55%);
  animation: shift 9s ease-in-out infinite alternate;
}
.focus__visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; }
.focus__tiles { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 78px); gap: 14px; }
.focus__tile {
  width: 78px; height: 78px; border-radius: 20px; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .4s var(--ease), color .4s, transform .5s var(--ease), box-shadow .5s;
}
.focus__tile:nth-child(7) { grid-column: 2; }
.focus__tile:nth-child(odd) { animation: bob 4s ease-in-out infinite; }
.focus__tile:nth-child(even) { animation: bob 4s ease-in-out -2s infinite; }
.focus__caption { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: #fff; font-size: 11px; letter-spacing: .16em; opacity: .75; }
.focus__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.focus__item a {
  display: grid; grid-template-columns: 52px 1fr 20px; gap: 18px; align-items: center; padding: 12px 18px 12px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
  transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.focus__num { width: 52px; height: 52px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 16px; transition: background .4s, color .4s; }
.focus__item b { display: block; font-size: 15px; font-weight: 500; }
.focus__item small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.45; }
.focus__arr { color: var(--muted); transition: transform .4s var(--ease), color .4s; }
.focus__item a:hover, .focus__item a:focus-visible { border-color: color-mix(in srgb, var(--blue-1) 45%, var(--line)); box-shadow: 0 18px 40px -26px rgba(21,103,179,.6); transform: translateX(4px); outline: none; }
.focus__item a:hover .focus__num, .focus__item a:focus-visible .focus__num { background: var(--grad-x); color: #fff; }
.focus__item a:hover .focus__arr, .focus__item a:focus-visible .focus__arr { color: var(--blue-2); transform: translateX(4px); }
/* hovering an industry lights up its tile */
.focus:has(.focus__item:nth-child(1) a:is(:hover, :focus-visible)) .focus__tile:nth-child(1),
.focus:has(.focus__item:nth-child(2) a:is(:hover, :focus-visible)) .focus__tile:nth-child(2),
.focus:has(.focus__item:nth-child(3) a:is(:hover, :focus-visible)) .focus__tile:nth-child(3),
.focus:has(.focus__item:nth-child(4) a:is(:hover, :focus-visible)) .focus__tile:nth-child(4),
.focus:has(.focus__item:nth-child(5) a:is(:hover, :focus-visible)) .focus__tile:nth-child(5),
.focus:has(.focus__item:nth-child(6) a:is(:hover, :focus-visible)) .focus__tile:nth-child(6),
.focus:has(.focus__item:nth-child(7) a:is(:hover, :focus-visible)) .focus__tile:nth-child(7) {
  background: #fff; color: var(--blue-2); box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 20px 40px -12px rgba(15,147,212,.7); animation-play-state: paused;
}

/* ---------- Quote popup ---------- */
.qm { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 24px; background: rgba(8,12,28,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto; }
.qm.is-open { opacity: 1; visibility: visible; }
body.qm-lock { overflow: hidden; }
.qm__box { position: relative; width: min(1060px, 100%); display: grid; grid-template-columns: .82fr 1.18fr; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(5,10,40,.6); transform: translateY(24px) scale(.97); transition: transform .5s var(--ease); margin: auto; }
.qm.is-open .qm__box { transform: none; }
.qm__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .3s, transform .4s var(--ease); }
.qm__close:hover { background: var(--soft); transform: rotate(90deg); }
.qm__close svg, .qm svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qm__close svg { width: 22px; height: 22px; }

.qm__aside { position: relative; padding: 48px 40px 0; display: flex; flex-direction: column; background: linear-gradient(160deg, #f1f7fd 0%, #e3eefa 100%); }
[data-theme="dark"] .qm__aside { background: linear-gradient(160deg, #121a2b 0%, #0d1424 100%); }
.qm__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .08em; color: var(--blue-2); font-weight: 500; }
.qm__kicker::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: var(--grad-x); }
[data-theme="dark"] .qm__kicker { color: #7fc8ef; }
.qm__title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 14px; }
.qm__lead { font-size: 15px; line-height: 1.65; color: var(--muted); }
.qm__perks { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.qm__perks li { display: flex; align-items: center; gap: 16px; }
.qm__perks i { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--blue-1) 14%, var(--card)); color: var(--blue-2); }
[data-theme="dark"] .qm__perks i { color: #7fc8ef; }
.qm__perks i svg { width: 24px; height: 24px; }
.qm__perks b { display: block; font-size: 15px; font-weight: 600; }
.qm__perks small { display: block; font-size: 13px; color: var(--muted); }
.qm__art { margin-top: auto; padding-top: 24px; color: var(--blue-2); opacity: .55; }
.qm__art svg { display: block; width: 100%; height: auto; stroke-width: 1.4; }

.qm__main { padding: 48px 44px 40px; }
.qf-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.qf { margin-bottom: 20px; }
.qf__label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 9px; }
.qf__label i { font-style: normal; color: #e0445a; }
.qf__opt { font-size: 12px; font-weight: 400; color: var(--muted); }
.qf__wrap, .qf .cfield { position: relative; margin: 0; }
.qf__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--muted); pointer-events: none; display: grid; }
.qf__icon svg { width: 20px; height: 20px; }
.qf__wrap--area .qf__icon { top: 16px; transform: none; }
.qf input:not([type="checkbox"]), .qf select, .qf textarea, .qf .ms__btn {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--card);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 10px; padding: 15px 16px 15px 48px; outline: none; appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.qf .ms__btn { min-height: 52px; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.qf .ms__btn[aria-expanded="true"] { border-color: var(--blue-1); box-shadow: 0 0 0 4px rgba(15,147,212,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231567b3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
.qf .cfield.error .ms__btn { border-color: #e0445a; box-shadow: 0 0 0 4px rgba(224,68,90,.1); }
.qf select { padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.qf select:has(option[value=""]:checked) { color: #9aa3b2; }
.qf select option { color: #0a0c12; }
.qf textarea { min-height: 120px; resize: vertical; display: block; }
.qf input::placeholder, .qf textarea::placeholder { color: #9aa3b2; }
.qf input:focus, .qf select:focus, .qf textarea:focus { border-color: var(--blue-1); box-shadow: 0 0 0 4px rgba(15,147,212,.12); }
.qf__wrap:focus-within .qf__icon, .qf .cfield.is-open .qf__icon { color: var(--blue-2); }
.qf.error input:not([type="checkbox"]), .qf.error select, .qf.error textarea, .qf .cfield.ms.error .ms__btn { border-color: #e0445a; box-shadow: 0 0 0 4px rgba(224,68,90,.1); }
.qf.error .qf__label, .qf:has(.ms.error) .qf__label { color: #e0445a; }
.qf-consent { display: flex; align-items: center; gap: 12px; margin: 4px 0 22px; font-size: 14px; color: var(--muted); cursor: pointer; }
.qf-consent input { appearance: none; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.qf-consent input:checked { background: var(--grad-x); border-color: transparent; }
.qf-consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.qf-consent input:focus-visible { box-shadow: 0 0 0 3px rgba(15,147,212,.3); }
.qf-consent a { color: var(--blue-2); }
.qf-consent a:hover { text-decoration: underline; }
.qf-consent.error input[type="checkbox"] { border-color: #e0445a; box-shadow: 0 0 0 3px rgba(224,68,90,.15); }
.qf-consent.error > span { color: #e0445a; }
.qm .btn--send { padding: 19px 24px; font-size: 16px; gap: 12px; }
.qm .btn--send svg { width: 20px; height: 20px; }
.qm__msg { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; color: #e0445a; }
.qm__done { display: none; text-align: center; padding: 60px 10px; }
.qm__done i { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-x); color: #fff; }
.qm__done i svg { width: 34px; height: 34px; stroke-width: 2.2; }
.qm__done h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.qm__done p { color: var(--muted); margin: 10px auto 26px; max-width: 360px; font-size: 15px; }
.qm.is-done .qm__form { display: none; }
.qm.is-done .qm__done { display: block; }

/* "Your form is submitted" popup for the contact forms (built in script.js) */
.sp { place-items: center; }
.sp__box { position: relative; width: min(460px, 100%); margin: auto; padding: 0 28px; background: var(--card); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(5,10,40,.6); transform: translateY(24px) scale(.97); transition: transform .5s var(--ease); }
.sp.is-open .sp__box { transform: none; }
.sp .qm__done { display: block; padding: 52px 0 40px; }
@media (max-width: 900px) { .sp { place-items: center; } .sp__box { border-radius: 18px; padding: 0 20px; } }

@media (max-width: 900px) {
  .qm { padding: 12px; place-items: start center; }
  .qm__box { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .qm__aside { padding: 32px 24px 26px; }
  .qm__title { font-size: 26px; padding-right: 36px; }
  .qm__perks { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
  .qm__perks li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .qm__perks i { flex-basis: auto; width: 44px; height: 44px; }
  .qm__art { display: none; }
  .qm__main { padding: 28px 24px 30px; }
}
@media (max-width: 600px) {
  .qf-row { grid-template-columns: 1fr; gap: 0; }
  .qm__perks { grid-template-columns: 1fr; }
  .qm__perks li { flex-direction: row; align-items: center; }
  .qm__lead { font-size: 14px; }
}

/* ---------- 404 ---------- */
.big-404 { font-size: clamp(110px, 22vw, 260px); line-height: .9; font-weight: 500; letter-spacing: -.06em; background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  /* full-height drawer from the right, 85% wide; the burger sits above it and turns into the close (×) */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: 85vw; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain;
    background: var(--card); padding: 84px 24px 32px; box-shadow: -30px 0 60px -30px rgba(10,20,60,.45);
    visibility: hidden; transform: translateX(100%); transition: transform .5s var(--ease), visibility 0s linear .5s;
  }
  .nav.is-open { visibility: visible; transform: none; transition: transform .5s var(--ease), visibility 0s; }
  .nav::before { content: "Menu"; position: absolute; top: 0; left: 24px; height: 64px; display: flex; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  /* dimmed page behind the drawer — tapping it closes the menu (script.js) */
  .header::after { content: ""; position: fixed; inset: 0; z-index: 1; background: rgba(5,8,18,.45); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .menu-open .header::after { opacity: 1; pointer-events: auto; }
  .burger { display: block; z-index: 3; transition: background .3s; }
  .burger.is-open { background: var(--soft); }

  .nav > .nav__link, .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font-size: 17px; font-weight: 500; border-radius: 0; }
  .nav__link:hover, .nav__link.is-active { background: none; }
  /* active: brand-blue text with a short gradient underline (same language as desktop) */
  .nav__link::after { content: ""; position: absolute; left: 2px; bottom: 10px; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-x); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  .nav__link.is-active { color: var(--blue-2); }
  .nav__link.is-active::after { transform: scaleX(1); }
  [data-theme="dark"] .nav__link::after { background: linear-gradient(90deg, #3fb6ef, #6f8cff); }
  [data-theme="dark"] .nav__link.is-active { color: #5cc3f2; }

  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 14px 10px; min-width: 0; background: none; border-radius: 0; }
  .dropdown a { padding: 10px 12px; font-size: 15px; color: var(--muted); border-radius: 8px; }
  .dropdown a:hover { background: var(--soft); padding-left: 12px; color: var(--ink); }
  .dropdown a[aria-current] { background: none; padding-left: 12px; color: var(--blue-2); font-weight: 500; }
  [data-theme="dark"] .dropdown a[aria-current] { color: #5cc3f2; }
  .nav__item.is-open .dropdown { display: block; }
  .nav__item.is-open .dropdown--cols { display: grid; min-width: 0; }
  .nav__item:hover .chev { transform: rotate(90deg); }
  .nav__item.is-open .chev { transform: rotate(-90deg); }
}
html.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .section { margin: 44px auto; }
  .card--pad { padding: 36px 26px; }
  .grid-2, .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .footer__contact { grid-column: 1 / -1; }
  .testi__swiper { padding-right: 20px; }
  .testi__ctrl { padding-right: 20px; }
  .footer { padding-top: 56px; }
  .showreel { max-width: 100%; }
  .page-hero { padding-top: 130px; }
  .features, .features--4, .posts, .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps--3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .focus { grid-template-columns: 1fr; }
  .focus__visual { min-height: 320px; }
  .sec-head { margin-bottom: 32px; }
  .contact-info, .contact-form { padding: 34px 26px; }
  .cta { padding: 60px 26px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .header { padding: 12px 14px; }
  .header .btn--light { display: none; }
  .header .logo__img--onlight { height: 32px; }
  .header .logo__img--ondark { height: 26px; }
  .hero { min-height: 80vh; padding-top: 130px; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .services li a { grid-template-columns: 50px 1fr; }
  .acc__q { grid-template-columns: 36px 1fr 40px; font-size: 14px; }
  .acc__a > p { padding-left: 48px; padding-right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:nth-child(3) { grid-column: 1 / -1; }
  .btn--grad { width: 100%; justify-content: center; }
  .cf-actions { flex-direction: column; align-items: stretch; }
  .cf-submit { justify-content: space-between; }
  .contact-next__steps { grid-template-columns: 1fr; gap: 14px; }
  .contact-next__steps li { padding: 0; border-left: 0; align-items: center; }
  .contact-next__steps b { margin-bottom: 0; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .features, .features--2, .features--4, .posts, .contact-cards, .steps, .checks--2 { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .feature { padding: 24px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer { padding: 30px 22px 26px; }
  .focus__visual { min-height: 280px; padding: 30px 16px 56px; }
  .focus__tiles { grid-template-columns: repeat(3, 64px); gap: 12px; }
  .focus__tile { width: 64px; height: 64px; border-radius: 16px; }
  .focus__item a { grid-template-columns: 44px 1fr 16px; gap: 14px; padding: 12px; }
  .focus__num { width: 44px; height: 44px; font-size: 14px; }
  .contact-info, .contact-form { padding: 28px 20px; }
  .trusted__logos { gap: 20px 36px; }
  .trusted__logos a { font-size: 18px; }
  .prose p, .prose li { font-size: 15px; }
}

/* =========================================================
   Home — Services: stacking cards (pinned, shrink as the next card covers)
   ========================================================= */
.svc-stack { position: relative; }
.svc-stack__panel { position: sticky; top: 0; height: 80vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 88px 0 28px; }
.svc-stack__card {
  width: 100%; max-height: 100%; overflow: hidden;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 34px 48px 44px; transform-origin: 50% 100%; will-change: transform, filter;
  box-shadow: 0 -20px 60px -36px rgba(21,103,179,.45); transition: background .5s var(--ease), border-color .5s var(--ease);
}
.svc-stack__top { padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.svc-stack__num { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.svc-stack__heading { font-size: clamp(26px, 3.6vw, 46px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 30px; }
.svc-stack__heading span { font-weight: 400; color: var(--muted); }
.svc-stack__body { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 64px); }
.svc-stack__media { position: relative; flex: none; width: 40%; aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--blue-1) 14%, transparent), transparent 55%), radial-gradient(circle at 85% 90%, color-mix(in srgb, var(--blue-3) 12%, transparent), transparent 50%), var(--soft); border: 1px solid var(--line); }
.svc-stack__media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1px); background-size: 18px 18px; }
/* per-service illustrations (inline SVG, colours follow the theme; gradient = #svcGrad) */
.svc-stack__media .ill { position: absolute; z-index: 1; inset: 3%; width: 94%; height: 94%; overflow: visible; }
.ill .c { fill: var(--card); }
.ill .soft { fill: var(--soft); }
.ill .l { fill: color-mix(in srgb, var(--ink) 12%, transparent); }
.ill .s { stroke: var(--line); stroke-width: 1.5; fill: none; }
.ill .i { fill: var(--ink); }
.ill .m { fill: var(--muted); }
.ill .g, .ill .gt { fill: url(#svcGrad); }
.ill .gs { stroke: url(#svcGrad); }
.ill .ck { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill .sh { filter: drop-shadow(0 10px 18px rgba(21,103,179,.16)); }
[data-theme="dark"] .ill .sh { filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.svc-stack__desc { max-width: 52ch; color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.7; }
.svc-stack__learn { margin-top: 28px; }

/* =========================================================
   Home — Industries: pinned horizontal scroll
   ========================================================= */
.hx__head { padding-bottom: 0; }
.hx__head .sec-head { margin-bottom: 0; }
.hx__pin { position: relative; height: 700vh; } /* real height is set by script.js */
.hx__viewport { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hx__track { display: flex; height: 100%; will-change: transform; }
.hx__slide { flex: 0 0 100%; height: 100%; display: flex; }
.hx__card { width: 100%; height: 100%; display: grid; grid-template-columns: 50% 1fr; background: var(--card); overflow: hidden; transition: background .5s var(--ease); }
.hx__media { position: relative; overflow: hidden; background: #19213f; }
.hx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.hx__slide:hover .hx__img { transform: scale(1.08); }
/* soft brand-tinted shade at the bottom so the badge + caption stay readable on any photo */
.hx__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8,16,44,.82) 0%, rgba(8,16,44,.25) 38%, transparent 62%), linear-gradient(135deg, rgba(15,147,212,.12), transparent 50%); }
.hx__icon { position: absolute; z-index: 2; left: 24px; bottom: 48px; width: 64px; aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 16px 40px -12px rgba(15,147,212,.7); }
.hx__icon svg { width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hx__caption { position: absolute; z-index: 2; left: 24px; bottom: 20px; color: #fff; font-size: 11px; letter-spacing: .16em; opacity: .75; }
.hx__content { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 5vw 6vw; }
.hx__index { font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.hx__index span { opacity: .6; }
.hx__content h3 { font-size: clamp(34px, 4.2vw, 62px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.hx__content h3 span { background: var(--grad-x); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; padding-bottom: .06em; }
.hx__content p { max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; color: var(--muted); }
.hx__cta { margin-top: 8px; width: fit-content; }
/* header-style pill buttons sitting on white cards: soft fill + hairline so the white pill stays visible */
.svc-stack__card .btn--light, .hx__content .btn--light { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.svc-stack__card .btn--light:is(:hover, :focus-visible), .hx__content .btn--light:is(:hover, :focus-visible) { box-shadow: 0 12px 30px -10px rgba(21,103,179,.6); }
.hx__progress { position: absolute; left: calc(42% + 6vw); bottom: 28px; width: min(220px, 40vw); height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.hx__progress span { display: block; height: 100%; width: 0; background: var(--grad-x); }

/* =========================================================
   Home — FAQ: card accordion (open item gets a panel + number tile)
   ========================================================= */
.faqc__title { margin: 14px 0 30px; font-size: clamp(26px, 3.1vw, 42px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; }
.faqc__title b { font-weight: 600; }
.acc--cards { display: flex; flex-direction: column; }
.acc--cards .acc__item { padding: 6px 4px; border-radius: var(--r-lg); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.acc--cards .acc__item:last-child { border-bottom: 0; }
.acc--cards .acc__item.is-open { background: var(--soft); border-bottom-color: transparent; padding: 20px 22px 26px; margin-bottom: 14px; }
.acc--cards .acc__q { display: flex; align-items: center; gap: 20px; padding: 14px 0; font-size: inherit; }
.acc--cards .acc__item.is-open .acc__q { padding: 0; }
.acc--cards .acc__media { flex: none; width: 0; height: 64px; border-radius: 12px; overflow: hidden; opacity: 0; transform: translateX(-16px); display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 18px; font-weight: 600; transition: width .4s var(--ease), opacity .35s var(--ease), transform .4s var(--ease); }
.acc--cards .acc__item.is-open .acc__media { width: 64px; opacity: 1; transform: none; }
.acc--cards .acc__title { flex: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.acc--cards .acc__idx { font-size: 12px; font-weight: 500; color: var(--muted); }
.acc--cards .plus { flex: none; width: 40px; height: 40px; background: var(--ink); }
.acc--cards .plus::before, .acc--cards .plus::after { background: var(--card); }
.acc--cards .acc__item.is-open .plus { background: var(--ink); }
.acc--cards .acc__item.is-open .plus::before, .acc--cards .acc__item.is-open .plus::after { background: var(--card); }
.acc--cards .acc__a > p { padding: 0 56px 0 84px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.acc--cards .acc__item.is-open .acc__a > p { padding-top: 14px; padding-bottom: 0; }

/* =========================================================
   Home — Technologies: tile wall (staggered fade-up, then a slow float)
   ========================================================= */
.tech-wall { background: var(--card); border-radius: var(--r-xl); padding: 56px; transition: background .5s var(--ease); }
.tech-wall__title { margin: 16px 0 16px; font-size: clamp(26px, 3.1vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.tech-wall__title b { font-weight: 600; }
.tech-wall__lead { max-width: 65ch; margin-bottom: 36px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.tech-wall__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tech-tile {
  aspect-ratio: 3 / 1; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  border-radius: 14px; background: var(--soft); border: 1px solid var(--line);
  font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; letter-spacing: -.01em; color: var(--ink);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s, box-shadow .3s var(--ease);
  transition-delay: var(--d, 0s);
}
.tech-tile.in { animation: tech-float 4.5s ease-in-out calc(var(--d, 0s) + 1s) infinite; }
.tech-tile:hover, .tech-tile:focus-visible { background: var(--grad-x); border-color: transparent; color: #fff; box-shadow: 0 16px 40px -18px rgba(21,103,179,.7); animation-play-state: paused; outline: none; transition-delay: 0s; }
@keyframes tech-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

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

@media (max-width: 900px) {
  .tech-wall { padding: 36px 26px; }
  .tech-wall__lead { margin-bottom: 28px; }
  .tech-wall__grid { gap: 10px; }
  .tech-tile { aspect-ratio: 2 / 1; padding: 10px; border-radius: 12px; }
}

@media (max-width: 600px) {
  .tech-wall { padding: 34px 20px; border-radius: 20px; }
  .tech-wall__grid { gap: 8px; }
  .tech-tile { aspect-ratio: 1 / 1; font-size: 14px; padding: 6px; }
}

@media (max-width: 900px) {
  .svc-stack__panel { padding: 80px 0 20px; }
  .svc-stack__card { padding: 26px 24px 30px; }
  .svc-stack__top { margin-bottom: 20px; }
  .svc-stack__heading { margin-bottom: 22px; }
  .svc-stack__body { flex-direction: column; align-items: flex-start; gap: 22px; }
  .svc-stack__media { width: 100%; aspect-ratio: 16 / 9; }
  .svc-stack__learn { margin-top: 20px; }

  .hx__card { grid-template-columns: 1fr; grid-template-rows: 44% 1fr; }
  .hx__content { justify-content: center; gap: 14px; padding: 28px 26px; }
  .hx__content h3 { font-size: clamp(28px, 6.4vw, 40px); }
  .hx__content p { max-width: none; }
  .hx__progress { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .svc-stack__panel { padding: 72px 0 14px; }
  .svc-stack__card { padding: 22px 18px 24px; border-radius: 20px; }
  .svc-stack__top { padding-bottom: 14px; margin-bottom: 16px; }
  .svc-stack__num { font-size: 13px; }
  .svc-stack__heading { margin-bottom: 18px; }
  .svc-stack__media { aspect-ratio: 16 / 8; border-radius: 12px; }
  .svc-stack__desc { font-size: 15px; line-height: 1.6; }

  .hx__card { grid-template-rows: 42% 1fr; }
  .hx__icon { width: 48px; border-radius: 14px; left: 16px; bottom: 38px; }
  .hx__caption { left: 16px; bottom: 14px; font-size: 10px; }
  .hx__content { padding: 22px 20px; }
  .hx__content p { font-size: 15px; }

  .faqc__title { margin-bottom: 20px; }
  .acc--cards .acc__item.is-open { padding: 16px 16px 20px; }
  .acc--cards .acc__q { gap: 14px; }
  .acc--cards .acc__media { height: 46px; border-radius: 10px; font-size: 15px; }
  .acc--cards .acc__item.is-open .acc__media { width: 46px; }
  .acc--cards .acc__title { font-size: 16px; }
  .acc--cards .plus { width: 36px; height: 36px; }
  .acc--cards .acc__a > p { padding: 0; font-size: 14px; }
}

/* =========================================================
   Headings — Open Sans (loaded from Google Fonts in each page head), Aptos as fallback, semibold (600).
   !important on the weight because many section rules (.h2, .offer h3, .hero__title …) set their own.
   ========================================================= */
h1, h2, h3, h4, h5, h6 { font-family: "Open Sans", Aptos, sans-serif; font-weight: 600 !important; }
/* two-weight headings: the lighter / bolder inner part now matches the 600 heading */
.svc-stack__heading span, .faqc__title b, .tech-wall__title b, .hx__content h3 span { font-weight: inherit; }

/* short phones (e.g. 360×640): shrink the service-card visual so the longer text and button still fit the pinned card */
@media (max-width: 600px) and (max-height: 720px) {
  .svc-stack__panel { padding-top: 64px; }
  .svc-stack__media { aspect-ratio: 16 / 7; }
  .svc-stack__desc { font-size: 14px; line-height: 1.55; }
}

/* short phones: give the longer industry text room so the button clears the progress bar */
@media (max-width: 600px) and (max-height: 720px) {
  .hx__card { grid-template-rows: 34% 1fr; }
  .hx__content { gap: 10px; padding: 16px 20px 44px; }
  .hx__content h3 { font-size: 26px; }
  .hx__content p { font-size: 14px; line-height: 1.5; }
  .hx__cta { margin-top: 4px; }
}

/* Technologies tiles: brand logo above the name (Simple Icons paths, CC0); black logos use the theme ink */
.tech-tile { flex-direction: column; gap: 12px; }
.tech-tile__logo { width: clamp(30px, 2.8vw, 40px); height: clamp(30px, 2.8vw, 40px); color: var(--brand, var(--ink)); transition: color .3s var(--ease), transform .4s var(--ease); }
.tech-tile__logo svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.tech-tile:hover .tech-tile__logo, .tech-tile:focus-visible .tech-tile__logo { color: #fff; transform: scale(1.08); }
@media (max-width: 600px) { .tech-tile { gap: 8px; } .tech-tile__logo { width: 28px; height: 28px; } }
