/* ============================================================
   SEALING d.o.o. — Premium industrial homepage
   Vanilla CSS. Mobile-first. Brand colors in CSS variables.
   ============================================================ */

/* ----- 1. Design tokens ----- */
:root {
    /* Brand colors */
    --c-blue-900:   #003C66;
    --c-blue-700:   #006FAE;
    --c-blue-600:   #0077B6;
    --c-cyan-500:   #42BFEA;
    --c-cyan-400:   #5ECBF5;
    --c-lime-500:   #9FD63B;
    --c-lime-400:   #B6E24A;
    --c-graphite:   #101820;
    --c-graphite-2: #17212B;
    --c-graphite-3: #0B1018;
    --c-silver:     #F4F7F9;
    --c-silver-2:   #EAEFF4;
    --c-text:       #0F1A24;
    --c-text-muted: #5A6B7E;
    --c-text-soft:  #8492A6;
    --c-border:     #E1E8EF;
    --c-border-2:   rgba(255,255,255,0.08);

    /* Brand gradients used in many spots */
    --grad-brand: linear-gradient(135deg, var(--c-blue-700) 0%, var(--c-cyan-500) 60%, var(--c-lime-500) 130%);
    --grad-brand-h: linear-gradient(90deg, var(--c-cyan-500) 0%, var(--c-blue-600) 50%, var(--c-lime-500) 100%);
    --grad-dark: linear-gradient(180deg, #0a1320 0%, #0e1d2e 100%);

    /* Type */
    --ff-display: "Sora", "Inter", system-ui, sans-serif;
    --ff-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ff-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    /* Layout */
    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius-sm: 6px;
    --radius:    14px;
    --radius-lg: 22px;

    /* Motion */
    --ease: cubic-bezier(.22, .8, .26, 1);
    --ease-soft: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    /* Elevations */
    --shadow-sm: 0 2px 6px rgba(15, 26, 36, 0.04), 0 8px 24px rgba(15, 26, 36, 0.06);
    --shadow:    0 10px 30px rgba(15, 26, 36, 0.08), 0 2px 6px rgba(15, 26, 36, 0.04);
    --shadow-lg: 0 30px 80px rgba(0, 59, 102, 0.18);

    /* Header & floating widgets */
    --header-h: 96px;
    --float-bottom: 28px;
    --float-gap: 14px;
}

/* ----- 2. Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--ff-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--c-graphite);
}
h1 { letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-cyan-400); outline-offset: 3px; border-radius: 4px; }

/* Scroll lock during preload — guard via :not(.is-ready) means scroll
   is always restored once JS adds .is-ready (defense in depth). */
body.is-loading:not(.is-ready) { overflow: hidden; }
body.menu-open  { overflow: hidden; }
body.ai-open    { /* no overflow lock; user can still scroll behind panel */ }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

::selection { background: rgba(66, 191, 234, 0.35); color: var(--c-graphite); }

/* Anchor links should land below the fixed header, not under it. */
:where(.section-title[id], [id^="docs"], [id^="products"], [id^="process"], [id^="industries"], [id^="inquiry"]) {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ----- 3. Container & shared section utilities ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--alt { background: var(--c-silver); }
.section--dark { background: var(--c-graphite-3); color: #fff; position: relative; overflow: hidden; }

/* Industrial kicker / eyebrow label — small mono caps with gradient bar */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-blue-600);
    margin-bottom: 18px;
}
.eyebrow--light { color: var(--c-cyan-400); }
.eyebrow__bar {
    width: 32px; height: 2px;
    background: var(--grad-brand-h);
    border-radius: 2px;
    transition: width .4s var(--ease);
}

.section-title {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.05;
    color: var(--c-graphite);
    letter-spacing: -0.025em;
}
.section-title--light { color: #fff; }

.section-sub {
    font-size: clamp(15.5px, 1.4vw, 17.5px);
    color: var(--c-text-muted);
    max-width: 60ch;
    margin-top: 18px;
    line-height: 1.7;
}
.section-sub--light { color: rgba(255,255,255,0.7); }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 780px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ----- 4. Buttons ----- */
.btn {
    --bg: var(--c-blue-600);
    --fg: #fff;
    --bd: var(--c-blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    padding: 0 28px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.005em;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: 999px;
    transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    --fg: #fff;
    background: var(--grad-brand);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.30);
}
.btn--primary::before {
    /* Soft sheen for premium feel */
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .8s var(--ease);
    z-index: -1;
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 18px 40px rgba(0, 119, 182, 0.4), 0 0 0 1px rgba(255,255,255,0.06) inset; }

.btn--ghost {
    --bg: rgba(255,255,255,0.06);
    --fg: #fff;
    --bd: rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { --bg: rgba(255,255,255,0.14); --bd: rgba(255,255,255,0.5); }

.btn--outline {
    --bg: transparent;
    --fg: var(--c-blue-700);
    --bd: var(--c-blue-700);
}
.btn--outline:hover { --bg: var(--c-blue-700); --fg: #fff; box-shadow: 0 14px 30px rgba(0, 119, 182, 0.28); }

.btn--accent {
    --bg: var(--c-lime-500);
    --fg: var(--c-graphite);
    --bd: var(--c-lime-500);
}
.btn--accent:hover { --bg: var(--c-lime-400); --bd: var(--c-lime-400); box-shadow: 0 18px 36px rgba(159, 214, 59, 0.34); }

/* Ghost variant for light backgrounds */
.btn--ghost-light {
    --bg: transparent;
    --fg: var(--c-graphite);
    --bd: rgba(15, 26, 36, 0.18);
}
.btn--ghost-light:hover { --bg: rgba(15, 26, 36, 0.04); --bd: rgba(15, 26, 36, 0.3); box-shadow: none; }

/* ----- 5. Brand mark — reused inline lime accent for the "i" in brand-cards ----- */
.brand-mark__i {
    color: var(--c-lime-500);
    -webkit-text-fill-color: var(--c-lime-500);
}

/* ============================================================
   6. PRELOADER — LIGHT PREMIUM TECHNICAL
   Soft silver/blue-gray radial gradient; navy SEALING wordmark
   is fully visible. Brand-color ring + animated progress bar.
   ============================================================ */
.preloader {
    position: fixed; inset: 0;
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(120% 80% at 50% 40%, #F6FAFC 0%, #EAF3F8 55%, #D5E5EF 100%);
    overflow: hidden;
    transition: opacity .8s var(--ease-soft), visibility .8s var(--ease-soft);
}
body.is-ready .preloader {
    opacity: 0; visibility: hidden; pointer-events: none;
}

/* Soft brand-blue glow behind the logo */
.preloader__glow {
    position: absolute;
    width: 540px; height: 540px;
    left: 50%; top: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(0, 119, 182, 0.16) 0%, rgba(66, 191, 234, 0.10) 35%, transparent 70%);
    filter: blur(28px);
    animation: preloaderGlow 4.2s ease-in-out infinite alternate;
}
@keyframes preloaderGlow {
    from { transform: translate(-50%, -55%) scale(1);    opacity: .85; }
    to   { transform: translate(-50%, -55%) scale(1.12); opacity: 1; }
}

/* Subtle technical grid — darker lines on the light bg */
.preloader__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 59, 102, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 59, 102, 0.045) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
    pointer-events: none;
}

.preloader__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.preloader__mark {
    position: relative;
    width: 180px; height: 180px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 32px;
}
.preloader__ring {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.preloader__ring-arc {
    transform-origin: 80px 80px;
    animation: preloaderSpin 2s linear infinite;
    /* Slight glow so the ring still reads against the light bg */
    filter: drop-shadow(0 0 6px rgba(66, 191, 234, 0.45));
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }

.preloader__logo {
    position: relative;
    width: auto;
    height: clamp(60px, 7.2vw, 78px);
    max-width: 60vw;
    /* Subtle drop-shadow gives the navy wordmark depth on light bg */
    filter: drop-shadow(0 4px 14px rgba(0, 59, 102, 0.18)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
    animation: preloaderLogoIn .8s var(--ease-out) .1s both;
}
@keyframes preloaderLogoIn {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

.preloader__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    color: rgba(15, 26, 36, 0.55);
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}
.preloader__tag-bar {
    width: 28px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.5));
}
.preloader__tag-bar:last-child {
    background: linear-gradient(-90deg, transparent, rgba(0, 119, 182, 0.5));
}

.preloader__progress {
    width: clamp(180px, 22vw, 260px);
    height: 2px;
    margin-top: 28px;
    background: rgba(0, 59, 102, 0.10);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.preloader__progress-bar {
    position: absolute;
    top: 0; left: -40%;
    width: 40%;
    height: 100%;
    background: var(--grad-brand-h);
    box-shadow: 0 0 12px rgba(0, 119, 182, 0.45);
    animation: preloaderBar 1.8s var(--ease) infinite;
}
@keyframes preloaderBar {
    0%   { left: -40%; }
    100% { left: 100%; }
}

/* ============================================================
   7. HEADER / NAVBAR — DUAL-STATE
   Top (over hero):   transparent · subtle dark glass · WHITE logo · WHITE links
   Scrolled (sticky): light premium · COLORED logo · DARK links · subtle shadow
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}
/* Scrolled state: light premium navbar */
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 6px 28px rgba(15, 26, 36, 0.06), 0 1px 0 rgba(15, 26, 36, 0.04);
    border-bottom: 1px solid rgba(15, 26, 36, 0.06);
    padding: 10px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* ---------- Brand / logo (dual stack) ---------- */
.site-header__brand {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    flex-shrink: 0;
    transition: transform .35s var(--ease);
    /* Reserve consistent dimensions so crossfade between two stacked imgs is stable */
    height: 56px;
}
.site-header__brand:hover { transform: translateY(-1px); }
.site-header__brand:hover .site-header__logo--light { filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(66,191,234,0.55)); }

.site-header__logo {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: auto;
    height: 56px;
    max-height: 56px;
    align-self: center;
    transition: height .4s var(--ease), opacity .4s var(--ease), filter .35s var(--ease);
}
/* WHITE silhouette version — shown when navbar is over the hero */
.site-header__logo--light {
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(66, 191, 234, 0.35));
    opacity: 1;
}
/* ORIGINAL colored version — shown on the light scrolled navbar */
.site-header__logo--dark {
    opacity: 0;
}
/* Scrolled state: swap to colored logo + smaller size */
.site-header.is-scrolled .site-header__logo {
    height: 48px;
    max-height: 48px;
}
.site-header.is-scrolled .site-header__logo--light { opacity: 0; }
.site-header.is-scrolled .site-header__logo--dark  { opacity: 1; }

/* ---------- Nav links ---------- */
.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    font-family: var(--ff-display);
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.005em;
    transition: color .3s var(--ease);
}
.site-nav__link::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 6px;
    height: 2px;
    background: var(--grad-brand-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
    border-radius: 2px;
}
.site-nav__link:hover,
.site-nav__link.is-active,
.site-nav__link:focus-visible { color: #fff; }
.site-nav__link:hover::after,
.site-nav__link.is-active::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

/* Scrolled state: dark text on light navbar */
.site-header.is-scrolled .site-nav__link { color: var(--c-text); }
.site-header.is-scrolled .site-nav__link:hover,
.site-header.is-scrolled .site-nav__link.is-active,
.site-header.is-scrolled .site-nav__link:focus-visible { color: var(--c-blue-700); }

/* ---------- Hamburger ---------- */
.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); border-color: rgba(66, 191, 234, 0.45); }
.nav-toggle__bar {
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s var(--ease);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scrolled state: dark hamburger on light navbar */
.site-header.is-scrolled .nav-toggle {
    background: rgba(15, 26, 36, 0.04);
    border-color: rgba(15, 26, 36, 0.1);
}
.site-header.is-scrolled .nav-toggle:hover {
    background: rgba(15, 26, 36, 0.08);
    border-color: rgba(0, 119, 182, 0.4);
}
.site-header.is-scrolled .nav-toggle__bar { background: var(--c-graphite); }

/* When the mobile drawer is open, force the navbar back to its dark/top state
   so the navbar bar and drawer read as one cohesive surface. The thin cyan
   accent comes from the drawer's border-top — keep the navbar's border-bottom
   transparent so there's only ONE visible line between them. */
body.menu-open .site-header {
    background: rgba(11, 16, 24, 0.96) !important;
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: none !important;
    border-bottom: 1px solid transparent !important;
}
body.menu-open .site-header .site-header__logo--light { opacity: 1 !important; }
body.menu-open .site-header .site-header__logo--dark  { opacity: 0 !important; }
body.menu-open .site-header .nav-toggle {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.16) !important;
}
body.menu-open .site-header .nav-toggle__bar { background: #fff !important; }

/* ----- Dropdown (Proizvodi) ----- */
.site-nav__item--dropdown { position: relative; }

.site-nav__link--parent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.site-nav__chev {
    transition: transform .35s var(--ease);
    color: currentColor;
    opacity: 0.7;
}
.site-nav__item--dropdown:hover .site-nav__chev,
.site-nav__item--dropdown.is-open .site-nav__chev { transform: rotate(180deg); opacity: 1; }

.site-nav__caret { display: none; /* mobile-only via media query */ }

/* Dropdown — themes itself based on navbar state.
   Default (top, dark navbar): dark glass dropdown with white text.
   Scrolled (light navbar):    light glass dropdown with dark text. */
.site-nav__dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translate(-50%, -10px);
    width: max-content;
    min-width: 300px;
    max-width: 380px;
    padding: 12px;
    background: rgba(11, 16, 24, 0.94);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid rgba(66, 191, 234, 0.14);
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255,255,255,0.04) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease), background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    z-index: 10;
}
.site-nav__dropdown::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: var(--grad-brand-h);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(66, 191, 234, 0.55);
}
.site-nav__dropdown::after {
    /* invisible hover-bridge between trigger and dropdown */
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -20px;
    height: 20px;
}
.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown,
.site-nav__item--dropdown.is-open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav__dropdown li { width: 100%; }
.site-nav__dropdown a {
    display: block;
    padding: 12px 16px;
    font-family: var(--ff-sans);
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
    border-radius: 10px;
    letter-spacing: 0.005em;
    transition: background .2s var(--ease), color .2s var(--ease), padding-left .25s var(--ease);
    position: relative;
}
.site-nav__dropdown a::before {
    content: "";
    position: absolute;
    left: 8px; top: 50%;
    width: 0; height: 2px;
    background: var(--grad-brand-h);
    transform: translateY(-50%);
    transition: width .25s var(--ease);
    border-radius: 2px;
}
.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
    background: rgba(66, 191, 234, 0.10);
    color: #fff;
    padding-left: 28px;
}
.site-nav__dropdown a:hover::before,
.site-nav__dropdown a:focus-visible::before { width: 14px; }

