:root {
    --navy: #1a3a5c;
    --navy-dark: #12283f;
    --steel: #57708a;
    --red: #d71a21;
    --red-dark: #b3141a;
    --bg: #f1f5f9;
    --ink: #1f2733;
    --gray-600: #5b6472;
    --gray-400: #98a2ae;
    --gray-100: #eef1f4;
    --border: #e1e5ea;
    --shape-blue: #ffffff;
    --shape-steel: #c3d2e0;
    --max-width: 1240px;
    --radius: 6px;
    --header-height: 70px;
    --header-accent: #e1251b;
    --header-glass-bg: rgba(255,255,255,.65);
    --header-glass-border: rgba(255,255,255,.4);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--header-height) + 12px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 800;
    letter-spacing: -.01em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.05rem; }
p { color: var(--gray-600); }
ul { padding-left: 1.2em; }
svg { display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(26,58,92,.08);
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
    transition: background-color .2s ease;
}
a.eyebrow:hover { background: rgba(26,58,92,.14); text-decoration: none; }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.16); }

/* Header — detached floating layout: transparent positioning shell, logo sits bare
   top-left, nav links float in their own centered glass pill. */
.site-header {
    background: none;
    border: none;
    box-shadow: none;
    position: fixed;
    top: 12px;
    left: 16px;
    right: 16px;
    max-width: 1320px;
    margin: 0 auto;
    z-index: 100;
}
.site-header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
}
.brand { display: flex; align-items: center; position: relative; }
.brand img { height: 68px; width: auto; transition: opacity .3s ease; }
.brand-logo-white { position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; }
body.over-hero .brand-logo-color { opacity: 0; }
body.over-hero .brand-logo-white { opacity: 1; }
@media (min-width: 721px) {
    /* .container is capped at max-width and centered, so anything inside it can
       never reach the true viewport edge on wide screens. position:fixed escapes
       that entirely — containing block is the viewport, not .container. */
    .brand {
        position: fixed;
        top: 14px;
        left: 24px;
        z-index: 101;
    }
    .brand img { height: clamp(84px, 6.5vw, 112px); }
}
.nav-toggle { display: none; }
.mobile-header-actions { display: none; }
.mobile-search-btn { display: none; }
.mobile-search-menu { display: none; }
.mobile-search-backdrop { display: none; }
.mobile-lang-btn { display: none; }
.mobile-lang-menu { display: none; }
.mega-toggle { display: none; }
.has-mega-row { display: contents; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.main-nav-head { display: none; }
.main-nav-actions { display: none; }
@media (min-width: 721px) {
    .main-nav {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: var(--header-glass-bg);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid var(--header-glass-border);
        border-radius: 999px;
        box-shadow: 0 8px 32px rgba(18,40,63,.25);
        padding: 14px 36px;
        gap: 28px;
        flex-wrap: nowrap;
        white-space: nowrap;
        transition: background-color .2s ease;
    }
    .main-nav:hover { background: #fff; }
}
@media (min-width: 721px) and (max-width: 1180px) {
    .main-nav { gap: 18px; padding: 14px 22px; }
}
.main-nav a,
.has-mega-label {
    position: relative;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.has-mega-row a,
.has-mega-label { display: inline-flex; align-items: center; gap: 4px; }
.has-mega-label { cursor: default; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--header-accent); }
.has-mega-label.active { color: var(--header-accent); }
.has-mega-chevron { transition: transform .2s ease; }
.has-mega:hover .has-mega-chevron { transform: rotate(180deg); }

/* Products dropdown turned off for now (customers should land on the Products overview
   page first, not skip straight to a category) — markup/JS left intact, just hidden,
   so it's a one-line revert (delete this block + the has-mega-disabled class) to bring back. */
.has-mega-disabled .has-mega-chevron,
.has-mega-disabled .mega-toggle { display: none; }
.has-mega-disabled .mega-menu { display: none !important; }
.main-nav a.active::after,
.has-mega-label.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    border-radius: 1px;
    background: var(--header-accent);
}

/* Mega menu */
.has-mega {
    display: flex;
    align-items: center;
}
.mega-menu {
    /* Anchored to .main-nav (the pill) instead of the viewport, same reference
       point .search-menu uses — guarantees an identical gap below the pill
       instead of two separately-tuned offsets drifting apart. */
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, calc(100vw - 32px));
    max-height: calc(100vh - var(--header-height) - 40px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(18,40,63,.25);
    padding: 36px 40px;
    z-index: 500;
    visibility: hidden;
    opacity: 0;
    transition: opacity .15s ease, visibility 0s linear .3s;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.mega-menu:hover {
    visibility: visible;
    opacity: 1;
    transition: opacity .15s ease, visibility 0s linear 0s;
}
.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mega-col h3 {
    font-size: .74rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin-bottom: 8px; }
.mega-col a {
    font-size: .85rem;
    color: var(--gray-600);
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
}
.mega-col a:hover { color: var(--navy); }
.mega-menu-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: right;
}
.mega-menu-footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--red);
}
.mega-menu-footer a:hover { color: var(--red-dark); }
.mega-menu-footer .arrow { transition: transform .2s ease; }
.mega-menu-footer a:hover .arrow { transform: translateX(4px); }

/* Narrow variant of the mega-menu — same hover/positioning mechanics, sized for a
   short flat link list (e.g. the About dropdown) instead of the Products category grid.
   The regular .mega-menu centers itself under the whole nav pill (deliberately, so its
   wide panel lines up regardless of which link triggered it) — but a narrow dropdown
   centered the same way drifts far from its own trigger when that trigger isn't in the
   middle of the pill. .has-mega-narrow gives its own trigger a positioning context so
   the panel anchors to itself instead. */
.has-mega-narrow { position: relative; align-self: stretch; }
/* .main-nav centers its children instead of stretching them, so .has-mega-narrow's own
   box is only as tall as its text — "100%" from that box lands inside the pill's own
   14px vertical padding, not below the pill's visible edge (looks like a zero gap).
   align-self:stretch makes the box's top/bottom flush with the pill's content edges
   instead, so the missing 14px of padding is a known constant — added back below. */
.has-mega-narrow .mega-menu-narrow { left: 0; transform: none; top: calc(100% + 32px); }
.mega-menu-narrow { width: 200px; padding: 14px; border-radius: 16px; }
.mega-menu-narrow .mega-menu-inner { grid-template-columns: 1fr; gap: 4px; }
.mega-menu-narrow .mega-menu-inner a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: .88rem;
    color: var(--gray-600);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}
.mega-menu-narrow .mega-menu-inner a:hover { background: var(--gray-100); color: var(--navy); }

/* Search dropdown — same click-to-open island pattern as the Products mega-menu,
   just sized for a single input instead of a category grid. */
/* No position:relative here on purpose — .search-menu's position:absolute should
   resolve against .main-nav (the pill itself), not this icon wrapper, so its gap
   is measured from the pill's true bottom edge, same reference point as the
   Products mega-menu's gap below the pill. */
.has-search { display: flex; align-items: center; }
.search-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--ink);
    cursor: pointer;
}
.search-toggle:hover { color: var(--navy); }
.search-toggle-label { display: none; }
.search-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(18,40,63,.25);
    padding: 18px;
    z-index: 500;
    visibility: hidden;
    opacity: 0;
    transition: opacity .15s ease, visibility 0s linear .15s;
}
.search-menu.open {
    visibility: visible;
    opacity: 1;
    transition: opacity .15s ease;
}
.search-menu form { display: flex; align-items: center; gap: 8px; }
.search-menu input,
.search-menu .btn {
    box-sizing: border-box;
    height: 42px;
    margin: 0;
    line-height: normal;
    vertical-align: middle;
}
.search-menu input {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .9rem;
    font-family: inherit;
}
.search-menu .btn {
    padding: 0 18px;
    font-size: .78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-size-divider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 10px;
}
.search-size-divider {
    font-size: .72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.search-unit-toggle { margin-left: 0; }
.search-unit-toggle .unit-toggle-slider { width: 32px; height: 18px; }
.search-unit-toggle .unit-toggle-slider::before { width: 14px; height: 14px; }
.search-unit-toggle .search-unit-checkbox:checked + .unit-toggle-slider::before { transform: translateX(14px); }
.search-unit-toggle .unit-toggle-text-mm,
.search-unit-toggle .unit-toggle-text-in { font-size: .68rem; }
.search-size-form { display: flex; flex-wrap: wrap; gap: 8px; }
.search-size-form input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: inherit;
}
.search-size-form .btn {
    flex: 1 0 100%;
    height: 38px;
    font-size: .78rem;
}

