/* =========================================================
   QJ Industrial Theme — Core Stylesheet
   Industrial rail-weighing & sensor visual language
   ========================================================= */

/* ---------- 1. Fonts (local, offline-safe) ---------- */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/BarlowCondensed-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-400.woff2') format('woff2');
    font-weight: 100 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- 2. Design Tokens ---------- */
:root {
    /* Deep-blue industrial base (MT.com inspired) */
    --ink-900: #031A33;
    --ink-800: #0A2C52;
    --ink-700: #0F3A66;
    --ink-600: #16487E;
    --steel-500: #255C92;
    --steel-400: #3E72A8;
    --line-dark: rgba(255, 255, 255, 0.12);
    --line-dark-2: rgba(255, 255, 255, 0.07);

    /* Light — neutral MT-style surfaces (was blue-tinted) */
    --paper: #F4F5F7;
    --paper-2: #EDEFF1;
    --white: #FFFFFF;
    --ink-text: #0C2438;
    --muted: #5E7390;
    --line: #E0E4E8;

    /* Accents — brand blue + light blue */
    --accent: #00529B;
    --accent-600: #003E78;
    --accent-soft: rgba(0, 82, 155, 0.10);
    --tech: #00A6DE;
    --tech-soft: rgba(0, 166, 222, 0.14);

    /* Type */
    --f-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --f-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

    /* Layout */
    --wrap: 1280px;
    --wrap-narrow: 940px;
    --radius: 3px;
    --radius-lg: 6px;
    --shadow-sm: 0 1px 3px rgba(8, 28, 52, 0.07);
    --shadow-md: 0 10px 30px rgba(8, 28, 52, 0.12);
    --shadow-lg: 0 24px 60px rgba(3, 26, 51, 0.40);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --nav-h: 78px;
}

/* ---------- 3. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Typography helpers */
.display { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; }
.mono { font-family: var(--f-mono); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink-800); color: #E8EEF7; }
.section--ink { background: var(--ink-900); color: #E8EEF7; }
.section--paper { background: var(--paper); }

/* Eyebrow / section label */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
    content: ''; width: 34px; height: 1px; background: var(--accent); display: block;
}
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--tech); }
.section--dark .eyebrow::before, .section--ink .eyebrow::before { background: var(--tech); }

.h2 {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: .01em;
}
.h2 + .section-lead { margin-top: 20px; }
.section-lead { max-width: 760px; font-size: 17px; color: var(--muted); line-height: 1.8; }
.section--dark .section-lead, .section--ink .section-lead { color: rgba(232, 238, 247, .68); }

.sec-head { margin-bottom: 56px; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-display); font-weight: 600; font-size: 16px;
    text-transform: uppercase; letter-spacing: .06em;
    padding: 15px 30px; border-radius: var(--radius);
    transition: all .28s var(--ease); position: relative; overflow: hidden;
    white-space: nowrap;
}
.btn__arrow { transition: transform .28s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(255, 106, 19, .26); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 106, 19, .34); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .10); border-color: #fff; transform: translateY(-2px); }
.btn--outline { border: 1px solid var(--line); color: var(--ink-text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 14px; }

/* ---------- 4. Header ---------- */

/* ---------- 5. Header / Navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(14px);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 26px rgba(8, 28, 52, .10); background: rgba(255, 255, 255, .98); }
.header__inner {
    max-width: var(--wrap); margin: 0 auto; padding: 0 32px; height: var(--nav-h);
    display: flex; align-items: center; gap: 32px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--f-display); font-weight: 700; font-size: 22px;
    letter-spacing: .06em; text-transform: uppercase; color: var(--ink-800);
}
.brand__sub {
    font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .24em;
    text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
/* Real logo image (Newsense) */
.brand__logo { display: block; height: 42px; width: auto; }
/* Footer shows the same full-colour logo as the header; a light plate keeps it readable on the dark footer. */
.brand__logo--footer {
    height: 40px;
    padding: 8px 12px;
    background: #FFFFFF;
    border-radius: 4px;
}
.brand--footer .brand__logo { height: 40px; }

/* Primary menu */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
    display: flex; align-items: center; gap: 6px; padding: 12px 15px;
    font-size: 15px; font-weight: 500; color: var(--ink-700); position: relative;
    white-space: nowrap;
}
/* CJK labels are wider — tighten the menu so it never wraps mid-word. */
html[lang^="zh"] .header__inner { gap: 20px; }
html[lang^="zh"] .nav__list > li > a { padding: 12px 9px; font-size: 14px; }
html[lang^="zh"] .brand__logo { height: 38px; }
html[lang^="ja"] .nav__list > li > a { white-space: nowrap; }
.nav__list > li > a::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
}
.nav__list > li:hover > a::after,
.nav__list > li.current-menu-item > a::after,
.nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.nav__list > li:hover > a, .nav__list > li.current-menu-item > a { color: var(--accent); }

