/* IBM Plex Sans Arabic — self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). Loaded only on Arabic pages. */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-500.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-600.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ibm-plex-sans-arabic-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* AlQiase — main stylesheet. Logical properties throughout, so RTL needs no second file. */
:root {
  --blue: #007fff;
  --blue-600: #0068d6;
  --blue-800: #004a94;
  --navy: #0a1626;
  --navy-2: #10233b;
  --ink: #16202e;
  --text: #46546a;
  --muted: #74819a;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ok: #1a8f5a;
  --wa: #1fae5b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(10, 22, 38, .05), 0 10px 30px -12px rgba(10, 22, 38, .18);
  --shadow-lg: 0 24px 60px -24px rgba(10, 22, 38, .35);
  --wrap: 1240px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Raleway", "Inter", "Segoe UI", system-ui, sans-serif;
}
:root:lang(ar) {
  --font: "IBM Plex Sans Arabic", "Segoe UI", "Tahoma", system-ui, sans-serif;
  --font-head: "IBM Plex Sans Arabic", "Segoe UI", "Tahoma", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1rem/1.7 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
:lang(ar) body { line-height: 1.9; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
:lang(ar) :is(h1, h2, h3, h4) { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.ico { flex: none; }
:dir(rtl) :is(.ico-arrow, .ico-chevron) { transform: scaleX(-1); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }
.hide-sm { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; font: 600 .95rem/1.2 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 127, 255, .7); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue-800); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-600); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; filter: brightness(.94); }

.kicker { font: 600 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; inline-size: 28px; block-size: 2px; background: currentColor; }
:lang(ar) .kicker { letter-spacing: 0; font-size: .95rem; }
.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--text); max-width: 62ch; }
.tag { display: inline-block; font: 600 .72rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-800); background: #e6f2ff; padding: .4rem .6rem; border-radius: 6px; }

