/* ==========================================================================
   MACKRON / Reliableminingparts — Website v3
   Design system: "Industrial Steel" — deep steel navy + safety orange
   --------------------------------------------------------------------------
   00 tokens      10 base       20 layout     30 topbar/header
   40 hero        50 sections   60 cards      70 media (gallery/lightbox)
   80 forms       90 footer     95 utilities  99 responsive
   ========================================================================== */

/* ===== 00 · Tokens ====================================================== */
:root {
    /* brand */
    --ink-950:  #07101a;
    --ink-900:  #0b1622;
    --ink-800:  #10202f;
    --ink-700:  #16293c;
    --steel-700:#173252;
    --steel-600:#1e3a5f;
    --steel-500:#2b5285;
    --steel-400:#4a7ab5;
    --steel-200:#c3d5ea;

    --accent-700:#c94a00;
    --accent-600:#e85d04;
    --accent-500:#ff6a13;
    --accent-400:#ff8c42;
    --accent-100:#ffe8d6;

    /* neutrals */
    --paper:    #ffffff;
    --sand-50:  #faf8f5;
    --sand-100: #f4f1ec;
    --sand-200: #ebe6de;
    --line:     #e3e0da;
    --line-dark:rgba(255,255,255,.12);

    --text-900: #101a24;
    --text-700: #33404f;
    --text-600: #55616f;
    --text-400: #8a94a3;

    /* semantic */
    --ok:       #12855f;
    --warn:     #c98200;

    /* geometry — squared-off industrial corners, never fully round */
    --r-xs: 2px;
    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 10px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16,26,36,.06);
    --shadow-sm: 0 2px 8px rgba(16,26,36,.07);
    --shadow-md: 0 10px 24px -8px rgba(16,26,36,.16);
    --shadow-lg: 0 28px 56px -20px rgba(16,26,36,.28);
    --shadow-accent: 0 14px 30px -12px rgba(255,106,19,.5);

    --container: 1280px;
    --header-h: 76px;
    --ease: cubic-bezier(.22,.61,.36,1);
    --t-fast: .18s var(--ease);
    --t: .32s var(--ease);
    --t-slow: .6s var(--ease);

    --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-num: "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
}

/* ===== 10 · Base ======================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    /* Below 1024px the nav drawer parks off-canvas with translateX(100%).
       A transformed fixed element still counts toward the document's
       scrollable overflow, which left every page about twice as wide as a
       phone viewport and let it be swiped sideways to reveal the parked menu.
       clip drops that overflow without turning the root into a scroll
       container, so the sticky header and scroll-behavior are unaffected;
       the hidden declaration above it is the fallback for older browsers. */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-700);
    background: var(--paper);
    /* clip rather than hidden: hidden would make body a scroll container
       (overflow-y computes to auto), which changes what the sticky header
       sticks to. The root element above already clips the overflow. */
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast), background-color var(--t-fast); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 {
    color: var(--text-900);
    line-height: 1.14;
    letter-spacing: -.022em;
    font-weight: 800;
}

:focus-visible {
    outline: 3px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

::selection { background: var(--accent-500); color: #fff; }

/* thin industrial scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--sand-100); }
::-webkit-scrollbar-thumb { background: var(--steel-600); border: 3px solid var(--sand-100); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-500); }

.skip-link {
    position: fixed; left: 12px; top: -100px; z-index: 3000;
    background: var(--accent-500); color: #fff; font-weight: 700;
    padding: 12px 22px; border-radius: var(--r-sm);
    transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* ===== 20 · Layout ====================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 900px; }

.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--sand-50); }
.section-tint { background: var(--sand-100); }

.section-dark {
    background: var(--ink-900);
    color: rgba(255,255,255,.72);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

/* subtle blueprint grid on dark blocks */
.section-dark.with-grid::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
}
.section-dark > .container { position: relative; z-index: 1; }

/* --- section headings (left-aligned accent bar) --- */
.section-head { margin-bottom: 58px; max-width: 780px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.between {
    max-width: none; display: flex; align-items: flex-end;
    justify-content: space-between; gap: 40px; flex-wrap: wrap;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--accent-600);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--accent-500);
    flex-shrink: 0;
}
.section-head.center .eyebrow { justify-content: center; }
.section-dark .eyebrow { color: var(--accent-400); }

.section-title {
    font-size: clamp(30px, 3.6vw, 46px);
    margin-bottom: 18px;
}
.section-title .hl { color: var(--accent-500); }
.section-dark .section-title .hl { color: var(--accent-400); }

.section-desc {
    font-size: 17px; color: var(--text-600); max-width: 70ch;
    line-height: 1.7;
}
.section-dark .section-desc { color: rgba(255,255,255,.66); }