/* Dropdown */
.nav__list li.menu-item-has-children > a .caret { width: 9px; height: 9px; transition: transform .25s var(--ease); opacity: .55; }
.nav__list li.menu-item-has-children:hover > a .caret { transform: rotate(180deg); }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 268px;
    background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--accent);
    box-shadow: var(--shadow-md); padding: 10px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .26s var(--ease); z-index: 60;
}
.nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 10px 20px; font-size: 14.5px; color: var(--ink-700); }
.sub-menu a:hover { background: var(--paper); color: var(--accent); padding-left: 25px; }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__cta { padding: 12px 22px; font-size: 14px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__btn {
    display: flex; align-items: center; gap: 8px; padding: 8px 13px;
    border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 13.5px; font-weight: 500; color: var(--ink-700);
    transition: all .25s var(--ease);
}
.lang-switch__btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-switch__btn .globe { width: 15px; height: 15px; }
.lang-switch__btn .caret { width: 9px; height: 9px; transition: transform .25s var(--ease); }
.lang-switch.is-open .lang-switch__btn .caret { transform: rotate(180deg); }
.lang-switch__list {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 178px;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 6px 0; z-index: 80;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .24s var(--ease);
}
.lang-switch.is-open .lang-switch__list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__list a {
    display: flex; align-items: center; gap: 10px; padding: 9px 16px;
    font-size: 14px; color: var(--ink-700);
}
.lang-switch__list a:hover { background: var(--paper); color: var(--accent); }
.lang-switch__list a.is-current { color: var(--accent); font-weight: 600; }
.lang-switch__list .flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex: none; }
.lang-switch__list .tick { width: 12px; height: 12px; margin-left: auto; opacity: 0; }
.lang-switch__list a.is-current .tick { opacity: 1; }
.lang-code { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-800); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink-800); transition: transform .28s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: 0; z-index: 95; background: var(--ink-900);
    padding: 100px 28px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .38s var(--ease);
    display: none;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { color: #DCE5F0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-dark-2); }
.mobile-nav__list > li > a {
    display: block; padding: 17px 0; font-family: var(--f-display);
    font-size: 22px; text-transform: uppercase; letter-spacing: .04em;
}
.mobile-nav__list .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 14px 14px;
    display: none;
}
.mobile-nav__list li.is-open > .sub-menu { display: block; }
.mobile-nav__list .sub-menu a { font-size: 15px; color: rgba(220, 229, 240, .68); padding: 8px 0; }
.mobile-nav__close { position: absolute; top: 30px; right: 28px; width: 44px; height: 44px; }
.mobile-nav__close span, .mobile-nav__close span::before { content: ''; display: block; width: 24px; height: 2px; background: #fff; position: absolute; top: 21px; left: 10px; }
.mobile-nav__close span { transform: rotate(45deg); }
.mobile-nav__close span::before { transform: rotate(-90deg); left: 0; top: 0; }
.mobile-nav__langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.mobile-nav__langs a {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
    border: 1px solid var(--line-dark); font-size: 14px; border-radius: var(--radius);
}
.mobile-nav__langs a.is-current { border-color: var(--accent); color: var(--accent); }
.mobile-nav__meta { margin-top: 26px; font-size: 14px; color: rgba(220, 229, 240, .6); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative; min-height: 640px; display: flex; align-items: center;
    background: linear-gradient(115deg, #F5F6F8 0%, #EDEFF2 26%, #DCE7F1 58%, #C9DEF0 100%);
    color: var(--ink-800); overflow: hidden;
    padding: 90px 0 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg svg { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.10) saturate(1.02); }
.hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg,
        rgba(0, 0, 240, .93) 0%,
        rgba(238, 241, 245, .70) 38%,
        rgba(214, 228, 242, .42) 72%,
        rgba(201, 222, 240, .22) 100%);
}
.hero__grid {
    position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .6;
    background-image: linear-gradient(rgba(10, 44, 82, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(10, 44, 82, .045) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 78%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.hero__content { max-width: 720px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
    padding: 7px 15px; border: 1px solid var(--accent);
    background: var(--accent-soft); border-radius: 100px;
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.hero__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(0, 82, 155, .28); } 50% { box-shadow: 0 0 0 8px rgba(0, 82, 155, 0); } }

.hero__title {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(40px, 6.1vw, 82px); line-height: .97; letter-spacing: .004em;
    margin-bottom: 26px; color: var(--ink-800);
}
.hero__title .line { display: block; }
.hero__title .hl { color: var(--steel-500); position: relative; }
.hero__title .thin { font-weight: 500; color: var(--muted); }
.hero__lead { font-size: 18px; line-height: 1.78; color: rgba(12, 36, 56, .76); max-width: 620px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero .btn--ghost { border-color: var(--steel-400); color: var(--ink-800); }
.hero .btn--ghost:hover { background: rgba(37, 92, 146, .08); border-color: var(--accent); color: var(--accent); }

/* Hero spec strip */
.hero__specs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid var(--line);
}
.hero__spec { padding: 22px 24px 0 0; position: relative; }
.hero__spec::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 42px; height: 2px; background: var(--accent);
}
.hero__spec-num {
    font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1;
    color: var(--ink-800); letter-spacing: .01em;
}
.hero__spec-num .unit { font-size: 20px; color: var(--accent); margin-left: 3px; }
.hero__spec-label {
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); margin-top: 9px;
}
.hero__scroll {
    position: absolute; left: 32px; bottom: 34px; z-index: 4;
    display: flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
}
.hero__scroll .bar { width: 46px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll .bar::after {
    content: ''; position: absolute; inset: 0; background: var(--accent);
    animation: sweep 2.2s var(--ease) infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ---------- Hero slider (homepage slides) ---------- */
.hero--slider { display: block; padding: 0; }
.hero--slider .hero__stage { position: relative; min-height: 640px; overflow: hidden; }
.hero__slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    transition: opacity .9s var(--ease), visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide .hero__inner { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.hero__slide .hero__content {
    max-width: 720px;
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s var(--ease) .18s, transform .7s var(--ease) .18s;
}
.hero__slide.is-active .hero__content { opacity: 1; transform: none; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.10) saturate(1.02); }

/* Spec strip flows below the stage */
.hero--slider .hero__specs {
    position: relative; z-index: 4; width: 100%; max-width: var(--wrap);
    margin: 0 auto; padding: 0 32px; box-sizing: border-box;
}
.hero--slider .hero__scroll { bottom: 128px; }

/* Blaze-style pagination: numbered buttons with a progress bar */
.hero__pagination {
    position: absolute; right: 34px; bottom: 128px; z-index: 6;
    display: flex; align-items: center; gap: 18px;
}
.hero__page {
    appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
    display: flex; flex-direction: column; align-items: flex-end; gap: 9px;
    font-family: var(--f-display); font-weight: 700; font-size: 15px;
    color: var(--muted); transition: color .3s;
}
.hero__page:hover { color: var(--steel-500); }
.hero__page.is-active { color: var(--accent); }
.hero__page-bar { display: block; width: 34px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero__page-bar::after {
    content: ''; position: absolute; inset: 0; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.hero__page.is-active .hero__page-bar::after { transform: scaleX(1); animation: hero-progress 6.5s linear forwards; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Prev / next arrows */
.hero__nav { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; gap: 10px; }
.hero__arrow {
    appearance: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--steel-400); background: rgba(255, 255, 255, .55);
    color: var(--ink-800); display: flex; align-items: center; justify-content: center;
    transition: background .3s, border-color .3s, color .3s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero__arrow svg { width: 20px; height: 20px; }

@media (max-width: 1024px) {
    .hero__pagination { right: 20px; bottom: 118px; gap: 14px; }
    .hero--slider .hero__scroll { bottom: 118px; }
    .hero__nav { display: none; }
}
@media (max-width: 640px) {
    .hero__page { font-size: 13px; }
    .hero__page-bar { width: 24px; }
}

/* ---------- 7. Capability / Feature cards ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap {
    background: var(--white); padding: 42px 34px 40px; position: relative;
    transition: background .3s var(--ease), transform .3s var(--ease);
}
.cap::before {
    content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .34s var(--ease);
}
.cap:hover { background: var(--paper); }
.cap:hover::before { transform: scaleX(1); }
.cap__idx { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); margin-bottom: 20px; }
.cap__icon { width: 54px; height: 54px; margin-bottom: 22px; color: var(--ink-700); }
.cap__icon svg { width: 100%; height: 100%; }
.cap:hover .cap__icon { color: var(--accent); }
.cap__title {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
    font-size: 22px; letter-spacing: .02em; margin-bottom: 12px; color: var(--ink-800);
}
.cap__text { font-size: 15px; color: var(--muted); line-height: 1.75; }
.cap__meta { margin-top: 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--steel-400); }

/* ---------- 8. Product showcase ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-700); overflow: hidden; }
.prod-card__media img, .prod-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod-card:hover .prod-card__media img, .prod-card:hover .prod-card__media svg { transform: scale(1.06); }
.prod-card__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8, 28, 52, 0) 40%, rgba(8, 28, 52, .55) 100%);
}
.prod-card__tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 2px;
}
.prod-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.prod-card__model { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--accent); margin-bottom: 9px; }
.prod-card__title {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
    font-size: 21px; letter-spacing: .02em; margin-bottom: 10px; color: var(--ink-800); line-height: 1.15;
}
.prod-card__excerpt { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.prod-card__more {
    margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-700);
}
.prod-card__more svg { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.prod-card:hover .prod-card__more { color: var(--accent); }
.prod-card:hover .prod-card__more svg { transform: translateX(5px); }

/* Product list (alternating rows) */
.prod-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
    border: 1px solid var(--line); margin-bottom: 0; background: var(--white);
}
.prod-row + .prod-row { border-top: 0; }
.prod-row:nth-child(even) .prod-row__media { order: 2; }
.prod-row__media { position: relative; min-height: 320px; background: var(--ink-700); overflow: hidden; }
.prod-row__media img, .prod-row__media svg { width: 100%; height: 100%; object-fit: cover; }
.prod-row__body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.prod-row__title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 27px; letter-spacing: .02em; margin-bottom: 14px; }
.prod-row__text { color: var(--muted); font-size: 15.5px; line-height: 1.78; margin-bottom: 22px; }
.prod-row__specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.prod-row__specs span {
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em;
    padding: 6px 11px; background: var(--paper); border: 1px solid var(--line); color: var(--steel-400); border-radius: 2px;
}

/* ---------- 9. Industries / Solutions ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-card {
    position: relative; min-height: 250px; padding: 32px 28px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    border-radius: var(--radius); color: #fff;
    background: var(--ink-700);
}
.ind-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(3, 26, 51, .20) 0%, rgba(3, 26, 51, .88) 100%);
}
.ind-card__body { position: relative; z-index: 2; }
.ind-card__icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--tech); position: relative; z-index: 2; }
.ind-card__icon svg { width: 100%; height: 100%; }
.ind-card__title {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
    font-size: 21px; letter-spacing: .03em; margin-bottom: 8px;
}
.ind-card__text { font-size: 14px; color: rgba(232, 238, 247, .72); line-height: 1.65; }
.ind-card__num {
    position: absolute; top: 22px; right: 24px; z-index: 2;
    font-family: var(--f-display); font-size: 46px; font-weight: 700;
    color: rgba(255, 255, 255, .10); line-height: 1;
}
.ind-card::before {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .34s var(--ease); z-index: 3;
}
.ind-card:hover::before { transform: scaleX(1); }

/* ---------- 10. Stats / Numbers ---------- */
.stats {
    background: var(--ink-800); color: #fff; padding: 76px 0;
    position: relative; overflow: hidden;
}
.stats::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 64px);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: left; padding-left: 22px; border-left: 2px solid rgba(255, 106, 19, .5); }
.stat__num {
    font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1; letter-spacing: .01em; color: #fff;
}
.stat__num .suffix { color: var(--accent); font-size: .55em; margin-left: 4px; }
.stat__label {
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
    color: rgba(232, 238, 247, .58); margin-top: 12px;
}

/* ---------- 11. Tech / Patent band ---------- */
.tech-band { background: var(--ink-900); color: #E8EEF7; padding: 92px 0; position: relative; overflow: hidden; }
.tech-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.patent-list { margin-top: 30px; }
.patent-list li {
    display: flex; gap: 16px; align-items: flex-start; padding: 16px 0;
    border-bottom: 1px solid var(--line-dark-2);
}
.patent-list li:last-child { border-bottom: 0; }
.patent-list .pt-code {
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--tech);
    padding: 5px 9px; border: 1px solid rgba(34, 200, 240, .3); background: rgba(34, 200, 240, .07);
    border-radius: 2px; flex: none; white-space: nowrap;
}
.patent-list .pt-name { font-size: 15px; color: rgba(232, 238, 247, .86); line-height: 1.55; }

/* Technical drawing visual */
.tech-visual { position: relative; aspect-ratio: 1 / 1; }
.tech-visual svg { width: 100%; height: 100%; }
.tech-visual__ring { position: absolute; inset: 8%; border: 1px solid var(--line-dark); border-radius: 50%; animation: spin 34s linear infinite; }
.tech-visual__ring--2 { inset: 20%; border-color: rgba(34, 200, 240, .22); animation-duration: 22s; animation-direction: reverse; }
.tech-visual__ring::after {
    content: ''; position: absolute; top: -3px; left: 50%; width: 5px; height: 5px;
    background: var(--accent); border-radius: 50%; transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 12. Cases / Projects ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: box-shadow .3s var(--ease); }
.case-card:hover { box-shadow: var(--shadow-md); }
.case-card__media { aspect-ratio: 16 / 10; background: var(--ink-700); overflow: hidden; }
.case-card__media img, .case-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case-card__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.case-card__title { font-size: 18px; font-weight: 600; line-height: 1.45; margin-bottom: 12px; color: var(--ink-800); }
.case-card__text { font-size: 14.5px; color: var(--muted); line-height: 1.72; }
/* Year + location are kept in post meta but hidden on all project cards (per site owner request). */
.case-card__meta { display: none; margin-top: auto; padding-top: 18px; font-family: var(--f-mono); font-size: 12px; color: var(--steel-400); }

/* ---------- 12b. Project coverage ---------- */
.cov-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .09);
    margin-bottom: 46px;
}
.cov-stat { background: var(--ink-800); padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.cov-stat__num { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent); letter-spacing: .01em; }
.cov-stat__label { font-size: 12.5px; color: rgba(232, 238, 247, .6); line-height: 1.5; }