/* Scrolled navbar -> light dropdown */
.site-header.is-scrolled .site-nav__dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(15, 26, 36, 0.08);
    box-shadow: 0 24px 60px rgba(0, 59, 102, 0.14), 0 1px 0 rgba(255,255,255,0.6) inset;
}
.site-header.is-scrolled .site-nav__dropdown a { color: var(--c-text); }
.site-header.is-scrolled .site-nav__dropdown a:hover,
.site-header.is-scrolled .site-nav__dropdown a:focus-visible {
    background: rgba(66, 191, 234, 0.10);
    color: var(--c-blue-700);
}

/* ============================================================
   8. HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    width: 100%;
    overflow: hidden;
    color: #fff;
    background: #0a1320;
}
.hero__slides { position: absolute; inset: 0; }

.hero__slide {
    position: absolute; inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--ease-soft), visibility 1.2s var(--ease-soft);
    display: flex;
    align-items: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0a1320;
    transform: scale(1.05);
    transition: transform 8s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1.18); }
.hero__slide[data-slide="1"].is-active .hero__bg { animation: kenBurnsOut 7s linear forwards; }
@keyframes kenBurnsOut {
    from { transform: scale(1.18); }
    to   { transform: scale(1.04); }
}

.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(8,14,22,0.30) 0%, rgba(8,14,22,0.55) 55%, rgba(8,14,22,0.88) 100%),
        linear-gradient(105deg, rgba(0,59,102,0.5) 0%, rgba(0,59,102,0) 55%);
}

/* Animated technical grid overlay — soft, never distracting */
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 80%);
    pointer-events: none;
    animation: heroGridDrift 30s linear infinite;
}
@keyframes heroGridDrift {
    from { background-position: 0 0; }
    to   { background-position: 80px 80px; }
}

