/*
 * Najm Al-Mustaqbal - public site design system.
 *
 * One stylesheet, no build step. Everything is driven by the custom
 * properties in :root; layout uses logical properties so the same rules
 * serve Arabic (RTL) and English (LTR).
 *
 * Contents: fonts, tokens, base, utilities, buttons, forms, header, hero,
 * sections, cards, catalogue, product, configurator, quotation, footer,
 * error page, motion, print.
 */

/* ------------------------------------------------------------------ fonts */
/* Tajawal (SIL Open Font License 1.1, see /assets/fonts/OFL.txt), self-hosted. */
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tajawal-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tajawal-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tajawal-500-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tajawal-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-800-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-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: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ----------------------------------------------------------------- tokens */
:root {
    color-scheme: dark;

    /* surfaces: deep black to midnight navy (see docs/DESIGN_SYSTEM.md) */
    --bg: #05070d;
    --bg-2: #0a101c;
    --surface: #0d1422;
    --surface-2: #111a2b;
    --surface-3: #172238;

    /* lines and luminous edges */
    --line: rgba(150, 178, 230, .12);
    --line-strong: rgba(150, 178, 230, .24);
    --edge: rgba(0, 170, 255, .5);

    /* text (all pass WCAG AA on --bg and --surface) */
    --text: #f5f7fa;
    --text-2: #b4bfd3;
    --text-3: #8a96ad;

    /* brand light */
    --blue: #008cff;
    --blue-soft: #5cb5ff;
    --cyan: #00e5ff;
    --violet: #7c3aed;
    --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--violet) 100%);
    --grad-soft: linear-gradient(135deg, rgba(0, 229, 255, .12), rgba(0, 140, 255, .08) 50%, rgba(124, 58, 237, .1));
    --grad-line: linear-gradient(90deg, transparent, var(--blue) 25%, var(--cyan) 50%, var(--violet) 75%, transparent);

    /* status */
    --success: #34d399;
    --warn: #fbbf24;
    --danger: #f87171;
    --info: #7dd3fc;

    /* type */
    --font: "Tajawal", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-md: 1.0625rem;
    --fs-lg: 1.1875rem;
    --fs-xl: clamp(1.22rem, 1.08rem + .55vw, 1.5rem);
    --fs-2xl: clamp(1.45rem, 1.2rem + 1.1vw, 2.2rem);
    --fs-3xl: clamp(1.75rem, 1.25rem + 2.2vw, 2.85rem);
    --fs-hero: clamp(2rem, 1.05rem + 3.6vw, 3.65rem);
    --fs-metric: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    --lh: 1.7;
    --lh-tight: 1.14;
    --tracking-tight: -.025em;

    /* space and shape: architectural, mostly square corners */
    --container: 1280px;
    --gutter: clamp(18px, 4vw, 48px);
    --section: clamp(64px, 8vw, 120px);
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 14px;
    --header-h: 76px;

    --shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
    --glow: 0 0 0 1px rgba(0, 170, 255, .35), 0 14px 40px -14px rgba(0, 140, 255, .6);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: .35s;
}
:lang(ar) { --lh: 1.85; --lh-tight: 1.4; --tracking-tight: 0; }

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--fs-md);
    line-height: var(--lh);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--fs-lg); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
code, pre { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; }
[hidden] { display: none !important; }
::selection { background: rgba(0, 140, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

/* -------------------------------------------------------------- utilities */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 900px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 200; padding: 10px 16px; border-radius: var(--r-sm); background: #0073de; color: #fff; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.muted { color: var(--text-3); font-size: var(--fs-sm); }
.lead { color: var(--text-2); font-size: var(--fs-lg); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, var(--blue), var(--cyan)); }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: var(--fs-sm); }
.eyebrow--glow { text-shadow: 0 0 22px rgba(0, 229, 255, .55); }
.icon { flex: none; }
.icon--flip { transform: scaleX(-1); }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
[dir="rtl"] .icon--dir.icon--flip { transform: none; }
.num { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-soft); font-weight: 700; font-size: var(--fs-sm); transition: color .2s, gap .25s var(--ease); }
.link-arrow:hover { color: var(--cyan); gap: 12px; }
.link-arrow--back:hover { gap: 8px; }