/* Hero — pulled up under the transparent floating header so the photo/dark band
   reaches true browser top instead of leaving a gap above it. Only .hero does this;
   plain white-bg pages (about/gallery/product) keep body's normal reserved spacing
   so their heading text doesn't render underneath the floating header. */
.hero {
    position: relative;
    overflow-x: hidden;
    background-color: #12283f;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: calc(560px + var(--header-height) + 12px);
    margin-top: calc(-1 * (var(--header-height) + 12px));
    padding-top: calc(var(--header-height) + 12px);
    display: flex;
    align-items: center;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(18,40,63,.92) 0%, rgba(18,40,63,.75) 40%, rgba(18,40,63,.4) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 3.1rem; letter-spacing: -.02em; margin-bottom: .35em; max-width: 680px; }
.hero p { font-size: 1.12rem; color: #dbe4ec; margin: 0 0 32px; max-width: 700px; }
.hero-intro-toggle { display: none; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-cta-row .btn-outline { background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-home { min-height: 100vh; align-items: flex-end; padding-bottom: 160px; }
.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 900px 600px at 15% 100%, rgba(10,20,32,.85) 0%, rgba(10,20,32,.5) 45%, rgba(10,20,32,0) 75%);
    z-index: 1;
}
.hero-home .eyebrow { display: inline-block; margin-bottom: 18px; letter-spacing: .04em; }
.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll-cue:hover { border-color: #fff; background: rgba(255,255,255,.16); }
@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-scroll-cue { animation: none; }
}

/* Breadcrumb */
.breadcrumb {
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gray-400);
    padding: 22px 0;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-on-dark, .breadcrumb-on-dark a { color: #cdd7e0; }
.breadcrumb-on-dark a:hover { color: #fff; }

/* Section blocks */
.section-block { padding: 90px 0; }
.section-block.alt { background: var(--bg); }
.product-detail-section.has-featured-products { padding-bottom: 20px; }
.blog-featured-products-section { padding-top: 20px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.qa-iso-section-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}
.qa-iso-badge { max-width: 180px; width: 100%; margin: 0; display: block; flex-shrink: 0; }
@media (max-width: 720px) {
    .qa-iso-section-head { flex-direction: column; text-align: center; }
    .qa-iso-badge { margin: 0 auto 24px; }
}
.section-head h2 { font-size: 2.25rem; }
.section-head p { font-size: 1.12rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* Our Journey (about.php) — story text beside a stat column, instead of a lone
   centered paragraph with nothing to fill the width. */
.journey-section { position: relative; overflow: hidden; }
.journey-watermark {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 260px;
    height: auto;
    transform: translateY(-50%) rotate(-8deg);
    fill: var(--navy);
    opacity: .05;
    pointer-events: none;
    z-index: 0;
}
.journey-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
}
.journey-copy h2 { font-size: 2.25rem; }
.journey-copy p { font-size: 1.05rem; }
.journey-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.journey-stat {
    display: flex;
    align-items: baseline;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: 0 1px 3px rgba(18,40,63,.06);
    border-left: 4px solid var(--red);
}
.journey-stat-num { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; flex-shrink: 0; }
.journey-stat-label { font-size: .82rem; color: var(--gray-600); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
@media (max-width: 900px) {
    .journey-grid { grid-template-columns: 1fr; gap: 32px; }
    .journey-stat { flex-direction: column; align-items: flex-start; gap: 4px; }
    .journey-watermark { width: 170px; right: -40px; }
}

/* FAQ accordion — native <details>/<summary>, no JS needed */
.faq-layout { max-width: 760px; margin: 0 auto; }
.faq-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto 48px;
    position: sticky;
    top: calc(var(--header-height) + 12px);
    z-index: 10;
    background: #fff;
    padding: 12px 0;
}
.faq-jump-nav a {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--gray-100);
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}
.faq-jump-nav a:hover { background: #fff; border-color: var(--red); color: var(--red); }
.faq-jump-nav a.active { background: var(--red); border-color: var(--red); color: #fff; }
.faq-group { margin-bottom: 48px; scroll-margin-top: calc(var(--header-height) + 70px); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--navy);
    margin: 0 0 16px;
}
.faq-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--red);
}
.faq-group-icon svg { width: 17px; height: 17px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: border-color .15s ease;
}
.faq-item[open] { border-color: var(--red); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
    color: var(--red);
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--gray-600); line-height: 1.6; }

/* Stats bar */
.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-left: 1px solid var(--border);
}
.stat-item:first-child { border-left: none; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: var(--navy); display: block; letter-spacing: -.01em; }
.stat-item .label { font-size: .78rem; color: var(--gray-600); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; display: block; }

/* Icon cards (Why choose us) */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.qa-process-grid { grid-template-columns: repeat(3, 1fr); }
.icon-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.icon-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.icon-card:hover::before { transform: scaleX(1); }
.icon-card:hover { box-shadow: 0 12px 28px rgba(18,40,63,.1); transform: translateY(-3px); }
.icon-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.icon-card .icon-circle svg { width: 24px; height: 24px; }
.icon-card h3 { font-size: 1rem; margin-bottom: 8px; }
.icon-card p { font-size: .88rem; margin: 0; }

/* Industry cards (Who we serve) - photo background */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.industry-card {
    position: relative;
    display: block;
    aspect-ratio: 750 / 850;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    scroll-margin-top: calc(var(--header-height) + 12px);
    transition: box-shadow .2s ease;
}
.industry-card:hover { box-shadow: 0 16px 32px rgba(18,40,63,.22); }
.industry-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.industry-card-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--gray-100);
}
.industry-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.industry-card:hover .industry-card-media img { transform: scale(1.05); }
.industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(26,58,92,.35) 0%, rgba(26,58,92,.85) 100%);
    transition: background .25s ease;
}
.industry-card:hover::before {
    background: linear-gradient(180deg, rgba(18,40,63,.45) 0%, rgba(18,40,63,.92) 100%);
}
.industry-card .icon-wrap {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    width: 34px;
    height: 34px;
    color: #fff;
}
.industry-card .icon-wrap svg { width: 100%; height: 100%; }
.industry-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 22px 24px;
}
.industry-card-content h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.industry-card-content p { color: rgba(255,255,255,.9); font-size: .86rem; margin: 0 0 14px; }
.industry-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
}
.industry-cta .arrow { display: inline-block; color: var(--red); transition: transform .2s ease; }
.industry-card:hover .industry-cta .arrow { transform: translateX(4px); }

/* Manufacturing capability grid (about page) */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.capability-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: var(--radius);
}
.capability-card h3 { margin: 0; font-size: .95rem; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    transition: opacity .15s ease;
}
.gallery-item:hover { opacity: .85; }
.gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.gallery-item-video { position: relative; }
.gallery-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-play-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 32, .25);
}
.gallery-play-icon svg {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 50%;
    background: rgba(15, 23, 32, .55);
}

/* Featured product categories grid - homepage */
.products-section { position: relative; overflow: hidden; }
.products-section .container { position: relative; z-index: 1; }