.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.coverage__h {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 16px;
    letter-spacing: .12em; color: #fff; margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: rgba(232, 238, 247, .82);
    border: 1px solid rgba(255, 255, 255, .16); padding: 7px 13px; background: rgba(255, 255, 255, .03);
    transition: border-color .25s var(--ease), color .25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip--intl { color: var(--tech); border-color: rgba(34, 200, 240, .38); background: rgba(34, 200, 240, .07); }
.chips--clients .chip { color: rgba(232, 238, 247, .9); }
.coverage__note { margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: rgba(232, 238, 247, .52); }
@media (max-width: 1024px) {
    .cov-stats { grid-template-columns: repeat(2, 1fr); }
    .coverage { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 12b-bis. Team & people ---------- */
.team { position: relative; overflow: hidden; }
.team::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 420px at 85% 12%, rgba(34, 200, 240, .07), transparent 70%),
        radial-gradient(700px 380px at 8% 90%, rgba(255, 106, 19, .06), transparent 70%);
    pointer-events: none;
}
.team__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center;
}
.team__text { margin-top: 20px; font-size: 15px; line-height: 1.85; color: rgba(232, 238, 247, .68); }
.team__points {
    margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    padding: 22px 0; border-top: 1px solid rgba(232, 238, 247, .1); border-bottom: 1px solid rgba(232, 238, 247, .1);
}
.team__point-num {
    display: block; font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1;
    color: var(--tech); letter-spacing: .01em;
}
.team__point-label { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: rgba(232, 238, 247, .52); }
.team__gallery {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.team__photo {
    position: relative; margin: 0; border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(232, 238, 247, .09); background: #0D1621;
}
.team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team__photo--tall { grid-row: span 2; }
.team__photo--tall img { aspect-ratio: 4 / 5; }
.team__photo:not(.team__photo--tall) img { aspect-ratio: 4 / 3; }
.team__photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 14px 12px; font-size: 11.5px; line-height: 1.5;
    color: rgba(255, 255, 255, .92);
    background: linear-gradient(to top, rgba(3, 26, 51, .92), transparent);
}
.team__photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(34, 200, 240, 0);
    transition: box-shadow .3s ease;
}
.team__photo:hover::after { box-shadow: inset 0 0 0 1px rgba(34, 200, 240, .45); }
@media (max-width: 1024px) {
    .team__inner { grid-template-columns: 1fr; gap: 36px; }
    .team__gallery { grid-template-columns: 1fr 1fr; }
    .team__photo--tall { grid-row: auto; }
    .team__photo--tall img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
    .team__points { grid-template-columns: 1fr; gap: 14px; }
    .team__gallery { grid-template-columns: 1fr; }
}

