/* ===========================================================
   Taqa Almetawaziya - Public Site Styles

   Layout system: an editorial "rail". Every section is a two-column
   grid - a sticky left rail carrying a section number and heading,
   and a right column carrying the content. Nothing is centre-stacked.

   Colour: pulled from the company's actual live site (taqa-almetawaziya.com)
   rather than invented - a deep navy (their header is #212A3B), the true
   logo orange sampled from their real artwork (#E28401), and their own
   amber CTA colour (#FAB32C) as a brighter highlight. The first pass at
   this redesign kept every section the same near-black shade end to end,
   which read as flat/"boring" - the real site alternates white content
   sections against the dark navy, so `.section-light` (below) rescopes
   the same component variables to a light register and most sections now
   alternate dark/light for actual visual rhythm instead of one flat tone.
   =========================================================== */

:root {
    /* --- Neutral ramp -------------------------------------------------
       Navy-tinted, not pure black - echoes the brand's real header colour
       (#212A3B, --ink-800 below is that exact value). admin.css reads the
       same ramp but inverts how it uses it, so these values must stay
       ordered. */
    --ink-950: #0f1420;
    --ink-900: #171e2d;
    --ink-800: #212a3b;
    --ink-700: #3d4557;
    --ink-500: #8890a0;
    --ink-200: #dde1e8;
    --ink-100: #f4f5f7;
    --white: #ffffff;

    /* --- Brand accent -------------------------------------------------
       --volt-500 is the true brand orange (sampled from the logo's own
       pixels) - used for fills: buttons, active states, rule bars, glow.
       --volt-bright is the company's own amber CTA colour - brighter, and
       used for accent TEXT/icons via --accent-text so small text keeps
       enough contrast (the raw brand orange is only ~2.9:1 on white,
       under WCAG AA). --accent-text is redefined inside .section-light to
       a darkened orange (5.2:1 on white) for the same reason. */
    --volt-500: #e28401;
    --volt-600: #b86a00;
    --volt-bright: #fab32c;
    --volt-soft: rgba(226, 132, 1, 0.12);
    --volt-glow: 0 0 28px rgba(250, 179, 44, 0.4);
    --accent-text: var(--volt-bright);

    /* --- Surfaces (dark, default) ---------------------------------------
       True navy (matches the brand's real #212A3B), not near-black. Also
       now only used sparingly - header/hero/footer/marquee plus one bold
       accent section per page - everything else is .section-light, since
       an earlier all-dark pass read as too heavy. */
    --bg: #131a28;
    --surface: #171f30;
    --surface-2: #1d2537;
    --surface-3: #242e42;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.2);
    /* Dedicated to full-bleed section wrappers only (.section-alt) - kept
       separate from --surface (opaque, used by cards/forms/tables/badges)
       as its own token so a section can be tinted independently of the
       components sitting inside it. .section-light overrides this to
       opaque white, which is what makes .section-alt.section-light
       (contact.php's map section) still work correctly. */
    --section-fill: rgba(23, 31, 48, 0.72);

    --text: #eceef0;
    --text-muted: #9aa1a8;
    --text-dim: #6e757c;

    /* --- Light-section equivalents --------------------------------------
       Consumed only inside .section-light, which redefines the tokens
       above (the same scoping trick admin.css uses to re-theme shared
       components for the light admin panel). */
    --surface-light: #ffffff;
    --surface-2-light: #f3f4f6;
    --surface-3-light: #e9ebef;
    --line-light: rgba(15, 23, 42, 0.09);
    --line-strong-light: rgba(15, 23, 42, 0.18);
    --text-onlight: #12151c;
    --text-muted-onlight: #4a5164;
    --text-dim-onlight: #6b7280;
    --accent-onlight: #a35c00;

    --danger: #ef4444;
    --success: #22c55e;

    /* Small radii only - the logo is built from hard angles. */
    --radius: 4px;
    --radius-lg: 8px;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);

    --step-0: 1rem;
    --step-1: 1.15rem;
    --step-2: 1.45rem;
    --step-3: 1.9rem;
    --step-4: 2.5rem;
    --step-5: clamp(2.4rem, 4.6vw, 3.9rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Mono face for the numerals that run through the whole layout -
       section numbers, stats, spec keys. */
    --mono: 'SF Mono', 'Cascadia Mono', Consolas, 'Roboto Mono', monospace;
}


