/* CS INFOSOFT — site stylesheet (2026 redesign)
   Palette drawn from the logo: navy #1C3155, signal red #C30E14.
   One family: Schibsted Grotesk. */

:root {
  --navy-950: #0A1530;
  --navy-900: #10213F;
  --navy-800: #172B51;
  --navy: #1C3155;
  --navy-600: #2D4677;
  --red: #C30E14;
  --red-700: #A10A10;
  --red-50: #FDECEC;
  --ink: #0F1A33;
  --slate: #48546F;
  --muted: #6B7690;
  --line: #DDE3EC;
  --mist: #F1F4F9;
  --white: #fff;
  --on-dark: #C9D3E6;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-xl: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-2xl: clamp(2.4rem, 1.4rem + 3.8vw, 4.25rem);

  --wrap: 1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  overflow-x: clip; margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.65;
  color: var(--slate); background: var(--white); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: var(--fs-sm); line-height: 1;
  text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --bg: var(--red-700); --bd: var(--red-700); color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(195, 14, 20, .6); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--nudge { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; --bd: var(--navy); box-shadow: none; }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; box-shadow: none; }
.btn--navy { --bg: var(--navy); --bd: var(--navy); }
.btn--navy:hover { --bg: var(--navy-950); --bd: var(--navy-950); box-shadow: 0 10px 24px -12px rgba(16, 33, 63, .7); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; }
.btn--block { width: 100%; }
.textlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.textlink .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.textlink:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark); font-size: var(--fs-xs); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
.topbar__list { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.topbar__note { opacity: .85; }
@media (max-width: 720px) { .topbar__note, .topbar__social { display: none; } .topbar__list { gap: 1rem; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(16, 33, 63, .35); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .wrap { height: 64px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; transition: width .3s var(--ease); }
.site-header.is-scrolled .brand img { width: 150px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .125rem; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; height: 42px; padding: 0 .85rem; line-height: 1; border-radius: 999px; border: 0; background: none;
  color: var(--ink); font-weight: 500; font-size: var(--fs-sm); text-decoration: none; transition: background .2s, color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--mist); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--red); }
.nav__link .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: min(760px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem;
  box-shadow: 0 30px 60px -28px rgba(10, 21, 48, .45);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; list-style: none; }
.mega--products .mega__grid { grid-template-columns: repeat(3, 1fr); }
.mega__link { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--r); text-decoration: none; color: var(--ink); transition: background .2s; }
.mega__link:hover { background: var(--mist); color: var(--ink); }
.mega__link .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--mist); color: var(--navy); transition: background .2s, color .2s; }
.mega__link:hover .icon { background: var(--navy); color: #fff; }
.mega__link strong { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; }
.mega__link span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: .15rem; }
.mega--products .mega__link { align-items: center; padding: .55rem .7rem; }
.mega--products .mega__link .icon { width: 32px; height: 32px; padding: 7px; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--navy-900); color: var(--on-dark); font-size: var(--fs-sm); }
.mega__foot a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.mega__foot a:hover { color: #fff; text-decoration: underline; }

.header-actions { display: flex; align-items: center; gap: .5rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.header-actions .btn--sm { height: 42px; min-height: 42px; padding-block: 0; }
.iconbtn { width: 42px; height: 42px; flex: none; padding: 0; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.iconbtn:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.iconbtn .icon { width: 19px; height: 19px; }
.kbd { font-size: 11px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--muted); font-family: var(--font); }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-grid; }
  .header-actions { margin-left: auto; padding-left: 0; border-left: 0; }
}

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, .55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__head img { width: 140px; }
.drawer__body { overflow-y: auto; padding: .75rem 1.25rem 1.5rem; flex: 1; }
.drawer__nav { list-style: none; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a, .drawer__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; text-align: left; }
.drawer__toggle .icon { transition: transform .25s; }
.drawer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 0 0 .75rem; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { font-size: var(--fs-sm); font-weight: 500; padding: .55rem 0 .55rem .9rem; color: var(--slate); border-left: 2px solid var(--line); }
.drawer__sub a:hover { color: var(--red); border-color: var(--red); }
.drawer__foot { padding: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }

/* ---------- Sections / headings ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--section) * .65); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--red); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 18px; height: 3px; background: currentColor; transform: skewX(-24deg); border-radius: 1px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head h2 { font-size: var(--fs-xl); margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 52ch; }
.section-head--center { display: block; text-align: center; }
.section-head--center h2, .section-head--center p { margin-inline: auto; }
.section-head--center p { margin-top: 1rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--slate); }
.brandname { font-weight: 700; color: var(--navy); }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero::before { /* fine grid texture */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 10%, transparent 85%);
}
.hero::after { /* bottom fade into page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: #fff; z-index: -1;
}
.hero__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem 4rem; align-items: end; }
.hero__tag { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 500; font-size: var(--fs-sm); margin-bottom: 1.4rem; }
.hero__tag i { width: 26px; height: 6px; background: var(--red); transform: skewX(-28deg); border-radius: 1px; }
.hero h1 { color: #fff; font-size: var(--fs-2xl); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 0; max-width: 15ch; }
.hero__sub { color: #fff; font-size: var(--fs-md); font-weight: 600; margin: 0 0 .75rem; }
.hero__copy p { margin-bottom: 1.75rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__stage { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); }
.slash { position: absolute; pointer-events: none; transform: skewX(-24deg); }
.slash--a { right: 6%; top: -38px; width: 34%; height: 76px; background: var(--red); }
.slash--b { right: calc(6% + 34% - 60px); top: -38px; width: 90px; height: 76px; background: var(--navy-600); opacity: .7; }
.slash--c { left: -60px; bottom: 28%; width: 160px; height: 14px; background: var(--red); }

/* Banner slider */
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.slider__track { position: relative; aspect-ratio: 1920 / 820; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 6s linear; }
.slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.slide img, .slide picture { width: 100%; height: 100%; object-fit: cover; }
.slider__bar { position: relative; z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .08); }
.slider__dots { display: flex; gap: .5rem; flex: 1; }
.slider__dot { position: relative; flex: 1; max-width: 120px; height: 28px; border: 0; background: none; padding: 0; }
.slider__dot::before, .slider__dot span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.slider__dot span { right: auto; width: 0; background: #fff; }
.slider__dot.is-active span { animation: fill var(--dur, 6s) linear forwards; }
.slider.is-paused .slider__dot.is-active span { animation-play-state: paused; }
.slider__dot.is-done span { width: 100%; }
@keyframes fill { to { width: 100%; } }
.slider__btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 21, 48, .35); color: #fff; transition: background .2s, border-color .2s; }
.slider__btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.slider__btn .icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .hero__top { grid-template-columns: 1fr; }
  .slider__bar { padding: .5rem .7rem; }
  .slash--a { top: -22px; height: 44px; } .slash--b { top: -22px; height: 44px; }
}

/* Marquee of capabilities under hero */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: #fff; }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: .9rem; padding: 1.15rem 1.6rem; font-weight: 600; color: var(--ink); white-space: nowrap; text-decoration: none; }
.ticker__item .icon { color: var(--red); width: 20px; height: 20px; }
.ticker__item:hover { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.page-hero .slash--a { top: auto; bottom: -1px; right: 4%; width: 220px; height: 22px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem 4rem; align-items: center; }
.page-hero--solo .page-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 1rem; }
.page-hero p { max-width: 56ch; margin-bottom: 1.75rem; }
.page-hero__media { position: relative; }
.page-hero__media picture, .page-hero__media img { border-radius: var(--r-lg); width: 100%; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.page-hero__media::before { content: ""; position: absolute; left: -18px; top: 18%; width: 10px; height: 64%; background: var(--red); transform: skewY(-24deg); border-radius: 2px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; font-size: var(--fs-xs); margin-bottom: 1.5rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs [aria-current] { color: #fff; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media::before { display: none; } }

/* ---------- About block ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media .frame { position: relative; border-radius: var(--r-lg); background: var(--navy-950); padding: clamp(1rem, 3vw, 2rem); }
.split__media .frame::after { content: ""; position: absolute; right: -14px; bottom: 32px; width: 120px; height: 14px; background: var(--red); transform: skewX(-24deg); }
.split h2 { font-size: var(--fs-xl); }
.split .sub { font-size: var(--fs-md); font-weight: 600; color: var(--ink); line-height: 1.45; margin-bottom: 1.25rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checks { list-style: none; display: grid; gap: .65rem; margin: 1.5rem 0 2rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .15rem; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C30E14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem 1.5rem; }
.checks--first { text-transform: none; }

/* ---------- Service index (list, not cards) ---------- */
.svc-index { list-style: none; border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a { display: grid; grid-template-columns: 56px minmax(180px, 1fr) minmax(0, 2fr) 44px; gap: 1.5rem 2rem; align-items: center; padding: 1.75rem .5rem; text-decoration: none; color: var(--slate); position: relative; transition: background .3s var(--ease), padding .3s var(--ease); }
.svc-row a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.svc-row a:hover { background: var(--mist); padding-inline: 1.25rem .75rem; }
.svc-row a:hover::before { transform: scaleY(1); }
.svc-row__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; }
.svc-row__icon .icon { width: 26px; height: 26px; }
.svc-row h3 { font-size: var(--fs-md); margin: 0; }
.svc-row p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.svc-row__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.svc-row a:hover .svc-row__go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .svc-row a { grid-template-columns: 48px 1fr; gap: .75rem 1rem; padding: 1.4rem .25rem; }
  .svc-row__icon { width: 48px; height: 48px; }
  .svc-row p { grid-column: 1 / -1; }
  .svc-row__go { display: none; }
}

/* ---------- Focus list (features) ---------- */
.focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.focus__item { padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; }
.focus__item:hover { background: var(--mist); }
.focus__item .icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 1.25rem; }
.focus__item h3 { font-size: var(--fs-md); margin-bottom: .4rem; }
.focus__item p { margin: 0; font-size: var(--fs-sm); }
.section--mist .focus__item { background: transparent; }
.section--mist .focus__item:hover { background: #fff; }
@media (max-width: 900px) { .focus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .focus { grid-template-columns: 1fr; } }

/* ---------- Statement band ---------- */
.band { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); isolation: isolate; }
.band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem 4rem; align-items: center; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.band .band__big { font-size: clamp(4rem, 2rem + 9vw, 9rem); font-weight: 800; line-height: .85; letter-spacing: -.05em; color: #fff; margin: 0; }
.band .band__big span { color: var(--red); }
.band h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: .5rem; }
.band p { margin: 0; font-size: var(--fs-md); }
.band::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 220px; background: var(--red); transform: skewX(-24deg); opacity: .9; z-index: -1; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } .band::after { width: 90px; right: -50px; } }