.qa-process-section { position: relative; overflow: hidden; }
.qa-process-section .container { position: relative; z-index: 1; }
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.section-head-row .section-head,
.section-head-row > div:first-child { max-width: 680px; margin: 0; text-align: left; }
.section-head-row > div:first-child h2 { font-size: 2.25rem; }
.section-head-row > div:first-child p { font-size: 1.12rem; }
.section-head-row .btn-navy-outline { flex-shrink: 0; }
.btn-navy-outline {
    display: inline-block;
    background: transparent;
    color: var(--navy);
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.btn-navy-outline:hover { background: var(--navy); color: #fff; }

/* Products page header - plain, no decoration */
.products-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(560px + var(--header-height) + 12px);
    margin-top: calc(-1 * (var(--header-height) + 12px));
    padding-top: calc(var(--header-height) + 12px);
    display: flex;
    align-items: center;
    background-color: #12283f;
    color: #fff;
}
.products-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.products-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(18,40,63,.92) 0%, rgba(18,40,63,.75) 40%, rgba(18,40,63,.4) 100%);
    z-index: 1;
}
.products-hero-shape { display: none; }
.products-hero-watermark {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    opacity: .08;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.products-hero .container { position: relative; z-index: 2; max-width: 1440px; }
.products-hero-content { display: flex; gap: 20px; max-width: 660px; }
.products-hero-rule {
    flex: 0 0 4px;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}
.products-hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .3em;
}
.products-hero-content p { max-width: 560px; font-size: 1.05rem; color: #dbe4ec; }

.products-body { background: #f4f7f9; }

/* Sidebar jump nav + content layout */
.products-layout {
    max-width: 1440px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}
.products-jumpnav {
    position: sticky;
    top: calc(var(--header-height) + 80px);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.products-jumpnav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    border-left: 4px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.products-jumpnav-num { flex: 0 0 auto; font-variant-numeric: tabular-nums; color: var(--gray-400); font-size: 1.1rem; font-weight: 700; transition: color .15s ease; }
.products-jumpnav a:hover { color: var(--navy); background: #f8fafc; }
.products-jumpnav a.active { color: var(--navy); font-weight: 700; background: #fff; border-left-color: var(--red); }
.products-jumpnav a.active .products-jumpnav-num { color: var(--red); }

/* Section/category grid on products.php - white "island" per section */
.section-group {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 32px;
    padding: 32px;
    scroll-margin-top: calc(var(--header-height) + 80px);
}
.section-watermark {
    position: absolute;
    top: 14px;
    right: 70px;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: #e2e8f0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    transition: color .25s ease;
}
.section-group.active-watermark .section-watermark { color: #cbd5e1; }
@keyframes watermarkBlink {
    50% { color: #d71a21; }
}
.section-watermark.blink { animation: watermarkBlink .5s ease-in-out 4; }
.section-header-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 8px;
}
.section-divider {
    flex: 0 0 4px;
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: var(--red);
}
.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
}
.section-intro { position: relative; z-index: 1; max-width: 640px; margin: 10px 0 0; font-size: .95rem; }
.section-group .category-grid { position: relative; z-index: 1; margin-top: 20px; }

/* Category grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.category-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(18,40,63,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.category-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    z-index: 2;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover { box-shadow: 0 14px 30px rgba(18,40,63,.12); transform: translateY(-3px); }
.category-card-media {
    width: 100%;
    height: 240px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.category-card-media img { width: 100%; height: 100%; object-fit: contain; }
.category-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.category-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.category-card-body h3 a { color: var(--navy); }
.category-card-body h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.category-card-body h3 a:focus-visible::after {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.category-desc {
    font-size: .84rem;
    color: var(--gray-600);
    margin: 0 0 12px;
    line-height: 1.6;
}
.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--red);
}
.category-cta .arrow { color: var(--red); transition: transform .2s ease; }
.category-card:hover .category-cta .arrow { transform: translateX(4px); }

.category-card-extra { display: none; }
.section-group.expanded .category-card-extra { display: flex; }
.category-viewall-row { text-align: center; margin-top: 28px; }

/* Blog cards — same grid/card shell as category cards, but a full-bleed cover photo
   instead of a padded product-photo-on-white treatment. */
.blog-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(18,40,63,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover { box-shadow: 0 14px 30px rgba(18,40,63,.12); transform: translateY(-3px); }
.blog-card-media { width: 100%; aspect-ratio: 16/10; background: var(--gray-100); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.blog-card-date { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--red); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card-excerpt { font-size: .88rem; color: var(--gray-600); line-height: 1.6; margin: 0 0 12px; }
.blog-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-600); }

.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.blog-pagination-num,
.blog-pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 50%;
    font-weight: 700;
    font-size: .92rem;
    color: var(--navy);
    transition: background-color .15s ease, color .15s ease;
}
.blog-pagination-num:hover { background: var(--bg); }
.blog-pagination-num.active { background: var(--red); color: #fff; }
.blog-pagination-arrow { font-size: 1.3rem; color: var(--gray-600); }
.blog-pagination-arrow:hover { background: var(--bg); color: var(--navy); }
.blog-pagination-arrow.disabled { color: var(--gray-400); cursor: default; }
.blog-pagination-arrow.disabled:hover { background: none; }
.blog-card-cta .arrow { color: var(--red); transition: transform .2s ease; }
.blog-card:hover .blog-card-cta .arrow { transform: translateX(4px); }

/* Blog post body — styles the actual HTML the admin's rich-text editor (Quill) outputs. */
.blog-content { font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.blog-content h2 { font-size: 1.5rem; margin: 36px 0 16px; color: var(--navy); }
.blog-content h3 { font-size: 1.2rem; margin: 28px 0 12px; color: var(--navy); }
.blog-content p { margin: 0 0 18px; }
.blog-content ul, .blog-content ol { margin: 0 0 18px; padding-left: 1.4em; }
.blog-content li { margin-bottom: 8px; }
.blog-content a { color: var(--red); text-decoration: underline; }
.blog-content strong { color: var(--navy); }
.blog-content blockquote { border-left: 3px solid var(--red); padding-left: 16px; margin: 0 0 18px; color: var(--gray-600); font-style: italic; }

/* Other Categories — "Ribbon": glass tiles, pop-out image, catalog numbering */
.related-cats-section { padding: 60px 0; background: #f9fafb; }
.related-cats-slider-wrap { position: relative; }
.related-cats-side-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e31e24;
    border: 1px solid #e31e24;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.related-cats-side-nav:hover { background: #b3141a; border-color: #b3141a; }
.related-cats-side-nav-prev { left: -56px; }
.related-cats-side-nav-next { right: -56px; }

.related-cats-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 4px 4px 8px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, #000 90%, transparent 100%);
}
.related-cats-track::-webkit-scrollbar { display: none; }

.related-cat-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 224px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.related-cat-card:hover,
.related-cat-card:focus-visible { border-color: #e31e24; box-shadow: 0 6px 16px rgba(18,40,63,.06); }

.related-cat-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 168px;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}
.related-cat-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .3s ease;
}
.related-cat-card:hover .related-cat-card-img img { transform: scale(1.04); }

.related-cat-card-body { position: relative; padding: 18px 18px 20px; }
.related-cat-card-num {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 0;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: #e2e8f0;
    user-select: none;
    pointer-events: none;
}
.related-cat-card-title {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.related-cat-card-desc {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.45;
}

/* Fixed-size hit-area — never resizes, so hovering/dragging never shifts page layout.
   The visible line lives in .related-cats-progress-track, centered inside, and only
   that inner element grows thicker. */
.related-cats-progress {
    position: relative;
    height: 14px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.related-cats-progress-track {
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    transition: height .15s ease;
}
.related-cats-progress:hover .related-cats-progress-track,
.related-cats-progress.dragging .related-cats-progress-track { height: 8px; }
.related-cats-progress-fill {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20%;
    background: #e31e24;
    border-radius: 3px;
}

@media (max-width: 720px) {
    .related-cats-side-nav { display: none; }
    /* Narrower + taller than desktop's card so the next one visibly peeks in on the right —
       74vw left almost no hint there was more to scroll to. */
    .related-cat-card { width: 58vw; }
    .related-cat-card-img { height: 210px; }
    .related-cats-track { -webkit-mask-image: none; mask-image: none; }
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 24px;
}
.product-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(18,40,63,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    z-index: 4;
}
.product-card:hover::before { transform: scaleX(1); }
.closest-badge {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    background: var(--red); color: #fff; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 4px 10px; border-radius: 999px;
}
.product-card:hover { box-shadow: 0 14px 30px rgba(18,40,63,.12); transform: translateY(-3px); }
.product-card-img {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--gray-100);
    border-bottom: 1px solid #e2e8f0;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Compare checkbox + floating bar — desktop only, hidden entirely on mobile (see breakpoint below) */
.compare-checkbox {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100, #f0f2f5);
    border-radius: 12px 0 0 0;
    color: var(--gray-600);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(18,40,63,.1);
    transition: background .15s ease, color .15s ease;
}
.compare-checkbox:hover { background: var(--border); color: var(--navy); }
.compare-checkbox input { display: none; }
.compare-checkbox-icon-added { display: none; }
.compare-checkbox:has(input:checked) { background: var(--navy); color: #fff; }
.compare-checkbox:has(input:checked):hover { background: var(--navy-dark); }
.compare-checkbox:has(input:checked) .compare-checkbox-icon-add { display: none; }
.compare-checkbox:has(input:checked) .compare-checkbox-icon-added { display: block; }
.compare-checkbox:has(input:disabled:not(:checked)) { opacity: .35; cursor: not-allowed; }

.compare-bar {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 150%);
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 12px 10px 20px;
    box-shadow: 0 12px 32px rgba(18,40,63,.2);
    z-index: 250;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}
.compare-bar.open {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear 0s;
}
#compare-bar-text { font-weight: 700; font-size: .84rem; color: var(--ink); white-space: nowrap; }
.compare-bar-items { display: flex; gap: 6px; }
.compare-bar-chip {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: .74rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#compare-bar-view {
    padding: 8px 18px;
    font-size: .82rem;
    opacity: .4;
    pointer-events: none;
}
#compare-bar-view.active { opacity: 1; pointer-events: auto; }
.compare-bar-clear {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
}
.compare-bar-clear:hover { color: var(--red); }
.product-card-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--gray-100);
}
.product-card-body { padding: 16px 18px 18px; }
.product-card-name {
    font-size: .92rem;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-model { font-size: .78rem; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.product-card-model::before { content: "|"; color: var(--red); margin-right: 5px; font-weight: 700; }

#unit-toggle-slot:empty { display: none; }
#unit-toggle-slot:not(:empty) { margin-bottom: 16px; }
.spec-head-row #unit-toggle-slot:not(:empty) { margin-bottom: 0; }

.spec-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spec-head-row h2 { margin: 0; }

.size-filter-x { color: var(--gray-400); font-size: .85rem; }

.unit-toggle-switch {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto; cursor: pointer; user-select: none;
}
.unit-toggle-switch input { display: none; }
.unit-toggle-slider {
    position: relative; width: 42px; height: 23px; background: var(--gray-400); border-radius: 999px;
    transition: background .2s ease; flex-shrink: 0;
}
.unit-toggle-slider::before {
    content: ""; position: absolute; top: 2px; left: 2px; width: 19px; height: 19px;
    background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.unit-toggle-switch input:checked + .unit-toggle-slider { background: #34c759; }
.unit-toggle-switch input:checked + .unit-toggle-slider::before { transform: translateX(19px); }
.unit-toggle-text-mm, .unit-toggle-text-in { font-size: .78rem; font-weight: 600; color: var(--gray-400); }
.unit-toggle-text-mm.active, .unit-toggle-text-in.active { color: var(--navy); }

.size-filter {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    margin-bottom: 28px; padding: 16px 20px; background: var(--gray-100, #f5f6f8); border-radius: 12px;
}
.size-filter-label { font-weight: 600; color: var(--navy); font-size: .9rem; margin-right: 4px; }
.size-filter-inputs { display: flex; align-items: center; gap: 10px; }
.size-filter input[type="number"] {
    width: 100px; padding: 8px 10px; border: 1px solid var(--gray-300, #ccc); border-radius: 8px; font-size: .85rem;
}
.size-filter .btn, .size-filter .btn-navy-outline { padding: 8px 18px; }
.size-sort-select {
    padding: 8px 10px; border: 1px solid var(--gray-300, #ccc); border-radius: 8px; font-size: .85rem;
    background: #fff; color: var(--navy); cursor: pointer;
}
@media (max-width: 720px) {
    .size-filter { padding: 14px; }
    .size-filter-label { flex: 1 1 100%; }
    .size-filter-inputs { flex: 1 1 100%; min-width: 0; }
    .size-filter input[type="number"] { flex: 1 1 0; width: auto; min-width: 0; }
    #size-filter-btn { flex: 1 1 auto; text-align: center; }
    #size-filter-reset { flex: 1 1 100%; text-align: center; }
    .unit-toggle-switch { flex: 0 0 auto; margin-left: 0; }
    .dim-info { display: none !important; }
    .spec-table .th-full, .product-detail-actions .th-full { display: none; }
}
@media (min-width: 721px) {
    .spec-table .th-abbr, .product-detail-actions .th-abbr { display: none; }
}
.product-card-body .meta { color: var(--gray-400); font-size: .78rem; line-height: 1.6; }
.product-card-body .meta > div { margin-bottom: 4px; }
.product-card-body .meta > div:last-child { margin-bottom: 0; }
.meta-label { color: var(--navy); font-weight: 600; }
.product-card-body .meta-value { display: block; }
.dim-x { vertical-align: baseline; }
.dim-x::before, .dim-x::after { content: " "; }
@media (min-width: 721px) {
    /* Desktop only — lowercase "x" is x-height tall, so next to full-height digits at this
       size it reads as a small floating mark even though its baseline does match. Mobile
       stays untouched, it already looks right there. */
    .dim-x { font-size: 1.1em; font-weight: normal; }

    /* Desktop-only bump — name/model/spec text on product cards was too small here. Mobile
       keeps its existing sizes untouched. */
    .product-card-name { font-size: 1.05rem; }
    .product-card-model { font-size: 1rem; }
    .product-card-body .meta { font-size: .88rem; }
}
.product-card:hover .product-card-name { color: var(--navy); }

/* About teaser (homepage) */
.about-teaser-section { position: relative; overflow: hidden; }
.about-teaser-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-teaser-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 48px rgba(18,40,63,.18);
}
.about-teaser-copy h2 { font-size: 2.25rem; margin-bottom: .5em; }
.about-teaser-copy p { font-size: 1.12rem; margin-bottom: 24px; }

.oem-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}
.oem-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.oem-feature-card:hover { box-shadow: 0 12px 28px rgba(18,40,63,.1); transform: translateY(-3px); }
.oem-feature-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.oem-feature-card-body { padding: 22px 26px 28px; }
.oem-feature-card .eyebrow { margin-bottom: 14px; }
.oem-feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.oem-feature-card p { font-size: .95rem; color: var(--gray-600); margin: 0; }

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 900px 500px at 50% -10%, #2a5480 0%, var(--navy-dark) 55%, #081422 100%);
    color: #fff;
    padding: 76px 0;
    text-align: center;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1.8px, transparent 1.8px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, #000 0%, transparent 75%);
    pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #c3d1de; margin-bottom: 28px; font-size: 1.05rem; }

/* Product detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.product-detail-media {
    position: relative;
    aspect-ratio: 1/1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.product-detail-media img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.product-detail-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: background .15s ease, color .15s ease;
}
.product-detail-zoom-btn:hover { background: var(--navy); color: #fff; }
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, .9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap { position: relative; display: inline-flex; max-width: 90vw; max-height: 90vh; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-video-wrap { display: none; width: min(90vw, 960px); aspect-ratio: 16/9; }
.lightbox-video-wrap iframe { width: 100%; height: 100%; border: none; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .2); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox-prev { right: 100%; margin-right: 16px; }
.lightbox-next { left: 100%; margin-left: 16px; }
.product-detail-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-weight: 800;
    font-size: 2rem;
    background: var(--gray-100);
    border-radius: var(--radius);
}
.product-detail-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-detail-thumb {
    position: relative;
    width: 68px;
    height: 68px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s ease;
}
.product-detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-thumb:hover { border-color: var(--steel); }
.product-detail-thumb.active { border-color: var(--red); border-width: 2px; }
.product-detail-thumb-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: calc(var(--radius) - 2px);
    color: var(--gray-400);
}
.product-detail-thumb-fallback svg { width: 22px; height: 22px; }
.product-detail-section { padding-top: 32px; }
.product-detail-crumb-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.product-detail-crumb-row .eyebrow { margin-bottom: 0; }
.product-detail-crumb-row .breadcrumb { font-size: .82rem; padding: 0; }
.product-detail-info h1 { font-size: 1.9rem; }
.product-detail-info p { margin-bottom: 16px; }
.product-detail-info .spec-table { max-width: none; margin: 16px 0 8px; }
.product-detail-datasheet h2 { font-size: 1.3rem; margin: 0 0 16px; }

.feature-list { list-style: none; padding: 0; margin: 0 0 20px; }
.feature-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: .95rem;
    color: var(--ink);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 2px;
}

.product-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.product-detail-actions a { white-space: nowrap; }
.product-detail-quick-contact { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.product-detail-quick-contact-label { font-size: .95rem; color: var(--gray-600); }
.icon-circle-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff; color: var(--navy); border: none; cursor: pointer;
    box-shadow: 0 1px 4px rgba(18,40,63,.12);
    transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.icon-circle-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.icon-circle-btn-whatsapp { background: #25d366; color: #fff; }
.icon-circle-btn-whatsapp:hover { background: #1ebc59; }
.footer-social-label {
    position: relative;
    color: var(--navy);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 32px 0 10px;
    padding-left: 12px;
}
.footer-social-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 3px;
    height: 11px;
    border-radius: 2px;
    background: var(--red);
}
.footer-social-row { display: flex; gap: 10px; margin-top: 0; }
.footer-social-row .icon-circle-btn { width: 40px; height: 40px; }
.footer-social-row .icon-circle-btn-whatsapp { width: 37px; height: 37px; }
.icon-circle-btn-facebook:hover { background: #1877f2; color: #fff; }
.icon-circle-btn-instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.icon-circle-btn-google:hover { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.share-wrap { position: relative; display: inline-flex; }
.share-menu {
    position: absolute; top: calc(100% + 12px); right: 0; z-index: 500;
    width: 190px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 8px 32px rgba(18,40,63,.2); padding: 8px;
    visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity .15s ease, visibility 0s linear .15s, transform .15s ease;
}
.share-menu.open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .15s ease, transform .15s ease; }
.share-menu-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 10px; border-radius: 8px; border: none; background: none;
    font-size: .86rem; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer;
}
.share-menu-item:hover { background: var(--gray-100, #eef1f4); }
.share-menu-item svg { flex-shrink: 0; color: var(--gray-400); }
.btn-icon-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #fff; color: var(--navy); border: 1.5px solid #c7d0da;
    font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
    padding: 13px 22px; border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(18,40,63,.08);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease, background .15s ease;
}
.btn-icon-outline svg { flex-shrink: 0; }
.btn-icon-outline:hover { border-color: var(--navy); box-shadow: 0 4px 12px rgba(18,40,63,.14); transform: translateY(-1px); }
.btn-icon-outline-whatsapp { color: #1ebc59; border-color: #1ebc59; background: #f0fbf4; }
.btn-icon-outline-whatsapp:hover { border-color: #1ebc59; color: #1ebc59; background: #e2f8e9; }
.btn-icon-outline-email { color: var(--navy); border-color: var(--navy); background: #f0f4f9; }
.btn-icon-outline-email:hover { border-color: var(--red); color: var(--red); background: #fdf0f0; }

.product-detail-datasheet {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 56px;
    align-items: start;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.product-detail-datasheet .spec-table { max-width: none; margin: 0; }
.product-detail-datasheet .feature-list { margin: 0; }

.product-detail-related { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.product-detail-related h2 { font-size: 1.3rem; margin: 0 0 24px; }
.related-products-grid { grid-template-columns: repeat(5, 1fr); }
@media (min-width: 721px) {
    .related-products-grid .product-card:nth-child(6) { display: none; }
}

/* "Download PDF" button prints the page via the browser's own print-to-PDF —
   this strips it down to just the product content, nothing else needs printing.
   .print-letterhead / .print-footer only exist for that output, hidden on screen. */
.print-letterhead, .print-footer { display: none; }

@page { size: A4; margin: 12mm; }
@media print {
    /* Everything below uses pt (a fixed physical unit tied to the paper) instead
       of px/rem. Chrome computes a different virtual CSS viewport width per print
       destination (physical printer vs. "Save as PDF"), so rem/px sizing and
       viewport-width media queries swing wildly between the two — pt sizing
       sidesteps that entirely since it's not relative to any viewport.
       !important forces this to win over the @media (max-width:960px) rules
       below, which can otherwise fire if Chrome's virtual width lands under 960px. */
    .site-header, .site-footer, .breadcrumb, .product-detail-actions,
    .product-detail-thumbs, .product-detail-related { display: none !important; }
    body { padding-top: 0 !important; padding-bottom: 20mm !important; font-size: 10.5pt !important; }
    /* .section-block's normal 90px top/bottom padding and the datasheet's screen
       margins/gaps are sized for a full webpage, not a single A4 sheet — without
       zeroing these out here, everything overflows onto a second page and the
       fixed .print-footer (always pinned to the physical bottom of the sheet)
       ends up overlapping whatever spilled over. */
    .product-detail-section { padding: 0 !important; }
    .product-detail-media {
        border: none !important; padding: 0 !important; margin: 0 !important;
        width: 140pt !important; height: 140pt !important; max-width: none !important; aspect-ratio: auto !important;
    }
    .product-detail-grid { grid-template-columns: 1fr 2fr !important; gap: 20pt !important; }
    .product-detail-datasheet {
        grid-template-columns: 3fr 2fr !important;
        margin-top: 16pt !important; padding-top: 12pt !important; gap: 24pt !important;
    }
    .product-detail-info h1 { font-size: 14pt !important; }
    .product-detail-info p { font-size: 9.5pt !important; line-height: 1.4 !important; margin-bottom: 6pt !important; }
    .feature-list li { margin-bottom: 5pt !important; }
    .product-detail-crumb-row { margin-bottom: 4pt !important; }
    .product-detail-crumb-row .eyebrow {
        padding: 0 !important;
        background: none !important;
        font-size: 9.5pt !important;
        margin-bottom: 0 !important;
    }

    .print-letterhead {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16pt;
        padding-bottom: 8pt;
        margin-bottom: 14pt;
        border-bottom: 2pt solid var(--red);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .print-letterhead-brand { display: flex; align-items: center; gap: 14pt; }
    .print-letterhead-brand img { height: 56pt; width: auto; }
    .print-letterhead-brand strong {
        display: block;
        font-size: 13pt;
        color: var(--navy);
        margin-bottom: 4pt;
    }
    .print-letterhead-address {
        font-size: 9pt;
        color: var(--gray-600);
        line-height: 1.5;
    }
    .print-letterhead-tag {
        flex-shrink: 0;
        font-size: 8.5pt;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--red);
        font-weight: 700;
        border: 1pt solid var(--red);
        border-radius: 999px;
        padding: 5pt 12pt;
    }
    .print-footer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding-top: 10pt;
        border-top: 1pt solid var(--border);
        text-align: center;
        font-size: 8pt;
        color: #000;
    }
    .feature-list li::before {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .product-detail-datasheet h2 {
        font-size: 13pt !important;
        border-left: 3pt solid var(--red);
        padding-left: 9pt;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .spec-table td { font-size: 10pt !important; padding: 5pt 10pt !important; }
    .spec-table th { font-size: 8.5pt !important; padding: 5pt 10pt !important; }
    .dim-info { display: none !important; }
    .feature-list li { font-size: 10pt !important; }
}

@media (max-width: 960px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-detail-datasheet { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; padding-top: 28px; }
    .product-detail-media { max-width: 420px; margin: 0 auto; }
    .product-detail-thumbs { max-width: 420px; margin: 14px auto 0; justify-content: center; }
}

/* Visually hidden but still readable by screen readers and search engines — unlike
   display:none, this keeps the text counted as real content, not discounted hidden text. */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Spec table */
.spec-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 560px;
    margin: 24px 0;
    border: 1px solid var(--border);
}
.spec-table th, .spec-table td {
    border-bottom: 1px solid var(--border);
    padding: 13px 16px;
    text-align: left;
    font-size: .92rem;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
    background: var(--bg);
    width: 40%;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .74rem;
    letter-spacing: .06em;
}

.compare-feature-list { margin: 0; }
.compare-feature-list li { margin-bottom: 6px; font-size: .92rem; }
.compare-feature-list li:last-child { margin-bottom: 0; }

.compare-table-wrap { overflow-x: auto; }
.compare-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
    border-bottom: 1px solid var(--border);
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
    font-size: .92rem;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table thead th {
    background: #fff;
    text-align: left;
    vertical-align: top;
    padding: 18px 16px 20px;
}
.compare-table tbody th {
    background: var(--bg);
    width: 1%;
    white-space: nowrap;
    padding-left: 24px;
    padding-right: 28px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .74rem;
    letter-spacing: .06em;
}
.compare-table-product-img {
    width: 210px;
    height: 210px;
    margin: 0 0 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.compare-table-product-img img { width: 100%; height: 100%; object-fit: cover; }
.compare-table-na { color: var(--gray-400); }
.compare-feature-row td { border-bottom: none; padding-top: 6px; padding-bottom: 6px; }
.compare-feature-row-first td { padding-top: 13px; }
.compare-feature-row-last td { border-bottom: 1px solid var(--border); padding-bottom: 13px; }
.compare-table thead th .btn { display: block; width: 210px; text-align: center; padding: 9px 0; font-size: .76rem; }

.spec-th-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.dim-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gray-400);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    cursor: help;
    vertical-align: middle;
}
.dim-info::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy-dark);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 5px 9px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease;
    pointer-events: none;
    z-index: 10;
}
.dim-info:hover::after, .dim-info:focus-visible::after { opacity: 1; visibility: visible; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color .2s ease;
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 13px 29px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.55);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-navy {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color .2s ease;
}
.btn-navy:hover { background: var(--navy-dark); }

/* Forms */
form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gray-600);
}
form input, form textarea, form select {
    width: 100%;
    max-width: 440px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    margin-top: 8px;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}
form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: var(--navy);
}
.phone-input-group { display: flex; gap: 8px; }
.phone-input-group .phone-code-wrap {
    flex: 0 0 84px;
    position: relative;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.phone-code-wrap:focus-within { border-color: var(--navy); }
.phone-code-wrap .phone-code-select {
    width: 100%;
    max-width: none;
    margin-top: 0;
    color: transparent;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    text-indent: -9999px;
}
.phone-code-wrap .phone-code-select option { color: var(--ink); }
.phone-code-wrap .phone-code-display {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--ink);
    font-size: 1rem;
}
.phone-input-group input { flex: 1; max-width: none; }
@media (max-width: 480px) {
    .phone-input-group { flex-direction: column; }
    .phone-input-group .phone-code-wrap { flex: none; }
}

/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}
.contact-layout > * { min-width: 0; }
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--gray-100);
    border: 1px solid #d3d9e0;
    border-radius: var(--radius);
    padding: 36px 40px;
}
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-item:last-of-type { margin-bottom: 0; }
.contact-info-item > div { min-width: 0; }
.contact-info-item p { overflow-wrap: break-word; }
.contact-icon-circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon-circle svg { width: 22px; height: 22px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-flash { padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 20px; }
.form-flash-success { background: #e6f4ea; color: #1a7a3c; }
.form-flash-error { background: #fdeceb; color: #b3141a; }
.contact-info-item h3 { font-size: 1rem; margin: 0 0 4px; }
.contact-info-item p { margin: 0; line-height: 1.6; }
.contact-form-card {
    background: var(--gray-100);
    border: 1px solid #d3d9e0;
    border-radius: var(--radius);
    padding: 36px 40px;
}
.contact-form-card h2 { margin-top: 0; }
/* Standalone (be-our-dealer.php) — no side-by-side contact column, so the card is
   centered with its own max-width instead of stretching to the full container. */
.contact-form-card-solo { max-width: 720px; margin: 0 auto; }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form .form-row label { flex: 1; }
.contact-form input, .contact-form textarea { max-width: none; }
.contact-form .form-row-submit { align-items: center; justify-content: space-between; }
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-card, .contact-info { padding: 28px 24px; }
}
@media (max-width: 560px) {
    .contact-form .form-row { flex-direction: column; gap: 0; }
}
.contact-map {
    position: relative;
    width: 100%;
    padding-top: 40%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 720px) {
    .contact-map { padding-top: 80%; }
    .contact-form-card .btn { display: block; margin: 0 auto; }
    .contact-info .whatsapp-btn { align-self: center; }
}

/* Bold geometric shape blocks - background layer behind section content */
.shape-bg {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.shape-wedge-navy {
    top: 0;
    bottom: 0;
    right: 0;
    width: 55%;
    background: var(--shape-blue);
    clip-path: polygon(35% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.shape-wedge-steel {
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: var(--shape-steel);
    opacity: .5;
    clip-path: polygon(0% 0%, 100% 20%, 65% 100%, 0% 100%);
}
.shape-blob { top: 0; left: 0; width: 100%; height: 100%; }
.accent-line { display: none; }

/* 404 page */
.error-404-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 160px 0;
}
.error-404-section .container { position: relative; z-index: 1; }
.error-404-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22rem;
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
    opacity: .1;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}
.error-404-section h1 { margin: .2em 0 .3em; }
.error-404-section p { font-size: 1.1rem; color: var(--gray-600); max-width: 480px; margin: 0 auto; }
@media (max-width: 720px) {
    .error-404-section { padding: 100px 0; }
    .error-404-number { font-size: 10rem; }
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #eef2f6 40%, #cdd8e3 75%, #a9bccd 100%);
    color: var(--gray-600);
    font-size: .88rem;
    border-top: 1px solid var(--border);
}
.site-footer::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18,40,63,.1), transparent 80%);
    pointer-events: none;
}
.footer-deco {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(18,40,63,.34) 1.8px, transparent 1.8px);
    background-size: 24px 24px;
}
.footer-deco-tr {
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000 0%, transparent 78%);
}
.footer-deco-bl {
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 0% 100%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse 55% 60% at 0% 100%, #000 0%, transparent 78%);
}
.site-footer::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215,26,33,.06), transparent 75%);
    pointer-events: none;
}
.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 64px 0 44px;
}
.footer-logo { height: 120px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-col h4 {
    position: relative;
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 20px;
    padding-left: 14px;
}
.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: var(--red);
}
.footer-col p { color: var(--gray-600); line-height: 1.6; margin: 0 0 12px; }
.footer-alt-site { font-size: .82rem; }
.footer-alt-site a { color: var(--navy); text-decoration: underline; }