/* Rescopes the shared surface/text/accent tokens to a light register so
   the same components (cards, badges, filter tabs, rail numbers...) work
   unchanged on a white section - only the variables they read change. */
.section-light {
    --surface: var(--surface-light);
    --surface-2: var(--surface-2-light);
    --surface-3: var(--surface-3-light);
    --section-fill: var(--surface-light);
    --line: var(--line-light);
    --line-strong: var(--line-strong-light);
    --text: var(--text-onlight);
    --text-muted: var(--text-muted-onlight);
    --text-dim: var(--text-dim-onlight);
    --accent-text: var(--accent-onlight);
    /* Redeclaring color (not just the --text variable) matters: color is
       inherited, and body { color: var(--text) } resolves to the dark
       near-white value AT THE BODY ELEMENT, then inherits that already-
       resolved value straight down. Any plain element in here with no
       explicit color rule of its own (a bare <p>, for instance - headings
       and named components already set color: var(--text) directly and
       were fine) would inherit body's dark text colour verbatim instead of
       picking up --text-onlight, rendering near-invisible on this light
       background. Setting color here forces a fresh inheritance root. */
    color: var(--text);
    position: relative;
    /* Plain full-bleed fill, not inset by a computed viewport-width
       margin (that was this site's earlier approach - a --gutter custom
       property built from 100vw, meant to let the dark page background
       peek through a margin strip outside the container). It looked
       fine at a normal 100% zoom, but 100vw-based math tracks browser
       zoom as if it were a wider viewport, so zooming out made the
       "empty margin" grow and the reveal strip read as broken rather
       than intentional. mohammed-khidr-web (the site this was cloned
       from) has no equivalent mechanism at all - .section-alt there is
       just a flat background-color - and is zoom-stable specifically
       because nothing in it depends on 100vw. Matching that here. */
    background-color: var(--surface-light);
    background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, Arial, sans-serif;
    font-size: var(--step-0);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
    /* Follows the section's own scoped --text, not a hardcoded white, so
       headings stay readable inside .section-light too. */
    color: var(--text);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--volt-500);
    outline-offset: 3px;
    border-radius: 2px;
}

.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;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Splash screen ---------- */
html.splash-active { overflow: hidden; }

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-950);
    overflow: hidden;
    transition: opacity 0.6s ease;
}

.splash-screen.splash-hide {
    opacity: 0;
    pointer-events: none;
}

.splash-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(250, 179, 44, 0.7) 0%, rgba(250, 179, 44, 0) 55%);
    animation: splash-burst 0.7s ease-out forwards;
}

@keyframes splash-burst {
    0% { opacity: 1; transform: scale(0.15); }
    100% { opacity: 0; transform: scale(2.2); }
}

.splash-arcs { position: absolute; inset: 0; }

.splash-arc {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 0;
    background: linear-gradient(var(--volt-500), transparent);
    transform-origin: top center;
    opacity: 0;
    animation: splash-arc-flash 0.7s ease-out forwards;
}

.splash-arc-1 { transform: rotate(18deg); animation-delay: 0.05s; }
.splash-arc-2 { transform: rotate(95deg); animation-delay: 0.14s; }
.splash-arc-3 { transform: rotate(160deg); animation-delay: 0.02s; }
.splash-arc-4 { transform: rotate(210deg); animation-delay: 0.18s; }
.splash-arc-5 { transform: rotate(270deg); animation-delay: 0.09s; }
.splash-arc-6 { transform: rotate(330deg); animation-delay: 0.22s; }

@keyframes splash-arc-flash {
    0% { opacity: 0; height: 0; }
    35% { opacity: 0.9; height: 130px; }
    100% { opacity: 0; height: 160px; }
}

.splash-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-bolt {
    width: 58px;
    height: 92px;
    fill: var(--volt-500);
    filter: drop-shadow(0 0 18px rgba(250, 179, 44, 0.75));
    animation: splash-bolt-flicker 1.5s ease-in-out 0.1s 1;
}

@keyframes splash-bolt-flicker {
    0% { opacity: 0; }
    8% { opacity: 1; }
    16% { opacity: 0.3; }
    24% { opacity: 1; }
    30% { opacity: 0.25; }
    38% { opacity: 1; }
    100% { opacity: 1; }
}