.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(150, 178, 230, .08); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; line-height: 1.6; white-space: nowrap; }
.badge--success { color: var(--success); border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .09); }
.badge--info { color: var(--info); border-color: rgba(125, 211, 252, .4); background: rgba(125, 211, 252, .09); }
.badge--warn { color: var(--warn); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .09); }
.badge--danger { color: var(--danger); border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .09); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: var(--edge); }
.chip.is-active, .chip[aria-checked="true"] { color: #fff; border-color: var(--cyan); background: rgba(0, 140, 255, .2); box-shadow: inset 0 0 0 1px rgba(0, 229, 255, .35); }
.chip--sm { padding: 5px 12px; font-size: var(--fs-xs); }
.chip--action { padding: 5px 12px; font-size: var(--fs-xs); color: var(--cyan); border-color: rgba(0, 229, 255, .35); }
.chip--action:hover { background: rgba(0, 229, 255, .1); color: var(--cyan); }

.notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-size: var(--fs-sm); }
.notice .icon { margin-block-start: 3px; }
.notice--success { border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .08); color: #b7f5dc; }
.notice--error { border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .08); color: #fecaca; }
.notice--info { border-color: rgba(125, 211, 252, .35); background: rgba(125, 211, 252, .06); color: #cdeeff; }
.flash-area { padding-block: 16px 0; }

.empty-state { display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 6vw, 64px) 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--text-2); text-align: center; }
.empty-state .icon { color: var(--blue-soft); }
.empty-state p { max-width: 52ch; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 24px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; letter-spacing: .01em; text-align: center; transition: transform .2s var(--ease), box-shadow var(--dur), background .2s, border-color .2s, color .2s; }
.btn:hover { border-color: var(--edge); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { pointer-events: none; color: transparent; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* #0073de / #0064c2 keep white labels at >= 4.6:1 (WCAG AA for normal text). */
.btn--primary { border-color: transparent; background: linear-gradient(180deg, #0073de 0%, #0064c2 100%); color: #fff; box-shadow: 0 12px 32px -14px rgba(0, 140, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--primary:hover { background: linear-gradient(180deg, #0a7be6 0%, #0069cc 100%); box-shadow: 0 16px 40px -12px rgba(0, 140, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--ghost { background: rgba(245, 247, 250, .03); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(245, 247, 250, .07); border-color: rgba(245, 247, 250, .4); }
.btn--quiet { background: transparent; border-color: transparent; color: var(--text-2); }
.btn--quiet:hover { color: var(--text); border-color: var(--line-strong); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-xs); }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: var(--fs-md); }
.btn--block { display: flex; width: 100%; }

/* ------------------------------------------------------------------ forms */
.field { display: grid; gap: 6px; margin-block-end: 18px; min-width: 0; }
.field > label, .field > legend, .seg-field > legend { color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.req { color: var(--cyan); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="url"], input[type="password"], select, textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(5, 7, 13, .6); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select { appearance: none; padding-inline-end: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab6d4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
[dir="rtl"] select { background-position: left 14px center; }
select option { background: var(--surface); color: var(--text); }
input::placeholder, textarea::placeholder { color: var(--text-3); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--edge); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 229, 255, .18); }
input[readonly] { color: var(--text-2); }
.field-help { color: var(--text-3); font-size: var(--fs-xs); }
.field-error { color: var(--danger); font-size: var(--fs-xs); font-weight: 500; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-card { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); }
.form-card h2 { font-size: var(--fs-xl); margin-block: 8px 20px; }
.form-card h2:first-child { margin-block-start: 0; }
.form-note { margin-block: 4px 20px; color: var(--text-3); font-size: var(--fs-xs); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-block-start: 4px; accent-color: var(--blue); }
.check small { display: block; color: var(--text-3); }
.input-suffix { display: flex; align-items: stretch; }
.input-suffix input { border-start-end-radius: 0; border-end-end-radius: 0; }
.input-suffix > span, .input-suffix > .btn { display: inline-flex; align-items: center; padding-inline: 14px; border: 1px solid var(--line-strong); border-inline-start: 0; border-start-start-radius: 0; border-end-start-radius: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; background: var(--surface-2); color: var(--text-2); min-height: 46px; white-space: nowrap; }
.range-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* segmented radio control */
.seg-field { margin-block-end: 18px; }
.seg-field > legend { margin-block-end: 8px; }
.seg-field--inline { margin-block-end: 0; }
.seg { display: inline-flex; flex-wrap: nowrap; max-width: 100%; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(5, 7, 13, .6); }
.seg--wrap { flex-wrap: wrap; }
.seg label { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 8px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; text-align: center; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1px var(--edge); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; }
.seg--sm span { min-height: 30px; padding: 4px 11px; font-size: var(--fs-xs); }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; inset-block-start: 0; z-index: 100; border-block-end: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-scrolled, .site-header.is-open, body:not(.page-home) .site-header { background: rgba(5, 7, 13, .72); border-block-end-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.site-header__inner { --container: 1440px; display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; line-height: 1.2; white-space: nowrap; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; }
.brand__logo--full { width: auto; height: clamp(38px, 5vw, 52px); max-width: min(236px, 52vw); object-fit: contain; }
/* Header/footer sit on dark surfaces: render the colour mark as white for contrast. */
.site-header .brand__logo--full,
.site-footer .brand__logo--full {
    filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}
.brand--full { align-items: center; gap: 0; }
.brand--full .brand__name { display: none; }
.site-footer__brand .brand__logo--full { height: clamp(44px, 5.8vw, 58px); max-width: 268px; }
.brand__mark { filter: drop-shadow(0 0 14px rgba(0, 140, 255, .55)); }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: stretch; gap: 2px; height: var(--header-h); }
.nav__item { display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; white-space: nowrap; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 2px; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__link .icon { transition: transform .25s var(--ease); }
.nav__item--mega.is-open .nav__link .icon { transform: rotate(180deg); }

.mega { position: absolute; inset-inline: 0; inset-block-start: 100%; padding-block-start: 1px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .25s var(--ease), visibility .22s; }
/* :focus-within keeps the menu usable without JavaScript; site.js adds .is-open for pointer and touch. */
.nav__item--mega.is-open .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; padding: 32px; border: 1px solid var(--line-strong); border-radius: 0 0 var(--r-lg) var(--r-lg); background: rgba(7, 11, 26, .96); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.mega__intro { display: grid; align-content: start; gap: 14px; padding-inline-end: 32px; border-inline-end: 1px solid var(--line); }
.mega__title { font-size: var(--fs-xl); font-weight: 700; line-height: var(--lh-tight); }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.mega__link { display: flex; align-items: center; gap: 14px; padding: 9px; border-radius: 12px; transition: background .2s; }
.mega__link:hover { background: rgba(150, 178, 230, .08); }
.mega__thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.mega__thumb img, .mega__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.mega__name { display: block; font-weight: 700; font-size: var(--fs-sm); }
.mega__children { display: block; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn, .lang-switch { white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.lang-switch:hover { color: #fff; }
.lang-switch--block { justify-content: center; padding: 12px; border: 1px solid var(--line); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-nav { position: absolute; inset-inline: 0; inset-block-start: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-block: 16px 32px; border-block-end: 1px solid var(--line); background: var(--bg); }
.mobile-nav__list > li { border-block-end: 1px solid var(--line); }
.mobile-nav__link { display: block; padding: 14px 4px; font-size: var(--fs-lg); font-weight: 700; }
.mobile-nav__link.is-active { color: var(--cyan); }
.mobile-nav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 0 4px 14px; }
.mobile-nav__sub a { display: block; padding: 6px 0; color: var(--text-2); font-size: var(--fs-sm); }
.mobile-nav__actions { display: grid; gap: 10px; margin-block-start: 20px; }

@media (max-width: 1380px) {
    .header-actions__cfg { display: none; }
}
@media (max-width: 1100px) {
    .nav { display: none; }
    .header-actions { margin-inline-start: auto; }
    .nav-toggle { display: inline-flex; }
    .header-actions .lang-switch span { display: none; }
}
@media (max-width: 560px) {
    :root { --header-h: 66px; }
    .header-actions__quote { display: none; }
    .header-actions .lang-switch span { display: inline; }
    .brand { font-size: 1rem; gap: 9px; }
    .brand__mark, .brand__logo:not(.brand__logo--full) { width: 34px; height: 34px; }
    .site-header .brand__logo--full { height: 36px; max-width: min(210px, 58vw); }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: min(100vh, 940px); min-height: min(100svh, 940px); padding-block-start: calc(var(--header-h) + 48px); overflow: hidden; isolation: isolate; }
.hero > .hero__content { align-self: center; padding-block-end: 56px; }
main > .hero:first-child { margin-block-start: calc(-1 * var(--header-h)); }
.hero__media { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 70% 10%, #0d1b46 0%, var(--bg-2) 45%, var(--bg) 100%); }
[dir="rtl"] .hero__media { background: radial-gradient(120% 90% at 30% 10%, #0d1b46 0%, var(--bg-2) 45%, var(--bg) 100%); }
.hero__stage { position: absolute; inset-block: calc(var(--header-h) + 36px) 148px; inset-inline: clamp(8%, 18vw, 42%) 4%; perspective: min(1200px, 95vw); transform-style: preserve-3d; }
[dir="rtl"] .hero__stage { inset-inline: 4% clamp(8%, 18vw, 42%); }
.hero__screen { position: relative; width: 100%; height: 100%; transform: rotateX(5deg) rotateY(calc(var(--hero-tilt-y, 0deg) - 6deg)) rotateX(var(--hero-tilt-x, 0deg)); transform-style: preserve-3d; transition: transform .4s var(--ease); }
[dir="rtl"] .hero__screen { transform: rotateX(5deg) rotateY(calc(var(--hero-tilt-y, 0deg) + 6deg)) rotateX(var(--hero-tilt-x, 0deg)); }
.hero__screen-bezel { position: absolute; inset: 0; padding: clamp(10px, 1.4vw, 16px); border-radius: var(--r-lg); background: linear-gradient(145deg, #1a2638, #0a1018); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(150, 178, 230, .2); }
.hero__screen-inner { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--r-lg) - 6px); border: 1px solid rgba(0, 170, 255, .28); background: #04060c; }
.hero__canvas, .hero__image, .hero__image img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image img, .hero__video { object-fit: cover; }
.hero__screen-feed { position: absolute; inset: auto 8% 8%; display: flex; gap: 6px; align-items: flex-end; height: 28%; z-index: 2; pointer-events: none; opacity: .85; }
.hero__screen-feed span { flex: 1; border-radius: 2px; background: linear-gradient(180deg, rgba(0, 229, 255, .35), rgba(0, 140, 255, .1)); animation: hero-feed 5s var(--ease) infinite; transform-origin: bottom; }
.hero__screen-feed span:nth-child(1) { animation-delay: 0s; }
.hero__screen-feed span:nth-child(2) { animation-delay: .4s; }
.hero__screen-feed span:nth-child(3) { animation-delay: .8s; }
.hero__screen-feed span:nth-child(4) { animation-delay: 1.2s; }
@keyframes hero-feed { 0%, 100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }
.hero__screen-glass { position: absolute; inset: 0; z-index: 3; background: linear-gradient(135deg, rgba(255, 255, 255, .08) 0%, transparent 42%, rgba(0, 229, 255, .06) 100%); mix-blend-mode: screen; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero__screen-feed span { animation: none; transform: scaleY(.6); } .hero__screen { transform: none !important; } .hero__stage { perspective: none; } }
@media (max-width: 1100px) {
    .hero__stage { inset: 0; perspective: none; opacity: .42; }
    .hero__screen, [dir="rtl"] .hero__screen { transform: none !important; }
    .hero__screen-bezel { padding: 0; background: none; box-shadow: none; border-radius: 0; }
    .hero__screen-inner { border: 0; border-radius: 0; }
    .hero__screen-feed, .hero__screen-glass { display: none; }
}
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__veil { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(5, 7, 13, .92) 0%, rgba(5, 7, 13, .62) 46%, rgba(5, 7, 13, .12) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, .5) 0%, rgba(5, 7, 13, 0) 30%, rgba(5, 7, 13, .2) 70%, var(--bg) 100%); }
[dir="rtl"] .hero__veil { background:
    linear-gradient(270deg, rgba(5, 7, 13, .92) 0%, rgba(5, 7, 13, .62) 46%, rgba(5, 7, 13, .12) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, .5) 0%, rgba(5, 7, 13, 0) 30%, rgba(5, 7, 13, .2) 70%, var(--bg) 100%); }
.hero__content { display: grid; justify-items: start; gap: 24px; }
.hero__title { max-width: 18ch; font-size: var(--fs-hero); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; background: linear-gradient(180deg, #fff 45%, #a9c7ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(ar) .hero__title { line-height: 1.35; letter-spacing: 0; max-width: 20ch; padding-block: .08em; }
.hero__sub { max-width: 48ch; color: var(--text-2); font-size: clamp(1rem, .92rem + .35vw, 1.2rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 12px; }
/* Decorative registration marks framing the LED field (aria-hidden). */
.hero__frame { position: absolute; inset-block: calc(var(--header-h) + 56px) 128px; inset-inline-start: 54%; inset-inline-end: 4%; pointer-events: none; }
.hero__frame span { position: absolute; width: 26px; height: 26px; border-color: rgba(0, 229, 255, .55); border-style: solid; border-width: 0; }
.hero__frame span:nth-child(1) { inset-block-start: 0; inset-inline-start: 0; border-block-start-width: 1px; border-inline-start-width: 1px; }
.hero__frame span:nth-child(2) { inset-block-start: 0; inset-inline-end: 0; border-block-start-width: 1px; border-inline-end-width: 1px; }
.hero__frame span:nth-child(3) { inset-block-end: 0; inset-inline-start: 0; border-block-end-width: 1px; border-inline-start-width: 1px; }
.hero__frame span:nth-child(4) { inset-block-end: 0; inset-inline-end: 0; border-block-end-width: 1px; border-inline-end-width: 1px; }
.hero__scan { position: absolute; inset-inline: 0; inset-block-start: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 229, 255, .7), transparent); animation: hero-scan 7s var(--ease) infinite; }
@keyframes hero-scan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(calc(100vh - 380px)); opacity: 0; } }
.hero__rail { position: relative; border-block-start: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 7, 13, .2), rgba(5, 7, 13, .75)); backdrop-filter: blur(6px); }
.hero__rail-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; min-height: 84px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 0; color: var(--text-2); font-size: var(--fs-sm); }
.hero__points li { display: inline-flex; align-items: center; gap: 10px; padding-inline: 0 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--line); }
.hero__points li:last-child { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
.hero__point-n { color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__points .icon { color: var(--cyan); }
.hero__art-note { color: var(--text-3); font-size: var(--fs-xs); white-space: nowrap; margin-inline-start: auto; }
.hero__scroll { position: relative; flex: none; width: 26px; height: 42px; border: 1px solid var(--line-strong); border-radius: 14px; }
.hero__scroll span { position: absolute; inset-block-start: 8px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--cyan); animation: scroll-hint 2.2s var(--ease) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 1100px) { .hero__frame { display: none; } }
@media (max-width: 760px) {
    .hero { min-height: 0; padding-block-start: calc(var(--header-h) + 40px); }
    .hero > .hero__content { padding-block-end: 44px; }
    .hero__veil, [dir="rtl"] .hero__veil { background: linear-gradient(180deg, rgba(5, 7, 13, .55) 0%, rgba(5, 7, 13, .78) 55%, var(--bg) 100%); }
    .hero__scroll, .hero__art-note { display: none; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__rail-inner { min-height: 0; padding-block: 18px; }
    .hero__points { display: grid; gap: 12px; }
    .hero__points li { border: 0; margin: 0; padding: 0; }
}

/* --------------------------------------------------------------- sections */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.section--alt { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-block-end: clamp(28px, 4vw, 52px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-block-end: clamp(28px, 4vw, 52px); }
.section-row .section-head { margin-block-end: 0; }

.page-head { position: relative; padding-block: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 32px); border-block-end: 1px solid var(--line); background: radial-gradient(80% 140% at 85% 0%, rgba(0, 140, 255, .16) 0%, transparent 60%), var(--bg-2); overflow: hidden; }
[dir="rtl"] .page-head { background: radial-gradient(80% 140% at 15% 0%, rgba(0, 140, 255, .16) 0%, transparent 60%), var(--bg-2); }
.page-head::after { content: ""; position: absolute; inset-block-end: -1px; inset-inline-start: 0; width: min(420px, 60%); height: 1px; background: var(--grad); }
.page-head .container { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.page-head h1 { font-size: var(--fs-3xl); max-width: 24ch; }
.page-head--art { padding-block: clamp(32px, 5vw, 64px) clamp(22px, 3.5vw, 40px); }
.page-head--art .container > * { max-width: 620px; }
.page-head__art { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(52%, 760px); opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
[dir="rtl"] .page-head__art { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 45%); mask-image: linear-gradient(270deg, transparent 0%, #000 45%); }
.page-head__art img, .page-head__art svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-head__art { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--text-3); font-size: var(--fs-xs); }
.crumbs li + li::before { content: "/"; margin-inline: 9px; opacity: .5; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current] { color: var(--text-2); }

/* ------------------------------------------------------- generated artwork */
.cat-art { width: 100%; height: 100%; }

/* -------------------------------------------- category wall (all families) */
.cat-wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); list-style: none; margin: 0; padding: 0; }
.cat-panel { position: relative; grid-column: span 4; min-height: clamp(220px, 26vw, 320px); border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; }
.cat-panel:nth-child(-n+2) { grid-column: span 6; min-height: clamp(280px, 34vw, 400px); }
.cat-panel a { position: absolute; inset: 0; display: flex; align-items: flex-end; color: inherit; text-decoration: none; }
.cat-panel__media { position: absolute; inset: 0; transition: transform 1.1s var(--ease), filter .5s var(--ease); }
.cat-panel__media img, .cat-panel__media svg { width: 100%; height: 100%; object-fit: cover; }
.cat-panel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.cat-panel:hover .cat-panel__video, .cat-panel:focus-within .cat-panel__video { opacity: 1; }
.cat-panel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 13, .1) 0%, rgba(5, 7, 13, .55) 48%, rgba(5, 7, 13, .94) 100%); pointer-events: none; }
.cat-panel__body { position: relative; z-index: 2; display: grid; gap: 8px; width: 100%; padding: clamp(18px, 2.5vw, 28px); }
.cat-panel__index { color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cat-panel__name { font-size: clamp(1.1rem, .95rem + .6vw, var(--fs-xl)); font-weight: 800; line-height: var(--lh-tight); }
.cat-panel__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 42ch; color: var(--text-2); font-size: var(--fs-sm); }
.cat-panel__cta { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--text); }
.cat-panel__cta .icon { color: var(--cyan); transition: transform var(--dur) var(--ease); }
.cat-panel:hover .cat-panel__media { transform: scale(1.05); filter: brightness(1.06); }
.cat-panel:hover .cat-panel__cta .icon { transform: translateX(4px); }
[dir="rtl"] .cat-panel:hover .cat-panel__cta .icon { transform: scaleX(-1) translateX(4px); }
@media (max-width: 900px) { .cat-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-panel, .cat-panel:nth-child(-n+2) { grid-column: span 1; min-height: 240px; } }
@media (max-width: 520px) { .cat-wall { grid-template-columns: 1fr; } .cat-panel, .cat-panel:nth-child(-n+2) { min-height: 220px; } }