/* ---------- 12c. Certificate wall ---------- */

/* ---------- 12d. Photo galleries (about / technology) ---------- */
.single-hero {
    margin: 0 0 40px; border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(10, 20, 32, .08); background: #EDF1F6;
}
.single-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.gal-item {
    position: relative; margin: 0; border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(10, 20, 32, .08); background: #EDF1F6;
}
.gal-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 28px 14px 12px; font-size: 12px; line-height: 1.5; font-weight: 500;
    color: #fff; background: linear-gradient(to top, rgba(3, 26, 51, .88), transparent);
}
.gal-grid--dark .gal-item { border-color: rgba(232, 238, 247, .09); background: #0D1621; }
@media (max-width: 1024px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .gal-grid { grid-template-columns: 1fr; } }
.cert-group { margin-top: 56px; }
.cert-group:first-of-type { margin-top: 44px; }
.cert-group__h {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 19px;
    letter-spacing: .1em; color: var(--ink-800); margin-bottom: 22px; padding-bottom: 14px;
    border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 12px;
}
.cert-group__h::before { content: ''; width: 5px; height: 20px; background: var(--accent); flex: none; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-tile { margin: 0; }
.cert-tile__link {
    display: block; position: relative; border: 1px solid var(--line); background: #fff;
    overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cert-tile__link:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.cert-tile__link img {
    display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
    object-position: top center; background: #fff; transition: transform .5s var(--ease);
}
.cert-tile__link:hover img { transform: scale(1.04); }
.cert-tile__cap {
    padding: 11px 13px 12px; font-size: 12px; line-height: 1.5; color: var(--muted);
    border-top: 1px solid var(--line); background: var(--white);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cert-tile__link::after {
    content: ''; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
    background: rgba(3, 26, 51, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat;
    opacity: 0; transition: opacity .25s var(--ease);
}
.cert-tile__link:hover::after { opacity: 1; }
.cert-foot {
    margin-top: 52px; padding: 28px 30px; border: 1px solid var(--line); background: var(--ink-50, #F5F7FA);
    display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cert-foot p { margin: 0; max-width: 720px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px)  { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- 12d. Certificate lightbox ---------- */
.cert-lightbox {
    position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
    background: rgba(3, 6, 11, .92); padding: 40px 56px;
}
.cert-lightbox.is-open { display: flex; }
.cert-lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cert-lightbox__fig img {
    max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto;
    background: #fff; border: 1px solid rgba(255, 255, 255, .14);
}
.cert-lightbox__cap { font-size: 14px; color: rgba(232, 238, 247, .8); text-align: center; }
.cert-lightbox__close, .cert-lightbox__nav {
    position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
    width: 44px; height: 44px; font-size: 24px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease);
}
.cert-lightbox__close:hover, .cert-lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.cert-lightbox__close { top: 20px; right: 20px; }
.cert-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.cert-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) {
    .cert-lightbox { padding: 56px 16px 32px; }
    .cert-lightbox__nav--prev { left: 8px; }
    .cert-lightbox__nav--next { right: 8px; }
}

/* ---------- 13. News ---------- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
    display: grid; grid-template-columns: 168px 1fr auto; gap: 28px; align-items: center;
    padding: 16px 8px; border-bottom: 1px solid var(--line); transition: background .28s var(--ease);
}
.news-item__thumb {
    display: block; width: 168px; height: 112px; border-radius: 5px; overflow: hidden;
    background: #0D1621; border: 1px solid var(--line);
}
.news-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-item:hover { background: var(--paper); }
.news-item__date { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--accent); }
.news-item__title { font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink-800); }
.news-item:hover .news-item__title { color: var(--accent); }
.news-item__arrow { width: 18px; height: 18px; color: var(--steel-400); transition: transform .28s var(--ease); }
.news-item:hover .news-item__arrow { transform: translateX(5px); color: var(--accent); }
@media (max-width: 768px) {
    .news-item { grid-template-columns: 108px 1fr auto; gap: 16px; padding: 12px 4px; }
    .news-item__thumb { width: 108px; height: 76px; }
    .news-item__title { font-size: 15px; }
}

/* ---------- 14. CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; background: var(--accent); color: #fff; padding: 78px 0;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; opacity: .16;
    background-image: repeating-linear-gradient(115deg, rgba(0, 0, 0, .35) 0 2px, transparent 2px 13px);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__title {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; letter-spacing: .015em; max-width: 640px;
}
.cta-band__sub { font-size: 16px; opacity: .88; margin-top: 12px; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .7); }
.cta-band .btn--solid { background: var(--ink-900); color: #fff; }
.cta-band .btn--solid:hover { background: var(--ink-700); transform: translateY(-2px); }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(232, 238, 247, .68); font-size: 14.5px; }
.footer__top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px;
    padding: 74px 0 56px; border-bottom: 1px solid var(--line-dark-2);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(232, 238, 247, .45); }
.footer__about { margin: 22px 0 24px; line-height: 1.8; max-width: 330px; }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__certs span {
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em;
    padding: 5px 10px; border: 1px solid var(--line-dark); color: rgba(232, 238, 247, .6); border-radius: 2px;
}
.footer__ttl {
    font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
    font-size: 16px; letter-spacing: .12em; color: #fff; margin-bottom: 22px;
}
.footer__menu li { margin-bottom: 11px; }
.footer__menu a { color: rgba(232, 238, 247, .66); }
.footer__menu a:hover { color: var(--accent); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; line-height: 1.65; }
.footer__contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--accent); }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
    padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    font-size: 13px; color: rgba(232, 238, 247, .45); flex-wrap: wrap;
}
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: rgba(232, 238, 247, .62); }
.footer__legal a:hover { color: var(--accent); }
.footer__langs { display: flex; gap: 14px; flex-wrap: wrap; }
.footer__langs a { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.footer__langs a.is-current { color: var(--accent); }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(120deg, #F5F6F8 0%, #EAEEF2 48%, #D4E4F1 100%);
    color: var(--ink-800); padding: 78px 0 76px; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(10, 44, 82, .045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(10, 44, 82, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero--media {
    background-size: cover; background-position: center right; background-repeat: no-repeat;
}
.page-hero--media::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg,
        rgba(253, 253, 254, .95) 0%,
        rgba(238, 241, 245, .76) 42%,
        rgba(205, 224, 241, .44) 100%);
}
.page-hero--media .page-hero__lead { max-width: 620px; }
.page-hero__title {
    font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; letter-spacing: .01em;
    color: var(--ink-800);
}
.page-hero__lead { margin-top: 18px; max-width: 700px; font-size: 17px; color: rgba(12, 36, 56, .74); }
.breadcrumb {
    display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 20px;
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .45; }

/* ---------- 17. Content typography ---------- */
.entry { font-size: 16.5px; line-height: 1.85; color: #35455A; max-width: 860px; }
.entry h2 { font-family: var(--f-display); text-transform: uppercase; font-size: 30px; letter-spacing: .02em; margin: 46px 0 18px; color: var(--ink-800); }
.entry h3 { font-size: 21px; margin: 34px 0 14px; color: var(--ink-800); }
.entry h4 { font-size: 17.5px; margin: 26px 0 10px; color: var(--ink-800); }
.entry p { margin-bottom: 1.25em; }
.entry ul, .entry ol { margin: 0 0 1.4em; padding-left: 22px; }
.entry ul li { list-style: none; position: relative; padding-left: 20px; margin-bottom: 11px; }
.entry ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; background: var(--accent); }
.entry ol li { list-style: decimal; margin-bottom: 11px; padding-left: 6px; }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote {
    margin: 30px 0; padding: 24px 28px; border-left: 3px solid var(--accent);
    background: var(--paper); font-size: 17px; color: var(--ink-700);
}
.entry img { border-radius: var(--radius); }
.entry table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.entry table th, .entry table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.entry table th { background: var(--paper); font-weight: 600; color: var(--ink-800); }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; }
.spec-table th { width: 34%; font-weight: 500; color: var(--muted); background: var(--paper); }
.spec-table tr:hover td { background: #FAFBFD; }

/* ---------- 18. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info li:first-child { padding-top: 0; }
.contact-info .ci-icon { width: 42px; height: 42px; flex: none; background: var(--paper); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--accent); }
.contact-info .ci-icon svg { width: 19px; height: 19px; }
.contact-info .ci-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-info .ci-value { font-size: 16px; color: var(--ink-800); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
    padding: 13px 15px; border: 1px solid var(--line); background: var(--white);
    border-radius: var(--radius); font-size: 15px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 15px; }
.form-msg--ok { background: #E8F7EE; border: 1px solid #B7E3C6; color: #166534; }
.form-msg--err { background: #FDECEC; border: 1px solid #F5C2C2; color: #991B1B; }

/* ---------- 19. Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 54px; flex-wrap: wrap; }
.pagination .page-numbers {
    min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-700); border-radius: var(--radius);
    transition: all .25s var(--ease);
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 20. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 21. 404 ---------- */
.nf { text-align: center; padding: 130px 0; }
.nf__code { font-family: var(--f-display); font-size: 140px; font-weight: 700; color: var(--paper-2); line-height: 1; }
.nf__title { font-family: var(--f-display); text-transform: uppercase; font-size: 30px; margin: 18px 0 14px; }
.nf__text { color: var(--muted); margin-bottom: 30px; }

/* ---------- 21b. Accessibility helpers ---------- */
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    position: static !important; width: auto; height: auto; margin: 0; clip: auto;
    background: var(--ink-800); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; }

/* Search form */
.search-form { display: flex; gap: 8px; align-items: center; }
.search-form .search-field {
    padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px;
}
.search-form .search-submit {
    width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; border-radius: var(--radius);
}
.search-form .search-submit svg { width: 16px; height: 16px; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1200px) {
    /* Keep the header on one line for long CJK/Cyrillic menu labels. */
    .header__cta { display: none; }
}
@media (max-width: 1180px) {
    .prod-grid { grid-template-columns: repeat(3, 1fr); }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
    .nav { display: none; }
    .nav-toggle { display: flex; }
    .mobile-nav { display: block; }
    .header__cta { display: none; }
    .caps-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-band__inner { grid-template-columns: 1fr; gap: 44px; }
    .tech-visual { max-width: 380px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__specs { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}
@media (max-width: 768px) {
    :root { --nav-h: 68px; }
    .wrap, .header__inner, .hero__inner { padding: 0 20px; }
    .section { padding: 62px 0; }
    .hero { min-height: 560px; padding: 64px 0 96px; }
    .hero--slider { padding: 0; }
    .hero--slider .hero__stage { min-height: 560px; }
    .hero--slider .hero__specs { padding: 0 20px; }
    .hero--slider .hero__pagination { bottom: 108px; right: 20px; }
    .hero__specs { grid-template-columns: repeat(2, 1fr); }
    .hero__spec-num { font-size: 30px; }
    .hero__scroll { display: none; }
    .caps-grid, .prod-grid, .ind-grid, .case-grid { grid-template-columns: 1fr; }
    .prod-row { grid-template-columns: 1fr; }
    .prod-row:nth-child(even) .prod-row__media { order: 0; }
    .prod-row__media { min-height: 220px; }
    .prod-row__body { padding: 32px 24px; }
    .footer__top { grid-template-columns: 1fr; gap: 34px; padding: 54px 0 40px; }
    .news-item { grid-template-columns: 1fr auto; gap: 12px; padding: 20px 4px; }
    .news-item__date { grid-column: 1 / -1; }
    .form-grid { grid-template-columns: 1fr; }
    .sec-head { margin-bottom: 40px; }
    .entry h2 { font-size: 25px; }
}
@media (max-width: 520px) {
    .hero__actions .btn { width: 100%; justify-content: center; }
    .stats__grid { grid-template-columns: 1fr; }
    .hero__specs { grid-template-columns: 1fr; }
}

/* ---------- 23. RTL support (Arabic / Hebrew) ---------- */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .hero__scrim { background: linear-gradient(260deg, rgba(252, 252, 253, .93) 0%, rgba(238, 241, 245, .70) 38%, rgba(214, 228, 242, .42) 72%, rgba(201, 222, 240, .22) 100%); }
html[dir="rtl"] .eyebrow::before { order: 2; }
html[dir="rtl"] .stat { border-left: 0; border-right: 2px solid rgba(255, 106, 19, .5); padding-left: 0; padding-right: 22px; text-align: right; }
html[dir="rtl"] .hero__spec { padding: 22px 0 0 24px; }
html[dir="rtl"] .hero__spec::before { left: auto; right: 0; }
html[dir="rtl"] .prod-card__more svg, html[dir="rtl"] .news-item__arrow, html[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
html[dir="rtl"] .prod-card:hover .prod-card__more svg, html[dir="rtl"] .news-item:hover .news-item__arrow { transform: scaleX(-1) translateX(5px); }
html[dir="rtl"] .sub-menu { left: auto; right: 0; }
html[dir="rtl"] .lang-switch__list { right: auto; left: 0; }
html[dir="rtl"] .breadcrumb .sep { transform: scaleX(-1); }

/* ---------- 22b. Support page: documentation downloads & service grid ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dl-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.dl-card__icon {
    display: flex; align-items: center; justify-content: center;
    height: 108px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.dl-card__svg { width: 44px; height: 44px; color: var(--accent); }
.dl-card__body { padding: 24px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.dl-card__tag {
    align-self: flex-start; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--steel-400); background: var(--paper); border: 1px solid var(--line);
    padding: 4px 10px; border-radius: 2px; margin-bottom: 14px;
}
.dl-card__title {
    font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .01em;
    margin-bottom: 10px; color: var(--ink-800); line-height: 1.2;
}
.dl-card__desc { font-size: 14px; color: var(--muted); line-height: 1.72; margin-bottom: 18px; }
.dl-card__meta {
    margin-top: auto; display: flex; flex-direction: column; gap: 3px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--steel-400);
    padding-top: 14px; border-top: 1px dashed var(--line);
}
.dl-card__file { color: var(--ink-700); word-break: break-all; }
.dl-card__btn { margin: 0 24px 24px; justify-content: center; }
.dl-card__btn svg { width: 15px; height: 15px; }
.dl-note {
    margin-top: 34px; padding: 18px 22px; font-size: 14px; line-height: 1.7; color: var(--steel-400);
    background: var(--paper); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
    padding: 30px 28px; border: 1px solid rgba(232, 238, 247, .10); border-radius: var(--radius);
    background: #0D1621; transition: border-color .34s var(--ease), transform .34s var(--ease);
}
.svc-card:hover { border-color: rgba(255, 106, 19, .45); transform: translateY(-4px); }
.svc-card__icon {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 106, 19, .40); border-radius: var(--radius); margin-bottom: 18px;
}
.svc-card__svg { width: 22px; height: 22px; color: var(--tech); }
.svc-card__title {
    font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: .01em;
    margin-bottom: 10px; color: #E8EEF7;
}
.svc-card__desc { font-size: 14px; line-height: 1.72; color: rgba(232, 238, 247, .68); }

@media (max-width: 1024px) {
    .dl-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .dl-grid, .svc-grid { grid-template-columns: 1fr; }
    .dl-card__icon { height: 84px; }
}

/* ---------- 22c. Product gallery (multiple photos) ---------- */
.prod-gallery { display: block; }
.prod-gallery__main {
    border: 1px solid rgba(10, 20, 32, .10);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    background: #EDF1F6;
}
.prod-gallery__img {
    display: block; width: 100%; height: auto; object-fit: cover;
    aspect-ratio: 4 / 3;
}
.prod-gallery__cap {
    margin: 10px 0 0; font-size: 13px; line-height: 1.6;
    color: var(--steel-500, #5A6B80); text-align: center;
}
.prod-gallery__thumbs {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.prod-gallery__thumb {
    width: 84px; height: 64px; padding: 0; cursor: pointer;
    border: 2px solid transparent; border-radius: 6px; overflow: hidden;
    background: #EDF1F6; transition: border-color .2s ease, opacity .2s ease;
    opacity: .72;
}
.prod-gallery__thumb img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.prod-gallery__thumb:hover { opacity: 1; }
.prod-gallery__thumb.is-active {
    border-color: var(--accent, #00529B); opacity: 1;
}
@media (max-width: 640px) {
    .prod-gallery__thumb { width: 68px; height: 52px; }
}