.splash-brand {
    margin-top: 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: splash-brand-in 0.5s ease 0.9s forwards;
}

@keyframes splash-brand-in { to { opacity: 1; } }

/* ---------- Utility top bar ----------
   A thin contact strip above the masthead. The parent company's site
   opens straight into its header; leading with phone and email is the
   first structural difference a visitor meets. */
.topbar {
    position: relative;
    z-index: 1;
    background: var(--ink-950);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 40px;
}

.topbar-group {
    display: flex;
    align-items: center;
    gap: 26px;
    min-width: 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 0.2s;
}

.topbar-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--volt-500);
}

a.topbar-item:hover { color: var(--text); }

.topbar-tag {
    color: var(--text-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.68rem;
}

/* ---------- Masthead ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(19, 26, 40, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 84px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-inline-end: auto;
}

/* The logo artwork carries its own black field, so it sits directly on
   the dark masthead rather than inside a light badge. */
.logo-badge {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease);
}

.logo:hover .logo-badge { box-shadow: var(--volt-glow); }

.logo-badge img { height: 52px; width: auto; }
.logo-badge-sm img { height: 36px; }

.logo-wordmark { display: none; }

@media (min-width: 1120px) {
    .logo-wordmark {
        display: block;
        border-inline-start: 1px solid var(--line-strong);
        padding-inline-start: 14px;
        line-height: 1.25;
    }

    .logo-wordmark strong {
        display: block;
        color: var(--white);
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .logo-wordmark span {
        display: block;
        color: var(--text-dim);
        font-size: 0.68rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Numbered nav items - the same numeral device used by the section
   rails, so the header and the page body read as one system. */
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    color: var(--text-muted);
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.main-nav a .nav-num {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    inset-inline: 14px;
    bottom: 0;
    height: 2px;
    background: var(--volt-500);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
}

.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--white); }
.main-nav a.active .nav-num { color: var(--volt-500); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--line-strong);
    margin: 0 10px;
}

.lang-switch {
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 7px 15px !important;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-switch::after { display: none !important; }

.lang-switch:hover {
    color: var(--volt-500) !important;
    border-color: var(--volt-500);
    background: var(--volt-soft);
}

.nav-cta {
    margin-inline-start: 12px;
    /* .main-nav a { color: var(--text-muted) } has higher specificity
       (element+class) than .btn-primary's single class, so without this
       override the button rendered muted grey-on-orange at ~1:1 contrast -
       same fix pattern as .lang-switch below, which hits the same
       .main-nav a conflict. */
    color: #17120c !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--white);
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s,
                transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--volt-500); color: #17120c; }
.btn-primary:hover { background: var(--volt-600); box-shadow: var(--volt-glow); }

.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent-text);
    color: var(--accent-text);
    background: var(--volt-soft);
}

.btn-secondary {
    background: var(--surface-3);
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-secondary:hover { background: var(--surface-2); border-color: var(--volt-500); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; }

.btn-sm { padding: 9px 18px; font-size: 0.75rem; }

.hero-electric {
    position: relative;
    background: rgba(15, 20, 32, 0.55);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

/* Large, faint brand mark filling the empty space beside the hero copy -
   z-index:0, explicit (not auto/DOM-order) so .hero-copy/.hero-stats
   (both z-index:2) are guaranteed above it regardless of source order.
   inset-inline-end (not right) so it sits on the correct side in RTL. */
.hero-logo-mark {
    position: absolute;
    inset-inline-end: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 640px;
    max-width: 60%;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}

/* No boxed visual panel - hero-copy takes the full width, capped so
   lines of text stay a comfortable length. */
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: 110px 0 96px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--volt-500);
    margin-bottom: 26px;
}

.hero-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.hero-electric h1 {
    font-size: var(--step-5);
    margin: 0 0 22px;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.hero-electric h1 em {
    font-style: normal;
    color: var(--volt-500);
}

.hero-lede {
    font-size: var(--step-1);
    color: var(--text-muted);
    max-width: 52ch;
    margin: 0 0 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.bolt-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--volt-500);
    filter: drop-shadow(0 0 14px rgba(250, 179, 44, 0.6));
    animation: bolt-flicker 4s ease-in-out infinite;
}