/* ===== 30 · Top bar + header =========================================== */
.topbar {
    background: var(--ink-950);
    color: rgba(255,255,255,.72);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 40px; flex-wrap: nowrap;
}
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; min-width: 0; }
.topbar-group:first-child { flex: 1 1 auto; }
.topbar-right { flex: 0 0 auto; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
/* the address is the first thing to give way when space runs short */
.topbar-group > .hide-sm { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; }
.topbar-group > .hide-sm svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.topbar a:hover { color: var(--accent-400); }
.topbar svg { width: 14px; height: 14px; fill: var(--accent-500); flex-shrink: 0; }
.topbar .sep { width: 1px; height: 14px; background: rgba(255,255,255,.14); }
.topbar-badge {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; font-weight: 600;
}

/* --- header --- */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--t), background-color var(--t);
}
.header.scrolled {
    box-shadow: 0 10px 30px -14px rgba(16,26,36,.3);
    background: rgba(255,255,255,.97);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; height: var(--header-h);
}

/* --- brand lockup: orange bevel mark + name --- */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { display: block; width: 250px; height: 52px; object-fit: contain; object-position: left center; }
.footer .brand-logo { filter: brightness(0) invert(1); opacity: .94; }
.brand-mark {
    width: 42px; height: 42px; flex-shrink: 0;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--steel-600), var(--ink-800));
    border-radius: var(--r-sm);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), var(--shadow-sm);
}
.brand-mark::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
}
.brand-mark svg { width: 24px; height: 24px; fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name {
    font-size: 21px; font-weight: 900; letter-spacing: .02em;
    color: var(--steel-700);
}
.brand-name em { font-style: normal; color: var(--accent-600); }
.brand-sub {
    font-size: 9.5px; font-weight: 700; letter-spacing: .19em;
    text-transform: uppercase; color: var(--text-400);
}
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.45); }

@media (max-width: 1280px) {
  .brand-logo { width: 210px; height: 48px; }
  .header .btn { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 2px; }
  .nav > li > a, .nav-drop-label { padding-left: 10px; padding-right: 10px; }
  .topbar .hide-sm { max-width: 360px; }
}

/* --- nav --- */
.nav { display: flex; align-items: center; gap: 4px; }
.nav, .nav li { list-style: none; }
.nav > li { position: relative; }
.nav > li > a,
.nav-drop-label {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 15px; border-radius: var(--r-sm);
    font-size: 14.5px; font-weight: 600; color: var(--text-700);
    white-space: nowrap;
}
.nav > li > a:hover,
.nav-drop-label:hover { color: var(--accent-600); background: var(--sand-100); }
.nav > li.active > a,
.nav > li.active > .nav-drop-label { color: var(--accent-600); }
.nav > li.active > a::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
    height: 2px; background: var(--accent-500); border-radius: 2px;
}
.caret { width: 16px; height: 16px; fill: currentColor; transition: transform var(--t-fast); }
.nav-drop-label[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* --- mega dropdown --- */
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translate(-50%, 8px);
    width: 560px; padding: 12px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity var(--t), transform var(--t), visibility var(--t);
    z-index: 1200;
}
.dropdown::before {
    content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px;
    width: 14px; height: 14px; background: #fff;
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: rotate(45deg);
}
.nav > li.open > .dropdown,
.nav > li:hover > .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, 0);
}
.dropdown a {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; border-radius: var(--r-md);
    font-size: 14px; font-weight: 600; color: var(--text-700);
}
.dropdown a:hover { background: var(--sand-100); color: var(--accent-600); }
.dropdown a.active { background: var(--accent-100); color: var(--accent-700); }
.dropdown a span { display: block; }
.dropdown a em {
    display: block; font-style: normal; font-weight: 500;
    font-size: 12.5px; color: var(--text-400); margin-top: 2px;
}
.dropdown a:hover em { color: var(--text-600); }
.dd-icon {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--r-sm);
    background: var(--sand-100); display: grid; place-items: center;
}
.dd-icon svg { width: 18px; height: 18px; fill: var(--steel-500); }
.dropdown a:hover .dd-icon { background: var(--accent-100); }
.dropdown a:hover .dd-icon svg { fill: var(--accent-600); }

/* --- header actions --- */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.mobile-toggle {
    display: none; width: 44px; height: 44px;
    border-radius: var(--r-sm); border: 1px solid var(--line);
    place-items: center; gap: 5px; flex-direction: column;
}
.mobile-toggle span {
    display: block; width: 20px; height: 2px; background: var(--text-900);
    border-radius: 2px; transition: transform var(--t-fast), opacity var(--t-fast);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* scroll progress */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--accent-600), var(--accent-400));
    z-index: 2000; transition: width .1s linear;
}