/* ---------- Carousel (products) ---------- */
.carousel { position: relative; }
.carousel__head { display: flex; justify-content: flex-end; gap: .5rem; margin: -1.5rem 0 1.25rem; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--navy) var(--line); list-style: none; }
.carousel__track::-webkit-scrollbar { height: 4px; }
.carousel__track::-webkit-scrollbar-track { background: var(--line); border-radius: 4px; }
.carousel__track::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }
.carousel__track > li { scroll-snap-align: start; }
.carousel .iconbtn:disabled { opacity: .35; cursor: default; }
@media (max-width: 1080px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); } }
@media (max-width: 760px) { .carousel__track { grid-auto-columns: 78%; } .carousel__head { margin-top: 0; } }

.product { display: block; text-decoration: none; color: var(--ink); }
.product__img { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.product__img img, .product__img picture { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__name { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: .9rem; font-weight: 600; line-height: 1.35; }
.product__name .icon { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--red); transition: transform .25s var(--ease); }
.product:hover .product__name .icon { transform: translate(3px, -3px); }
.product:hover { color: var(--red); }

/* ---------- Tech stack ---------- */
.tech { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; list-style: none; }
.tech li { background: #fff; padding: 1.5rem; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; transition: background .3s; }
.tech li:hover { background: var(--mist); }
.tech img, .tech picture { width: 64px; height: 52px; object-fit: cover; border-radius: 10px; }
.tech h3 { font-size: 1.05rem; margin: .1rem 0 .3rem; }
.tech p { margin: 0; font-size: var(--fs-xs); line-height: 1.55; }
@media (max-width: 1000px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tech { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-900); color: var(--on-dark); padding: clamp(2.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 4rem) clamp(2.25rem, 5vw, 4rem); padding-right: max(clamp(2.25rem, 5vw, 4rem), 140px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -24px; top: -20%; width: 70px; height: 140%; background: var(--red); transform: skewX(-24deg); z-index: -1; opacity: .95; }
.cta::after { content: ""; position: absolute; right: 64px; top: -20%; width: 24px; height: 140%; background: var(--navy-600); transform: skewX(-24deg); z-index: -1; }
.cta h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: .5rem; max-width: 20ch; }
.cta p { margin: 0; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding-right: clamp(2.25rem, 5vw, 4rem); } .cta::before { right: -40px; width: 50px; } .cta::after { right: 30px; width: 14px; } }

/* ---------- Article (detail pages) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--fs-lg); margin: 2.6rem 0 .9rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.prose h2:first-child, .prose .toc + h2 { padding-top: 0; border-top: 0; margin-top: 0; }
.prose p { margin-bottom: 1.15em; }
.prose ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem 1.25rem; margin: 1.5rem 0 1.75rem; }
.prose ul li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: var(--fs-sm); padding: .75rem .9rem; border-radius: var(--r); background: var(--mist); }
.prose ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: .15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C30E14' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.prose .lede { font-size: var(--fs-md); color: var(--ink); line-height: 1.55; }

.toc { margin-bottom: 2.5rem; padding: 1.25rem 1.4rem; border-left: 3px solid var(--red); background: var(--mist); border-radius: 0 var(--r) var(--r) 0; }
.toc strong { display: block; color: var(--ink); margin-bottom: .5rem; font-size: var(--fs-sm); }
.toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: var(--fs-sm); }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--red); }

.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; background: #fff; }
.panel h2 { font-size: 1.05rem; margin-bottom: .9rem; }
.panel--dark { background: var(--navy-950); border-color: var(--navy-950); color: var(--on-dark); }
.panel--dark h2 { color: #fff; font-size: var(--fs-md); }
.panel--dark p { font-size: var(--fs-sm); }
.linklist { list-style: none; display: grid; }
.linklist a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .2rem; border-bottom: 1px dashed var(--line); color: var(--slate); text-decoration: none; font-size: var(--fs-sm); transition: color .2s, padding .2s; }
.linklist li:last-child a { border-bottom: 0; }
.linklist a .icon { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.linklist a:hover { color: var(--red); padding-left: .45rem; }
.linklist a:hover .icon, .linklist a[aria-current] .icon { opacity: 1; transform: none; }
.linklist a[aria-current] { color: var(--red); font-weight: 600; }
.contactlist { list-style: none; display: grid; gap: .75rem; font-size: var(--fs-sm); }
.contactlist li { display: flex; gap: .75rem; align-items: flex-start; }
.contactlist .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--red); }
.contactlist a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contactlist a:hover { color: #fff; text-decoration: underline; }
.panel:not(.panel--dark) .contactlist a:hover { color: var(--red); }
.share { display: flex; gap: .5rem; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share .icon { width: 17px; height: 17px; }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.related a { display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--slate); transition: border-color .3s, transform .3s var(--ease); }
.related a:hover { border-color: var(--navy); transform: translateY(-4px); }
.related .icon { width: 28px; height: 28px; color: var(--red); }
.related h3 { margin: 0; font-size: var(--fs-md); }
.related p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ---------- Services page extras ---------- */
.capgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.capbox { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--line); }
.capbox__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.capbox__head .icon { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--navy); color: #fff; }
.capbox__head h3 { margin: 0; font-size: var(--fs-lg); }
.capbox__head p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; list-style: none; }
.chips li { display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem; border-radius: var(--r); background: var(--mist); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.chips .icon { width: 18px; height: 18px; color: var(--red); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.pillar { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-top: 2px solid var(--ink); }
.pillar .icon { width: 26px; height: 26px; color: var(--red); margin-top: .15rem; }
.pillar h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.pillar p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 900px) { .capgrid, .pillars { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .chips { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: 2rem; position: relative; }
.plan--featured { background: var(--navy-950); border-color: var(--navy-950); color: var(--on-dark); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan h3 { font-size: var(--fs-md); margin-bottom: 1.25rem; }
.plan__price { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: .35rem; }
.plan__price small { font-size: 1rem; font-weight: 600; vertical-align: top; margin-right: .15rem; letter-spacing: 0; }
.plan__note { font-size: var(--fs-xs); margin-bottom: 1.5rem; color: var(--muted); }
.plan--featured .plan__note { color: var(--on-dark); }
.plan .checks { margin: 0 0 2rem; flex: 1; }
.plan--featured .checks li { color: #fff; }
.plan__flag { position: absolute; top: 1.25rem; right: 1.25rem; font-size: var(--fs-xs); font-weight: 600; color: #fff; background: var(--red); padding: .25rem .65rem; border-radius: 999px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stat { padding: 1rem 2rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: block; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; color: #fff; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--red); vertical-align: top; margin-left: .1em; }
.stat__label { display: block; margin-top: .6rem; color: var(--on-dark); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding: 1.25rem 0; } .stat:first-child { border-top: 0; } }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv__item { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.mv__item .icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 1.25rem; }
.mv__item h3 { font-size: var(--fs-lg); }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.tags li { padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; color: var(--ink); font-size: var(--fs-sm); transition: border-color .2s, background .2s, color .2s; }
.tags li:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ---------- Portfolio ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; }
.work { position: relative; }
.work[hidden] { display: none; }
.work figure { margin: 0; }
.work__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 370 / 250; background: var(--mist); box-shadow: 0 0 0 1px var(--line); }
.work__img img, .work__img picture { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease), object-position 3s var(--ease); }
.work:hover .work__img img { transform: scale(1.04); }
.work figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .85rem; font-weight: 600; color: var(--ink); }
.work figcaption span { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.works-more { display: flex; justify-content: center; margin-top: 3rem; }
@media (max-width: 900px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .works { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.ccard { padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.ccard .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--red-50); color: var(--red); margin-bottom: 1.1rem; }
.ccard h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.ccard p { margin: 0 0 .35rem; font-size: var(--fs-sm); }
.ccard a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ccard a:hover { color: var(--red); }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem; margin-top: 1.5rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.formcard { border-radius: var(--r-lg); background: var(--navy-950); color: var(--on-dark); padding: clamp(1.75rem, 4vw, 3rem); }
.formcard h2 { color: #fff; font-size: var(--fs-lg); margin-bottom: .4rem; }
.formcard > p { margin-bottom: 1.75rem; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Forms */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 500; margin-bottom: .4rem; color: inherit; }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .fieldrow { grid-template-columns: 1fr; } }
.input, .modal-input, .formcard input[type="text"], .formcard input[type="email"], .formcard input[type="tel"], .formcard textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.formcard .input, .formcard input[type], .formcard textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.formcard ::placeholder { color: rgba(201, 211, 230, .6); }
textarea.input, textarea.modal-input, .formcard textarea { min-height: 140px; resize: vertical; }
.input:focus, .modal-input:focus, .formcard input:focus, .formcard textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(195, 14, 20, .15); }
.input.is-invalid, .modal-input.is-invalid { border-color: var(--red); }
.field__hint { display: block; font-size: var(--fs-xs); color: var(--red); margin-top: .35rem; min-height: 1em; }
.formcard .field__hint { color: #FF9EA1; }
.form-note { font-size: var(--fs-xs); margin-top: 1rem; opacity: .8; }

/* Alerts — class names used by the ASP.NET code-behind */
.alert { border-radius: var(--r-sm); padding: .85rem 1rem; font-size: var(--fs-sm); font-weight: 500; }
.alert-danger { background: #FDECEC; color: #8B0A0E; border: 1px solid #F6C4C6; }
.alert-success { background: #E8F6EE; color: #11603A; border: 1px solid #B9E3CB; }
.mt-3 { margin-top: 1rem; }
.status:empty { display: none; }

/* ---------- Modal (works with the server-side $('#contactModal').modal() calls) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, .6); backdrop-filter: blur(4px); animation: fade .25s var(--ease); }
.modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; background: #fff; border-radius: var(--r-lg); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: pop .35s var(--ease); }
.modal__head { position: relative; padding: 1.75rem 1.75rem 1.25rem; background: var(--navy-950); color: var(--on-dark); overflow: hidden; }
.modal__head::after { content: ""; position: absolute; right: 60px; top: -10px; width: 40px; height: 140%; background: var(--red); transform: skewX(-24deg); }
.modal__head h2 { color: #fff; font-size: var(--fs-lg); margin: 0 0 .25rem; position: relative; z-index: 1; }
.modal__head p { margin: 0; font-size: var(--fs-sm); position: relative; z-index: 1; max-width: 36ch; }
.modal__close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.modal__close:hover { background: #fff; color: var(--navy); }
.modal__body { padding: 1.5rem 1.75rem 1.75rem; }
.modal-send-btn { width: 100%; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
body.modal-open { overflow: hidden; }

/* ---------- Search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 210; display: none; padding: 12vh 1rem 1rem; }
.palette.is-open { display: block; }
.palette__scrim { position: absolute; inset: 0; background: rgba(10, 21, 48, .55); backdrop-filter: blur(4px); }
.palette__box { position: relative; max-width: 620px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: pop .25s var(--ease); }
.palette__field { display: flex; align-items: center; gap: .75rem; padding: 0 1.25rem; border-bottom: 1px solid var(--line); }
.palette__field .icon { color: var(--muted); }
.palette__field input { flex: 1; border: 0; outline: 0; min-height: 62px; font-size: 1.1rem; color: var(--ink); background: none; }
.palette__list { list-style: none; max-height: 52vh; overflow-y: auto; padding: .5rem; }
.palette__list a { display: flex; align-items: center; gap: .85rem; padding: .75rem .85rem; border-radius: var(--r); color: var(--ink); text-decoration: none; }
.palette__list a .icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--mist); color: var(--navy); }
.palette__list a small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.palette__list a.is-active, .palette__list a:hover { background: var(--mist); }
.palette__list a.is-active .icon { background: var(--navy); color: #fff; }
.palette__empty { padding: 1.5rem 1rem; text-align: center; color: var(--muted); }
.palette__foot { display: flex; gap: 1rem; padding: .7rem 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark); font-size: var(--fs-sm); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem 3rem; padding-block: clamp(3.5rem, 6vw, 5.5rem) 3rem; }
.footer__brand img { width: 180px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 34ch; }
.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .contactlist .icon { color: var(--red); }
.footer address { font-style: normal; }
.footer__office { display: grid; gap: 1rem; }
.footer__office strong { display: block; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.social a:hover { background: #fff; color: var(--navy); text-decoration: none; }
.social .icon { width: 17px; height: 17px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.4rem; font-size: var(--fs-xs); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__word { position: absolute; right: -1rem; bottom: 2.5rem; font-size: clamp(5rem, 14vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255, 255, 255, .025); pointer-events: none; user-select: none; white-space: nowrap; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Floating contact dock ---------- */
.dock { position: fixed; right: 16px; top: 50%; z-index: 70; transform: translateY(-50%); display: grid; gap: 10px; }
.dock a { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; box-shadow: 0 12px 26px -12px rgba(10, 21, 48, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.dock a:hover, .dock a:focus-visible { transform: translateX(-3px) scale(1.06); color: #fff; box-shadow: 0 16px 30px -12px rgba(10, 21, 48, .7), 0 0 0 1px rgba(255, 255, 255, .2) inset; }
.dock .icon { width: 20px; height: 20px; }
.dock .dock__wa { background: #128C4B; }
.dock .dock__call { background: var(--red); }
.dock a > span { position: absolute; right: calc(100% + 12px); top: 50%; padding: .45rem .75rem; border-radius: 8px; background: var(--navy-950); color: #fff; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(6px, -50%); transition: opacity .2s, transform .2s var(--ease); }
.dock a > span::after { content: ""; position: absolute; left: 100%; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left-color: var(--navy-950); }
.dock a:hover > span, .dock a:focus-visible > span { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1280px) { .dock { right: 12px; gap: 8px; } .dock a { width: 44px; height: 44px; border-radius: 12px; } }
.mbar { display: none; }
@media (max-width: 1024px) {
  .dock { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(16, 33, 63, .4); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .55rem 0 .6rem; font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; }
  .mbar .icon { width: 20px; height: 20px; }
  .mbar__wa .icon { color: #128C4B; } .mbar__call .icon { color: var(--red); }
  body { padding-bottom: 64px; }
}

/* Back to top */
.totop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 65; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px -12px rgba(16, 33, 63, .45); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop svg.ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.totop .ring circle { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: var(--p, 138.2); }
.totop .icon { width: 18px; height: 18px; }
@media (min-width: 1025px) { .totop { right: 1.25rem; bottom: 6rem; } }
@media (max-width: 1024px) { .totop { bottom: 5.25rem; right: 1rem; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Hero entrance — the one orchestrated moment */
.js .hero [data-enter] { opacity: 0; transform: translateY(26px); }
.js .hero.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .hero .slash--a { transform: skewX(-24deg) translateX(40px); opacity: 0; }
.js .hero.is-ready .slash--a { transform: skewX(-24deg); opacity: 1; transition: transform 1.2s var(--ease) .5s, opacity 1.2s var(--ease) .5s; }

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

/* RTL tweaks (Arabic page) */
[dir="rtl"] .svc-row a::before { left: auto; right: 0; }

@media print {
  .topbar, .site-header, .dock, .mbar, .totop, .footer, .cta, .modal, .palette { display: none !important; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}
.palette__field input::-webkit-search-cancel-button { display: none; }

/* ===== 2026.11 revamp: international sections ===== */
.slider__track { aspect-ratio: 1920 / 840; }
.slide__cap { position: absolute; z-index: 2; left: clamp(1.25rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); width: min(25%, 300px); color: var(--on-dark); }
.slide__cap .slide__title { color: #fff; font-size: clamp(1.15rem, .8rem + 1vw, 1.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: .6rem; }
.slide__cap p { font-size: var(--fs-sm); line-height: 1.55; margin-bottom: 1rem; }
.slide__cap .textlink { color: #fff; font-size: var(--fs-sm); }
.slide__cap .textlink:hover { color: #fff; text-decoration: underline; }
.slide:not(.is-active) .slide__cap { visibility: hidden; }
@media (max-width: 860px) {
  .slider__track { aspect-ratio: auto; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; }
  .slide picture, .slide img { aspect-ratio: 1920 / 840; height: auto; }
  .slide__cap { position: static; transform: none; width: auto; padding: 1rem 1.1rem 1.1rem; background: var(--navy-900); }
}

/* Why choose */
.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.why__item { position: relative; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.why__item::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.why__item:hover { border-color: transparent; transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(16, 33, 63, .45); }
.why__item:hover::after { transform: scaleX(1); }
.why__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 1.25rem; }
.why__icon .icon { width: 24px; height: 24px; }
.why__item h3 { font-size: var(--fs-md); margin-bottom: .45rem; }
.why__item p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; } }

/* Industries */
.inds { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.ind { display: flex; align-items: center; gap: .9rem; height: 100%; padding: 1.1rem 1.2rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.ind .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-50); color: var(--red); transition: background .25s, color .25s; }
.ind:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ind:hover .icon { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 1000px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .inds { grid-template-columns: 1fr; } }

/* Process */
.process { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; }
.process .section-head h2 { color: #fff; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, var(--red) 0 16%, rgba(255, 255, 255, .14) 16%); }
.step { position: relative; padding-right: 1.25rem; }
.step__n { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); border: 2px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; transition: background .3s, border-color .3s; }
.step:first-child .step__n, .step:hover .step__n { background: var(--red); border-color: var(--red); }
.step h3 { color: #fff; font-size: 1.1rem; margin-bottom: .4rem; }
.step p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 1rem; padding: 0 0 1.75rem; }
  .step__n { grid-row: span 2; margin: 0; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .14); }
}

/* Global presence */
.globe { background: var(--navy-950); color: var(--on-dark); }
.globe .section-head h2 { color: #fff; }
.globe__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.globe__map { border-radius: var(--r-lg); background: radial-gradient(ellipse at 30% 20%, #1c3155, transparent 70%); }
.worldmap { width: 100%; height: auto; display: block; overflow: visible; }
.worldmap text { paint-order: stroke; stroke: #0A1530; stroke-width: 4px; }
.worldmap .arc { stroke-dasharray: 900; stroke-dashoffset: 900; }
.globe.is-in .worldmap .arc, .js .globe__map.is-in .worldmap .arc { animation: draw 1.6s var(--ease) forwards; }
.no-js .worldmap .arc, html:not(.js) .worldmap .arc { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.worldmap .pin { cursor: default; outline: none; }
.worldmap .pin .halo { transition: opacity .2s, r .2s; }
.worldmap .pin:hover .halo, .worldmap .pin:focus .halo { opacity: .45; }
.mkts { list-style: none; display: grid; gap: .5rem; }
.mkt a, .mkt div { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border-radius: var(--r); border: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark); text-decoration: none; transition: background .2s, border-color .2s; }
.mkt strong { color: #fff; min-width: 9.5rem; font-weight: 600; }
.mkt span { font-size: var(--fs-xs); flex: 1; }
.mkt .icon { width: 16px; height: 16px; color: #fff; opacity: .6; }
.mkt a:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: #fff; }
.mkt--home a { border-color: var(--red); background: rgba(195, 14, 20, .12); }
@media (max-width: 960px) { .globe__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mkt strong { min-width: 0; } .mkt a, .mkt div { flex-wrap: wrap; gap: .2rem 1rem; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 4rem; align-items: start; }
.faq h2 { font-size: var(--fs-xl); }
.faq__list { display: grid; gap: .75rem; }
.faq__item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--navy); box-shadow: 0 18px 40px -30px rgba(16, 33, 63, .5); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.faq__ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--navy); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq__ic .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__ic { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq__item p { margin: 0; padding: 0 1.25rem 1.25rem; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Consultation */
.consult { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; padding: clamp(2rem, 5vw, 3.75rem); border-radius: var(--r-lg); background: var(--navy-900); color: var(--on-dark); }
.consult::before { content: ""; position: absolute; left: -40px; bottom: -20%; width: 60px; height: 140%; background: var(--red); transform: skewX(-24deg); z-index: -1; opacity: .9; }
.consult__copy { padding-left: clamp(0rem, 2vw, 1.5rem); }
.consult h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: .6rem; }
.consult p { max-width: 52ch; margin-bottom: 1.5rem; }
.consult__ways { list-style: none; display: grid; gap: .6rem; }
.consult__ways a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark); text-decoration: none; font-size: var(--fs-sm); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.consult__ways a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; transform: translateX(4px); }
.consult__ways strong { display: block; color: #fff; }
.consult__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--red); color: #fff; }
.consult__ic--wa { background: #128C4B; }
@media (max-width: 860px) { .consult { grid-template-columns: 1fr; } }

/* Products page */
.prods { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.prod { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.prod:hover, .prod:target { border-color: var(--navy); box-shadow: 0 24px 50px -32px rgba(16, 33, 63, .55); transform: translateY(-3px); }
.prod__img { aspect-ratio: 3 / 2; background: var(--navy-950); overflow: hidden; }
.prod__img img, .prod__img picture { width: 100%; height: 100%; object-fit: contain; }
.prod__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.prod__body h3 { margin: 0; font-size: var(--fs-md); display: flex; align-items: center; gap: .6rem; }
.prod__body h3 .icon { width: 22px; height: 22px; color: var(--red); }
.prod__body p { margin: 0; font-size: var(--fs-sm); flex: 1; }
.prod__acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
@media (max-width: 1000px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prods { grid-template-columns: 1fr; } }

/* Portfolio browser frames */
.work__img { padding-top: 26px; background: #E9EEF5; }
.work__img::before { content: ""; position: absolute; z-index: 1; left: 12px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #E5575C; box-shadow: 13px 0 #F2B53C, 26px 0 #3CBF6E; }
.work__img::after { content: ""; position: absolute; left: 52px; right: 12px; top: 6px; height: 14px; border-radius: 4px; background: #fff; }

/* Service enquiry chips on forms */
.svcpick { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 0; border: 0; }
.svcpick legend { font-size: var(--fs-sm); font-weight: 500; margin-bottom: .5rem; padding: 0; }
.svcpick button { padding: .45rem .8rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: inherit; transition: background .2s, border-color .2s, color .2s; }
.svcpick button:hover { border-color: #fff; }
.svcpick button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.modal .svcpick button { border-color: var(--line); color: var(--ink); }
.modal .svcpick button:hover { border-color: var(--navy); }
.modal .svcpick button[aria-pressed="true"] { color: #fff; border-color: var(--red); }
.enq-note { display: none; margin-bottom: 1rem; padding: .6rem .85rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); font-size: var(--fs-sm); }
.enq-note.is-on { display: block; }

/* Arabic (RTL) */
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", var(--font); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .hero h1, html[lang="ar"] .band .band__big { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .header-actions { padding-left: 0; border-left: 0; padding-right: 1rem; border-right: 1px solid var(--line); }
[dir="rtl"] .icon--nudge, [dir="rtl"] .textlink .icon, [dir="rtl"] .svc-row__go .icon, [dir="rtl"] .mkt .icon, [dir="rtl"] .linklist .icon, [dir="rtl"] [data-slider-prev] .icon, [dir="rtl"] [data-slider-next] .icon, [dir="rtl"] [data-prev] .icon, [dir="rtl"] [data-next] .icon, [dir="rtl"] .product__name .icon, [dir="rtl"] .mega__foot .icon { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon--nudge { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .textlink:hover .icon { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .slide__cap { text-align: right; }
[dir="rtl"] bdi { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .drawer__panel { inset: 0 auto 0 0; transform: translateX(-100%); }
[dir="rtl"] .drawer.is-open .drawer__panel { transform: none; }
[dir="rtl"] .drawer__sub a { padding: .55rem .9rem .55rem 0; border-left: 0; border-right: 2px solid var(--line); }
[dir="rtl"] .footer__word { right: auto; left: -1rem; }
[dir="rtl"] .kicker::before, [dir="rtl"] .hero__tag i { transform: skewX(24deg); }
[dir="rtl"] .ticker__track { animation-direction: reverse; }
[dir="rtl"] .worldmap, [dir="rtl"] .tech li, [dir="rtl"] .phone-ltr { direction: ltr; }
[dir="rtl"] .worldmap text { direction: ltr; }
[dir="rtl"] .contactlist a[href^="tel"], [dir="rtl"] a[href^="tel"] span, [dir="rtl"] .topbar a span, [dir="rtl"] .dock span { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .faq__item summary h3 { text-align: right; }

/* ===== 2026.11 software showcase ===== */
.uitag { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: .25rem .6rem; border-radius: 999px; background: rgba(10, 21, 48, .78); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .01em; pointer-events: none; backdrop-filter: blur(4px); }
.page-hero__media .uitag { right: 14px; bottom: 14px; }

/* Device hero */
.hero--devices::after { height: 16%; }
.hero--devices h1 { max-width: 17ch; }
.hero__devices { position: relative; margin: clamp(1.5rem, 4vw, 3rem) calc(var(--gutter) * -0.5) 0; }
.hero__devices picture, .hero__devices img { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); }
.hero__devices .uitag { bottom: 18%; right: 3%; }
.hero__markets { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.hero__markets li { padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: var(--fs-xs); color: #fff; }
.js .hero.is-ready .hero__devices img { animation: floaty 7s ease-in-out 1.4s infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Services grid with visuals */
.svcs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svcs li:nth-child(1), .svcs li:nth-child(2) { grid-column: span 1; }
.svc { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; color: var(--slate); text-decoration: none; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-950); }
.svc__img picture, .svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.svc__body h3 { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: var(--fs-md); }
.svc__body h3 .icon { width: 22px; height: 22px; color: var(--red); }
.svc__body p { margin: 0; font-size: var(--fs-sm); flex: 1; }
.svc__body .textlink { margin-top: .4rem; }
.svc:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(16, 33, 63, .6); color: var(--slate); }
.svc:hover .svc__img img { transform: scale(1.05); }
.svc:hover .textlink .icon { transform: translateX(4px); }
@media (min-width: 1101px) { .svcs li:nth-child(10) { grid-column: 2; } }
@media (max-width: 1100px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svcs { grid-template-columns: 1fr; } }

/* Product showcase (tabs) */
.show { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.show__tabs { list-style: none; display: grid; gap: .35rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.show__tabs button { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); text-align: start; transition: background .2s, border-color .2s, color .2s; }
.show__tabs button .icon { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: #fff; color: var(--navy); border: 1px solid var(--line); flex: none; transition: background .2s, color .2s; }
.show__tabs button:hover { background: #fff; border-color: var(--line); }
.show__tabs button[aria-selected="true"] { background: #fff; border-color: var(--navy); box-shadow: 0 14px 30px -24px rgba(16, 33, 63, .6); }
.show__tabs button[aria-selected="true"] .icon { background: var(--red); color: #fff; border-color: var(--red); }
.show__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.show__img { position: relative; background: var(--navy-950); aspect-ratio: 3 / 2; }
.show__img picture, .show__img img { width: 100%; height: 100%; object-fit: cover; }
.show__info { padding: clamp(1.4rem, 3vw, 2.25rem); }
.show__info h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.show__info .checks { margin: 1.25rem 0 1.75rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 960px) {
  .show { grid-template-columns: 1fr; }
  .show__tabs { position: static; display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .show__tabs li { flex: none; scroll-snap-align: start; }
  .show__tabs button { white-space: nowrap; background: #fff; border-color: var(--line); }
}

/* Products page features */
.prod__img { position: relative; }
.prod__feats { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .75rem; margin: .25rem 0 0; font-size: var(--fs-xs); }
.prod__feats li::before { width: 18px; height: 18px; background-size: 10px; margin-top: 0; }
@media (max-width: 380px) { .prod__feats { grid-template-columns: 1fr; } }