@keyframes bolt-flicker {
    0%, 18%, 22%, 62%, 66%, 100% { opacity: 1; }
    20% { opacity: 0.35; }
    64% { opacity: 0.5; }
}

/* ---------- Hero stat bar ----------
   Fused to the bottom of the hero instead of floating as its own
   centred section further down the page. */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(15, 20, 32, 0.6);
    position: relative;
    z-index: 2;
}

.hero-stat {
    padding: 26px 32px;
    border-inline-end: 1px solid var(--line);
}

.hero-stat:last-child { border-inline-end: none; }

.hero-stat-value {
    font-family: var(--mono);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero-stat-value span { color: var(--volt-500); }

.hero-stat-label {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Inner-page header ----------
   Left-aligned, with the section numeral device. Replaces the centred
   banner the parent site uses on every inner page. */
.hero {
    position: relative;
    background: rgba(15, 20, 32, 0.6);
    border-bottom: 1px solid var(--line);
    padding: 74px 0 62px;
    overflow: hidden;
}

.hero > .container { position: relative; z-index: 1; }

.hero h1 {
    font-size: var(--step-4);
    text-transform: uppercase;
    margin: 0 0 14px;
    max-width: 20ch;
}

/* Scoped to .hero rather than a strict .container > p parent-child match,
   so the title/subtitle can be wrapped in a .hero-text div (needed to
   sit them next to a cable image via .hero-row) without losing this. */
.hero p {
    font-size: var(--step-1);
    color: var(--text-muted);
    max-width: 62ch;
    margin: 0;
}

/* Real cable product photo placed beside the title/subtitle, in the
   page's actual visible content column rather than hidden at an edge. */
.hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text { min-width: 0; }

.page-hero-cable-img {
    flex: 0 0 auto;
    width: min(30vw, 360px);
    filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

@media (max-width: 900px) {
    .page-hero-cable-img { display: none; }
}

/* A faint diagonal hatch keeps inner page headers from reading as a
   plain black band. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.022) 0 1px,
        transparent 1px 11px);
    pointer-events: none;
}

/* ---------- Product marquee ---------- */
.product-marquee {
    background: rgba(23, 31, 48, 0.6);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.product-marquee-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: marquee-scroll 38s linear infinite;
    will-change: transform;
}

.product-marquee:hover .product-marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: color 0.25s;
}

.marquee-item:hover { color: var(--text); }

.marquee-icon {
    width: 24px;
    height: 24px;
    color: var(--volt-500);
    flex-shrink: 0;
}

.marquee-icon svg { width: 100%; height: 100%; }

/* ---------- Section + rail ----------
   The core layout primitive. `.rail` splits a section into a sticky
   heading column and a content column. */
.section { padding: 108px 0; position: relative; }

.section-alt {
    /* var(--section-fill), not a literal - .section-light overrides that
       token to opaque white, which is what makes the
       .section-alt.section-light combo (contact.php's map section) still
       resolve to a normal light section instead of this dark translucent
       fill. Standalone .section-alt (Why Us, Brands) gets the translucent
       navy so the background canvas reads through - denser than the hero
       since these blocks carry more text/logos and want a calmer backdrop. */
    background: var(--section-fill);
    border-block: 1px solid var(--line);
}

.rail {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.rail-head {
    position: sticky;
    top: 116px;
    align-self: start;
}

.rail-num {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--accent-text);
    margin-bottom: 16px;
}

/* Left-aligned headings with a leading rule, replacing the centred
   title + centred underline the parent site repeats on every block. */
.section-title {
    font-size: var(--step-3);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    text-align: start;
}

.section-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 0 0 20px;
    background: var(--volt-500);
}

.section-subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 1rem;
    max-width: 46ch;
    text-align: start;
}

.rail-actions { margin-top: 28px; }

.empty-state {
    color: var(--text-dim);
    padding: 44px 0;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    text-align: center;
}

/* ---------- Category rows ----------
   A numbered index list rather than a grid of identical cards. */
.cat-list {
    border-top: 1px solid var(--line);
}

.cat-row {
    display: grid;
    grid-template-columns: 62px 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.3s var(--ease), padding-inline-start 0.3s var(--ease);
}