/* ===== 40 · Buttons ===================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border-radius: var(--r-sm);
    font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
    white-space: nowrap; cursor: pointer; position: relative;
    border: 1.5px solid transparent;
    transition: transform var(--t-fast), box-shadow var(--t), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: #fff; box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(255,106,19,.6);
}
.btn-dark { background: var(--steel-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--steel-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--steel-700); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text-700); background: #fff; }
.btn-ghost:hover { border-color: var(--steel-500); color: var(--steel-600); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 15.5px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 14px; color: var(--accent-600);
}
.link-arrow svg { width: 16px; height: 16px; fill: currentColor; transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--accent-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===== 50 · Hero ======================================================== */
.hero {
    position: relative; min-height: min(88vh, 760px);
    display: flex; align-items: center;
    background: var(--ink-900); color: #fff; overflow: hidden;
    isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 7s var(--ease);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(7,16,26,.94) 0%, rgba(7,16,26,.78) 42%, rgba(7,16,26,.34) 100%),
        linear-gradient(to top, rgba(7,16,26,.9), transparent 45%);
}
.hero > .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }

.hero-inner { max-width: 760px; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 15px 7px 8px; margin-bottom: 26px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--r-pill);
    font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
}
.hero-tag b {
    background: var(--accent-500); color: #fff; padding: 3px 10px;
    border-radius: var(--r-pill); font-size: 11.5px; letter-spacing: .04em;
}
.hero-title {
    font-size: clamp(34px, 5.1vw, 62px);
    color: #fff; line-height: 1.06; letter-spacing: -.03em;
    margin-bottom: 22px; text-wrap: balance;
}
.hero-title .hl {
    color: var(--accent-400); position: relative; white-space: nowrap;
}
.hero-title .hl::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .06em;
    height: .12em; background: rgba(255,140,66,.3); border-radius: 3px;
}
.hero-desc {
    font-size: 17px; line-height: 1.72; color: rgba(255,255,255,.76);
    max-width: 62ch; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-facts {
    display: flex; flex-wrap: wrap; gap: 14px 40px;
    margin-top: 46px; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.hero-fact { display: flex; align-items: baseline; gap: 10px; }
.hero-fact b {
    font-size: 27px; font-weight: 900; color: #fff; letter-spacing: -.02em;
    font-family: var(--font-num);
}
.hero-fact span { font-size: 12.5px; color: rgba(255,255,255,.6); max-width: 12ch; line-height: 1.35; }

/* carousel controls */
.hero-arrows {
    position: absolute; right: 40px; bottom: 46px; z-index: 5;
    display: flex; gap: 10px;
}
.banner-arrow {
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-sm);
    background: rgba(255,255,255,.06); backdrop-filter: blur(8px);
    transition: background-color var(--t-fast), border-color var(--t-fast);
}
.banner-arrow svg { width: 22px; height: 22px; fill: #fff; }
.banner-arrow:hover { background: var(--accent-500); border-color: var(--accent-500); }

.hero-dots {
    position: absolute; left: 28px; bottom: 46px; z-index: 5;
    display: flex; gap: 9px; align-items: center;
}
.hero-dots button {
    width: 30px; height: 3px; border-radius: 2px;
    background: rgba(255,255,255,.3); transition: background-color var(--t-fast), width var(--t-fast);
}
.hero-dots button.active { background: var(--accent-500); width: 52px; }

/* scroll cue */
.scroll-cue {
    position: absolute; left: 50%; bottom: 22px; z-index: 5;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.scroll-cue i {
    width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent-500), transparent);
    animation: cue 2s infinite;
}
@keyframes cue {
    0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* --- page banner (interior pages) --- */
.page-banner {
    position: relative; background: var(--ink-900); color: #fff;
    padding: 118px 0 76px; overflow: hidden;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    opacity: .26;
}
.page-banner::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(120deg, rgba(7,16,26,.96), rgba(7,16,26,.7)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 2px, transparent 2px 9px);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
    font-size: clamp(30px, 4vw, 50px); color: #fff;
    letter-spacing: -.03em; margin-bottom: 14px;
}
.page-banner p {
    font-size: 17px; color: rgba(255,255,255,.72); max-width: 74ch;
    line-height: 1.7;
}
.breadcrumb {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; color: rgba(255,255,255,.5);
    margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--accent-400); }