/* Faint glowing cyan accent in upper-right */
.hero::after {
    content: "";
    position: absolute;
    top: -10%; right: -10%;
    width: 60%; height: 70%;
    background: radial-gradient(circle, rgba(66, 191, 234, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    from { opacity: .8; transform: translate(0, 0); }
    to   { opacity: 1;  transform: translate(-4%, 3%); }
}

/* Subtle technical HUD overlay — floating labels + corner crosshairs */
.hero__hud {
    position: absolute;
    inset: var(--header-h) var(--gutter) 0 var(--gutter);
    z-index: 2;
    pointer-events: none;
    color: rgba(255,255,255,0.5);
}
.hero__hud-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    animation: hudFade 1.2s var(--ease-out) .8s both;
}
.hero__hud-bar {
    display: inline-block;
    width: 28px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cyan-400));
}
.hero__hud-label--tl { top: 28px;  left: 0; }
.hero__hud-label--tr { top: 28px;  right: 0; }
.hero__hud-label--tr .hero__hud-bar { background: linear-gradient(90deg, var(--c-cyan-400), transparent); }
.hero__hud-label--br { bottom: 96px; right: 0; }
.hero__hud-label--br .hero__hud-bar { background: linear-gradient(90deg, var(--c-lime-500), transparent); }
@keyframes hudFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.hero__hud-crosshair {
    position: absolute;
    width: 18px; height: 18px;
    opacity: 0.4;
}
.hero__hud-crosshair::before,
.hero__hud-crosshair::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,0.4);
}
.hero__hud-crosshair::before { left: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
.hero__hud-crosshair::after  { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.hero__hud-crosshair--bl { left: 0; bottom: 120px; }
.hero__hud-crosshair--tr { top: 60px; right: calc(50% - 220px); }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding-top: var(--header-h);
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.04);
    margin-bottom: 28px;
}
.hero__eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--c-lime-500);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--c-lime-500);
    animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

.hero__title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(36px, 6.6vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero__subtitle {
    font-family: var(--ff-sans);
    font-size: clamp(15.5px, 1.65vw, 19.5px);
    line-height: 1.65;
    color: rgba(255,255,255,0.86);
    max-width: 60ch;
    margin-bottom: 40px;
    font-weight: 400;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Per-slide content enter animation */
.hero__slide .hero__eyebrow,
.hero__slide .hero__title,
.hero__slide .hero__subtitle,
.hero__slide .hero__cta {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.hero__slide.is-active .hero__eyebrow  { opacity: 1; transform: none; transition-delay: .25s; }
.hero__slide.is-active .hero__title    { opacity: 1; transform: none; transition-delay: .4s; }
.hero__slide.is-active .hero__subtitle { opacity: 1; transform: none; transition-delay: .55s; }
.hero__slide.is-active .hero__cta      { opacity: 1; transform: none; transition-delay: .7s; }

/* ----- Hero progress (numbered tabs) ----- */
.hero__progress {
    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 36px;
    padding: 0;
    width: min(100%, 720px);
    padding: 0 var(--gutter);
    justify-content: space-between;
}
.hero__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: color .3s var(--ease);
}
.hero__tab.is-active { color: #fff; }
.hero__tab-num {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    font-weight: 500;
    transition: color .3s var(--ease);
}
.hero__tab-track {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.hero__tab-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--grad-brand-h);
    transform: translateX(-100%);
    transition: transform .3s var(--ease);
}
.hero__tab.is-active .hero__tab-fill {
    transform: translateX(-100%);
    animation: heroTabFill 6s linear forwards;
}
@keyframes heroTabFill {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
.hero__tab:hover { color: #fff; }
.hero__tab:hover .hero__tab-num { color: var(--c-cyan-400); }

/* Scroll hint (right edge) */
.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: 46px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.hero__scroll-line {
    display: block;
    width: 48px; height: 1px;
    background: rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: "";
    position: absolute; left: -100%; top: 0;
    width: 100%; height: 100%;
    background: var(--c-cyan-400);
    animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { left: -100%; }
    60%  { left: 100%; }
    100% { left: 100%; }
}

/* ============================================================
   9. INTRO
   ============================================================ */
.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(36px, 6vw, 88px);
    align-items: start;
}
.lead {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.5;
    color: var(--c-graphite);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.intro__right p { color: var(--c-text-muted); line-height: 1.8; }

.intro__meta {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border);
}
.intro__stat-num {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 700;
    color: var(--c-blue-700);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.intro__stat-label {
    font-family: var(--ff-mono);
    font-size: 11.5px;
    color: var(--c-text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============================================================
   10. PRODUCTS GRID — premium cards with image + corner accents
   ============================================================ */
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 24px 28px 24px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease);
    isolation: isolate;
}
.product-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(66,191,234,0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .45s var(--ease);
    z-index: 0;
    pointer-events: none;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(66, 191, 234, 0.5);
    box-shadow: 0 24px 50px rgba(0, 59, 102, 0.14), 0 0 0 1px rgba(66,191,234,0.15);
}
.product-card:hover::before { opacity: 1; }

/* Blueprint-style corner accents that grow on hover */
.product-card__corner {
    position: absolute;
    width: 16px; height: 16px;
    border: 1.5px solid var(--c-cyan-500);
    opacity: 0;
    transition: opacity .35s var(--ease), width .4s var(--ease), height .4s var(--ease);
    z-index: 2;
    pointer-events: none;
}
.product-card__corner--tl { top: 10px; left: 10px;  border-right: 0; border-bottom: 0; }
.product-card__corner--tr { top: 10px; right: 10px; border-left: 0;  border-bottom: 0; }
.product-card__corner--bl { bottom: 10px; left: 10px;  border-right: 0; border-top: 0; }
.product-card__corner--br { bottom: 10px; right: 10px; border-left: 0;  border-top: 0; }
.product-card:hover .product-card__corner { opacity: 1; width: 22px; height: 22px; }

.product-card__media {
    position: relative;
    z-index: 1;
    display: block;
    aspect-ratio: 5 / 3;
    margin: 12px -24px 16px -24px;
    overflow: hidden;
    background: #0c1828;
}
.product-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
    display: block;
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

/* Image media (real photo) gets a subtle dark gradient floor for legibility */
.product-card__media--photo {
    background: #0c1828;
}
.product-card__media--photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

/* (Legacy product-card__media--render rules removed — all cards now use --photo with real images.) */

.product-card__tag {
    position: relative; z-index: 1;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(66, 191, 234, 0.1);
    border: 1px solid rgba(66, 191, 234, 0.25);
    color: var(--c-blue-600);
    font-family: var(--ff-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
}
.product-card__title {
    position: relative; z-index: 1;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-graphite);
    letter-spacing: -0.015em;
}
.product-card__desc {
    position: relative; z-index: 1;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--c-text-muted);
    flex: 1;
}
.product-card__link {
    position: relative; z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-blue-700);
    letter-spacing: 0.005em;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 119, 182, 0.15);
}
.product-card__link svg { transition: transform .35s var(--ease); }
.product-card:hover .product-card__link { color: var(--c-blue-600); }
.product-card:hover .product-card__link svg { transform: translateX(4px); }

.products__footer { margin-top: 56px; text-align: center; }

/* ============================================================
   11. WHY SEALING (dark)
   ============================================================ */
.why { position: relative; }
.why__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 80% 0%, rgba(66, 191, 234, 0.12) 0%, transparent 70%),
        radial-gradient(50% 50% at 0% 100%, rgba(159, 214, 59, 0.08) 0%, transparent 70%);
    background-color: var(--c-graphite-3);
    pointer-events: none;
}
.why__bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.feature {
    position: relative;
    padding: 36px 32px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.feature::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--grad-brand-h);
    transition: width .5s var(--ease);
}
.feature:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.04);
    border-color: rgba(66, 191, 234, 0.3);
}
.feature:hover::before { width: 100%; }

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(66,191,234,0.16) 0%, rgba(0,119,182,0.16) 100%);
    color: var(--c-cyan-400);
    border: 1px solid rgba(66,191,234,0.22);
}
.feature__title {
    font-size: 18.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature__desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
}

/* ============================================================
   12. BRANDS
   ============================================================ */
.brands__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 44px 24px;
    min-height: 170px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.brand-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-brand-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.brand-card:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 191, 234, 0.4);
    box-shadow: var(--shadow-sm);
}
.brand-card:hover::after { transform: scaleX(1); }