.cat-row::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block: 0;
    width: 2px;
    background: var(--volt-500);
    transform: scaleY(0);
    transition: transform 0.3s var(--ease);
}

.cat-row:hover {
    background: var(--surface-2);
    padding-inline-start: 28px;
}

.cat-row:hover::before { transform: scaleY(1); }

.cat-row-num {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
}

.cat-row:hover .cat-row-num { color: var(--accent-text); }

.cat-row-media {
    width: 92px;
    height: 66px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
}

.cat-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-row-media.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-3);
    color: var(--accent-text);
    font-size: 1.4rem;
}

.cat-row-name {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.cat-row:hover .cat-row-name { color: var(--accent-text); }

.cat-row-desc {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.cat-row-arrow {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: transform 0.3s var(--ease), color 0.3s;
}

.cat-row:hover .cat-row-arrow {
    color: var(--accent-text);
    transform: translateX(6px);
}

html[dir="rtl"] .cat-row:hover .cat-row-arrow { transform: translateX(-6px); }

/* ---------- Capability list (why us / values) ----------
   Numbered rows with a leading rule, not three centred icon cards. */
.cap-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.cap-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-inline-start 0.3s var(--ease);
}

.cap-item:hover { padding-inline-start: 14px; }

.cap-num {
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--accent-text);
    letter-spacing: 0.16em;
    padding-top: 5px;
}

.cap-item h3 {
    font-size: 1.08rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
}

.cap-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.94rem;
    max-width: 62ch;
}

/* ---------- Grids and cards ---------- */
.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s var(--ease),
                transform 0.3s var(--ease),
                box-shadow 0.3s var(--ease);
}

/* The orange edge appears only on hover, so a full grid stays calm
   until the visitor actually points at something. Grows from the centre,
   which needs no RTL counterpart (transform-origin takes no logical
   keywords). */
.card::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 2px;
    background: var(--volt-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s var(--ease);
    z-index: 3;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.card:hover::after { transform: scaleX(1); }

/* Product photography is almost always shot on white, so the image tile
   stays light on purpose - floating white cut-outs on a dark card would
   look like a rendering fault. */
.card-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--white);
    padding: 14px;
    transition: transform 0.45s var(--ease);
}

.card:hover .card-img { transform: scale(1.04); }

.card-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 0;
}

.card-body { padding: 18px; flex: 1; }

.card-body h3 {
    margin: 10px 0 8px;
    font-size: 1rem;
    color: var(--text);
    transition: color 0.2s;
}

.card:hover .card-body h3 { color: var(--accent-text); }

.card-body p {
    color: var(--text-dim);
    font-size: 0.86rem;
    margin: 0;
    line-height: 1.6;
}

.category-grid .card-img { height: 240px; object-fit: cover; padding: 0; }

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-text);
    background: var(--surface-2) !important;
}

.product-showcase-page {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-showcase-page.is-active { display: block; opacity: 1; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    background: var(--surface-3);
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    margin-inline-end: 6px;
    margin-bottom: 6px;
}

.badge-volt { background: var(--volt-soft); color: var(--accent-text); }

/* ---------- Feature grid (kept for any page still using it) ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-grid > div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: border-color 0.3s var(--ease), background 0.3s;
}

.feature-grid > div:hover { border-color: var(--line-strong); background: var(--surface-2); }

.feature-grid h3 {
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.feature-grid p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.icon { font-size: 1.8rem; line-height: 1; margin-bottom: 18px; }
.icon-pulse { transition: transform 0.3s var(--ease); }
.feature-grid > div:hover .icon-pulse { transform: scale(1.12) rotate(-5deg); }

/* ---------- Stat strip (About) ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}

.stat-strip-item {
    padding: 34px 24px;
    border-inline-end: 1px solid var(--line);
}

.stat-strip-item:last-child { border-inline-end: none; }

.stat-strip-value {
    font-family: var(--mono);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-text);
    letter-spacing: -0.03em;
}

.stat-strip-label {
    margin-top: 10px;
    color: var(--text-dim);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ---------- Brand wall ---------- */
.brand-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

/* Butted together into one continuous wall rather than separate chips. */
.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 20px 16px;
    height: 100px;
    filter: grayscale(1);
    opacity: 0.62;
    transition: filter 0.3s, opacity 0.3s;
}