.breadcrumb svg { width: 13px; height: 13px; fill: rgba(255,255,255,.35); }
.breadcrumb .current { color: var(--accent-400); }
/* ===== 52 · Trust marquee ============================================== */
.marquee {
    background: var(--ink-950); border-top: 1px solid rgba(255,255,255,.07);
    overflow: hidden; padding: 20px 0;
}
.marquee-track {
    display: flex; gap: 60px; width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
    display: inline-flex; align-items: center; gap: 11px;
    font-size: 13.5px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap;
}
.marquee-item svg { width: 17px; height: 17px; fill: var(--accent-500); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ===== 60 · Cards ====================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

/* --- feature / value cards --- */
.feature-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 34px 30px 32px;
    position: relative; overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 54px; height: 54px; border-radius: var(--r-md);
    background: linear-gradient(145deg, var(--steel-600), var(--steel-700));
    display: grid; place-items: center; margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.feature-icon svg { width: 27px; height: 27px; fill: #fff; }
.feature-card:hover .feature-icon { background: linear-gradient(145deg, var(--accent-500), var(--accent-600)); }
.feature-title { font-size: 18.5px; margin-bottom: 11px; }
.feature-desc { font-size: 14.8px; color: var(--text-600); line-height: 1.68; }

/* --- numbered process card --- */
.step-card { padding-top: 30px; position: relative; }
.step-num {
    font-family: var(--font-num); font-size: 15px; font-weight: 800;
    color: var(--accent-600); letter-spacing: .06em; display: block; margin-bottom: 12px;
}

/* --- product cards --- */
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media {
    position: relative; aspect-ratio: 16 / 11; overflow: hidden;
    background: var(--sand-200);
}
.product-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow);
}
.product-media img.technical-contain { object-fit: contain; padding: 12px; background: #f3f5f7; }
img.technical-contain { object-fit: contain !important; object-position: center; padding: 10px; background: #f3f5f7; }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,16,26,.55), transparent 55%);
    opacity: 0; transition: opacity var(--t);
}
.product-card:hover .product-media::after { opacity: 1; }
.product-flag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--accent-500); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-xs);
}
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-kicker {
    font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent-600); margin-bottom: 10px;
}
.product-title { font-size: 20px; margin-bottom: 11px; }
.product-desc { font-size: 14.6px; color: var(--text-600); line-height: 1.66; margin-bottom: 20px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag {
    font-size: 11.5px; font-weight: 700; color: var(--steel-600);
    background: var(--sand-100); border: 1px solid var(--line);
    padding: 4px 10px; border-radius: var(--r-xs); white-space: nowrap;
}
.product-card:hover .tag { border-color: var(--steel-200); }

/* --- filter tabs --- */
.filter-bar {
    display: flex; gap: 9px; flex-wrap: wrap; align-items: center;
    margin-bottom: 38px;
}
.filter-btn {
    padding: 10px 19px; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); background: #fff;
    font-size: 13.5px; font-weight: 700; color: var(--text-600);
    transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--steel-400); color: var(--steel-600); }
.filter-btn[aria-pressed="true"] {
    background: var(--steel-600); border-color: var(--steel-600); color: #fff;
}
.filter-count {
    margin-left: auto; font-size: 13px; color: var(--text-400); font-weight: 600;
}
.is-hidden { display: none !important; }

/* --- spec table --- */
.table-wrap {
    overflow-x: auto; border: 1px solid var(--line);
    border-radius: var(--r-lg); background: #fff;
    -webkit-overflow-scrolling: touch;
}
.table-wrap table {
    width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px;
}
.table-wrap table caption {
    text-align: left; padding: 20px 24px 0;
    font-size: 13px; font-weight: 700; color: var(--text-400);
    letter-spacing: .1em; text-transform: uppercase;
}
.table-wrap table thead th {
    background: var(--steel-600); color: #fff;
    font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; text-align: left;
    padding: 15px 20px; white-space: nowrap;
}
.table-wrap table tbody td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap table tbody tr:nth-child(even) { background: var(--sand-50); }
.table-wrap table tbody tr:hover { background: var(--accent-100); }
.table-wrap table td:first-child { font-weight: 700; color: var(--text-900); }
.table-wrap table code {
    font-family: var(--font-num); font-size: 13.5px;
    background: var(--sand-100); padding: 2px 7px; border-radius: var(--r-xs);
    border: 1px solid var(--line);
}

/* --- comparison / grade cards --- */
.grade-card {
    border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
    padding: 28px; position: relative; overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}
.grade-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.grade-card.featured { border-color: var(--accent-500); box-shadow: var(--shadow-accent); }
.grade-card.featured::after {
    content: "Most Popular"; position: absolute; top: 0; right: 0;
    background: var(--accent-500); color: #fff;
    font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; padding: 6px 14px; border-bottom-left-radius: var(--r-md);
}
.grade-name {
    font-family: var(--font-num); font-size: 25px; font-weight: 900;
    color: var(--steel-700); letter-spacing: -.02em; margin-bottom: 4px;
}
.grade-sub { font-size: 13px; color: var(--text-400); font-weight: 600; margin-bottom: 20px; }
.grade-list { display: flex; flex-direction: column; gap: 11px; }
.grade-list li { display: flex; gap: 10px; font-size: 14.4px; color: var(--text-600); align-items: flex-start; }
.grade-list svg { width: 17px; height: 17px; fill: var(--ok); flex-shrink: 0; margin-top: 3px; }