.footer-newsletter { margin-top: 24px; }
.footer-newsletter h4 { margin-bottom: 8px; }
.footer-newsletter > p { margin: 0 0 12px; font-size: .82rem; }
.footer-newsletter-input-group {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}
.footer-newsletter-input-group input[type="email"] {
    flex: 1 1 200px;
    min-width: 0;
    box-sizing: border-box;
    height: 44px;
    line-height: 44px;
    margin: 0;
    border: none;
    padding: 0 14px;
    font-size: .85rem;
    font-family: inherit;
    background: transparent;
}
.footer-newsletter-input-group input[type="email"]:focus { outline: none; }
.footer-newsletter-input-group .btn {
    box-sizing: border-box;
    flex-shrink: 0;
    height: 44px;
    line-height: 44px;
    margin: 0;
    border-radius: 0;
    padding: 0 20px;
    font-size: .78rem;
}
.footer-newsletter-msg { min-height: 1.2em; margin: 10px 0 0; font-size: .82rem; }
.footer-newsletter-msg.error { color: var(--red); }

.success-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, .5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.success-popup-overlay.open { display: flex; }
.success-popup-overlay.open .success-popup-card { animation: success-popup-pop-in .25s ease; }
@keyframes success-popup-pop-in {
    from { opacity: 0; transform: scale(.94) translateY(6px); }
    to { opacity: 1; transform: none; }
}
.success-popup-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 48px 36px 40px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(18,40,63,.25);
}
.success-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--navy);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.success-popup-check { width: 68px; height: 68px; margin: 0 auto 20px; display: block; }
.success-popup-check-circle {
    stroke: #34c759;
    stroke-width: 3;
    stroke-dasharray: 152;
    stroke-dashoffset: 152;
    animation: success-popup-check-circle .5s ease forwards;
}
.success-popup-check-mark {
    stroke: #34c759;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: success-popup-check-mark .3s ease forwards .5s;
}
@keyframes success-popup-check-circle { to { stroke-dashoffset: 0; } }
@keyframes success-popup-check-mark { to { stroke-dashoffset: 0; } }
.success-popup-text { font-weight: 600; font-size: 1rem; line-height: 1.55; color: var(--navy); margin: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0; }
.footer-col ul a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    color: var(--gray-600);
    transition: color .15s ease;
}
.footer-col ul a:hover { color: var(--red); }
.footer-col ul a .arrow {
    color: var(--red);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .15s ease, transform .15s ease;
}
.footer-col ul a:hover .arrow { opacity: 1; transform: translateX(0); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon {
    flex-shrink: 0;
    color: var(--navy);
    display: flex;
    align-items: center;
}
.footer-contact-icon svg { width: 18px; height: 18px; }
.footer-contact-item p { margin: 0; color: var(--gray-600); line-height: 1.5; }
.footer-contact-item a { color: var(--gray-600); transition: color .15s ease; }
.footer-contact-item a:hover { color: var(--red); }


/* Back to top — long scroll pages (products, categories) otherwise need a lot of
   scrolling to get back up top. Sits above the AI chat button; bottom offset is
   overridden per breakpoint below since the chat button's own size/position differs. */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 37px;
    bottom: 102px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.back-to-top svg { width: 26px; height: 26px; }
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.back-to-top:active { opacity: .6; }

.ai-chat-toggle {
    display: flex;
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, var(--navy));
    color: #fff;
    border: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(18,40,63,.35);
    z-index: 300;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.ai-chat-toggle:hover { transform: scale(1.05); }
.ai-chat-toggle-icon-close { display: none; }
.ai-chat-toggle.open .ai-chat-toggle-icon-open { display: none; }
.ai-chat-toggle.open .ai-chat-toggle-icon-close { display: block; }

.ai-chat-panel {
    position: fixed;
    right: 24px;
    bottom: 92px;
    width: 460px;
    height: 760px;
    max-height: 85vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(18,40,63,.18);
    z-index: 299;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.ai-chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.ai-chat-panel-head {
    position: relative;
    background: linear-gradient(160deg, #2563eb, var(--navy) 55%, var(--navy-dark));
    color: #fff;
    padding: 16px 50px 16px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}
.ai-chat-panel-head-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}
.ai-chat-panel-head-avatar img { width: 100%; height: 100%; object-fit: contain; }
.ai-chat-panel-head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ai-chat-head-actions {
    position: absolute;
    top: 12px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ai-chat-token-counter {
    display: none;
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 3px 9px;
}
.ai-chat-panel.debug-mode .ai-chat-token-counter { display: inline-block; }
.ai-chat-reset-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.ai-chat-reset-btn:hover { background: rgba(255,255,255,.28); }
.ai-chat-close-btn { display: none; }
.ai-chat-panel-sub { font-size: .76rem; font-weight: 400; color: rgba(255,255,255,.7); }
.ai-chat-panel-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
    background: #f2f5f9;
    scrollbar-width: thin;
    scrollbar-color: #c4cbd4 transparent;
}
.ai-chat-panel-body::-webkit-scrollbar { width: 6px; }
.ai-chat-panel-body::-webkit-scrollbar-track { background: transparent; }
.ai-chat-panel-body::-webkit-scrollbar-thumb { background: #c4cbd4; border-radius: 999px; }
.ai-chat-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 4px 8px;
}
.ai-chat-welcome-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 4px 14px rgba(18,40,63,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.ai-chat-welcome-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.ai-chat-welcome-sub { font-size: .82rem; color: var(--gray-400); margin: 4px 0 22px; }
.ai-chat-suggestions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ai-chat-suggestion-chip {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 11px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.ai-chat-suggestion-chip:hover { border-color: #3b82f6; background: #f7f9fc; transform: translateY(-1px); }
.ai-chat-msg {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 18px;
    font-size: .86rem;
    line-height: 1.5;
    white-space: pre-wrap;
}
.ai-chat-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 1px 3px rgba(18,40,63,.06); }
.ai-chat-msg-thinking { display: flex; align-items: center; gap: 9px; color: var(--gray-600); font-weight: 600; }
.ai-chat-thinking-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px rgba(59,130,246,.5);
    animation: ai-chat-thinking-pulse 1.1s ease-in-out infinite;
}
@keyframes ai-chat-thinking-pulse {
    0%, 100% { transform: scale(.7); opacity: .5; }
    50% { transform: scale(1); opacity: 1; }
}
.ai-chat-thinking-label { animation: ai-chat-fade-in .25s ease; }
@keyframes ai-chat-fade-in {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-chat-msg-user { align-self: flex-end; background: linear-gradient(135deg, #3b82f6, var(--navy)); color: #fff; border-bottom-right-radius: 5px; }
.ai-chat-inline-link { color: var(--red); font-weight: 700; text-decoration: underline; }
.ai-chat-inline-link:hover { color: var(--red-dark); }

.ai-chat-msg-row { display: flex; align-items: flex-end; gap: 6px; align-self: flex-start; max-width: 100%; }

.ai-chat-whatsapp-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease;
}
.ai-chat-whatsapp-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.ai-chat-whatsapp-btn:hover { background: #1ebc59; color: #fff; }
.ai-chat-whatsapp-btn-welcome { align-self: center; margin-top: 14px; }

/* Dev-only inspector — Ctrl+Alt+V. Hidden entirely unless that shortcut is pressed. */
.ai-chat-debug-btn {
    display: none;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-400, #98a2ae);
    background: #fff;
    color: var(--gray-600, #5b6472);
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(18,40,63,.15);
}
.ai-chat-panel.debug-mode .ai-chat-debug-btn { display: flex; }
.ai-chat-debug-btn:hover { border-color: var(--navy); color: var(--navy); }
.ai-chat-debug-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ai-chat-debug-modal-box {
    background: #fff;
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ai-chat-debug-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    font-size: .9rem;
}
.ai-chat-debug-modal-close {
    border: none;
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-600, #5b6472);
    line-height: 1;
}
.ai-chat-debug-modal pre {
    margin: 0;
    padding: 16px 18px;
    overflow: auto;
    font-size: .78rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}
.ai-chat-panel-input {
    position: relative;
    padding: 14px;
    border-top: 1px solid var(--border);
    background: #fff;
}
.ai-chat-panel-input input {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 2px solid var(--border);
    border-radius: 999px;
    background: #f7f9fc;
    padding: 12px 52px 12px 18px;
    font-size: .86rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s ease, background .15s ease;
}
.ai-chat-panel-input input:focus { outline: none; border-color: #3b82f6; background: #fff; }
.ai-chat-panel-input button {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, var(--navy));
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ai-chat-panel-input button:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 3px 12px rgba(59,130,246,.45); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

.footer-bottom {
    position: relative;
    z-index: 1;
    padding: 20px 0;
    text-align: center;
    font-size: .8rem;
    color: var(--gray-600);
}
.footer-bottom-break { display: none; }

.legal-page h2 { font-size: 1.1rem; margin-top: 30px; margin-bottom: 10px; }
.legal-page h2:first-of-type { margin-top: 0; }

@media (max-width: 960px) {
    .section-head h2,
    .section-head-row > div:first-child h2,
    .about-teaser-copy h2 { font-size: 2.1rem; }
    .products-hero-watermark { font-size: 10rem; }
    .products-hero-content h1 { font-size: 2.4rem; }
    .product-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .capability-grid { grid-template-columns: 1fr; }
    .mega-menu-inner { grid-template-columns: repeat(2, 1fr); }
    .icon-grid { grid-template-columns: 1fr; }
    .oem-feature-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3) { border-left: none; }
    .about-teaser-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .products-layout { display: block; }
    /* Mobile: sidebar becomes a sticky horizontal chip bar pinned right under the header —
       always visible while scrolling, never overlaps the content below it. */
    .products-jumpnav {
        position: sticky;
        top: var(--header-height);
        left: auto;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: #fff;
        margin: 0 -24px;
        padding: 12px 24px;
        box-shadow: 0 4px 12px rgba(18,40,63,.08);
        z-index: 250;
    }
    .products-jumpnav::-webkit-scrollbar { display: none; }
    .products-jumpnav a {
        flex: 0 0 auto;
        padding: 8px 14px;
        border-left: none;
        border-radius: 999px;
        background: #f4f7f9;
    }
    .products-jumpnav a.active { background: var(--red); }
    .products-jumpnav a.active .products-jumpnav-num,
    .products-jumpnav a.active .products-jumpnav-label { color: #fff; }
    .products-jumpnav-num { font-size: .8rem; }
    .products-jumpnav-label { font-size: .8rem; }
    .faq-jump-nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        top: var(--header-height);
        margin: 0 -24px 32px;
        padding: 12px 24px;
        box-shadow: 0 4px 12px rgba(18,40,63,.08);
        z-index: 250;
    }
    .faq-jump-nav::-webkit-scrollbar { display: none; }
    .faq-jump-nav a { flex: 0 0 auto; }
}
@media (max-width: 720px) {
    body { padding-top: 0; }
    .compare-checkbox, .compare-bar { display: none !important; }
    body.nav-open { overflow: hidden; }
    .footer-bottom-break { display: block; }
    .back-to-top { right: 24px; bottom: 84px; }
    .ai-chat-toggle { right: 16px; bottom: 16px; width: 48px; height: 48px; }
    body.nav-open .ai-chat-toggle,
    body.nav-open .ai-chat-panel { display: none; }
    .ai-chat-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
    .ai-chat-panel-input input { font-size: 16px; }
    .ai-chat-toggle.open { display: none; }
    .ai-chat-close-btn {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,.15);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }
    .ai-chat-close-btn:hover { background: rgba(255,255,255,.28); }
    .site-header { position: static; left: 0; right: 0; top: 0; max-width: none; margin: 0; }
    .products-jumpnav { top: 0; } /* header no longer fixed/reserved at this width — stick to the very top instead */
    body.nav-open .products-jumpnav { display: none; } /* sticky pill row otherwise bleeds through under the fullscreen menu overlay */
    .faq-jump-nav { top: 0; }
    body.nav-open .faq-jump-nav { display: none; }
    .site-header .container { flex-wrap: nowrap; min-height: auto; padding: 16px 20px; }
    .brand img { height: 65px; }
    /* Mobile always shows the plain color logo — no white-logo fade over the hero photo. */
    .brand-logo-color { opacity: 1 !important; }
    .brand-logo-white { display: none; }

    /* Groups search + hamburger as one flex item so .container's space-between puts them
       together on the right, instead of the search icon drifting to the middle on its own. */
    .mobile-header-actions { display: flex; align-items: center; gap: 10px; }
    .mobile-search-wrap { position: relative; }
    /* Hamburger + search icon get their own small glass pills, matching the nav pill's light glass */
    .mobile-search-btn {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 1px solid var(--header-glass-border);
        background: var(--header-glass-bg); color: var(--navy);
        backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
        border-radius: 14px; cursor: pointer; flex-shrink: 0;
    }
    .mobile-search-menu {
        position: fixed;
        top: calc(var(--header-height) + 20px);
        left: 50%;
        transform: translateX(-50%);
        width: min(360px, calc(100vw - 32px));
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(18,40,63,.25);
        padding: 16px;
        z-index: 500;
        display: none;
    }
    .mobile-search-menu.open { display: block; }
    .mobile-search-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 32, .45);
        z-index: 499;
    }
    .mobile-search-backdrop.open { display: block; }
    .mobile-search-menu form { display: flex; align-items: center; gap: 8px; }
    .mobile-search-menu input,
    .mobile-search-menu .btn { box-sizing: border-box; height: 42px; margin: 0; line-height: normal; vertical-align: middle; }
    .mobile-search-menu input { flex: 1; min-width: 0; font-size: 16px; }
    .mobile-search-menu .btn { flex-shrink: 0; padding: 0 16px; font-size: .78rem; }
    .mobile-lang-wrap { position: relative; }
    .mobile-lang-btn {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 1px solid var(--header-glass-border);
        background: var(--header-glass-bg); color: var(--navy);
        backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
        border-radius: 14px; cursor: pointer; flex-shrink: 0;
    }
    .mobile-lang-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: max-content;
        min-width: 160px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(18,40,63,.25);
        padding: 8px;
        z-index: 500;
        display: none;
    }
    .mobile-lang-menu.open { display: block; }
    .mobile-lang-menu a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: .88rem;
        font-weight: 500;
        color: var(--ink);
        text-decoration: none;
    }
    .mobile-lang-menu a:hover { background: var(--gray-100); }
    .mobile-lang-menu a.active { color: var(--navy); font-weight: 700; }
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        width: 44px; height: 44px; padding: 0; border: 1px solid var(--header-glass-border);
        background: var(--header-glass-bg);
        backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
        border-radius: 14px; cursor: pointer; flex-shrink: 0;
    }
    .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 1px; transition: transform .25s ease, opacity .2s ease; }
    /* Morphs into an X while the menu is open, so it's obvious the same button closes it. */
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav {
        /* Stays display:flex always, hidden via visibility/opacity instead of display:none —
           iOS Safari fails to promote a position:fixed element to its own layer when JS flips
           display:none -> flex, so it renders as if it were still in normal document flow. */
        display: flex;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        background: #fff;
        overflow-y: auto;
        z-index: 400;
        transition: opacity .2s ease, visibility 0s linear .2s;
    }
    .main-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        flex-shrink: 0;
        border-bottom: 1px solid var(--border);
    }
    .main-nav-head .main-nav-logo { padding: 0; border-bottom: none; display: flex; align-items: center; }
    .main-nav-logo img { height: 80px; width: auto; display: block; }
    .main-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--gray-100);
        border: 1px solid var(--border);
        color: var(--ink);
        cursor: pointer;
        flex-shrink: 0;
    }
    .main-nav-close:hover { background: var(--border); }
    .main-nav.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: opacity .2s ease, visibility 0s linear 0s;
    }
    .main-nav a,
    .has-mega-label {
        color: var(--ink);
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        text-transform: none;
        letter-spacing: normal;
        font-size: .95rem;
    }
    .main-nav a:hover { color: var(--navy); }
    .main-nav a.active::after,
    .has-mega-label.active::after { display: none; }

    /* "Products" row: link navigates, chevron button expands the category list in place */
    .has-mega { display: block; }
    .has-mega-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
    .has-mega-narrow .has-mega-row { cursor: pointer; }
    .has-mega-row a,
    .has-mega-row .has-mega-label { border-bottom: none; flex: 1; }
    .has-mega-chevron { display: none; }
    .mega-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: none; background: none; cursor: pointer; color: var(--ink); flex-shrink: 0;
        transition: transform .2s ease;
    }
    .mega-toggle.rotated { transform: rotate(180deg); }
    .mega-menu {
        position: static;
        left: auto;
        transform: none;
        width: 100%;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 8px;
        display: none;
        visibility: visible;
        opacity: 1;
        max-height: none;
        overflow: visible;
        transition: none;
    }
    .mega-menu.open { display: block; }
    .mega-menu-inner { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; }
    .mega-menu-narrow { width: 100%; padding: 0; }
    .mega-menu-narrow .mega-menu-inner { padding: 0 20px; gap: 0; }
    .mega-menu-narrow .mega-menu-inner a { color: var(--gray-600); border-radius: 0; padding: 10px 0; }
    .mega-menu-narrow .mega-menu-inner a:hover { background: none; color: var(--navy); }
    .mega-col h3 { color: var(--navy); border-bottom-color: var(--border); }
    .mega-col a { color: var(--gray-600); }
    .mega-col a:hover { color: var(--navy); }
    .mega-menu-footer { border-top-color: var(--border); padding: 16px 20px 0; margin-top: 16px; text-align: left; }

    /* Search now lives as its own icon beside the hamburger instead — no need for a row here. */
    .has-search { display: none; }
    .search-toggle {
        width: 100%;
        padding: 16px 20px;
        color: var(--ink);
        border-bottom: 1px solid var(--border);
        justify-content: flex-start;
    }
    .search-toggle-label { display: inline; font-size: .95rem; text-transform: none; letter-spacing: normal; }
    .search-menu {
        position: static;
        width: 100%;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 16px 20px 8px;
        display: none;
        visibility: visible;
        opacity: 1;
        transition: none;
    }
    .search-menu.open { display: block; }
    .search-menu input { background: var(--gray-100); border-color: var(--border); color: var(--ink); }
    .search-menu input::placeholder { color: var(--gray-400); }

    /* Quick-contact row pinned to the bottom of the mobile menu — fills the dead space
       below the links and gives one-tap access without leaving the overlay. */
    .has-lang-mega { display: none; }
    .main-nav-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px;
        flex-shrink: 0;
        border-bottom: 1px solid var(--border);
    }
    .main-nav-actions .main-nav-action {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px 8px 8px;
        border: 1px solid var(--border);
        border-radius: 999px;
        color: var(--ink);
        font-size: .82rem;
        font-weight: 600;
    }
    .main-nav-actions .main-nav-action:active { background: var(--gray-100); }
    .main-nav-action-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        flex-shrink: 0;
    }
    .main-nav-action-call .main-nav-action-icon { background: var(--navy); }
    .main-nav-action-whatsapp .main-nav-action-icon { background: #25d366; }
    .main-nav-action-map .main-nav-action-icon { background: var(--red); }

    .products-body { padding: 24px 0; }
    .products-hero { min-height: 260px; margin-top: 0; padding-top: 0; }
    .products-hero-watermark { font-size: 7rem; right: 16px; }
    .products-hero-content h1 { font-size: 2rem; }
    .products-hero-content p {
        font-size: 1rem; max-width: 100%;
        display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    }
    .products-hero-content p.expanded { -webkit-line-clamp: unset; overflow: visible; }
    .hero { min-height: 420px; margin-top: 0; padding-top: 0; }
    .hero .container { padding-top: 28px; }
    .hero-home { align-items: center; padding-bottom: 0; }
    .hero-scroll-cue { display: none; }
    .hero h1 { font-size: 2.1rem; }
    .hero p {
        font-size: 1rem; max-width: 100%;
        display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    }
    .hero p.expanded { -webkit-line-clamp: unset; overflow: visible; }
    .hero-intro-toggle {
        display: block; margin: -18px 0 24px auto; padding: 0; border: none; background: none;
        color: #fff; font-size: .85rem; font-weight: 700; text-decoration: underline; cursor: pointer;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .section-head h2,
    .section-head-row > div:first-child h2,
    .about-teaser-copy h2 { font-size: 1.7rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .icon-grid { grid-template-columns: 1fr; }
    /* No gap around "x" at this width — dimension strings otherwise wrap mid-number. */
    .dim-x::before, .dim-x::after { content: ""; }
    .category-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .industry-card-content { padding: 14px 14px 16px; }
    .industry-card-content h3 { font-size: .82rem; margin-bottom: 4px; }
    .industry-card-content p {
        font-size: .74rem; margin: 0 0 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .industry-cta { font-size: .66rem; }
    .industry-card .icon-wrap { top: 12px; left: 12px; width: 26px; height: 26px; }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 24px 12px; }
    .footer-grid { grid-template-columns: 1fr; padding: 40px 20px 24px; }
    .shape-wedge-navy, .shape-wedge-steel { width: 40%; }
    .section-group h2 { font-size: 1.2rem; }
    .section-watermark { top: 6px; right: 10px; font-size: 2rem; }
    .section-group {
        margin-bottom: 32px;
        padding: 20px 24px;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #e2e8f0;
    }
}