/* -------------------------------------------- category showcase and index */
.cat-showcase { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; }
.cat-feature { position: relative; min-height: clamp(300px, 34vw, 460px); overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(0, 170, 255, .08); }
.cat-feature a { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.cat-feature a:focus-visible { outline-offset: -4px; }
.cat-feature__art { position: absolute; inset: 0; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.cat-feature__art::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(180deg, rgba(5, 7, 13, .15) 0%, rgba(5, 7, 13, .35) 45%, rgba(5, 7, 13, .88) 100%),
    repeating-linear-gradient(0deg, rgba(0, 229, 255, .06) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0, 140, 255, .05) 0 1px, transparent 1px 7px); mix-blend-mode: soft-light; opacity: .92; }
.cat-feature__art::after { content: ""; position: absolute; inset: 12% 10%; z-index: 0; border: 1px solid rgba(0, 229, 255, .35); box-shadow: inset 0 0 40px rgba(0, 140, 255, .12), 0 0 60px rgba(0, 229, 255, .08); pointer-events: none; }
.cat-feature--env-outdoor .cat-feature__art { background: radial-gradient(100% 100% at 30% 20%, rgba(255, 196, 72, .12), transparent 55%), radial-gradient(90% 90% at 70% 80%, rgba(0, 140, 255, .18), transparent 50%); }
.cat-feature--env-indoor .cat-feature__art { background: radial-gradient(90% 90% at 50% 30%, rgba(124, 58, 237, .14), transparent 55%), radial-gradient(80% 80% at 80% 70%, rgba(0, 229, 255, .12), transparent 50%); }
.cat-feature__art img, .cat-feature__art svg { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-feature:hover .cat-feature__art { transform: scale(1.05); filter: brightness(1.05); }
.cat-feature__body { position: relative; z-index: 2; display: grid; gap: 10px; width: 100%; padding: clamp(22px, 3vw, 36px); background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, .72) 30%, rgba(5, 7, 13, .96) 100%); }
.cat-feature__index { color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.cat-feature__name { font-size: clamp(1.35rem, 1.1rem + 1vw, var(--fs-2xl)); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); }
.cat-feature__cta { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 6px; padding: 8px 14px; border: 1px solid rgba(0, 229, 255, .45); background: rgba(5, 7, 13, .6); color: var(--text); font-size: var(--fs-sm); font-weight: 700; backdrop-filter: blur(4px); transition: border-color var(--dur), background var(--dur), transform var(--dur) var(--ease); }
.cat-feature:hover .cat-feature__cta { border-color: var(--cyan); background: rgba(0, 140, 255, .15); transform: translateY(-1px); }
.cat-feature__desc { max-width: 48ch; color: var(--text-2); font-size: var(--fs-sm); }
.cat-feature__go { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: var(--fs-sm); font-weight: 700; }
.cat-feature__go .icon { color: var(--cyan); transition: transform var(--dur) var(--ease); }
.cat-feature:hover .cat-feature__go .icon { transform: translateX(4px); }
[dir="rtl"] .cat-feature:hover .cat-feature__go .icon { transform: scaleX(-1) translateX(4px); }
.cat-index__label { margin-block: clamp(40px, 5vw, 64px) 0; padding-block-end: 14px; border-block-end: 1px solid var(--line-strong); color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
:lang(ar) .cat-index__label { letter-spacing: 0; font-size: var(--fs-sm); }
.cat-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.cat-index a { display: grid; grid-template-columns: 42px 76px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding-block: 16px; border-block-end: 1px solid var(--line); transition: background var(--dur); }
.cat-index__n { color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-index__art { width: 76px; height: 50px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.cat-index__art img, .cat-index__art svg { width: 100%; height: 100%; object-fit: cover; }
.cat-index__name { font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; }
.cat-index__go { color: var(--text-3); transition: color var(--dur), transform var(--dur) var(--ease); }
.cat-index a:hover .cat-index__name { color: #fff; }
.cat-index a:hover .cat-index__go { color: var(--cyan); transform: translateX(4px); }
[dir="rtl"] .cat-index a:hover .cat-index__go { transform: translateX(-4px); }
.cat-index a:hover { background: linear-gradient(90deg, rgba(0, 140, 255, .07), transparent 70%); }
[dir="rtl"] .cat-index a:hover { background: linear-gradient(270deg, rgba(0, 140, 255, .07), transparent 70%); }
@media (max-width: 900px) {
    .cat-showcase { grid-template-columns: 1fr; }
    .cat-feature { min-height: 300px; }
    .cat-index { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .cat-index a { grid-template-columns: 32px 60px minmax(0, 1fr) auto; gap: 12px; }
    .cat-index__art { width: 60px; height: 42px; }
    .cat-index__name { font-size: var(--fs-md); }
}

/* ------------------------------------------- spotlight and data readouts */
.spotlight { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line-strong); background: linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%); margin-block-end: 22px; }
.spotlight__media { position: relative; display: block; min-height: 360px; overflow: hidden; background: radial-gradient(90% 90% at 50% 40%, var(--surface-3) 0%, var(--bg-2) 100%); }
.spotlight__media img, .spotlight__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spotlight:hover .spotlight__media img, .spotlight:hover .spotlight__media svg { transform: scale(1.03); }
.spotlight__body { display: grid; align-content: center; gap: 18px; padding: clamp(24px, 4vw, 56px); border-inline-start: 1px solid var(--line); }
.spotlight__title { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: var(--tracking-tight); }
.spotlight__title a:hover { color: var(--blue-soft); }
.spotlight__desc { color: var(--text-2); }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-block: 1px solid var(--line); }
.readout > div { display: grid; gap: 4px; padding: 14px 16px 14px 0; border-inline-end: 1px solid var(--line); }
[dir="rtl"] .readout > div { padding: 14px 0 14px 16px; }
.readout > div + div { padding-inline-start: 16px; }
.readout > div:last-child { border-inline-end: 0; }
.readout dt { color: var(--text-3); font-size: var(--fs-xs); }
.readout dd { font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
    .spotlight { grid-template-columns: 1fr; }
    .spotlight__media { min-height: 0; aspect-ratio: 16 / 10; }
    .spotlight__body { border-inline-start: 0; border-block-start: 1px solid var(--line); }
}

/* ---------------------------------------------------------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.product-grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.product-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.5vw, 26px); }
.product-grid > li { display: flex; }
.product-card { position: relative; display: flex; flex-direction: column; width: 100%; border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.product-card::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 2; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
[dir="rtl"] .product-card::before { transform-origin: right; }
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card:hover::before { transform: scaleX(1); }
.product-card__tags { position: absolute; inset-block-end: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid rgba(245, 247, 250, .18); background: rgba(5, 7, 13, .72); color: var(--text); font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; backdrop-filter: blur(6px); white-space: nowrap; }
.tag--pitch { border-color: rgba(0, 229, 255, .5); color: var(--cyan); font-variant-numeric: tabular-nums; }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: radial-gradient(90% 90% at 50% 40%, var(--surface-3) 0%, var(--bg-2) 100%); overflow: hidden; }
.product-card__media img, .product-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-card__media img, .product-card:hover .product-card__media svg { transform: scale(1.04); }
.product-card__flag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(251, 191, 36, .16); border: 1px solid rgba(251, 191, 36, .5); color: var(--warn); font-size: var(--fs-xs); font-weight: 700; backdrop-filter: blur(6px); }
.product-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: clamp(14px, 2vw, 18px); }
.product-card__meta--compact { margin-block: 4px 2px; }
.product-card__meta--compact li { padding-block: 5px; }
.product-card__cat { color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; }
.product-card__title { font-size: var(--fs-lg); }
.product-card__title a:hover { color: var(--blue-soft); }
.product-card__desc { color: var(--text-2); font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__meta { display: grid; gap: 0; margin-block: 6px 4px; border-block-start: 1px solid var(--line); font-size: var(--fs-xs); }
.product-card__meta li { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-block-end: 1px solid var(--line); }
.product-card__meta span { color: var(--text-3); }
.product-card__meta strong { font-weight: 700; text-align: end; }
.product-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: auto; padding-block-start: 8px; }

/* ----------------------------------------------------- configurator teaser */
.cfg-teaser { position: relative; overflow: hidden; }
.cfg-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 50%, rgba(0, 140, 255, .13), transparent 70%); }
[dir="rtl"] .cfg-teaser::before { background: radial-gradient(60% 80% at 20% 50%, rgba(0, 140, 255, .13), transparent 70%); }
.cfg-teaser__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.cfg-teaser__copy .section-head { margin-block-end: 28px; }
.steps { display: grid; gap: 0; margin-block-end: 32px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.steps li:first-child { border-block-start: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--edge); color: var(--cyan); font-weight: 700; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-size: var(--fs-md); }
.steps p { color: var(--text-2); font-size: var(--fs-sm); }
.cfg-teaser__figure { position: relative; padding: clamp(12px, 2vw, 24px); border: 1px solid var(--line-strong); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); }
.cfg-teaser__figure::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 10%; height: 1px; background: var(--grad-line); }
.tz-scan { animation: tz-scan 5.5s var(--ease) infinite; }
@keyframes tz-scan { 0% { transform: translateY(0); } 100% { transform: translateY(300px); } }
.tz-dots { animation: tz-pulse 5.5s ease-in-out infinite; }
@keyframes tz-pulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.cfg-teaser__figure svg { width: 100%; height: auto; font-family: var(--font); }
.cfg-teaser__figure figcaption { margin-block-start: 10px; color: var(--text-3); font-size: var(--fs-xs); text-align: center; }
@media (max-width: 900px) { .cfg-teaser__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- industries */
.industry-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block-start: 1px solid var(--line-strong); }
.industry-list li { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: 28px 24px 30px; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background var(--dur); }
.industry-list li:nth-child(4n) { border-inline-end: 0; }
.industry-list li::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: -1px; width: 0; height: 2px; background: var(--grad); transition: width .5s var(--ease); }
.industry-list li:hover { background: linear-gradient(180deg, rgba(0, 140, 255, .07), transparent); }
.industry-list li:hover::after { width: 100%; }
.industry-list__icon { display: inline-flex; color: var(--cyan); }
.industry-list h3 { font-size: var(--fs-lg); }
.industry-list p { color: var(--text-2); font-size: var(--fs-sm); }
.industry-list__n { position: absolute; inset-block-start: 26px; inset-inline-end: 22px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .industry-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .industry-list li:nth-child(4n) { border-inline-end: 1px solid var(--line); } .industry-list li:nth-child(3n) { border-inline-end: 0; } }
@media (max-width: 760px) { .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .industry-list li:nth-child(3n) { border-inline-end: 1px solid var(--line); } .industry-list li:nth-child(2n) { border-inline-end: 0; } .industry-list li { padding: 22px 16px; } }
@media (max-width: 460px) { .industry-list { grid-template-columns: 1fr; } .industry-list li { border-inline-end: 0 !important; } }