/* --- stats band --- */
.stats-band { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.stat-item { background: var(--ink-900); padding: 46px 30px; text-align: center; }
.stat-value {
    font-family: var(--font-num); font-size: clamp(32px, 4vw, 46px);
    font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1;
    margin-bottom: 12px;
}
.stat-value .suffix { color: var(--accent-500); }
.stat-label {
    font-size: 12.5px; font-weight: 700; letter-spacing: .13em;
    text-transform: uppercase; color: rgba(255,255,255,.52);
}
.stat-note { font-size: 13px; color: rgba(255,255,255,.42); margin-top: 8px; }

/* --- split content (image + text) --- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
    width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3; object-fit: cover;
}
.split-media img.media-portrait {
    height: clamp(500px, 48vw, 680px);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    background: linear-gradient(145deg, #eef2f5, #e4e9ee);
}
.split-media .badge-float {
    position: absolute; bottom: 18px; right: 18px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 18px 22px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
    max-width: calc(100% - 36px);
}
.split-media .badge-float svg { width: 30px; height: 30px; fill: var(--accent-500); flex-shrink: 0; }
.split-media .badge-float b { display: block; font-size: 19px; color: var(--text-900); line-height: 1.1; }
.split-media .badge-float span { font-size: 12px; color: var(--text-400); font-weight: 600; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.2px; color: var(--text-600); }
.check-list svg {
    width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
    fill: var(--accent-500);
    background: var(--accent-100); border-radius: var(--r-xs); padding: 2px;
}

/* --- timeline (QC flow) --- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(to bottom, var(--accent-500), var(--steel-400), transparent);
}
.timeline li { position: relative; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
    content: ""; position: absolute; left: -34px; top: 6px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent-500);
}
.timeline h4 { font-size: 17px; margin-bottom: 8px; }
.timeline p { font-size: 14.8px; color: var(--text-600); }

/* --- accordion / FAQ --- */
.accordion { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 22px; padding: 22px 26px; text-align: left;
    font-size: 16px; font-weight: 700; color: var(--text-900);
    transition: background-color var(--t-fast);
}
.acc-head:hover { background: var(--sand-50); }
.acc-head[aria-expanded="true"] { color: var(--accent-600); }
.acc-icon {
    width: 26px; height: 26px; flex-shrink: 0; position: relative;
    border: 1.5px solid var(--line); border-radius: 50%;
    transition: border-color var(--t-fast), background-color var(--t-fast);
}
.acc-icon::before, .acc-icon::after {
    content: ""; position: absolute; background: var(--text-600);
    transition: transform var(--t), background-color var(--t-fast);
}
.acc-icon::before { top: 50%; left: 6px; right: 6px; height: 1.5px; margin-top: -.75px; }
.acc-icon::after { left: 50%; top: 6px; bottom: 6px; width: 1.5px; margin-left: -.75px; }
.acc-head[aria-expanded="true"] .acc-icon { border-color: var(--accent-500); background: var(--accent-500); }
.acc-head[aria-expanded="true"] .acc-icon::before,
.acc-head[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-head[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }
.acc-panel { overflow: hidden; height: 0; transition: height var(--t); }
.acc-panel-inner { padding: 0 26px 26px; font-size: 15px; color: var(--text-600); line-height: 1.72; }
.acc-panel-inner p + p { margin-top: 12px; }
.acc-panel-inner ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.acc-panel-inner li { padding-left: 20px; position: relative; }
.acc-panel-inner li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 6px; height: 6px; background: var(--accent-500); border-radius: 1px;
}

/* --- CTA band --- */
.cta-band {
    position: relative; overflow: hidden;
    background: linear-gradient(125deg, var(--steel-700), var(--ink-900) 62%);
    color: #fff; padding: 82px 0;
}
.cta-band::before {
    content: ""; position: absolute; right: -90px; top: -60px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,106,19,.24), transparent 68%);
}
.cta-band::after {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 10px);
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-copy { max-width: 640px; }
.cta-title { font-size: clamp(26px, 3.3vw, 40px); color: #fff; margin-bottom: 14px; letter-spacing: -.028em; }
.cta-desc { font-size: 16.5px; color: rgba(255,255,255,.72); line-height: 1.68; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- logo strip / certifications --- */
.cert-strip {
    display: flex; flex-wrap: wrap; gap: 18px;
    padding: 26px 0;
}
.cert-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-md); flex: 1 1 210px;
    transition: border-color var(--t-fast), transform var(--t-fast);
}
.cert-item:hover { border-color: var(--accent-500); transform: translateY(-3px); }
.cert-item svg { width: 22px; height: 22px; fill: var(--accent-600); flex-shrink: 0; }
.cert-item b { display: block; font-size: 14.5px; color: var(--text-900); line-height: 1.25; }
.cert-item span { font-size: 12.5px; color: var(--text-400); }