.brand-card__logo {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: 0.04em;
    color: var(--c-graphite);
    margin-bottom: 12px;
}
.brand-card--house .brand-card__logo {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.brand-card--house .brand-mark__i { -webkit-text-fill-color: var(--c-lime-500); }
.brand-card__tag {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--c-text-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ============================================================
   13. TRUST STRIP — slim credibility band below hero (dark)
   ============================================================ */
.trust {
    background: linear-gradient(180deg, var(--c-graphite-3) 0%, #0d1622 100%);
    color: #fff;
    padding: clamp(36px, 5vw, 56px) 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(66,191,234,0.5) 50%, transparent 100%);
}
.trust__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
    position: relative;
}
.trust__item + .trust__item::before {
    content: "";
    position: absolute;
    left: -12px; top: 8px; bottom: 8px;
    width: 1px;
    background: rgba(255,255,255,0.06);
}
.trust__num {
    font-family: var(--ff-display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1;
}
.trust__num--brand {
    font-size: clamp(15px, 1.6vw, 19px);
    letter-spacing: 0.04em;
    background: var(--grad-brand-h);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.trust__num--badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--c-cyan-400);
    letter-spacing: -0.01em;
}
.trust__num--badge svg { color: var(--c-lime-500); }
.trust__label {
    font-family: var(--ff-mono);
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ============================================================
   14. PROBLEM → SOLUTION  (3-step technical timeline)
   ============================================================ */
.process { background: #fff; }
.process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    counter-reset: stepCounter;
}
/* Connecting horizontal line behind the icons */
.process__steps::before {
    content: "";
    position: absolute;
    top: 96px;
    left: calc((100% / 6));
    right: calc((100% / 6));
    height: 1px;
    background: linear-gradient(90deg, var(--c-cyan-500), rgba(66,191,234,0.3), var(--c-lime-500));
    z-index: 0;
}
.process__step {
    position: relative;
    padding: 36px 32px;
    background: var(--c-silver);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: transform .45s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease), background .35s var(--ease);
    overflow: hidden;
    z-index: 1;
}
.process__step::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--grad-brand-h);
    transition: width .6s var(--ease);
}
.process__step:hover {
    transform: translateY(-6px);
    background: #fff;
    border-color: rgba(66, 191, 234, 0.35);
    box-shadow: 0 24px 50px rgba(0, 59, 102, 0.10);
}
.process__step:hover::after { width: 100%; }
.process__step-num {
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.22em;
    color: var(--c-blue-600);
    font-weight: 500;
    margin-bottom: 22px;
}
.process__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #fff;
    color: var(--c-blue-700);
    border: 1px solid var(--c-border);
    box-shadow: 0 6px 20px rgba(0, 59, 102, 0.06);
    /* Move icon to top-right corner for connected-timeline feel */
    position: absolute;
    top: 28px;
    right: 28px;
    margin: 0;
}
.process__step-title {
    font-family: var(--ff-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--c-graphite);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
    margin-top: 32px;
    max-width: calc(100% - 70px);
}
.process__step-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--c-text-muted);
    margin-bottom: 18px;
}
.process__step-list {
    border-top: 1px dashed var(--c-border);
    padding-top: 16px;
}
.process__step-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 13.5px;
    color: var(--c-text);
}
.process__step-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 12px; height: 1px;
    background: var(--c-blue-600);
    transition: width .3s var(--ease);
}
.process__step:hover .process__step-list li::before { width: 16px; background: var(--c-cyan-500); }
.process__cta {
    margin-top: 56px;
    text-align: center;
}

/* ============================================================
   15. INDUSTRIES — sectors served grid (alt bg)
   ============================================================ */
.industries__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
    min-height: 150px;
}
.industry-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-brand-h);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.industry-card:hover {
    transform: translateY(-3px);
    border-color: rgba(66, 191, 234, 0.45);
    box-shadow: var(--shadow-sm);
}
.industry-card:hover::before { transform: scaleX(1); }
.industry-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(66, 191, 234, 0.12), rgba(0, 119, 182, 0.08));
    color: var(--c-blue-700);
    border: 1px solid rgba(66, 191, 234, 0.18);
    transition: color .3s var(--ease), background .3s var(--ease);
}
.industry-card:hover .industry-card__icon {
    background: linear-gradient(135deg, var(--c-blue-700), var(--c-cyan-500));
    color: #fff;
    border-color: transparent;
}
.industry-card__title {
    font-family: var(--ff-display);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--c-graphite);
    line-height: 1.3;
    letter-spacing: -0.005em;
}

/* ============================================================
   16. DOCS — premium download-center
   ============================================================ */
.docs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.doc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 28px 26px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    transition: transform .4s var(--ease), border-color .35s var(--ease), box-shadow .4s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.doc-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--grad-brand-h);
    transition: width .6s var(--ease);
}
.doc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(66, 191, 234, 0.5);
    box-shadow: 0 22px 48px rgba(0, 59, 102, 0.10);
}
.doc-card:hover::before { width: 100%; }
.doc-card__type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 5px 12px;
    background: rgba(0, 119, 182, 0.08);
    color: var(--c-blue-700);
    border: 1px solid rgba(0, 119, 182, 0.18);
    border-radius: 999px;
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.doc-card__type--all {
    background: rgba(159, 214, 59, 0.10);
    color: #4a6810;
    border-color: rgba(159, 214, 59, 0.4);
}
.doc-card__title {
    font-family: var(--ff-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--c-graphite);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-top: 4px;
}
.doc-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-muted);
    flex: 1;
}
.doc-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 119, 182, 0.15);
    font-family: var(--ff-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-blue-700);
    letter-spacing: 0.005em;
}
.doc-card__cta svg { transition: transform .35s var(--ease); }
.doc-card:hover .doc-card__cta svg { transform: translateY(2px); }
.doc-card--all .doc-card__cta svg { transform: none; }
.doc-card--all:hover .doc-card__cta svg { transform: translateX(4px); }
.doc-card--all {
    background: linear-gradient(135deg, var(--c-graphite-3) 0%, #0e3552 100%);
    border-color: rgba(66, 191, 234, 0.2);
    color: #fff;
}
.doc-card--all .doc-card__title { color: #fff; }
.doc-card--all .doc-card__desc { color: rgba(255,255,255,0.7); }
.doc-card--all .doc-card__cta {
    color: var(--c-cyan-400);
    border-top-color: rgba(255,255,255,0.1);
}
.doc-card--all:hover { box-shadow: 0 22px 48px rgba(0, 59, 102, 0.30); }

/* ============================================================
   14. INQUIRY
   ============================================================ */
.inquiry__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
}
.inquiry__text {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
    color: var(--c-text-muted);
    margin: 18px 0 36px;
    max-width: 56ch;
}
.inquiry__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.inquiry__contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed rgba(15, 26, 36, 0.1);
    font-family: var(--ff-mono);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--c-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.inquiry__contact span:not(.inquiry__contact-sep) {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-text-soft);
    font-size: 11px;
}
.inquiry__contact a {
    color: var(--c-blue-700);
    font-weight: 500;
    transition: color .25s var(--ease);
}
.inquiry__contact a:hover { color: var(--c-cyan-500); }
.inquiry__contact-sep { color: var(--c-text-soft); }
.inquiry__checklist {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.inquiry__checklist::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand-h);
}
.inquiry__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--c-border);
    font-size: 14.5px;
    color: var(--c-text);
}
.inquiry__checklist li:last-child { border-bottom: 0; }
.inquiry__chk {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 8px;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

/* ============================================================
   14b. PROIZVODI.HTML — inner-page components
   page-hero, page-intro, product-card chips, cta-band
   ============================================================ */

/* ----- Inner-page hero (compact, ~60vh) ----- */
.page-hero {
    position: relative;
    min-height: 540px;
    height: 62vh;
    height: 62svh;
    max-height: 720px;
    width: 100%;
    overflow: hidden;
    color: #fff;
    background: #0a1320;
    display: flex;
    align-items: center;
    isolation: isolate;
}
.page-hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0a1320;
    transform: scale(1.06);
    z-index: 0;
    animation: pageHeroZoom 14s linear forwards;
}
@keyframes pageHeroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.12); }
}
.page-hero__overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8,14,22,0.45) 0%, rgba(8,14,22,0.65) 55%, rgba(8,14,22,0.92) 100%),
        linear-gradient(110deg, rgba(0,59,102,0.6) 0%, rgba(0,59,102,0) 55%);
}
.page-hero__grid {
    position: absolute; inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 25%, transparent 85%);
    pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute;
    top: -10%; right: -10%;
    width: 50%; height: 70%;
    background: radial-gradient(circle, rgba(66, 191, 234, 0.18) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.page-hero__content {
    position: relative;
    z-index: 3;
    max-width: 760px;
    padding-top: var(--header-h);
}
.page-hero__title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: clamp(36px, 5.8vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    animation: pageHeroIn .9s var(--ease-out) .2s both;
}
.page-hero__subtitle {
    font-family: var(--ff-sans);
    font-size: clamp(15.5px, 1.4vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    max-width: 60ch;
    margin-bottom: 32px;
    animation: pageHeroIn .9s var(--ease-out) .35s both;
}
.page-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: pageHeroIn .9s var(--ease-out) .5s both;
}
.page-hero .hero__eyebrow { animation: pageHeroIn .8s var(--ease-out) .1s both; }
@keyframes pageHeroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* Breadcrumb pinned to bottom of page-hero */
.page-hero__breadcrumb {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 16px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(8,14,22,0.5) 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.page-hero__breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color .25s var(--ease);
}
.page-hero__breadcrumb a:hover { color: var(--c-cyan-400); }
.page-hero__breadcrumb span[aria-current] {
    color: #fff;
    background: linear-gradient(90deg, var(--c-cyan-500), var(--c-lime-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ----- Page intro ----- */
.page-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: start;
}
.page-intro__right p:not(.lead) {
    color: var(--c-text-muted);
    line-height: 1.75;
    margin-bottom: 4px;
}
.page-intro__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--c-border);
}
.page-intro__trust li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.page-intro__trust-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(66, 191, 234, 0.12), rgba(0, 119, 182, 0.08));
    color: var(--c-blue-700);
    border: 1px solid rgba(66, 191, 234, 0.18);
}
.page-intro__trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--c-text-muted);
}
.page-intro__trust-text strong {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-graphite);
    letter-spacing: -0.005em;
}