/* ------------------------------------------------------------- advantages */
.adv { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.adv__intro { position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
.adv__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.adv__list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding-block: 22px; border-block-start: 1px solid var(--line); }
.adv__icon { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--edge); color: var(--cyan); box-shadow: 0 0 22px -6px rgba(0, 229, 255, .6); }
.adv__list h3 { align-self: end; font-size: var(--fs-md); }
.adv__list p { color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 900px) { .adv { grid-template-columns: 1fr; } .adv__intro { position: static; } }
@media (max-width: 600px) { .adv__list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.project-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .4s var(--ease); }
.project-card:hover { border-color: var(--edge); transform: translateY(-3px); }
.project-card a { display: block; }
.project-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.project-card__media img, .project-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { display: grid; justify-items: start; gap: 5px; padding: 18px 20px 20px; }
.project-card__cat { color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; }
.project-card__title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; }
.project-card__facts { color: var(--text-3); font-size: var(--fs-sm); }
.project-cover { aspect-ratio: 21 / 9; margin-block-end: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.project-cover img, .project-cover svg { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid p { margin-block-start: 6px; color: var(--text-3); font-size: var(--fs-xs); }
@media (max-width: 600px) { .project-cover { aspect-ratio: 16 / 10; } }

/* -------------------------------------------------------------- documents */
.doc-list { display: grid; gap: 12px; }
.doc-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .3s; }
.doc-row:hover { border-color: var(--edge); }
.doc-row__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft); color: var(--cyan); }
.doc-row__body { min-width: 0; }
.doc-row__body h3 { font-size: var(--fs-md); }
.doc-row__body p { color: var(--text-2); font-size: var(--fs-sm); }
.doc-row__meta { color: var(--text-3) !important; font-size: var(--fs-xs) !important; }
@media (max-width: 600px) {
    .doc-row { grid-template-columns: auto 1fr; padding: 16px; }
    .doc-row .btn { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------- contact band */
.contact-band { position: relative; overflow: hidden; }
.contact-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; padding: clamp(32px, 6vw, 80px); border: 1px solid var(--line-strong); background:
    linear-gradient(rgba(150, 178, 230, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(150, 178, 230, .05) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(80% 140% at 100% 0%, rgba(124, 58, 237, .2) 0%, transparent 55%),
    radial-gradient(80% 140% at 0% 100%, rgba(0, 140, 255, .18) 0%, transparent 55%), var(--surface); }
.contact-band__inner::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; height: 1px; background: var(--grad-line); }
.contact-band__inner h2 { font-size: var(--fs-3xl); max-width: 20ch; }
.contact-band__inner > div:first-child { display: grid; gap: 16px; }
.contact-band__actions { display: grid; justify-items: start; gap: 14px; }
.contact-band__mail { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); font-weight: 500; }
.contact-band__mail:hover { color: var(--cyan); }
@media (max-width: 860px) { .contact-band__inner { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- catalogue */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; padding-block-end: 0; }
.cat-tabs .chip { flex: 0 1 auto; max-width: 100%; white-space: normal; text-align: center; line-height: 1.35; min-height: 40px; align-content: center; }
.cat-tabs--sub { margin-block-start: -4px; }
.catalog__filters { margin-block-end: 8px; }
.catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; margin-block-start: 18px; }
.catalog__filters { position: sticky; inset-block-start: calc(var(--header-h) + 20px); }
.filters { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.filters summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary .badge { margin-inline-start: auto; }
.filters__form { padding: 4px 20px 20px; border-block-start: 1px solid var(--line); padding-block-start: 18px; }
.filters__form .field { margin-block-end: 14px; }
.filters__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 6px; }
.field--range legend { margin-block-end: 6px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.catalog__count { margin-block-end: 16px; color: var(--text-3); font-size: var(--fs-sm); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-block-start: 36px; }
.pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; font-variant-numeric: tabular-nums; }
.pagination__link:hover { border-color: var(--edge); color: #fff; }
.pagination__link.is-current { background: var(--surface-3); border-color: var(--edge); color: #fff; }
.pagination__gap { align-self: center; padding-inline: 4px; color: var(--text-3); }
@media (min-width: 901px) {
    /* On wide screens the filter panel is always open. */
    .filters > summary { pointer-events: none; }
    .filters:not([open]) > .filters__form { display: block; }
}
@media (max-width: 900px) {
    .catalog { grid-template-columns: 1fr; gap: 18px; }
    .catalog__filters { position: static; }
    .filters__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
    .filters__actions, .field--range { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .filters__form { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- product */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.product__stage { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: radial-gradient(90% 90% at 50% 40%, var(--surface-3) 0%, var(--bg-2) 100%); overflow: hidden; }
.product__zoom { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(245, 247, 250, .2); background: rgba(5, 7, 13, .72); color: var(--text); font-size: var(--fs-xs); font-weight: 700; backdrop-filter: blur(8px); transition: border-color .2s, background .2s; }
.product__zoom:hover { border-color: var(--edge); background: rgba(5, 7, 13, .9); }
.readout--product { margin-block-end: 4px; border-block-start: 1px solid var(--line-strong); }
.readout--product dd { font-size: var(--fs-metric); background: linear-gradient(180deg, #fff, #9cc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* discreet footer admin gate */
.admin-gate { width: min(100vw - 2 * var(--gutter), 380px); margin: auto; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: rgba(7, 11, 26, .98); color: var(--text); box-shadow: var(--shadow); }
.admin-gate::backdrop { background: rgba(3, 4, 8, .72); backdrop-filter: blur(4px); }
.admin-gate__form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 28px); }
.admin-gate__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-gate__title { font-size: var(--fs-lg); font-weight: 700; margin: 0; }
.admin-gate__close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text-2); }
.admin-gate__close:hover { color: #fff; border-color: var(--edge); }
.admin-gate__error { margin: 0; color: var(--danger); font-size: var(--fs-sm); }
.admin-gate__field { margin: 0; }
.admin-gate__password { display: grid; grid-template-columns: 1fr auto; gap: 0; align-items: stretch; }
.admin-gate__password input { border-start-end-radius: 0; border-end-end-radius: 0; border-inline-end: 0; }
.admin-gate__toggle { display: inline-grid; place-items: center; width: 46px; min-height: 46px; border: 1px solid var(--line-strong); border-inline-start: 0; border-start-end-radius: 10px; border-end-end-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.admin-gate__toggle:hover { color: #fff; border-color: var(--edge); }
.admin-gate__actions { margin: 0; }

/* full-screen viewer (native dialog) */
.viewer { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(3, 4, 8, .96); color: var(--text); }
.viewer::backdrop { background: rgba(3, 4, 8, .85); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr; animation: viewer-in .25s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.viewer__count { color: var(--text-2); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.viewer__figure { display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 6vw, 96px) 32px; }
.viewer__figure img { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; }
.viewer__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: rgba(13, 20, 34, .8); color: var(--text); }
.viewer__btn:hover { border-color: var(--edge); }
.viewer__nav { position: absolute; inset-block-start: 50%; margin-block-start: -24px; }
.viewer__nav--prev { inset-inline-start: 16px; }
.viewer__nav--next { inset-inline-end: 16px; }
.product__stage img, .product__stage svg { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; gap: 10px; margin-block-start: 12px; overflow-x: auto; padding-block-end: 4px; }
.product__thumbs button { flex: none; width: 84px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; opacity: .65; transition: opacity .2s, border-color .2s; }
.product__thumbs button:hover, .product__thumbs button.is-active { opacity: 1; border-color: var(--cyan); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__caption { margin-block-start: 10px; color: var(--text-3); font-size: var(--fs-sm); }
.product__summary { display: grid; gap: 22px; }
.product__facts { border-block-start: 1px solid var(--line); }
.product__facts li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 11px; border-block-end: 1px solid var(--line); font-size: var(--fs-sm); }
.product__facts span { color: var(--text-3); }
.product__facts strong { font-weight: 700; text-align: end; }
.price-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--grad-soft); color: var(--text-2); font-size: var(--fs-sm); }
.price-note .icon { margin-block-start: 3px; color: var(--cyan); }
.product__summary .field { margin: 0; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product__actions .btn { flex: 1 1 200px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

.product-body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.product-body__side { display: grid; gap: 18px; position: sticky; inset-block-start: calc(var(--header-h) + 20px); }
.block { margin-block-end: clamp(32px, 5vw, 56px); }
.block > h2 { margin-block-end: 20px; font-size: var(--fs-xl); padding-block-end: 14px; border-block-end: 1px solid var(--line); }
.prose { display: grid; gap: 1em; color: var(--text-2); max-width: 72ch; }
.prose h2 { margin-block-start: .8em; color: var(--text); font-size: var(--fs-xl); }
.prose h3 { margin-block-start: .5em; color: var(--text); }
.prose ul { display: grid; gap: .4em; padding-inline-start: 1.3em; list-style: disc; }
.prose ol { display: grid; gap: .4em; padding-inline-start: 1.5em; list-style: decimal; }
.prose a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose--page { font-size: var(--fs-lg); }
.page-updated { margin-block-start: 32px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.variant-panel { margin-block-end: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.variant-panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; border-block-end: 1px solid var(--line); background: var(--surface-2); }
.variant-panel__head h3 { font-size: var(--fs-md); }
.variant-panel__sku { color: var(--text-3); font-size: var(--fs-xs); }
.variant-panel__head .badge { margin-inline-start: auto; }
.variant-panel > .muted { padding: 16px 18px; }
.variant-panel .spec-table { border: 0; border-radius: 0; }
.spec-group { margin-block: 22px 10px; color: var(--cyan); font-size: var(--fs-sm); font-weight: 700; }
.spec-table { border: 1px solid var(--line); overflow: hidden; font-size: var(--fs-sm); border-collapse: separate; border-spacing: 0; }
.spec-table th, .spec-table td { padding: 11px 18px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-block-end: 0; }
.spec-table th { width: 42%; color: var(--text-3); font-weight: 500; background: rgba(150, 178, 230, .03); }
.spec-table td { font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table tr:hover td, .spec-table tr:hover th { background: rgba(0, 140, 255, .06); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.side-card h2 { margin-block-end: 12px; font-size: var(--fs-md); }
.side-card p { color: var(--text-2); font-size: var(--fs-sm); }
.side-card .btn { margin-block-start: 16px; }
.side-card--cta { border-color: var(--line-strong); background: var(--grad-soft), var(--surface); }
.tick-list { display: grid; gap: 9px; color: var(--text-2); font-size: var(--fs-sm); }
.tick-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.tick-list .icon { margin-block-start: 5px; color: var(--cyan); }
.file-list { display: grid; gap: 4px; }
.file-list a { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px; margin-inline: -10px; border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; transition: background .2s; }
.file-list a:hover { background: rgba(150, 178, 230, .08); }
.file-list .icon { color: var(--cyan); }
.file-list small { display: block; color: var(--text-3); font-size: var(--fs-xs); font-weight: 400; }
.link-list { display: grid; gap: 10px; }
.kv { display: grid; gap: 0; font-size: var(--fs-sm); }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.kv > div:last-child { border-block-end: 0; }
.kv dt { color: var(--text-3); }
.kv dd { font-weight: 500; text-align: end; overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .product-body { grid-template-columns: 1fr; }
    .product-body__side { position: static; }
}

/* --------------------------------------------------- contact / quote pages */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.split__aside { display: grid; gap: 18px; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.contact-cards__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft); color: var(--cyan); }
.contact-cards h2 { color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; }
.contact-cards a, .contact-cards p { font-weight: 700; overflow-wrap: anywhere; }
.contact-cards a:hover { color: var(--cyan); }
.picked { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-block-end: 24px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--grad-soft); }
.picked__art { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.picked__art img, .picked__art svg { width: 100%; height: 100%; object-fit: cover; }
.picked__name { font-weight: 700; }
.picked .eyebrow::before { display: none; }
.plain-steps { display: grid; gap: 12px; counter-reset: step; color: var(--text-2); font-size: var(--fs-sm); }
.plain-steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; counter-increment: step; }
.plain-steps li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--edge); color: var(--cyan); font-size: var(--fs-xs); font-weight: 700; }
@media (max-width: 900px) {
    .split, .split--reverse { grid-template-columns: 1fr; }
    .split:not(.split--reverse) .split__aside { order: 2; }
}
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
    .picked { grid-template-columns: auto 1fr; }
    .picked .btn { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------- configurator */
.cfg__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.cfg__inputs { display: grid; gap: 16px; }
.cfg__result { display: grid; gap: 16px; position: sticky; inset-block-start: calc(var(--header-h) + 16px); transition: opacity .2s; }
.cfg__result.is-busy { opacity: .6; }
.cfg-step, .cfg-card { position: relative; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.cfg-stage { border-color: var(--line-strong); background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); }
.cfg-stage::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; height: 2px; background: var(--grad); }
.cfg-step > h2, .cfg-card > h2, .cfg-card__head h2 { display: flex; align-items: center; gap: 12px; margin-block-end: 18px; font-size: var(--fs-lg); }
.cfg-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-block-end: 16px; }
.cfg-card__head h2 { margin: 0; }
.cfg-step__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid rgba(0, 229, 255, .55); border-radius: 50%; background: rgba(0, 140, 255, .14); color: var(--cyan); font-size: var(--fs-sm); font-weight: 800; font-variant-numeric: tabular-nums; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 16px; }
.cfg-products, .cfg-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cfg-option { display: grid; gap: 4px; justify-items: start; align-content: start; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: rgba(5, 7, 13, .5); text-align: start; transition: border-color .2s, background .2s, box-shadow .2s; }
.cfg-option:hover { border-color: var(--edge); }
.cfg-option[aria-checked="true"] { border-color: var(--cyan); background: rgba(0, 229, 255, .07); box-shadow: 0 0 0 1px var(--cyan), 0 10px 30px -18px rgba(0, 229, 255, .9); }
.cfg-option__name { font-weight: 700; line-height: 1.35; }
.cfg-option__meta { color: var(--text-3); font-size: var(--fs-xs); }
.cfg-option .badge { margin-block-start: 4px; }
.cfg-hint { color: var(--text-3); font-size: var(--fs-sm); }
.cfg-size { display: grid; grid-template-columns: auto 1fr 1fr; gap: 0 14px; align-items: start; }
.cfg-size .seg-field--inline { margin-block-end: 18px; }
.cfg-accessories { margin-block-end: 14px; }
.cfg-accessories legend { margin-block-end: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.cfg-accessories .check { padding-block: 8px; border-block-end: 1px solid var(--line); }

.cfg-stage__viewport { position: relative; }
.cfg-stage__canvas { position: relative; display: grid; place-items: center; min-height: 320px; border: 1px solid var(--line); background:
    linear-gradient(rgba(150, 178, 230, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(150, 178, 230, .045) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(90% 90% at 50% 40%, #0b1430 0%, var(--bg) 100%); overflow: hidden; }
.cfg-stage__canvas.is-zoomed { display: block; overflow: auto; place-items: initial; cursor: grab; }
.cfg-stage__placeholder { max-width: 34ch; padding: 24px; color: var(--text-3); font-size: var(--fs-sm); text-align: center; }
.cfg-svg { width: 100%; height: auto; max-height: 560px; font-family: var(--font); }
.cfg-zoom { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: rgba(5, 7, 13, .82); backdrop-filter: blur(8px); }
.cfg-zoom__btn { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--text); font-size: 1.1rem; font-weight: 700; }
.cfg-zoom__btn:hover { background: rgba(0, 140, 255, .16); }
.cfg-zoom__btn--text { border-inline-start: 1px solid var(--line); font-size: var(--fs-xs); }
.cfg-zoom__level { min-width: 48px; color: var(--text-2); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; text-align: center; }
.cfg-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-block-start: 14px; border: 1px solid var(--line); background: rgba(5, 7, 13, .5); }
.cfg-metrics > div { display: grid; gap: 2px; padding: 12px 16px; border-inline-end: 1px solid var(--line); }
.cfg-metrics > div:last-child { border-inline-end: 0; }
.cfg-metrics dt { color: var(--text-3); font-size: var(--fs-xs); }
.cfg-metrics dd { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: var(--fs-xl); font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cfg-metrics small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; }
.cfg-stage__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-block-start: 12px; }
.cfg-stage__tools .btn { cursor: pointer; }
.cfg-stage__tools .field-help { flex: 1 1 100%; }
.cfg-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 14px; color: var(--text-3); font-size: var(--fs-xs); }
.cfg-legend li { display: inline-flex; align-items: center; gap: 7px; }
.swatch { display: inline-block; width: 16px; height: 10px; border-radius: 2px; }
.swatch--actual { border: 2px solid var(--cyan); }
.swatch--requested { border: 2px dashed var(--warn); }
.swatch--module { border: 1px solid rgba(0, 170, 255, .8); }
.swatch--cabinet { border: 2px solid var(--violet); }
.cfg-diff { margin: 0; }
.cfg-diff.is-exact { border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .08); color: #b7f5dc; }
.cfg-manual { border-color: rgba(251, 191, 36, .4); }
.cfg-manual > p { margin-block-end: 18px; color: var(--text-2); }
.cfg-manual h2 .icon { color: var(--warn); }
.cfg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; font-size: var(--fs-sm); }
.cfg-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.cfg-facts dt { color: var(--text-3); }
.cfg-facts dd { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.cfg-facts .is-key dd { color: var(--cyan); font-size: var(--fs-md); }
.cfg-warnings { display: grid; gap: 6px; margin-block-start: 14px; color: var(--warn); font-size: var(--fs-xs); }
.cfg-warnings:empty { display: none; }
.cfg-warnings li { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.cfg-warnings li::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; margin-block-start: 3px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 800; }
.cfg-price { display: grid; gap: 2px; margin-block-end: 16px; }
.cfg-price__label { color: var(--text-3); font-size: var(--fs-sm); }
.cfg-price__value { font-size: var(--fs-2xl); font-weight: 800; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cfg-price__value--text { font-size: var(--fs-lg); background: none; color: var(--text); }
.cfg-price__note { color: var(--text-3); font-size: var(--fs-xs); }
.cfg-lines, .data-table { font-size: var(--fs-sm); }
.cfg-lines th, .cfg-lines td, .data-table th, .data-table td { padding: 10px 12px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.cfg-lines thead th, .data-table thead th { color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; white-space: nowrap; }
.cfg-lines th.num, .cfg-lines td.num, .data-table th.num, .data-table td.num { text-align: end; }
.cfg-lines small, .data-table small { display: block; color: var(--text-3); font-size: var(--fs-xs); }
.cfg-lines .badge, .data-table .badge { margin-block-start: 4px; }
.cfg-totals, .totals { display: grid; gap: 0; margin-block-start: 14px; font-size: var(--fs-sm); }
.cfg-totals > div, .totals > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.cfg-totals dt, .totals dt { color: var(--text-2); }
.cfg-totals dd, .totals dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.cfg-totals .is-grand, .totals__grand { margin-block-start: 6px; padding-block: 14px 6px !important; border-block-start: 1px solid var(--line-strong); font-size: var(--fs-lg); }
.cfg-totals .is-grand dd, .totals__grand dd { color: var(--cyan); }
.cfg-totals:empty { display: none; }
.cfg-notes { display: grid; gap: 4px; margin-block-start: 10px; color: var(--text-3); font-size: var(--fs-xs); }
.cfg-indicative { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-block-start: 16px; padding-block-start: 14px; border-block-start: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); }
.cfg-indicative .icon { margin-block-start: 3px; }
.cfg-actions__row { display: flex; flex-wrap: wrap; gap: 10px; margin-block-end: 16px; }
.cfg-saved { margin-block-end: 18px; }
.cfg-saved label { display: block; margin-block-end: 6px; color: var(--text-2); font-size: var(--fs-sm); }
.cfg-saved .input-suffix > .btn { border-color: var(--line-strong); }
.cfg-saved__status { margin-block-start: 6px; color: var(--success); font-size: var(--fs-xs); }
.cfg-quote { margin-block-start: 6px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.cfg-quote h3 { margin-block-end: 4px; }
.cfg-quote > .muted { margin-block-end: 18px; }
.cfg-quote .notice, .cfg-manual .notice { margin-block-end: 14px; }
.cfg-done { display: grid; justify-items: start; gap: 10px; padding: 22px; border: 1px solid rgba(52, 211, 153, .45); border-radius: var(--r); background: rgba(52, 211, 153, .07); }
.cfg-done > .icon { color: var(--success); }
/* Studio layout: a fixed-width control panel that scrolls on its own, and a wide drawing column. */
@media (min-width: 1200px) {
    .cfg .container { --container: 1480px; }
    .cfg__layout { grid-template-columns: minmax(360px, 430px) minmax(0, 1fr); gap: 28px; }
    .cfg__inputs { position: sticky; inset-block-start: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto; padding-inline-end: 6px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
    .cfg__result { position: static; }
    .cfg-stage__canvas { min-height: 460px; }
    .cfg-svg { max-height: 640px; }
}
@media (max-width: 1020px) {
    .cfg__layout { grid-template-columns: 1fr; }
    .cfg__result { position: static; }
}
@media (max-width: 560px) {
    .cfg-size { grid-template-columns: 1fr 1fr; }
    .cfg-size .seg-field--inline { grid-column: 1 / -1; }
    .cfg-facts { grid-template-columns: 1fr; }
    .cfg-products, .cfg-variants { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- quotation sheet */
.quote-doc__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 20px; }
.quote-sheet { display: grid; gap: 28px; padding: clamp(20px, 5vw, 52px); border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.quote-sheet h2 { margin-block-end: 12px; color: var(--cyan); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; }
.quote-sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-block-end: 24px; border-block-end: 1px solid var(--line-strong); }
.quote-sheet__brand { display: flex; align-items: center; gap: 14px; }
.quote-sheet__company { font-size: var(--fs-xl); font-weight: 800; }
.quote-sheet__ref h1 { margin-block-end: 10px; font-size: var(--fs-xl); }
.quote-sheet__ref dl { display: grid; gap: 3px; font-size: var(--fs-sm); }
.quote-sheet__ref dl > div { display: flex; gap: 12px; justify-content: space-between; }
.quote-sheet__ref dt { color: var(--text-3); }
.quote-sheet__ref dd { font-weight: 700; }
.quote-sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.quote-sheet__totals .totals { max-width: 440px; margin-inline-start: auto; }
.quote-sheet__totals .muted { margin-block-start: 8px; }
.quote-sheet__foot { padding-block-start: 18px; border-block-start: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); }
@media (max-width: 640px) { .quote-sheet__cols { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- footer */
.site-footer { margin-block-start: var(--section); padding-block: clamp(40px, 6vw, 72px) 28px; border-block-start: 1px solid var(--line); background: var(--bg-2); position: relative; }
.site-footer::before { content: ""; position: absolute; inset-block-start: -1px; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue) 30%, var(--cyan) 50%, var(--violet) 70%, transparent); opacity: .7; }
.page-home .site-footer { margin-block-start: 0; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px 40px; }
.site-footer__brand { display: grid; align-content: start; gap: 16px; }
.site-footer__slogan { max-width: 34ch; color: var(--text-2); font-size: var(--fs-sm); }
.site-footer__heading { margin-block-end: 14px; color: var(--text); font-size: var(--fs-sm); font-weight: 700; }
.site-footer__col ul { display: grid; gap: 9px; color: var(--text-2); font-size: var(--fs-sm); }
.site-footer__col a:hover { color: var(--cyan); }
.site-footer__two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: var(--fs-xs); }
.social a:hover { color: #fff; border-color: var(--edge); }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.contact-list .icon { margin-block-start: 5px; color: var(--cyan); }
.contact-list a, .contact-list span { overflow-wrap: anywhere; }
[dir="rtl"] .contact-list a[dir="ltr"] { text-align: end; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-block-start: 44px; padding-block-start: 22px; border-block-start: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__legal a:hover { color: var(--cyan); }
@media (max-width: 1020px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- error page */
.page-error { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(70% 70% at 50% 20%, #0d1b46 0%, var(--bg) 70%); }
.error-page__box { display: grid; justify-items: center; gap: 16px; max-width: 620px; text-align: center; }
.error-page__code { font-size: clamp(5rem, 22vw, 10rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__detail { max-width: 100%; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--text-2); text-align: start; white-space: pre-wrap; overflow-wrap: anywhere; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 10px; }

/* ----------------------------------------------------------------- motion */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .will-reveal { opacity: 1; transform: none; }
    .hero__scroll span { animation: none; opacity: 1; }
}

/* ------------------------------------------------------------------ print */
@media print {
    :root { --bg: #fff; --bg-2: #fff; --surface: #fff; --surface-2: #f3f5f9; --surface-3: #e9edf5; --text: #10131c; --text-2: #333b4d; --text-3: #5b6478; --line: #d5dae5; --line-strong: #b9c0d0; --cyan: #0b6fb3; --blue-soft: #0b4fb3; --warn: #8a5a00; --success: #0b7a4b; --danger: #b42318; --shadow: none; }
    @page { size: A4; margin: 14mm 12mm 16mm; }
    html { scroll-behavior: auto; }
    body { background: #fff; color: #10131c; font-size: 10.5pt; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .site-header, .site-footer, .skip-link, .no-print, .flash-area, .hero__scroll, .cfg__inputs, .cfg-actions, .cfg-stage__tools, .cfg-manual, .cfg-zoom, [data-cfg-views], .page-head .crumbs, .viewer, .product__zoom { display: none !important; }
    .cfg-stage::before, .product-card::before { display: none; }
    .cfg-metrics { background: #fff; }
    /* A4 quotation sheet: white, branded header rule, compact tables */
    .quote-doc .container--narrow { max-width: none; }
    .quote-sheet__head { padding-block-end: 14px; border-block-end: 2px solid #008cff; }
    .quote-sheet__company { color: #05070d; font-size: 16pt; }
    .quote-sheet__ref h1 { font-size: 14pt; color: #05070d; }
    .quote-sheet h2 { color: #0060b8; font-size: 9.5pt; letter-spacing: .06em; text-transform: uppercase; }
    :lang(ar) .quote-sheet h2 { letter-spacing: 0; text-transform: none; }
    .quote-sheet .spec-table, .quote-sheet .data-table { font-size: 9.5pt; }
    .quote-sheet .spec-table th, .quote-sheet .spec-table td, .quote-sheet .data-table th, .quote-sheet .data-table td { padding: 6px 10px; }
    .quote-sheet .spec-table th { background: #f3f6fb; }
    .quote-sheet__totals .totals { border: 1px solid #b9c0d0; padding: 6px 14px; }
    .totals__grand dd { color: #05070d !important; }
    .quote-sheet__foot { font-size: 8.5pt; }
    .page-head { padding-block: 0 12px; background: none; border: 0; }
    .page-head::after { display: none; }
    .section, .section--tight { padding-block: 0; }
    .container, .container--narrow { width: 100%; }
    .cfg__layout { display: block; }
    .cfg__result { position: static; display: block; }
    .cfg-card, .cfg-step { margin-block-end: 12px; break-inside: avoid; background: #fff; }
    .cfg-step__n { background: #10131c; }
    .cfg-stage__canvas { background: #fff; min-height: 0; }
    .cfg-price__value, .error-page__code { background: none; color: #10131c; }
    .quote-sheet { padding: 0; border: 0; gap: 18px; }
    .quote-sheet section, .spec-table tr, .data-table tr { break-inside: avoid; }
    .notice { background: #fff !important; color: #333b4d !important; }
    .badge { background: #fff; }
    a { text-decoration: none; }
    .will-reveal { opacity: 1 !important; transform: none !important; }
}