/* --- info blocks (contact page) --- */
.info-card {
    display: flex; gap: 16px; padding: 24px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    transition: border-color var(--t-fast), box-shadow var(--t);
}
.info-card:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.info-icon {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-md);
    background: var(--accent-100); display: grid; place-items: center;
}
.info-icon svg { width: 22px; height: 22px; fill: var(--accent-600); }
.info-card h4 { font-size: 15px; margin-bottom: 5px; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--text-600); line-height: 1.6; }
.info-card a:hover { color: var(--accent-600); }
/* ===== 70 · Media: gallery + lightbox ================================== */
.gallery-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--r-md);
    background: var(--sand-200); aspect-ratio: 4 / 3; cursor: zoom-in;
    border: 1px solid transparent;
    transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.gallery-item:hover { border-color: var(--accent-500); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,16,26,.6), transparent 60%);
    opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    width: 36px; height: 36px; border-radius: var(--r-sm);
    background: var(--accent-500); display: grid; place-items: center;
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--t), transform var(--t);
}
.gallery-item:hover .zoom { opacity: 1; transform: translateY(0); }
.gallery-item .zoom svg { width: 18px; height: 18px; fill: #fff; }
.gallery-item figcaption {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    color: #fff; font-size: 12.5px; font-weight: 700;
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--t), transform var(--t);
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* masonry-ish feature tile.
   A fixed four-column track is deliberate: one 2x2 tile plus four 1x1 tiles
   occupy 4 + 4 = 8 cells, exactly two full rows here. So a feature on every
   fifth item keeps the whole grid flush at any item count that is a multiple
   of five — which is what the gallery batches are set to. An auto-fill track
   would change the column count with the viewport and leave holes. */
.gallery-grid.mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.gallery-grid.mosaic .gallery-item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 900px) {
    .gallery-grid.mosaic { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .gallery-grid.mosaic .gallery-item:nth-child(5n + 1) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}

.gallery-more { display: flex; justify-content: center; margin-top: 38px; }

/* --- lightbox --- */
.lightbox {
    position: fixed; inset: 0; z-index: 2500;
    background: rgba(5,11,18,.94);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 74px 90px 74px 90px;
    opacity: 0; visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure img {
    max-width: 100%; max-height: calc(100vh - 190px);
    object-fit: contain; border-radius: var(--r-md);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
    transform: scale(.96); transition: transform var(--t);
}
.lightbox.open .lightbox-figure img { transform: scale(1); }
.lightbox-caption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
.lightbox-counter {
    color: var(--accent-400); font-size: 12.5px; font-weight: 700;
    letter-spacing: .16em; font-family: var(--font-num);
}
.lightbox-close {
    position: absolute; top: 18px; right: 20px;
    width: 48px; height: 48px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-sm);
    background: rgba(255,255,255,.06);
}
.lightbox-close:hover { background: var(--accent-500); border-color: var(--accent-500); }
.lightbox-close svg, .lightbox-nav svg { width: 22px; height: 22px; fill: #fff; }
.lightbox-nav {
    position: absolute; top: 50%; margin-top: -26px;
    width: 52px; height: 52px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-sm);
    background: rgba(255,255,255,.06);
}
.lightbox-nav:hover { background: var(--accent-500); border-color: var(--accent-500); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* --- inline "product spotlight" media row --- */
.media-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.media-tile {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 16 / 10; background: var(--sand-200);
}
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.media-tile:hover img { transform: scale(1.05); }
.media-tile figcaption {
    position: absolute; inset: auto 0 0 0; padding: 22px 24px;
    background: linear-gradient(to top, rgba(7,16,26,.88), transparent);
    color: #fff; font-size: 15.5px; font-weight: 700;
}
.media-tile figcaption span {
    display: block; font-size: 12.5px; font-weight: 500;
    color: rgba(255,255,255,.68); margin-top: 3px;
}

/* ===== 80 · Forms ====================================================== */
.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 36px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text-900); }
.field label .req { color: var(--accent-600); }
.field .hint { font-size: 12.5px; color: var(--text-400); font-weight: 500; }
.field input, .field select, .field textarea {
    font-family: inherit; font-size: 15px; color: var(--text-900);
    background: var(--sand-50); border: 1.5px solid var(--line);
    border-radius: var(--r-sm); padding: 13px 15px; width: 100%;
    transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2355616f' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
    padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background: #fff;
    border-color: var(--accent-500);
    box-shadow: 0 0 0 4px rgba(255,106,19,.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-400); }
.field.invalid input, .field.invalid select, .field.invalid textarea {
    border-color: #d92d20; background: #fff6f5;
}
.field-error {
    font-size: 12.5px; font-weight: 600; color: #d92d20;
    display: none; align-items: center; gap: 6px;
}
.field.invalid .field-error { display: flex; }