/* ----- Product card chips (proizvodi.html grid) ----- */
.product-card--lg { padding-bottom: 24px; }
.product-card__chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 4px;
}
.product-card__chips li {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(15, 26, 36, 0.04);
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover .product-card__chips li {
    background: rgba(66, 191, 234, 0.08);
    color: var(--c-blue-700);
    border-color: rgba(66, 191, 234, 0.25);
}

/* ----- CTA band (catalog) ----- */
.cta-band__panel {
    position: relative;
    padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 64px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    text-align: center;
}
.cta-band__bg {
    position: absolute; inset: 0;
    z-index: -1;
    background:
        radial-gradient(80% 100% at 100% 0%, rgba(66,191,234,0.4) 0%, transparent 60%),
        linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-700) 50%, #0a3552 100%);
}
.cta-band__bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.cta-band__content { max-width: 720px; margin: 0 auto; }
.cta-band__content .eyebrow { justify-content: center; color: var(--c-cyan-400); }
.cta-band__text {
    font-size: clamp(15px, 1.4vw, 17px);
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    max-width: 55ch;
    margin: 16px auto 28px;
}

/* ----- Page-hero responsive ----- */
@media (max-width: 880px) {
    .page-hero { min-height: 460px; height: 60vh; height: 60svh; }
    .page-hero__content { padding-top: 88px; }
    .page-intro__grid { grid-template-columns: 1fr; }
    .page-intro__trust { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
    .page-hero { min-height: 420px; height: 64vh; }
    .page-hero__content { padding-top: 80px; }
    .page-hero__cta .btn {
        flex: 1 1 auto;
        height: 46px;
        padding: 0 20px;
        font-size: 13.5px;
    }
    .page-hero__breadcrumb { padding: 12px 0; }
    .page-hero__breadcrumb ol { font-size: 10.5px; gap: 8px; }
    .cta-band__panel { padding: 40px 24px; }
}

/* ============================================================
   14c. PROIZVOD.HTML — product detail components
   prod-overview · prod-figure · prod-stats · equivalents · equiv-card ·
   conditions · condition · program · related
   ============================================================ */

/* ----- Overview (2-col) ----- */
.prod-overview__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: start;
}
.prod-overview__copy p { color: var(--c-text-muted); line-height: 1.8; margin-bottom: 14px; }
.prod-overview__copy p.lead { color: var(--c-graphite); margin-bottom: 18px; }

/* Figure with blueprint corners + caption */
.prod-figure {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0;
    background: #0a1320;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 50px rgba(0, 59, 102, 0.14), 0 0 0 1px var(--c-border);
    isolation: isolate;
}
.prod-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease-out);
}
.prod-figure:hover img { transform: scale(1.04); }
.prod-figure__corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 1.5px solid var(--c-cyan-500);
    z-index: 2;
    pointer-events: none;
}
.prod-figure__corner--tl { top: 12px; left: 12px;  border-right: 0; border-bottom: 0; }
.prod-figure__corner--tr { top: 12px; right: 12px; border-left: 0;  border-bottom: 0; }
.prod-figure__corner--bl { bottom: 12px; left: 12px;  border-right: 0; border-top: 0; }
.prod-figure__corner--br { bottom: 12px; right: 12px; border-left: 0;  border-top: 0; }
.prod-figure__cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6));
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    z-index: 2;
}

/* Stat tiles below figure */
.prod-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.prod-stats li {
    padding: 18px 16px;
    background: var(--c-silver);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.prod-stats li:hover {
    border-color: rgba(66, 191, 234, 0.35);
    transform: translateY(-2px);
}
.prod-stats__num {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-graphite);
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.prod-stats__num svg { color: var(--c-blue-700); }
.prod-stats__num--brand {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.prod-stats__unit {
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-soft);
    letter-spacing: 0.06em;
}
.prod-stats__label {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    color: var(--c-text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ----- Equivalents (3-card) ----- */
.equivalents__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.equiv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 28px 28px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    transition: transform .4s var(--ease), border-color .35s var(--ease), box-shadow .4s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.equiv-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--grad-brand-h);
    transition: width .6s var(--ease);
}
.equiv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 191, 234, 0.5);
    box-shadow: 0 22px 48px rgba(0, 59, 102, 0.12);
}
.equiv-card:hover::before { width: 100%; }
.equiv-card__num {
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.22em;
    color: var(--c-blue-600);
    font-weight: 500;
}
.equiv-card__icon {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 52px; height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(66, 191, 234, 0.12), rgba(0, 119, 182, 0.08));
    color: var(--c-blue-700);
    border: 1px solid rgba(66, 191, 234, 0.18);
    transition: color .3s var(--ease), background .3s var(--ease);
}
.equiv-card:hover .equiv-card__icon {
    background: linear-gradient(135deg, var(--c-blue-700), var(--c-cyan-500));
    color: #fff;
    border-color: transparent;
}
.equiv-card__title {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--c-graphite);
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin-top: 6px;
    max-width: calc(100% - 70px);
}
.equiv-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text-muted);
    flex: 1;
    margin-bottom: 6px;
}
.equiv-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 119, 182, 0.15);
    font-family: var(--ff-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--c-blue-700);
    letter-spacing: 0.005em;
}
.equiv-card__cta svg { transition: transform .35s var(--ease); }
.equiv-card:hover .equiv-card__cta svg { transform: translateX(4px); }

/* ----- Commercial conditions (dark) ----- */
.conditions { position: relative; }
.conditions .why__bg {
    /* Reuses dark backdrop styling from why section */
}
.conditions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}
.condition {
    padding: 32px 28px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
    position: relative;
}
.condition::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--grad-brand-h);
    transition: width .5s var(--ease);
}
.condition:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.04);
    border-color: rgba(66, 191, 234, 0.3);
}
.condition:hover::before { width: 100%; }
.condition__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(66,191,234,0.14) 0%, rgba(0,119,182,0.14) 100%);
    color: var(--c-cyan-400);
    border: 1px solid rgba(66,191,234,0.22);
}
.condition__title {
    font-size: 17.5px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.condition__desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.62);
}

/* ----- Program list (numbered industrial list) ----- */
.program__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: programCount;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
}
.program__item {
    border-bottom: 1px solid var(--c-border);
}
.program__item a {
    display: grid;
    grid-template-columns: 56px 1fr 22px;
    align-items: center;
    gap: 14px;
    padding: 18px 6px 18px 0;
    color: var(--c-text);
    transition: color .25s var(--ease), padding-left .25s var(--ease), background .25s var(--ease);
    position: relative;
}
.program__item a::before {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 0; height: 1px;
    background: var(--grad-brand-h);
    transition: width .4s var(--ease);
}
.program__item a:hover,
.program__item a:focus-visible {
    color: var(--c-blue-700);
    padding-left: 8px;
}
.program__item a:hover::before,
.program__item a:focus-visible::before { width: 100%; }
.program__num {
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    color: var(--c-text-soft);
    font-weight: 500;
}
.program__item a:hover .program__num { color: var(--c-cyan-500); }
.program__name {
    font-family: var(--ff-display);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--c-graphite);
    letter-spacing: -0.005em;
}
.program__arrow {
    color: var(--c-text-soft);
    font-family: var(--ff-mono);
    font-size: 16px;
    text-align: right;
    transition: color .25s var(--ease), transform .35s var(--ease);
}
.program__item a:hover .program__arrow {
    color: var(--c-blue-700);
    transform: translateX(4px);
}
.program__note {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px dashed var(--c-border);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--c-text-muted);
    text-align: center;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Related products section ----- */
.related__grid {
    grid-template-columns: repeat(4, 1fr);
}
.related__footer { margin-top: 48px; text-align: center; }