.brand-chip:hover { filter: grayscale(0); opacity: 1; }

.brand-chip img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- Tagline banner ---------- */
.tagline-banner {
    background: var(--volt-500);
    color: #17120c;
    padding: 44px 0;
}

.tagline-banner p {
    margin: 0;
    font-size: var(--step-2);
    font-weight: 700;
    letter-spacing: -0.01em;
    max-width: 34ch;
}

/* ---------- Map ---------- */
.map-card {
    position: relative;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    transition: border-color 0.3s;
}

.map-card:hover { border-color: var(--volt-500); }

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.85);
    pointer-events: none;
}

.map-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 20, 32, 0.55);
    color: var(--white);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.map-card:hover .map-card-overlay { opacity: 1; }

.map-card-pin { font-size: 1.8rem; }

.map-card-cta {
    color: var(--volt-500);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Visit block: address panel beside the map instead of a lone centred
   map section. */
.visit-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: stretch;
}

.visit-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------- Social icons ---------- */
.social-icons { display: flex; gap: 12px; align-items: center; }

.social-icon {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    transition: transform 0.25s var(--ease), border-color 0.25s;
}

.social-icon:hover { transform: translateY(-3px); border-color: var(--volt-500); }
.social-icon-static { cursor: default; }
.social-icon-static:hover { transform: none; }
.social-icon svg { width: 100%; height: 100%; display: block; }

.footer-social { margin-top: 18px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 22px;
}

.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent-text); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Product filters ---------- */
.filters-wrap { margin-bottom: 24px; }

.filter-tab-row-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.filter-tab-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-tab:hover { color: var(--text); border-color: var(--line-strong); }

.filter-tab.active {
    background: var(--volt-500);
    border-color: var(--volt-500);
    color: #17120c;
}

.filter-tab-icon-img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 2px;
    background: var(--white);
}

.filter-tab-icon-svg { flex-shrink: 0; }
.filter-tab-icon-only { padding: 9px 12px; }

.category-row .filter-tab { padding: 11px 18px; }

.subcategory-row .filter-tab,
.type-row .filter-tab { font-size: 0.8rem; padding: 7px 14px; }

/* ---------- Search bar ---------- */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-bar input[type="text"] { flex: 1; min-width: 220px; }

/* ---------- Form controls ---------- */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}

input::placeholder,
textarea::placeholder { color: var(--text-dim); }

input:focus,
textarea:focus,
select:focus {
    border-color: var(--volt-500);
    background: var(--surface-3);
    outline: none;
}

textarea { resize: vertical; min-height: 150px; }

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Alerts ---------- */
.alert {
    padding: 15px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 0.92rem;
    border: 1px solid transparent;
    border-inline-start-width: 3px;
}

