/* ==========================================================================
   OT Solutions — design system
   1. Tokens  2. Base  3. Layout  4. Components  5. Header/Nav  6. Sections  7. Footer  8. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #041d38;
  --navy-900: #06315f;
  --navy-800: #0a4380;
  --blue-600: #0b7cb0;
  --blue-500: #0f9edb;
  --sky-300: #5bc8f5;
  --cta: #0369a1;
  --cta-hover: #075985;

  --ink: #0f172a;
  --body: #334155;
  --muted: #475569;
  --line: #dceaf5;
  --tint: #f2f8fc;
  --white: #fff;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(6 49 95 / 8%), 0 1px 3px rgb(6 49 95 / 6%);
  --shadow-md: 0 8px 24px rgb(6 49 95 / 10%);
  --shadow-lg: 0 24px 60px rgb(6 49 95 / 18%);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--cta); text-underline-offset: 3px; }
a:hover { color: var(--cta-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #cfe2f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p:last-child { margin-bottom: 0; font-size: 1.075rem; }
.section__head--light p { color: #cfe2f3; }
.section__more { margin-top: 32px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }

/* 4. Components ------------------------------------------------------------ */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.eyebrow--light { color: var(--sky-300); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: inherit; max-width: 62ch; }
.fineprint { font-size: .8rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700;
  font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 18px; font-size: .875rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent { background: var(--sky-300); color: var(--navy-950); }
.btn--accent:hover { background: #8ad8f8; color: var(--navy-950); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--tint); color: var(--navy-900); }
.btn--outline-light { color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 10%); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--sky-300); }
.link-arrow--light:hover { color: #fff; }

.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.card h3 { margin-bottom: .5em; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: var(--tint); color: var(--blue-600); border: 1px solid var(--line); flex: none;
}
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--dark { background: rgb(91 200 245 / 12%); border-color: rgb(91 200 245 / 30%); color: var(--sky-300); }
.card__icon--lg { width: 64px; height: 64px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: rgb(255 255 255 / 14%); border-radius: var(--radius); overflow: hidden; }
.stats li { background: rgb(4 29 56 / 55%); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.stats li > span { font-size: .85rem; color: #b9d3ea; }
.split .stats { background: var(--line); }
.split .stats li { background: #fff; }
.split .stats strong { color: var(--navy-900); }
.split .stats li > span { color: var(--muted); }

.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%); }
.steps p { margin: 0; color: #b9d3ea; font-size: .95rem; }
.step__n { display: block; font-size: 2.25rem; font-weight: 800; color: var(--sky-300); line-height: 1; margin-bottom: 14px; }

.value, .industry, .team li { padding: 8px 0; }
.value h3, .industry h3, .team h3 { margin-bottom: .4em; }
.value p, .industry p, .team p { margin: 0; color: var(--muted); }
.section--navy .value p { color: #b9d3ea; }
.industry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.industry .icon { width: 32px; height: 32px; color: var(--blue-600); margin-bottom: 14px; }
.team li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.team .icon { width: 28px; height: 28px; color: var(--blue-600); margin-bottom: 12px; }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partners li { background: #fff; display: grid; place-items: center; text-align: center; padding: 30px 16px; min-height: 96px; font-weight: 800; letter-spacing: -.01em; color: #5a6b80; font-size: 1.05rem; transition: color .2s, background-color .2s; }
.partners li:hover { color: var(--navy-900); background: var(--tint); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-900); font-weight: 600; font-size: .9rem; }
.subhead { margin: 48px 0 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 25%); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background-color .2s, border-color .2s; }
.chip:hover { background: rgb(255 255 255 / 12%); border-color: var(--sky-300); color: #fff; }

.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.checklist .icon { color: var(--blue-600); margin-top: 3px; }

.service { display: flex; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.service:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); }
.service h3 { margin-bottom: .4em; }
.service p:last-child { margin: 0; }
.service .eyebrow { margin-bottom: 6px; }

.prose p { font-size: 1.075rem; }

/* 5. Header / nav ---------------------------------------------------------- */
.utility { background: var(--navy-950); color: #b9d3ea; font-size: .8rem; }
.utility__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.utility a { color: #dff0fb; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility .icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; }
.utility__links { display: flex; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { width: 44px; height: auto; flex: none; }
.brand__badge { display: grid; place-items: center; padding: 6px; background: #fff; border-radius: 12px; }
.brand__badge .brand__logo { width: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -.01em; }
.brand__text small { max-width: 28ch; font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.brand--light, .brand--light small { color: #fff; }
.brand--light small { color: #b9d3ea; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: static; }
.nav__split { display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .15s, color .15s; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--cta); background: var(--tint); }
.nav__toggle { display: grid; place-items: center; width: 28px; height: 44px; margin-inline-start: -10px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--radius-sm); }
.nav__toggle .icon { transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header__cta { display: flex; gap: 10px; }
.menu-btn, .drawer__close { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: mega-in .2s var(--ease); }
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; max-width: var(--container); margin-inline: auto; padding: 32px var(--gutter) 24px; }
.mega__head { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-900); text-decoration: none; margin-bottom: 10px; }
.mega__head .icon { color: var(--blue-600); }
.mega__col li a { display: block; padding: 5px 0; font-size: .9rem; color: var(--body); text-decoration: none; }
.mega__col li a:hover { color: var(--cta); text-decoration: underline; }
.mega__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; max-width: var(--container); margin-inline: auto; padding: 28px var(--gutter) 20px; }
.mega__list a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--body); }
.mega__list a:hover { background: var(--tint); }
.mega__list .icon { width: 26px; height: 26px; color: var(--blue-600); margin-top: 2px; }
.mega__list strong { display: block; color: var(--ink); }
.mega__list small { color: var(--muted); font-size: .8rem; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--tint); padding: 14px max(var(--gutter), calc((100% - var(--container)) / 2)); font-size: .9rem; font-weight: 600; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(4 29 56 / 55%); }
.drawer[hidden] { display: none; }
.drawer__panel { position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: min(380px, 100%); background: #fff; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; animation: drawer-in .25s var(--ease); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { display: grid; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list details[open] summary .icon { transform: rotate(180deg); }
.drawer__list ul { padding: 0 12px 12px 12px; }
.drawer__list ul a { font-weight: 500; min-height: 40px; color: var(--body); }
.drawer__phone { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }

/* 6. Sections -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #cfe2f3; background:
  radial-gradient(900px 500px at 85% 20%, rgb(15 158 219 / 28%), transparent 60%),
  linear-gradient(160deg, var(--navy-950), var(--navy-900) 70%); padding-top: clamp(48px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { color: #fff; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--sky-300), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; font-weight: 600; color: #dff0fb; }
.hero__proof li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--sky-300); }
.hero > .container:last-child { position: relative; padding-bottom: clamp(32px, 5vw, 56px); }

.hero-visual { width: 100%; height: auto; overflow: visible; color: var(--sky-300); }
.hv-ring { fill: none; stroke: rgb(255 255 255 / 14%); stroke-dasharray: 3 7; }
.hv-ring--in { stroke: rgb(91 200 245 / 25%); }
.hv-line { stroke: rgb(91 200 245 / 45%); stroke-width: 1.5; stroke-dasharray: 6 8; animation: dash 6s linear infinite; animation-delay: var(--d); }
.hv-core circle { fill: var(--blue-500); stroke: rgb(255 255 255 / 40%); stroke-width: 2; }
.hv-core text { fill: #fff; font: 800 15px var(--font); }
.hv-node circle { fill: var(--navy-800); stroke: var(--sky-300); stroke-width: 1.5; transition: fill .2s; }
.hv-node:hover circle { fill: var(--blue-600); }
.hv-node text { fill: #dff0fb; font: 600 12.5px var(--font); }
@keyframes dash { to { stroke-dashoffset: -56; } }

.page-hero { background: radial-gradient(700px 360px at 90% 0%, rgb(15 158 219 / 26%), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #cfe2f3; padding-block: clamp(40px, 6vw, 80px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.crumbs { display: flex; gap: 10px; font-size: .85rem; margin-bottom: 28px; }
.crumbs a { color: var(--sky-300); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.domain__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.domain__lead .btn { margin-top: 8px; }

.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); color: #e6f3fb; padding-block: clamp(48px, 7vw, 84px); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p:last-child { margin: 0; max-width: 52ch; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 6px; }
.field label span { color: #b91c1c; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b6c6d6; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(15 158 219 / 20%); }
.field [aria-invalid="true"] { border-color: #b91c1c; }
.field__err { color: #b91c1c; font-size: .85rem; font-weight: 600; margin: 6px 0 0; }
.form__ok { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: #e8f7ee; color: #14532d; font-weight: 600; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon { width: 24px; height: 24px; color: var(--blue-600); margin-top: 2px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* 7. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #b9d3ea; padding-top: clamp(48px, 6vw, 80px); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9d3ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--light { color: var(--navy-900); }
.site-footer .btn--light:hover { color: var(--navy-900); text-decoration: none; }
.site-footer address { font-style: normal; }
.footer__brand p { margin: 18px 0 20px; max-width: 34ch; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .82rem; }

/* 8. Motion + responsive --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header__cta .btn--ghost { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: grid; margin-inline-start: auto; }
  .hero__inner, .domain__inner, .contact { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin-inline: auto; }
  .utility__cov { display: none; }
  .utility__inner { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .utility__mail { display: none; }
  .btn--lg { width: 100%; }
  .service { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 9. Logos, certification badges, language switch ------------------------- */
.partners li img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partners li:hover img { filter: none; opacity: 1; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.certs li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .78rem; font-weight: 600; color: var(--navy-900); }
.certs img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-weight: 700; }
.drawer__panel .lang-switch { justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }

/* 10. Arabic / RTL --------------------------------------------------------- */
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .stats strong { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] h1 { font-weight: 700; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
html[lang="ar"] .site-footer h2 { letter-spacing: 0; text-transform: none; font-size: .95rem; }
html[lang="ar"] .brand__text strong { letter-spacing: 0; }
html[lang="ar"] .brand__text small { letter-spacing: 0; font-size: .72rem; }
html[lang="ar"] .btn { letter-spacing: 0; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hero h1 span { background: linear-gradient(270deg, var(--sky-300), #fff); -webkit-background-clip: text; background-clip: text; }
[dir="rtl"] .hv-node text, [dir="rtl"] .hv-core text { font-family: var(--font); }
[dir="rtl"] .hero__proof li::before { margin-right: 0; margin-inline-end: 8px; }
[dir="rtl"] .hero::before { mask-image: linear-gradient(180deg, #000 30%, transparent 90%); }
[dir="rtl"] .crumbs span[aria-hidden] { transform: scaleX(-1); }
[dir="rtl"] .drawer__panel { animation-name: drawer-in-rtl; }
@keyframes drawer-in-rtl { from { transform: translateX(-24px); opacity: 0; } }html[lang="ar"] .stats strong, html[lang="ar"] .step__n { font-family: "Plus Jakarta Sans", var(--font); }

/* 11. Expert-review upgrades ---------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hv-node { cursor: pointer; }
.hv-node text { font: 700 14.5px var(--font); }
.hv-node:focus-visible circle { stroke: #fff; stroke-width: 3; }
.hv-node:hover circle { fill: var(--blue-600); stroke: #fff; }
.hv-core text { font-size: 16px; }

/* Domain explorer (tabs) */
.explorer { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px; align-items: start; }
.explorer__tabs { display: grid; gap: 8px; }
.explorer__tab { display: flex; gap: 14px; align-items: center; text-align: start; width: 100%; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; color: var(--body); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.explorer__tab .icon { width: 26px; height: 26px; color: var(--blue-600); }
.explorer__tab strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.explorer__tab small { color: var(--muted); font-size: .78rem; }
.explorer__tab:hover { border-color: var(--blue-500); }
.explorer__tab[aria-selected="true"] { border-color: var(--cta); background: var(--tint); box-shadow: inset 4px 0 0 var(--cta), var(--shadow-sm); }
[dir="rtl"] .explorer__tab[aria-selected="true"] { box-shadow: inset -4px 0 0 var(--cta), var(--shadow-sm); }
.explorer__panels { display: grid; gap: 24px; }
.explorer__panel { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.explorer__panel[hidden] { display: none; }
.explorer__panel .cover { width: 100%; height: 190px; }
.explorer__body { padding: clamp(20px, 3vw, 32px); }
.explorer__body h3 { font-size: 1.5rem; }
.checklist--compact { grid-template-columns: 1fr 1fr; margin: 18px 0 8px; }
.checklist--compact li { padding: 10px 12px; font-size: .88rem; }
.cv-ring { fill: none; stroke: #fff; stroke-opacity: .16; }
.cv-glow { fill: #5bc8f5; fill-opacity: .22; }
.cv-trace { fill: none; stroke: #5bc8f5; stroke-opacity: .5; stroke-width: 1.5; }
.cv-dot { fill: #5bc8f5; }

/* Solution detail pages */
.page-hero--split .hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero--split h1 { max-width: 16ch; }
.hero-split__art .cover { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgb(255 255 255 / 16%); }
.page-hero .hero__actions { margin-bottom: 0; }
.caps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cap { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.cap:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.cap .icon { width: 26px; height: 26px; color: var(--blue-600); margin-top: 1px; }
a.card { text-decoration: none; color: var(--body); }
a.card h3 { color: var(--ink); }
.card--domain .link-arrow, a.card .link-arrow { color: var(--cta); }

/* FAQ */
.split--faq { grid-template-columns: 1fr 1.4fr; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq__item[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--blue-600); transition: transform .2s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { margin: 0 0 18px; color: var(--muted); }

/* Search overlay + header button */
.search-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 999px; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.search-btn:hover { border-color: var(--cta); color: var(--cta); }
.search { position: fixed; inset: 0; z-index: 90; background: rgb(4 29 56 / 60%); backdrop-filter: blur(4px); display: grid; justify-items: center; align-items: start; padding: 10vh var(--gutter) 24px; }
.search[hidden] { display: none; }
.search__panel { width: min(680px, 100%); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; animation: mega-in .2s var(--ease); }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 6px 12px 6px 18px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .search__bar { padding: 6px 18px 6px 12px; }
.search__bar > .icon { color: var(--muted); width: 22px; height: 22px; }
.search__bar input { flex: 1; min-width: 0; height: 56px; border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); }
.search__bar input:focus { outline: none; }
.search__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--muted); }
.search__results { max-height: 52vh; overflow-y: auto; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--tint); }
.search__results a small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.search__results a:hover, .search__results a[aria-selected="true"] { background: var(--tint); color: var(--cta); }
.search__empty { padding: 24px 20px; color: var(--muted); }
.search__hint { margin: 0; padding: 10px 20px; font-size: .78rem; color: var(--muted); background: var(--tint); }

/* Quote wizard */
.stepper { display: flex; gap: 12px; margin: 0 0 28px; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--tint); color: var(--muted); font-weight: 700; font-size: .9rem; }
.stepper li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: .8rem; }
.stepper li.is-active { background: var(--navy-900); color: #fff; }
.stepper li.is-active span { background: var(--sky-300); color: var(--navy-950); border-color: transparent; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.field__label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: 10px; }
.field__label small { font-weight: 500; color: var(--muted); }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid #b6c6d6; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.pick span .icon { width: 18px; height: 18px; color: var(--blue-600); }
.pick:hover span { border-color: var(--blue-500); }
.pick input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pick input:checked + span .icon { color: var(--sky-300); }
.pick input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 920px) {
  .mobile-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(6 49 95 / 10%); }
  body { padding-bottom: 72px; }
  .search-btn { margin-inline-start: auto; }
  .search-btn + .menu-btn { margin-inline-start: 0; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .explorer__tab { scroll-snap-align: start; }
  .page-hero--split .hero-split, .split--faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .checklist--compact { grid-template-columns: 1fr; }
  .stepper li { font-size: .8rem; padding: 8px 10px; }
}
@media (min-width: 921px) { .search-btn { margin-inline-start: 4px; } .header__cta { margin-inline-start: 8px; } }
.notfound main { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.notfound h1 { font-size: 5rem; margin: 0; }
html[lang="ar"] .hv-node text { font-family: var(--font); font-weight: 600; }.hv-node, .hv-node:hover { color: var(--sky-300); text-decoration: none; }
.hv-node:hover svg { color: #fff; }
.hero__art { width: 100%; max-width: 560px; margin-inline: auto; }
@media (max-width: 920px) { .hero__art { max-width: 520px; } }

.form__err { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fdecec; color: #7f1d1d; font-weight: 600; }