/* ----- Responsive collapses ----- */
@media (max-width: 1100px) {
    .equivalents__grid { grid-template-columns: 1fr; }
    .conditions__grid { grid-template-columns: repeat(2, 1fr); }
    .related__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
    .prod-overview__grid { grid-template-columns: 1fr; }
    .prod-stats { grid-template-columns: 1fr 1fr; }
    .prod-stats li:nth-child(3) { grid-column: 1 / -1; }
    .equiv-card__icon { width: 44px; height: 44px; top: 22px; right: 22px; }
    .conditions__grid { grid-template-columns: 1fr; }
    .program__list { grid-template-columns: 1fr; }
    .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .prod-stats { grid-template-columns: 1fr; }
    .prod-stats li:nth-child(3) { grid-column: auto; }
    .related__grid { grid-template-columns: 1fr; }
    .equiv-card { padding: 28px 22px 24px; }
    .program__item a { padding: 16px 6px 16px 0; }
    .program__name { font-size: 14.5px; }
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    background: var(--c-graphite-3);
    color: rgba(255,255,255,0.7);
    padding-top: clamp(64px, 8vw, 100px);
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-brand-h);
    opacity: 0.5;
}
.site-footer::after {
    content: "";
    position: absolute;
    top: -10%; right: -10%;
    width: 50%; height: 60%;
    background: radial-gradient(circle, rgba(66, 191, 234, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.site-footer__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
    gap: clamp(28px, 4vw, 60px);
    padding-bottom: 56px;
}

/* Footer logo directly — no white box */
.site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    transition: transform .35s var(--ease);
}
.site-footer__logo:hover { transform: translateY(-1px); }
.site-footer__logo-img {
    display: block;
    width: auto;
    height: 56px;
    max-height: 56px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(66, 191, 234, 0.15));
}

.site-footer__about {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    max-width: 38ch;
}
.site-footer__title {
    font-family: var(--ff-display);
    font-size: 12.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
}
.site-footer__list li { margin-bottom: 11px; }
.site-footer__list a {
    position: relative;
    font-size: 14.5px;
    color: rgba(255,255,255,0.65);
    transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.site-footer__list a::before {
    content: "";
    position: absolute;
    left: -14px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 1.5px;
    background: var(--c-cyan-400);
    transition: width .25s var(--ease);
    border-radius: 2px;
}
.site-footer__list a:hover { color: var(--c-cyan-400); padding-left: 14px; }
.site-footer__list a:hover::before { width: 10px; }

.site-footer__addr { font-style: normal; font-size: 14.5px; line-height: 1.75; }
.site-footer__addr p { margin-bottom: 12px; }
.site-footer__addr strong { color: #fff; font-weight: 600; }
.site-footer__row span {
    display: inline-block;
    width: 64px;
    font-family: var(--ff-mono);
    color: var(--c-text-soft);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.site-footer__row a { color: rgba(255,255,255,0.85); transition: color .25s var(--ease); }
.site-footer__row a:hover { color: var(--c-cyan-400); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    position: relative;
}
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
}
.site-footer__bottom-inner > p { margin: 0; }
.site-footer__copy { letter-spacing: 0.005em; }
.site-footer__legal a { transition: color .25s var(--ease); }
.site-footer__legal a:hover { color: var(--c-cyan-400); }

/* Apis Development credit — refined, never noisy */
.site-footer__credit {
    margin-left: auto;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}
.site-footer__credit a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.75);
    padding: 2px 0;
    position: relative;
    transition: color .25s var(--ease);
}
.site-footer__credit a::after {
    content: "";
    position: absolute;
    left: 0; right: 16px; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--c-cyan-500), var(--c-lime-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.site-footer__credit a:hover { color: #fff; }
.site-footer__credit a:hover::after { transform: scaleX(1); }
.site-footer__credit svg { opacity: 0.7; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.site-footer__credit a:hover svg { opacity: 1; transform: translate(2px, -2px); }

/* ============================================================
   16. FLOATING UI — AI assistant (left) + back-to-top (right)
   Same --float-bottom keeps them aligned on the same horizontal axis.
   ============================================================ */

/* ----- Back to top (right) ----- */
.back-to-top {
    position: fixed;
    right: var(--gutter);
    bottom: var(--float-bottom);
    z-index: 80;
    width: 52px; height: 52px;
    border-radius: 50%;
    color: #fff;
    background: rgba(11, 16, 24, 0.78);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid rgba(66, 191, 234, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.04) inset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px) scale(.9);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.back-to-top[hidden] { display: inline-flex; } /* keep layout reservation; visibility via opacity */
.back-to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.back-to-top:hover {
    background: rgba(0, 119, 182, 0.88);
    border-color: rgba(159, 214, 59, 0.55);
    box-shadow: 0 18px 40px rgba(0, 119, 182, 0.4);
    transform: translateY(-3px);
}
.back-to-top svg { position: relative; z-index: 2; transition: transform .35s var(--ease); }
.back-to-top:hover svg { transform: translateY(-2px); }
.back-to-top__ring {
    position: absolute; inset: -1px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--c-cyan-500), var(--c-lime-500)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.back-to-top:hover .back-to-top__ring { opacity: 1; }

/* ----- AI Assistant (left) ----- */
.ai-assist {
    position: fixed;
    left: var(--gutter);
    bottom: var(--float-bottom);
    z-index: 80;
    /* Matches back-to-top height so baselines align */
    height: 52px;
}

.ai-assist__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 14px;
    height: 52px;
    border-radius: 999px;
    color: #fff;
    background: rgba(11, 16, 24, 0.78);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid rgba(66, 191, 234, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.04) inset;
    font-family: var(--ff-display);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    transition: transform .35s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.ai-assist__toggle:hover {
    background: rgba(0, 119, 182, 0.85);
    border-color: rgba(159, 214, 59, 0.5);
    box-shadow: 0 18px 40px rgba(0, 119, 182, 0.4);
    transform: translateY(-3px);
}
.ai-assist__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-cyan-500), var(--c-blue-600));
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(66, 191, 234, 0.6);
}
.ai-assist__pulse {
    position: absolute;
    left: 9px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-cyan-500);
    opacity: 0;
    animation: aiPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes aiPulse {
    0%   { opacity: .55; transform: translateY(-50%) scale(1); }
    100% { opacity: 0;   transform: translateY(-50%) scale(2.2); }
}

/* AI panel */
.ai-assist__panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 14px);
    width: min(360px, calc(100vw - 2 * var(--gutter)));
    background: rgba(11, 16, 24, 0.96);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid rgba(66, 191, 234, 0.18);
    border-radius: 18px;
    padding: 24px 22px 20px;
    color: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s var(--ease);
}
.ai-assist__panel::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: var(--grad-brand-h);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(66, 191, 234, 0.55);
}
.ai-assist.is-open .ai-assist__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.ai-assist.is-open .ai-assist__pulse { animation: none; opacity: 0; }

.ai-assist__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 30px; height: 30px;
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    transition: background .25s var(--ease), color .25s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ai-assist__close:hover { background: rgba(255,255,255,0.06); color: #fff; }

.ai-assist__head { margin-bottom: 14px; }
.ai-assist__eyebrow {
    display: inline-block;
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-cyan-400);
    margin-bottom: 8px;
}
.ai-assist__title {
    font-size: 17px;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 4px;
}
.ai-assist__sub {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.ai-assist__links {
    display: grid;
    gap: 6px;
    margin: 8px 0;
}
.ai-assist__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    color: rgba(255,255,255,0.9);
}
.ai-assist__links a:hover {
    background: rgba(66, 191, 234, 0.08);
    border-color: rgba(66, 191, 234, 0.3);
    transform: translateX(2px);
}
.ai-assist__link-icon {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(66, 191, 234, 0.12);
    color: var(--c-cyan-400);
    flex-shrink: 0;
}
.ai-assist__links a strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.ai-assist__links a em {
    font-style: normal;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}
.ai-assist__foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ============================================================
   17. REVEAL ON SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   18. RESPONSIVE
   ============================================================ */