.alert-success { background: rgba(34, 197, 94, 0.1); border-color: var(--success); color: #86efac; }
.alert-error { background: rgba(239, 68, 68, 0.1); border-color: var(--danger); color: #fca5a5; }

/* ---------- Contact ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 44px;
    align-items: start;
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}

.info-item {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.info-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.info-item h4 {
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.info-item p { margin: 0 0 4px; color: var(--text); font-size: 0.95rem; }
.info-item a { transition: color 0.2s; }
.info-item a:hover { color: var(--accent-text); }

/* ---------- Product detail ---------- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail > img,
.product-detail .card-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
}

.spec-list {
    list-style: none;
    margin: 26px 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

/* Each row is a label/value pair of bare spans - the first is the label. */
.spec-list li > span:first-child {
    font-family: var(--mono);
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.68rem;
    flex-shrink: 0;
    align-self: center;
}

.spec-list li > span:last-child { color: var(--text); text-align: end; }

.product-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

/* ---------- Size table ---------- */
.size-table-title {
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 52px 0 16px;
}

.size-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 620px;
}

.size-table th,
.size-table td {
    padding: 13px 16px;
    text-align: start;
    border-bottom: 1px solid var(--line);
}

.size-table th {
    background: var(--surface-2);
    font-family: var(--mono);
    color: var(--text-dim);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.size-table tbody tr:last-child td { border-bottom: none; }
.size-table tbody tr:hover { background: var(--surface-2); }

.size-table-length-col,
.size-table-weight-col,
.size-table-inch-col,
.size-table-thickness-col,
.size-table-colors-col { white-space: nowrap; }

.thickness-options { display: flex; flex-wrap: wrap; gap: 6px; }

.thickness-tag {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.core-colors { display: flex; gap: 5px; align-items: center; }

.core-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    z-index: 1;
    /* Translucent - a touch denser than the hero since the footer carries
       real navigation links and contact text. */
    background: rgba(15, 20, 32, 0.7);
    border-top: 1px solid var(--line);
    margin-top: auto;
}

/* Oversized wordmark band - a deliberate closing statement rather than
   the parent site's small two-column list. Solid background (not the
   footer's usual translucent one) specifically here, as a clean backdrop
   for the glowing wordmark text below. */
.footer-mark {
    position: relative;
    z-index: 1;
    background: var(--ink-950);
    border-bottom: 1px solid var(--line);
    padding: 46px 0;
    overflow: hidden;
}

.footer-mark span {
    display: block;
    font-size: clamp(2.1rem, 7.4vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(250, 179, 44, 0.14);
    -webkit-text-stroke: 1px rgba(250, 179, 44, 0.65);
    text-shadow: 0 0 26px rgba(250, 179, 44, 0.5), 0 0 60px rgba(250, 179, 44, 0.28);
    white-space: nowrap;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    padding: 56px 0 46px;
}

.site-footer h3 {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-weight: 700;
}

.site-footer p { color: var(--text-muted); font-size: 0.92rem; }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--volt-500); }

.footer-contact a {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-contact a:hover { color: var(--volt-500); }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-block: 22px;
    color: var(--text-dim);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-admin { color: var(--text-dim); }
.footer-admin:hover { color: var(--volt-500); }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .rail {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    /* Sticky only makes sense while the rail is a real side column. */
    .rail-head { position: static; }

    .section-subtitle { max-width: 62ch; }
}

@media (max-width: 980px) {
    .hero-copy {
        max-width: none;
        padding: 72px 0 44px;
    }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }

    .hero-stat:nth-child(2) { border-inline-end: none; }
    .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

    .contact-wrap,
    .product-detail,
    .visit-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ink-950);
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
    }

    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px 32px; }
    .main-nav a::after { display: none; }

    .main-nav a.active {
        background: var(--volt-soft);
        color: var(--volt-500);
        border-inline-start: 3px solid var(--volt-500);
    }

    .nav-divider { display: none; }
    .nav-cta { display: none; }

    .lang-switch { margin: 10px 32px 4px; text-align: center; }

    .site-header { position: relative; }
    .header-inner { height: 70px; }
    .logo-badge img { height: 42px; }

    .topbar-tag { display: none; }
    .topbar-group { gap: 18px; }
}

@media (max-width: 700px) {
    .container { padding: 0 20px; }

    .section { padding: 66px 0; }
    .hero { padding: 54px 0 46px; }

    .cat-row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 16px 10px;
    }

    /* The thumbnail is the first thing to go - the name and index number
       carry the row on a phone. Both selectors are needed: a category
       with no image renders `.cat-row-media.placeholder`, whose own
       unscoped `display: flex` (higher specificity) would otherwise
       win over a plain `.cat-row-media` override here regardless of
       media-query nesting. */
    .cat-row-media,
    .cat-row-media.placeholder { display: none; }
    .cat-row-name { font-size: 1rem; }
    .cat-row-desc { display: none; }

    .cap-item { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 24px 0; }

    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stat { padding: 20px; }
    .hero-stat-value { font-size: 1.45rem; }

    .form-row { grid-template-columns: 1fr; }

    /* Keeps two product cards per row on a 360px phone rather than
       dropping to a single very tall column. */
    .grid { grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 12px; }
    .card-img { height: 148px; }
    .card-body { padding: 14px; }

    .stat-strip-item { border-inline-end: none; border-bottom: 1px solid var(--line); }
    .stat-strip-item:last-child { border-bottom: none; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }

    .btn { padding: 12px 22px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal { opacity: 1; transform: none; }

    .card:hover,
    .social-icon:hover { transform: none; }

    .cat-row:hover,
    .cap-item:hover { padding-inline-start: 18px; }

    .product-marquee-track { animation: none; }
}