.checkbox-row { display: flex; align-items: flex-start; gap: 11px; font-size: 13.8px; color: var(--text-600); }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--accent-500); margin-top: 2px; flex-shrink: 0; }

.form-note { font-size: 13px; color: var(--text-400); margin-top: 16px; line-height: 1.6; }
.form-status {
    display: none; align-items: flex-start; gap: 12px;
    padding: 16px 18px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 600;
    margin-bottom: 22px;
}
.form-status.show { display: flex; }
.form-status.ok { background: #e9f7f1; color: #0c6b4b; border: 1px solid #b7e2cf; }
.form-status.err { background: #fdeceb; color: #9b1c14; border: 1px solid #f5c2bd; }
.form-status svg { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; margin-top: 1px; }

/* ===== 90 · Footer ===================================================== */
.footer {
    background: var(--ink-950); color: rgba(255,255,255,.62);
    padding: 76px 0 0; font-size: 14.5px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 48px; padding-bottom: 52px;
}
.footer h4 {
    color: #fff; font-size: 13px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-brand p { margin-top: 20px; line-height: 1.72; max-width: 36ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-col a { color: rgba(255,255,255,.66); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent-400); transform: translateX(3px); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact p { display: flex; gap: 11px; align-items: flex-start; line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--accent-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--accent-400); }

.footer-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 26px; flex-wrap: wrap;
    padding: 26px 0; margin-bottom: 40px;
    border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.footer-cta p { font-size: 17px; color: #fff; font-weight: 700; }

.footer-bottom { border-top: 1px solid var(--line-dark); padding: 28px 0 34px; }
.footer-legal {
    font-size: 12.2px; line-height: 1.68; color: rgba(255,255,255,.38);
    max-width: 100ch; margin-bottom: 20px;
}
.footer-legal strong { color: rgba(255,255,255,.58); }
.footer-meta {
    display: flex; justify-content: space-between; gap: 20px;
    flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-meta a:hover { color: var(--accent-400); }

/* ===== 95 · Utilities ================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }
.mt-4 { margin-top: 52px; }
.mb-3 { margin-bottom: 34px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* back to top */
.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 900;
    width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--steel-600); color: #fff;
    border-radius: var(--r-sm); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity var(--t), visibility var(--t), transform var(--t), background-color var(--t-fast);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-500); }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-slide { transition: opacity .2s linear; transform: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* print */
@media print {
    .header, .topbar, .to-top, .scroll-progress, .hero-arrows, .hero-dots, .footer-cta { display: none !important; }
    body { color: #000; }
    .section { padding: 24px 0; }
}

/* ===== 99 · Responsive ================================================= */
@media (max-width: 1140px) {
    .dropdown { width: 500px; }
    .split { gap: 44px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; padding: 18px 24px 40px;
        overflow-y: auto; transform: translateX(100%);
        transition: transform var(--t); z-index: 1100;
        border-top: 1px solid var(--line);
    }
    .nav.open { transform: none; }
    .nav > li > a, .nav-drop-label {
        width: 100%; justify-content: space-between;
        padding: 16px 6px; font-size: 16px;
        border-bottom: 1px solid var(--line); border-radius: 0;
    }
    .nav > li.active > a::after { display: none; }
    .dropdown {
        position: static; transform: none; width: 100%; opacity: 1;
        visibility: visible; pointer-events: auto;
        border: 0; box-shadow: none; padding: 4px 0 14px;
        grid-template-columns: 1fr; display: none;
    }
    .dropdown::before { display: none; }
    .nav > li.open > .dropdown, .nav > li:hover > .dropdown { display: grid; }
    .dropdown a { padding: 12px 10px; }
    .nav .nav-cta { margin-top: 22px; }
    .mobile-toggle { display: grid; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 38px; }
    .split.reverse .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 820px) {
    .section { padding: 76px 0; }
    .container { padding: 0 20px; }
    .topbar .container { justify-content: center; }
    .topbar-right { display: none; }
    .hero { min-height: auto; }
    .hero > .container { padding-top: 70px; padding-bottom: 96px; }
    .hero-title { font-size: clamp(29px, 8vw, 40px); }
    .hero-desc { font-size: 15.6px; }
    .hero-facts { gap: 16px 28px; margin-top: 34px; padding-top: 24px; }
    .hero-arrows { right: 20px; bottom: 24px; }
    .hero-dots { left: 20px; bottom: 30px; }
    .scroll-cue { display: none; }
    .filter-count { margin-left: 0; flex-basis: 100%; }
    .lightbox { padding: 32px 16px; }
    .lightbox-nav { top: auto; bottom: 18px; margin-top: 0; }
    .lightbox-nav.prev { left: calc(50% - 62px); }
    .lightbox-nav.next { right: calc(50% - 62px); }
    .lightbox-close { top: 12px; right: 12px; }
    .media-row { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 560px) {
    .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .section { padding: 62px 0; }
    .section-head { margin-bottom: 40px; }
    .form-card { padding: 24px 20px; }
    .feature-card { padding: 26px 22px; }
    .product-body { padding: 22px 20px 24px; }
    .btn { padding: 13px 20px; }
    .btn-lg { padding: 15px 24px; font-size: 15px; }
    .cta-band { padding: 60px 0; }
    .page-banner { padding: 90px 0 56px; }
    .brand-sub { display: none; }
    .split-media .badge-float { position: static; margin-top: 16px; }
    .split-media img.media-portrait { height: min(680px, 118vw); }
    .hero-btns .btn { width: 100%; }
}

/* ===== 96 · Additional components used by the v3 pages ================= */

/* part tiles (compact product cards on the crusher pages) */
.part-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.part-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.part-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.part-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.part-tile:hover .part-media img { transform: scale(1.06); }
.part-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.part-title { font-size: 17.5px; margin-bottom: 9px; }
.part-desc { font-size: 14.4px; color: var(--text-600); line-height: 1.64; }
.part-specs {
    margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line);
    display: flex; flex-direction: column; gap: 7px;
}
.part-specs li {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: 12.8px; line-height: 1.4;
}
.part-specs li span { color: var(--text-400); font-weight: 600; }
.part-specs li b { color: var(--steel-600); font-weight: 700; text-align: right; }

/* header quote button: only on wide viewports */
.header-cta { display: none; }
@media (min-width: 1220px) { .header-cta { display: inline-flex; } }

/* small-viewport helpers */
@media (max-width: 900px) { .hide-sm { display: none !important; } }

/* load-more button hides itself once everything is revealed */
.gallery-more.is-done { display: none; }

/* inline CTA row used inside feature cards */
.chapter-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { .chapter-cta { margin-top: 22px; } }

/* the split content column needs no extra rules, but keep the name stable
   for readability of the generated markup */
.split-content { min-width: 0; }
.split-media { min-width: 0; }

/* Product audit: show the complete component without crop or hover enlargement. */
.part-media img, .product-media img, .gallery-item img {
    object-fit: contain;
    object-position: center;
    background: #f3f5f7;
    padding: 10px;
    image-orientation: from-image;
}
.part-tile:hover .part-media img, .product-card:hover .product-media img,
.gallery-item:hover img { transform: none; }
.split-media > img { object-fit: contain; background: #f3f5f7; }
.photo-request { display: grid; place-items: center; height: 100%; padding: 28px; color: #52647a; text-align: center; }

/* Impact-bed feature: separate image, caption and enquiry information. */
.impact-section .section-head { max-width: 820px; margin-bottom: 32px; }
.impact-section .media-row { gap: 24px; margin-top: 0; }
.impact-section .media-tile { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.impact-section .media-tile img { display: block; height: clamp(220px, 23vw, 320px); object-fit: contain; padding: 18px; background: #f3f5f7; }
.impact-section .media-tile:hover img { transform: none; }
.impact-section .media-tile figcaption { position: static; padding: 18px 22px; background: #fff; color: var(--text-900); font-size: 16px; }
.impact-section .media-tile figcaption span { color: var(--text-600); font-size: 14px; line-height: 1.5; margin-top: 6px; }
.impact-enquiry { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.impact-enquiry-head h3 { font-size: 23px; margin-bottom: 8px; }
.impact-enquiry-head p { color: var(--text-600); font-size: 15px; line-height: 1.6; }
.impact-enquiry .table-wrap { margin-top: 22px; border-radius: 8px; }
table.impact-spec { min-width: 0; table-layout: fixed; }
table.impact-spec th:first-child { width: 48%; }
table.impact-spec tbody td { padding: 17px 20px; line-height: 1.6; }
.impact-enquiry > .btn { margin-top: 22px; }
@media (max-width: 600px) {
    .impact-enquiry { padding: 20px 16px; }
    .impact-section .media-tile img { height: 240px; }
    table.impact-spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    table.impact-spec, table.impact-spec tbody, table.impact-spec tr, table.impact-spec td { display: block; width: 100%; }
    table.impact-spec tbody tr { padding: 16px; border-top: 1px solid var(--line); }
    table.impact-spec tbody tr:first-child { border-top: 0; }
    table.impact-spec tbody td { padding: 0; border: 0; }
    table.impact-spec tbody td + td { margin-top: 7px; color: var(--text-600); }
    table.impact-spec tbody td + td::before { content: 'Used to check: '; font-weight: 600; }
    .impact-enquiry > .btn { width: 100%; }
}