/* Large tablet */
@media (max-width: 1100px) {
    :root { --header-h: 88px; }
    .products__grid { grid-template-columns: repeat(3, 1fr); }
    .why__grid { grid-template-columns: repeat(3, 1fr); }
    .industries__grid { grid-template-columns: repeat(3, 1fr); }
    .docs__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
    .site-footer__col--contact { grid-column: 1 / -1; }
    .site-header__logo { height: 50px; }
    .site-header.is-scrolled .site-header__logo { height: 44px; }
    .hero__hud-crosshair--tr { right: 0; }
    .trust__list { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .trust__item + .trust__item::before { display: none; }
    .trust__item:nth-child(3)::before,
    .trust__item:nth-child(4)::before { content: ""; display: block; left: -14px; }
}

/* Tablet */
@media (max-width: 880px) {
    :root { --header-h: 76px; --float-bottom: 22px; }

    .site-header__logo { height: 42px; }
    .site-header.is-scrolled .site-header__logo { height: 38px; }

    /* Hamburger button visible only at this breakpoint */
    .nav-toggle { display: flex; }
    /* NOTE: full mobile drawer rules live in section 20 ("WHITE MOBILE DRAWER")
       below — the old dark-drawer rules were deleted to remove conflicts. */

    /* Sections */
    .intro__grid { grid-template-columns: 1fr; }
    .intro__meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .brands__list { grid-template-columns: repeat(2, 1fr); }
    .industries__grid { grid-template-columns: repeat(2, 1fr); }
    .docs__grid { grid-template-columns: 1fr; }
    .process__steps { grid-template-columns: 1fr; gap: 16px; }
    .process__steps::before { display: none; } /* hide horizontal line in vertical layout */
    .inquiry__grid { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__col--contact { grid-column: 1 / -1; }

    /* Hero HUD: hide most labels on tablet to reduce clutter */
    .hero__hud-label--br { display: none; }
    .hero__hud-crosshair { display: none; }

    /* Hero progress: keep numbered tabs but reduce gap */
    .hero__progress { gap: 16px; }

    /* Floating: shrink AI label, keep both visible */
    .ai-assist__label { display: none; }
    .ai-assist__toggle { padding: 0; width: 52px; justify-content: center; }
    .ai-assist__panel { left: 0; }
}

/* Phones */
@media (max-width: 560px) {
    :root { --header-h: 68px; }

    .hero { min-height: 580px; }
    .hero__content { padding-top: 96px; }
    .hero__eyebrow { font-size: 10px; padding: 6px 12px; letter-spacing: 0.22em; }
    .hero__title { font-size: clamp(32px, 9.5vw, 48px); }
    .hero__subtitle { font-size: 15px; margin-bottom: 28px; }
    /* Hero buttons: more compact on phones, still tappable (WCAG ≥44px) */
    .hero__cta { gap: 10px; }
    .hero__cta .btn {
        flex: 1 1 auto;
        min-width: 0;
        height: 46px;
        padding: 0 20px;
        font-size: 13.5px;
        letter-spacing: 0.01em;
    }
    .hero__cta .btn svg { width: 14px; height: 14px; }
    .hero__progress { bottom: 32px; gap: 10px; }
    .hero__scroll { display: none; }

    .section { padding: 68px 0; }

    .intro__meta { grid-template-columns: 1fr 1fr; }
    .intro__meta .intro__stat:last-child { grid-column: 1 / -1; }

    .products__grid { grid-template-columns: 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .brands__list { grid-template-columns: 1fr; }
    .brand-card { min-height: 130px; padding: 32px 20px; }
    .industries__grid { grid-template-columns: 1fr; gap: 12px; }
    .industry-card { flex-direction: row; align-items: center; min-height: 0; padding: 22px 22px; }
    .industry-card__icon { width: 44px; height: 44px; flex-shrink: 0; }

    .inquiry__cta .btn { flex: 1 1 100%; height: 48px; padding: 0 22px; }
    .inquiry__checklist { padding: 22px 24px; }
    .inquiry__contact { font-size: 12px; }

    /* Trust strip: stack tighter */
    .trust__list { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
    .trust__item + .trust__item::before,
    .trust__item:nth-child(3)::before,
    .trust__item:nth-child(4)::before { display: none; }

    /* Hero HUD: phone — keep only top-left subtle */
    .hero__hud-label--tr { display: none; }

    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__bottom-inner { justify-content: center; text-align: center; }

    .ai-assist__panel { width: calc(100vw - 2 * var(--gutter)); }
}

/* Small phones */
@media (max-width: 380px) {
    .site-header__logo { height: 36px; }
    .site-header.is-scrolled .site-header__logo { height: 32px; }
    .hero__title { font-size: 32px; }
    .btn { padding: 0 22px; height: 50px; font-size: 14px; }
}

/* Wide screens */
@media (min-width: 1600px) {
    :root { --container: 1360px; }
}

/* ============================================================
   19. AI CHATBOT (replaces .ai-assist__links static panel)
   The shell .ai-assist__panel is reused — but its inner
   layout is now a vertical chat thread.
   ============================================================ */
.ai-assist__panel {
    width: min(380px, calc(100vw - 2 * var(--gutter)));
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(620px, calc(100vh - 140px));
}

/* Header bar — brand mark + title + status */
.ai-chat__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 18px 50px 16px 22px; /* right padding leaves room for close button */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    flex-shrink: 0;
}
.ai-chat__brand {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--c-cyan-500), var(--c-blue-600));
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.ai-chat__heading { min-width: 0; }
.ai-chat__eyebrow {
    display: block;
    font-family: var(--ff-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-cyan-400);
    margin-bottom: 1px;
}
.ai-chat__title {
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin: 0;
}
.ai-chat__sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
    margin: 2px 0 0;
}
.ai-chat__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}
.ai-chat__status i {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-lime-400);
    box-shadow: 0 0 8px var(--c-lime-400);
    animation: chatStatusPulse 2s ease-in-out infinite;
}
@keyframes chatStatusPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

/* Scrollable message thread */
.ai-chat__body {
    flex: 1;
    min-height: 140px;
    max-height: 340px;
    padding: 16px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 191, 234, 0.35) transparent;
}
.ai-chat__body::-webkit-scrollbar { width: 4px; }
.ai-chat__body::-webkit-scrollbar-thumb { background: rgba(66, 191, 234, 0.35); border-radius: 4px; }
.ai-chat__body::-webkit-scrollbar-track { background: transparent; }

/* Message row + bubble entrance animation */
.ai-chat__row {
    display: flex;
    gap: 8px;
    animation: chatBubbleIn .35s var(--ease-out);
}
.ai-chat__row--bot { justify-content: flex-start; align-items: flex-start; }
.ai-chat__row--user { justify-content: flex-end; }
.ai-chat__row--actions {
    flex-direction: column;
    padding-left: 34px;
    margin-top: -4px;
}
@keyframes chatBubbleIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.ai-chat__avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(66, 191, 234, 0.12);
    color: var(--c-cyan-400);
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.ai-chat__bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 14px;
    font-family: var(--ff-body);
    font-size: 13px;
    line-height: 1.45;
    word-wrap: break-word;
}
.ai-chat__bubble--bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.94);
    border-top-left-radius: 4px;
}
.ai-chat__bubble--user {
    background: linear-gradient(135deg, var(--c-blue-700), var(--c-cyan-500));
    color: #fff;
    border-top-right-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.25);
}

/* Typing indicator (3 animated dots) */
.ai-chat__typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
}
.ai-chat__typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    animation: chatTyping 1.2s ease-in-out infinite;
}
.ai-chat__typing span:nth-child(2) { animation-delay: .15s; }
.ai-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(-4px); opacity: 1; }
}

/* Action buttons that follow a bot response */
.ai-chat__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ai-chat__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(66, 191, 234, 0.08);
    border: 1px solid rgba(66, 191, 234, 0.28);
    border-radius: 10px;
    color: var(--c-cyan-400);
    font-family: var(--ff-display);
    font-size: 12px;
    font-weight: 500;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
    text-decoration: none;
}
.ai-chat__action:hover {
    background: rgba(66, 191, 234, 0.2);
    border-color: var(--c-cyan-400);
    color: #fff;
    transform: translateY(-1px);
}

/* Predefined-question chips at the bottom of the body */
.ai-chat__suggested {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 18px 12px;
    flex-shrink: 0;
}
.ai-chat__suggested.is-visible {
    display: flex;
    animation: chatBubbleIn .35s var(--ease-out);
}
.ai-chat__chip {
    font-family: var(--ff-display);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 13px;
    cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
    text-align: left;
    line-height: 1.2;
}
.ai-chat__chip:hover {
    background: rgba(66, 191, 234, 0.12);
    border-color: rgba(66, 191, 234, 0.45);
    color: #fff;
    transform: translateY(-1px);
}