/* Top bar */
.topbar { background: var(--navy); color: #b9c6d8; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 1.4rem; align-items: center; overflow: hidden; }
.topbar-contact li { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar-contact li:nth-child(2) { display: none; }
.lang { font-weight: 600; color: #fff !important; padding: .25rem .7rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }
.lang:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-block-end: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(10, 22, 38, .4); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { font: 800 1.2rem/1 var(--font-head); color: var(--navy); }
.nav-toggle { background: none; border: 0; padding: .5rem; color: var(--navy); cursor: pointer; }
/* absolute under the sticky header: the header's backdrop-filter makes it the
   containing block, so "fixed" would be sized by the header, not the viewport */
.nav { position: absolute; inset-inline: 0; inset-block-start: 100%; block-size: calc(100dvh - 100px); max-block-size: calc(100dvh - 100px); box-shadow: 0 24px 40px rgba(10, 22, 38, .18); background: #fff; padding: 1rem 1.25rem 2rem; overflow: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
:dir(rtl) .nav { transform: translateX(-100%); }
/* the off-canvas menu must not make the page scroll sideways (it does in RTL) */
html, body { overflow-x: clip; }
.nav.is-open { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.menu > li { border-block-end: 1px solid var(--line); position: relative; }
.menu a { display: block; padding: .95rem .25rem; color: var(--ink); font-weight: 600; }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a, .menu a:hover { color: var(--blue-600); }
.sub-menu { display: none; padding-inline-start: 1rem; padding-block-end: .5rem; }
.is-open > .sub-menu { display: block; }
.sub-menu a { font-weight: 500; padding: .6rem .25rem; color: var(--text); }
.sub-toggle { position: absolute; inset-inline-end: 0; top: .5rem; inline-size: 40px; block-size: 40px; background: none; border: 0; cursor: pointer; }
.sub-toggle::before { content: ""; display: block; inline-size: 9px; block-size: 9px; margin: auto; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.is-open > .sub-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
.nav-cta { margin-block-start: 1.25rem; inline-size: 100%; }

/* Hero */
/* ---- Hero art: piping diagram with running flow (all heroes) ---- */
.hero-art { position: absolute; inset: 0; z-index: -1; inline-size: 100%; block-size: 100%; pointer-events: none; }
:dir(rtl) .hero-art { transform: scaleX(-1); }
.hero-art .pipe { stroke: rgba(255, 255, 255, .075); stroke-width: 14; }
.hero-art .pipe.thin { stroke: rgba(255, 255, 255, .05); stroke-width: 8; }
.hero-art .flow { stroke: #3da2ff; stroke-width: 2.5; stroke-dasharray: 6 26; opacity: .8; animation: aq-flow 2.8s linear infinite; }
.hero-art .f2 { stroke: #8ecbff; animation-duration: 3.8s; }
.hero-art .valves { fill: rgba(255, 255, 255, .13); stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
@keyframes aq-flow { to { stroke-dashoffset: -64; } }
@keyframes aq-float { 50% { transform: translateY(-10px); } }
@keyframes aq-spin { to { transform: rotate(360deg); } }
@keyframes aq-rise { from { opacity: 0; transform: translateY(18px); } }

/* ---- Home hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #cfdaea; background:
  radial-gradient(900px 520px at 88% 6%, rgba(0, 127, 255, .42), transparent 62%),
  radial-gradient(720px 480px at -6% 100%, rgba(0, 74, 148, .6), transparent 60%),
  linear-gradient(155deg, #060f1d 0%, var(--navy) 40%, #0c2f55 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 75%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.hero-in { display: grid; gap: clamp(2.2rem, 1.5rem + 3vw, 4rem); align-items: center; padding-block: clamp(3.2rem, 2.4rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero-copy > * { animation: aq-rise .7s both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 1.7rem + 4.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .4em; max-width: none; }
:lang(ar) .hero h1 { line-height: 1.25; letter-spacing: 0; }
.hero h1 .amp { color: transparent; background: linear-gradient(120deg, #8ecbff, var(--blue)); -webkit-background-clip: text; background-clip: text; font-weight: 400; }
.hero .lead { color: #c9d6e8; max-width: 58ch; font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); }
.hero .kicker { color: #7fc0ff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.hero-chips a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #dce9f9; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, border-color .2s, transform .2s, color .2s; }
.hero-chips a::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: #3da2ff; transition: background-color .2s; }
.hero-chips a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.hero-chips a:hover::before { background: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block-start: 1.8rem; }
.hero-show { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(.7rem, .4rem + 1vw, 1.1rem); animation: aq-rise .9s .2s both; }
.hero-show::before { content: ""; position: absolute; inset: -14% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 127, 255, .4), transparent 72%); }
.show-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; color: var(--navy); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .35s, box-shadow .35s; }
.show-card:nth-of-type(1) { grid-row: span 2; animation: aq-float 7s ease-in-out infinite; }
.show-card:nth-of-type(3) { animation: aq-float 8s 1.2s ease-in-out infinite; }
.show-card img { flex: 1; min-block-size: 0; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: .9rem; background: #fff; }
.show-card:nth-of-type(1) img { aspect-ratio: 4 / 4.6; }
.show-card span { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem .6rem; padding: .75rem 1rem; border-block-start: 1px solid #e6edf6; font-size: .92rem; }
.show-card small { color: var(--blue-600); font-weight: 600; font-size: .78rem; }
.show-card:hover { color: var(--blue-800); transform: translateY(-6px); box-shadow: 0 40px 70px -28px rgba(0, 127, 255, .55), 0 0 0 1px rgba(255, 255, 255, .1); animation-play-state: paused; }
.hero-badge { position: absolute; inset-block-start: -16px; inset-inline-end: -6px; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .6rem .95rem; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-800)); color: #fff; font-weight: 700; font-size: .82rem; box-shadow: 0 18px 36px -14px rgba(0, 127, 255, .85); }
.hero-badge::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: #7dffb0; box-shadow: 0 0 0 4px rgba(125, 255, 176, .25); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 -1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); border-block-end: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; backdrop-filter: blur(8px); }
.stats > div { background: rgba(8, 19, 34, .62); padding: 1.3rem 1.25rem; display: flex; flex-direction: column-reverse; gap: .3rem; }
.stats dd { margin: 0; font: 800 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1 var(--font-head); color: #fff; text-align: start; }
.stats dt { font-size: .85rem; color: #a9bbd2; }

/* ---- Page hero ---- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #c3d0e2; padding-block: clamp(2.2rem, 1.6rem + 3.2vw, 4.6rem); background:
  radial-gradient(720px 400px at 94% -5%, rgba(0, 127, 255, .4), transparent 62%),
  linear-gradient(150deg, #060f1d 0%, var(--navy) 45%, #0d2c4f 100%); }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3px; background: linear-gradient(90deg, transparent, var(--blue) 30%, #8ecbff 70%, transparent); }
.page-hero-in { display: grid; gap: 2rem; align-items: center; }
.page-hero-copy > * { animation: aq-rise .6s both; }
.page-hero-copy > :nth-child(3) { animation-delay: .07s; }
.page-hero-copy > :nth-child(4) { animation-delay: .14s; }
.page-hero-copy > :nth-child(n+5) { animation-delay: .21s; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem); letter-spacing: -.025em; }
:lang(ar) .page-hero h1 { letter-spacing: 0; }
.page-hero h1::after { content: ""; display: block; inline-size: 72px; block-size: 4px; border-radius: 4px; margin-block-start: .45em; background: linear-gradient(90deg, var(--blue), #8ecbff); }
.page-hero .lead { margin: 1.1rem 0 0; color: #c9d6e8; max-width: 64ch; }
.page-hero .kicker { color: #7fc0ff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.hero-meta li { padding: .42rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #dce9f9; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.hero-meta li:first-child { background: rgba(0, 127, 255, .22); border-color: rgba(0, 127, 255, .5); color: #fff; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block-start: 1.6rem; }
.page-hero-media { display: none; }
.page-hero-slim { padding-block: 1.1rem; }
.page-hero-slim .crumbs { margin: 0; }
.page-hero-slim .hero-art { opacity: .5; }
@media (min-width: 900px) {
  .page-hero.has-media .page-hero-in { grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); }
  .page-hero-media { position: relative; display: grid; place-items: center; justify-self: end; inline-size: 100%; aspect-ratio: 1; animation: aq-rise .8s .15s both; }
  .page-hero-media::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .28); animation: aq-spin 60s linear infinite; }
  .page-hero-media::after { content: ""; position: absolute; inset: -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 127, 255, .5), transparent 72%); }
  .page-hero-media img { inline-size: 74%; block-size: 74%; object-fit: contain; padding: .9rem; background: #fff; border-radius: 26px; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .75); transform: rotate(-4deg); transition: transform .45s; }
  :dir(rtl) .page-hero-media img { transform: rotate(4deg); }
  .page-hero-media:hover img { transform: rotate(0) scale(1.04); }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
.crumbs { font-size: .85rem; margin-block-end: 1.1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .5rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .5; }
.crumbs a { color: #9fc9ff; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #e6edf6; }

/* Sections */
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-alt { background: var(--bg-alt); }
.section + .section:not(.section-alt):not(.feature) { padding-block-start: 0; }
.section-alt + .section:not(.section-alt), .feature + .section, .page-hero + .section, .hero + .section { padding-block-start: clamp(3rem, 2rem + 4vw, 5.5rem) !important; }
.section-head { margin-block-end: 2.2rem; }
.section-head h2 { margin: 0; }
.section-title { margin-block-end: 1.6rem; }

/* Grids & cards */
.grid { display: grid; gap: 1.25rem; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe1f7; color: inherit; }
.card-media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fff, #f1f5fa); padding: 1.1rem; overflow: hidden; }
.card-media img { inline-size: 100%; block-size: 100%; object-fit: contain; transition: transform .45s; mix-blend-mode: multiply; }
.card:hover .card-media img { transform: scale(1.06); }
.no-img { color: #c2cedd; display: grid; place-items: center; inline-size: 100%; block-size: 100%; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; border-block-start: 1px solid var(--line); }
.card-body h3 { margin: 0; font-size: 1.05rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }
.card-text { margin: 0; font-size: .9rem; color: var(--muted); }
.model { margin: 0; font: 500 .82rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); text-align: start; }
.card-link { margin-block-start: auto; padding-block-start: .5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .88rem; color: var(--blue-600); }
.cat-card strong { color: var(--ink); font: 700 1.05rem/1.3 var(--font-head); }
.cat-card small { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; }
.reveal.in { opacity: 1; transform: none; }

/* Feature band (VMV) */
.feature { background: linear-gradient(135deg, var(--blue-800), #062a57 55%, var(--navy)); color: #cddcf0; position: relative; overflow: hidden; }
.feature h2 { color: #fff; }
.feature .kicker { color: #8ec6ff; }
.feature-in { display: grid; gap: 2.5rem; align-items: center; }
.feature-logo { max-height: 56px; width: auto; margin-block-end: 1.4rem; }
.feature-media img { border-radius: var(--radius); margin-inline: auto; max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }

/* About */
.about-in { display: grid; gap: 2.5rem; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); inline-size: 100%; }
.pillars { display: grid; gap: 1.1rem; margin: 1.6rem 0 2rem; }
.pillars li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; }
.pillars .ico { color: var(--blue); grid-row: span 2; margin-block-start: .15rem; }
.pillars strong { color: var(--ink); }
.pillars span { font-size: .93rem; color: var(--muted); }

/* Prose */
.prose { max-width: 78ch; }
.prose > :last-child { margin-block-end: 0; }
.prose h2 { font-size: 1.5rem; margin-block-start: 1.6em; }
.prose h2:first-child { margin-block-start: 0; }
.prose h3 { font-size: 1.15rem; margin-block-start: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-block-end: .4em; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: var(--radius-sm); max-block-size: 520px; inline-size: auto; margin-block: 1rem; background: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; inline-size: 100%; font-size: .92rem; }
th, td { padding: .7rem .9rem; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
tr:last-child > * { border-block-end: 0; }
.prose thead th, .prose tr:first-child th { background: var(--navy-2); color: #fff; font-weight: 600; white-space: nowrap; }
.prose tbody tr:nth-child(even) td { background: #f8fafc; }

/* Product page */
.product-top { display: grid; gap: 2rem; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #fff, #f1f5fa); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-item { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity .3s; cursor: zoom-in; }
.gallery-item.is-active { opacity: 1; visibility: visible; }
.gallery-item img { max-inline-size: 100%; max-block-size: 100%; inline-size: auto; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: .6rem; margin-block-start: .8rem; overflow-x: auto; padding-block-end: .2rem; }
.gallery-thumbs button { flex: none; inline-size: 72px; block-size: 72px; padding: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.gallery-thumbs button.is-active { border-color: var(--blue); }
.gallery-thumbs img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.lightbox { border: 0; padding: 0; background: transparent; max-inline-size: 94vw; max-block-size: 94vh; }
.lightbox::backdrop { background: rgba(6, 14, 26, .88); }
.lightbox img { max-inline-size: 94vw; max-block-size: 92vh; background: #fff; border-radius: 10px; }
.lightbox-close { position: fixed; top: 1rem; inset-inline-end: 1rem; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.product-summary h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-block: .8rem .5rem; }
.product-summary .model { font-size: .95rem; margin-block-end: 1rem; }
.checks { display: grid; gap: .55rem; margin: 1.2rem 0 1.6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-size: .96rem; }
.checks .ico { color: var(--ok); margin-block-start: .3rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.docs { margin-block-start: 1.6rem; display: grid; gap: .5rem; }
.docs a { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .93rem; background: #fff; }
.docs a:hover { border-color: var(--blue); color: var(--blue-600); }
.docs a span { flex: 1; }
.docs .ico-file { color: #d6453d; }
.product-details { display: grid; gap: 2.5rem; align-items: start; }
.specs h2 { font-size: 1.5rem; }
.specs table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: table; }
.specs th { inline-size: 42%; color: var(--ink); font-weight: 600; background: #f8fafc; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form textarea { font: inherit; font-weight: 400; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); inline-size: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 127, 255, .14); }
.form .btn { justify-self: start; border: 0; }
.hp { position: absolute; inset-inline-start: -9999px; }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 500; }
.notice.ok { background: #e7f6ee; color: #12683f; }
.notice.err { background: #fdecea; color: #a3261f; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list .ico { color: var(--blue); background: #e6f2ff; padding: 11px; box-sizing: content-box; border-radius: 12px; }
.contact-list div { display: grid; gap: .15rem; }
.contact-list strong { color: var(--ink); }
.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2.2rem); }
.contact-form h2 { font-size: 1.5rem; }
.map iframe { inline-size: 100%; block-size: 420px; border: 0; filter: grayscale(.2); }

/* Pager */
.pager { margin-block-start: 2rem; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.pager .page-numbers { min-inline-size: 42px; block-size: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; }
.pager .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* CTA band + footer */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-800)); color: #e3f0ff; }
.cta-in { display: grid; gap: 1.5rem; padding-block: clamp(2.2rem, 1.8rem + 2vw, 3.5rem); align-items: center; }
.cta-band h2 { color: #fff; margin-block-end: .3em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.site-footer { background: var(--navy); color: #9fb1c9; font-size: .93rem; }
.footer-grid { display: grid; gap: 2.2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-block-end: 1rem; }
.site-footer a { color: #c3d0e2; }
.site-footer a:hover { color: #fff; }
.footer-logo { max-height: 54px; width: auto; margin-block-end: 1.1rem; }
.site-footer .brand-text { color: #fff; display: block; margin-block-end: 1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .ico { color: var(--blue); margin-block-start: .25rem; }
.social { display: flex; gap: .5rem; margin-block-start: 1.2rem; }
.social a { inline-size: 38px; block-size: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; border-block-start: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.wa-float { position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; z-index: 40; inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 174, 91, .7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ≥ 640 */
@media (min-width: 640px) {
  .hide-sm { display: inline-flex; }
  .topbar-contact li:nth-child(2) { display: inline-flex; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .cta-in { grid-template-columns: 1fr auto; }
}
/* ≥ 960 */
@media (min-width: 960px) {
  .product-top { grid-template-columns: minmax(0, 520px) 1fr; gap: 3.5rem; }
  .gallery { position: sticky; top: 100px; }
  .product-details { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; }
  .product-details > :only-child { grid-column: 1 / -1; max-width: 860px; }
  .feature-in, .about-in { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}
/* ≥ 1340: desktop navigation (eleven menu items need the room) */
@media (min-width: 1340px) {
  header .wrap { width: min(100% - 2rem, 1440px); }
  .brand img { height: 40px; }
  .nav-toggle, .sub-toggle { display: none; }
  .nav { position: static; block-size: auto; max-block-size: none; box-shadow: none; transform: none !important; visibility: visible; padding: 0; overflow: visible; background: none; display: flex; align-items: center; gap: .6rem; }
  .menu { display: flex; align-items: center; gap: 0; }
  .menu > li { border: 0; }
  .menu > li > a { padding: .55rem .5rem; font-size: .875rem; border-radius: 8px; white-space: nowrap; }
  .menu > li > a:hover { background: var(--bg-alt); }
  .menu-item-has-children > a::after { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; margin-inline-start: .45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); }
  .sub-menu { display: block; position: absolute; inset-block-start: 100%; inset-inline-start: 0; min-inline-size: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .sub-menu a { padding: .55rem .8rem; border-radius: 7px; }
  .sub-menu a:hover { background: var(--bg-alt); }
  .nav-cta { display: none; margin: 0; inline-size: auto; padding: .7rem 1.15rem; }
}
@media (min-width: 1560px) {
  .nav-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .wa-float, .form, .product-actions { display: none !important; }
}

/* keep the piping art quiet behind the text side of a hero */
.hero-art { mask-image: linear-gradient(90deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .28) 38%, #000 70%); }
@media (max-width: 899px) { .hero-art { opacity: .55; } }