/* Visual fake input field — keeps the chatbot feel */
.ai-chat__input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 14px 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-family: var(--ff-body);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
.ai-chat__input-placeholder { flex: 1; line-height: 1.2; }
.ai-chat__input-send {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: rgba(66, 191, 234, 0.15);
    color: var(--c-cyan-400);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Close button needs to float above the chat header */
.ai-assist__close { top: 12px; right: 12px; z-index: 3; }

/* Mobile sizing for chat panel */
@media (max-width: 560px) {
    .ai-assist__panel { max-height: calc(100vh - 110px); }
    .ai-chat__body { max-height: 50vh; min-height: 120px; }
}

/* ============================================================
   20. WHITE MOBILE DRAWER (replaces dark drawer at ≤880px)
   Off-canvas slide-in. Layout exists at all times so the
   transform animation triggers on every open — fixes the
   "click does nothing" bug across mobile browsers.
   ============================================================ */
@media (max-width: 880px) {
    /* Injected drawer header (logo + close X) */
    .site-nav__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        background: #ffffff;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .site-nav__brand {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
    }
    .site-nav__brand img {
        display: block;
        width: auto;
        height: 38px;
        filter: none;
    }
    .site-nav__close {
        width: 42px; height: 42px;
        border-radius: 10px;
        display: inline-flex; align-items: center; justify-content: center;
        color: var(--c-graphite);
        background: rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(15, 23, 42, 0.06);
        transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    }
    .site-nav__close:hover {
        background: var(--c-blue-700);
        color: #fff;
        border-color: var(--c-blue-700);
    }

    /* White off-canvas drawer */
    .site-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 200;
        border-top: 0;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform .42s var(--ease-out),
                    opacity .25s var(--ease),
                    visibility .42s linear;
        box-shadow: -30px 0 80px rgba(0, 0, 0, 0.2);
    }
    .site-nav.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        animation: none;
    }

    /* Main nav list */
    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 10px 24px 28px;
        background: #ffffff;
    }
    .site-nav__list > li {
        width: 100%;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        animation: none !important;
    }
    .site-nav__list > li:last-child { border-bottom: 0; }

    /* Link rows: dark text on white */
    .site-nav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        text-align: left;
        padding: 17px 6px;
        font-family: var(--ff-display);
        font-size: 16px;
        font-weight: 500;
        color: var(--c-graphite);
        letter-spacing: 0.005em;
        border-bottom: 0;
        position: relative;
        transition: color .25s var(--ease), padding-left .25s var(--ease);
    }
    .site-nav__link::before {
        background: var(--grad-brand-h);
    }
    .site-nav__link::after {
        color: rgba(15, 23, 42, 0.3);
    }
    .site-nav__link:hover,
    .site-nav__link:focus-visible {
        color: var(--c-blue-700);
        padding-left: 14px;
    }
    .site-nav__link.is-active { color: var(--c-blue-700); }

    /* Proizvodi dropdown row + caret */
    .site-nav__item--dropdown {
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
    .site-nav__item--dropdown > .site-nav__link--parent {
        width: calc(100% - 56px);
    }
    .site-nav__caret {
        color: rgba(15, 23, 42, 0.55);
        background: transparent;
    }
    .site-nav__caret:hover {
        background: rgba(0, 119, 182, 0.06);
        color: var(--c-blue-700);
    }
    .site-nav__caret[aria-expanded="true"] {
        transform: rotate(180deg);
        color: var(--c-blue-700);
        background: rgba(0, 119, 182, 0.08);
    }

    /* Dropdown accordion content — dark blue text on white */
    .site-nav__dropdown {
        background: transparent;
    }
    .site-nav__dropdown a {
        color: rgba(15, 23, 42, 0.7);
        padding: 11px 6px 11px 28px;
        font-size: 14px;
    }
    .site-nav__dropdown a::before {
        background: rgba(0, 119, 182, 0.35);
    }
    .site-nav__dropdown a:hover,
    .site-nav__dropdown a:focus-visible {
        background: rgba(0, 119, 182, 0.05);
        color: var(--c-blue-700);
    }
    .site-nav__dropdown a:hover::before,
    .site-nav__dropdown a:focus-visible::before {
        background: var(--c-blue-700);
        width: 16px;
    }

    /* Drawer footer contact strip — light variant */
    .site-nav__list::after {
        content: "info@sealing.rs  ·  +381 11 2134 498";
        display: block;
        margin-top: 22px;
        padding: 18px 6px 6px;
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        font-family: var(--ff-mono);
        font-size: 11px;
        letter-spacing: 0.12em;
        color: rgba(15, 23, 42, 0.45);
        text-align: center;
    }

    /* Hide the hamburger when the drawer is open (drawer has its own X) */
    body.menu-open .site-header .nav-toggle {
        opacity: 0;
        pointer-events: none;
    }
}

/* Desktop: drawer header is not used */
@media (min-width: 881px) {
    .site-nav__header { display: none; }
}

/* ============================================================
   21. PRODUCT GALLERY (proizvod.html)
   Auto-rotating slider with thumbnail strip; Fancybox
   handles the lightbox view.
   ============================================================ */
.gallery__viewer {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.gallery__stage {
    position: relative;
    background: #0b1018;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.04);
    isolation: isolate;
}
.gallery__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.03);
    transition: opacity .9s var(--ease-out), transform 5s var(--ease-out);
    cursor: zoom-in;
}
.gallery__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.gallery__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.gallery__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}
.gallery__cap {
    position: absolute;
    left: 22px; right: 22px;
    bottom: 16px;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    z-index: 2;
}

/* Carousel nav buttons */
.gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(11, 16, 24, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    z-index: 3;
    cursor: pointer;
}
.gallery__nav:hover {
    background: var(--c-blue-700);
    border-color: var(--c-cyan-400);
    transform: translateY(-50%) scale(1.05);
}
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }

/* Blueprint corner accents on the stage */
.gallery__corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 1px solid rgba(66, 191, 234, 0.55);
    z-index: 2;
    pointer-events: none;
}
.gallery__corner--tl { top: 12px; left: 12px;  border-right: 0; border-bottom: 0; }
.gallery__corner--tr { top: 12px; right: 12px; border-left: 0;  border-bottom: 0; }
.gallery__corner--bl { bottom: 12px; left: 12px;  border-right: 0; border-top: 0; }
.gallery__corner--br { bottom: 12px; right: 12px; border-left: 0;  border-top: 0; }

/* Thumbnail strip */
.gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.gallery__thumbs li { list-style: none; }
.gallery__thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #f4f6f8;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    cursor: pointer;
    padding: 0;
    display: block;
}
.gallery__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s var(--ease);
}
.gallery__thumb:hover {
    border-color: var(--c-cyan-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 119, 182, 0.12);
}
.gallery__thumb:hover img { transform: scale(1.05); }
.gallery__thumb.is-active {
    border-color: var(--c-blue-700);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.2);
}

/* Fancybox tone-mapping to match brand */
.fancybox__container { --fancybox-bg: rgba(8, 13, 21, 0.95); }
.fancybox__caption { font-family: var(--ff-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }
.f-button { color: #fff; }
.f-button:hover { color: var(--c-cyan-400); }

@media (max-width: 880px) {
    .gallery__cap { font-size: 10px; left: 14px; right: 14px; bottom: 12px; }
    .gallery__nav { width: 38px; height: 38px; }
    .gallery__nav--prev { left: 10px; }
    .gallery__nav--next { right: 10px; }
}

@media (max-width: 560px) {
    .gallery__thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .gallery__stage { aspect-ratio: 4 / 3; border-radius: var(--radius-md, 10px); }
    .gallery__corner { width: 14px; height: 14px; }
}

/* ============================================================
   22. PROD-OVERVIEW THUMBNAILS (proizvod.html top section)
   Horizontal strip directly under the main image.
   ============================================================ */
.prod-figure__img {
    transition: opacity .25s var(--ease), transform .5s var(--ease);
}
.prod-figure__img.is-swapping {
    opacity: 0.15;
    transform: scale(1.01);
}

.prod-thumbs {
    list-style: none;
    padding: 0;
    margin: 14px 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.prod-thumbs li { list-style: none; }
.prod-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(15, 23, 42, 0.08);
    background: #f4f6f8;
    padding: 0;
    cursor: pointer;
    display: block;
    position: relative;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.prod-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s var(--ease), opacity .25s var(--ease);
}
.prod-thumb:hover {
    border-color: var(--c-cyan-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 119, 182, 0.14);
}
.prod-thumb:hover img { transform: scale(1.06); }
.prod-thumb.is-active {
    border-color: var(--c-blue-700);
    box-shadow: 0 0 0 1px var(--c-blue-700), 0 10px 22px rgba(0, 119, 182, 0.22);
}
.prod-thumb.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(66, 191, 234, 0.45);
    pointer-events: none;
}

@media (max-width: 880px) {
    .prod-thumbs { gap: 8px; margin: 12px 0 22px; }
}
@media (max-width: 560px) {
    .prod-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .prod-thumb { border-radius: 8px; }
}

/* ============================================================
   23. WHITE DRAWER — defensive hardening
   These ensure body items render even when the user's browser
   has cached a stale stylesheet or some inline style intervenes.
   Scoped to .is-open so they only fire when the drawer is open.
   ============================================================ */
@media (max-width: 880px) {
    .site-nav.is-open { background: #ffffff !important; }
    .site-nav.is-open .site-nav__list,
    .site-nav.is-open .site-nav__list > li,
    .site-nav.is-open .site-nav__dropdown {
        background: #ffffff;
    }
    .site-nav.is-open .site-nav__link {
        color: var(--c-graphite);
        opacity: 1;
        visibility: visible;
    }
    .site-nav.is-open .site-nav__link.is-active,
    .site-nav.is-open .site-nav__link:hover,
    .site-nav.is-open .site-nav__link:focus-visible {
        color: var(--c-blue-700);
    }
    .site-nav.is-open .site-nav__dropdown a {
        color: rgba(15, 23, 42, 0.7);
    }
}
