/* ==========================================================================
   Dalton Integrated Solutions — Design System
   A clean, industrial B2B look: navy + electric blue, generous whitespace,
   crisp cards, confident typography.
   ========================================================================== */

:root {
    /* Brand palette */
    --navy-900: #0a1f3c;
    --navy-800: #0e2a4f;
    --navy-700: #123a63;
    --blue-600: #1d6ff2;
    --blue-500: #2f86ff;
    --blue-050: #eef5ff;
    --amber-500: #f59e0b;
    --amber-600: #d97706;

    /* Neutrals */
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-050: #f8fafc;
    --white: #ffffff;

    /* Semantic */
    --bg: var(--slate-050);
    --surface: var(--white);
    --text: var(--slate-900);
    --text-muted: var(--slate-500);
    --border: var(--slate-200);
    --primary: var(--blue-600);
    --primary-ink: var(--navy-800);

    /* Shape & motion */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow: 0 4px 12px rgba(15, 23, 42, .07), 0 2px 4px rgba(15, 23, 42, .05);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, .14);
    --ring: 0 0 0 3px rgba(29, 111, 242, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1220px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Segoe UI", var(--font);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select, button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--slate-900); }
ul { list-style: none; padding: 0; }

/* --- Layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 52px; }
.section--tight { padding-block: 38px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 10px; }
.section-head p { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
    --btn-bg: var(--blue-600); --btn-fg: #fff;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .96rem;
    background: var(--btn-bg); color: var(--btn-fg);
    box-shadow: var(--shadow-sm);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--amber { --btn-bg: var(--amber-500); --btn-fg: #24160a; }
.btn--amber:hover { background: var(--amber-600); color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); box-shadow: inset 0 0 0 1.5px var(--slate-300); }
.btn--ghost:hover { --btn-fg: var(--blue-600); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* --- Header ------------------------------------------------------------- */
.topbar {
    background: var(--navy-900); color: #cdd9ec; font-size: .84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #cdd9ec; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; gap: 22px; align-items: center; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta svg { width: 15px; height: 15px; color: var(--blue-500); }
.topbar__links { display: flex; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.header-main { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { display: block; width: 208px; height: auto; }
.site-footer .brand__logo { width: 230px; }
.brand__mark {
    width: 42px; height: 42px; border-radius: 11px;
    background: linear-gradient(140deg, var(--blue-600), var(--navy-700));
    display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; color: var(--navy-800); }
.brand__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--slate-500); font-weight: 600; }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.primary-nav a {
    padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--slate-700);
    transition: color .15s, background .15s;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--blue-600); background: var(--blue-050); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta__short { display: none; }

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
    background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.nav-toggle__bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-800);
    transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav { display: none; flex-direction: column; padding: 8px 20px 16px; background: #fff; border-top: 1px solid var(--border); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 11px;
    font-weight: 600; font-size: 1rem; color: var(--slate-700); }
.mobile-nav a svg { width: 20px; height: 20px; color: var(--slate-400); }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--blue-050); color: var(--blue-600); }
.mobile-nav a.active svg, .mobile-nav a:hover svg { color: var(--blue-600); }
.mobile-nav__meta { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.mobile-nav__meta a { font-size: .92rem; font-weight: 600; color: var(--slate-600); padding: 9px 12px; }

/* Search + categories row */
.utility-bar { border-bottom: 1px solid var(--border); background: #fff; }
.utility-bar .container { display: flex; align-items: center; gap: 18px; height: 66px; }

.cat-trigger {
    display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 10px;
    background: var(--navy-800); color: #fff; font-weight: 600; font-size: .95rem;
}
.cat-trigger svg { width: 18px; height: 18px; }

.searchbar { flex: 1; display: flex; max-width: 620px; position: relative; }
.searchbar input {
    width: 100%; padding: 12px 52px 12px 18px; border-radius: 12px; border: 1.5px solid var(--slate-300);
    background: var(--slate-050); font-size: .96rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
.searchbar input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: var(--ring); }
.searchbar button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 10px; background: var(--blue-600); color: #fff;
    display: grid; place-items: center; transition: background .15s;
}
.searchbar button:hover { background: var(--blue-500); }
.searchbar button svg { width: 19px; height: 19px; }

/* Autosuggest dropdown */
.search-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 6px; overflow: hidden;
}
.search-suggest[hidden] { display: none; }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; cursor: pointer; transition: background .12s; }
.ss-item:hover, .ss-item.is-active { background: var(--blue-050); }
.ss-item .ss-ic { width: 36px; height: 36px; border-radius: 9px; background: var(--slate-100); color: var(--navy-700); display: grid; place-items: center; flex-shrink: 0; }
.ss-item:hover .ss-ic, .ss-item.is-active .ss-ic { background: #fff; color: var(--blue-600); }
.ss-item .ss-ic svg { width: 19px; height: 19px; }
.ss-text { display: flex; flex-direction: column; min-width: 0; }
.ss-name { display: block; font-weight: 600; font-size: .92rem; color: var(--slate-800); line-height: 1.25; }
.ss-meta { display: block; }
.ss-name mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 1px; }
.ss-meta { font-size: .76rem; color: var(--slate-500); margin-top: 1px; }
.ss-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 700; font-size: .86rem; color: var(--blue-600); border-radius: 0 0 10px 10px; }
.ss-all:hover, .ss-all.is-active { background: var(--blue-050); }
.ss-all svg { width: 16px; height: 16px; }
.ss-empty { padding: 18px 14px; text-align: center; color: var(--slate-500); font-size: .88rem; }
.ss-empty a { color: var(--blue-600); font-weight: 600; }

.utility-actions { display: flex; gap: 6px; margin-left: auto; }
.util-link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 10px; font-size: .74rem; font-weight: 600; color: var(--slate-600); transition: color .15s, background .15s; }
.util-link svg { width: 22px; height: 22px; color: var(--navy-700); }
.util-link:hover { color: var(--blue-600); background: var(--blue-050); }
.util-link:hover svg { color: var(--blue-600); }

/* --- Category dropdown -------------------------------------------------- */
.cat-menu { position: relative; }
.cat-panel {
    position: absolute; top: calc(100% + 12px); left: 0; width: 320px; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 60;
    max-height: 70vh; overflow-y: auto;
}
.cat-menu[open] .cat-panel, .cat-menu.is-open .cat-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.cat-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--slate-700); transition: background .14s, color .14s; }
.cat-panel a:hover { background: var(--blue-050); color: var(--blue-600); }
.cat-panel a .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--slate-100); color: var(--navy-700); display: grid; place-items: center; flex-shrink: 0; }
.cat-panel a:hover .ic { background: #fff; color: var(--blue-600); }
.cat-panel a .ic svg { width: 19px; height: 19px; }
.cat-panel a .count { margin-left: auto; font-size: .74rem; color: var(--slate-400); font-weight: 600; }

/* --- Breadcrumb --------------------------------------------------------- */
.breadcrumb { padding: 16px 0; font-size: .86rem; color: var(--slate-500); }
.breadcrumb .container { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb .sep { color: var(--slate-300); }

/* --- Hero --------------------------------------------------------------- */
.hero { background: #0a1f3c;
    color: #eaf1fb; position: relative; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,42,.98) 0%, rgba(8,23,46,.91) 34%, rgba(9,27,54,.57) 62%, rgba(10,31,60,.32) 100%); }
/* Slides are driven by JS (main.js) so the headline/copy stay in sync. */
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.is-active { opacity: 1; }
/* Dynamic hero text: fade + lift on swap */
.hero__copy .hero-dyn { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero__copy.is-swapping .hero-dyn { opacity: 0; transform: translateY(10px); }
/* Slide indicator dots */
.hero-dots { display: flex; gap: 9px; margin-top: 26px; }
.hero-dots button { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.24); transition: background .25s, width .25s; padding: 0; }
.hero-dots button.is-active { width: 40px; background: var(--amber-500); }
/* Prev / next arrows */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(10,25,48,.42); border: 1px solid rgba(255,255,255,.28); color: #fff;
    backdrop-filter: blur(6px); box-shadow: var(--shadow);
    transition: background .2s var(--ease), border-color .2s, transform .2s var(--ease); }
.hero-arrow:hover { background: var(--amber-500); border-color: var(--amber-500); color: #24160a; }
.hero-arrow:active { transform: translateY(-50%) scale(.94); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
.hero-arrow:focus-visible { outline: none; box-shadow: var(--ring); }
@media (max-width: 640px) { .hero-arrow { width: 40px; height: 40px; } .hero-arrow--prev { left: 8px; } .hero-arrow--next { right: 8px; } }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero__copy .hero-dyn { transition: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px; mask-image: radial-gradient(700px 380px at 12% 15%, #000, transparent 72%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; padding-block: 46px; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .82rem; font-weight: 600; color: #cfe0f7; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 0 4px rgba(245,158,11,.25); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.9vw, 2.9rem); margin-top: 14px; letter-spacing: -.03em; }
.hero h1 .accent { color: transparent; background: linear-gradient(90deg, #6db2ff, #2f86ff); -webkit-background-clip: text; background-clip: text; }
.hero p { color: #b9c8de; font-size: 1.03rem; margin-top: 13px; max-width: 520px; }
.hero__cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero__stats .num { font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero__stats .lbl { font-size: .82rem; color: #93a7c4; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Hero side promo cards */
.hero-cards { display: grid; gap: 12px; }
.promo-card {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
    /* Solid gradient flowing to the right: deep navy → brand blue */
    background: linear-gradient(90deg, rgba(7,20,42,.96) 0%, rgba(13,42,78,.94) 55%, rgba(23,74,126,.92) 100%);
    backdrop-filter: blur(10px) saturate(140%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 26px rgba(4,12,28,.38);
    transition: transform .2s var(--ease), border-color .2s, background .2s var(--ease);
}
.promo-card:hover { transform: translateY(-3px); border-color: rgba(109,178,255,.55);
    background: linear-gradient(90deg, rgba(9,26,52,.97) 0%, rgba(18,58,99,.96) 55%, rgba(31,99,168,.95) 100%); }
.promo-card .pc-ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(140deg, var(--blue-600), var(--navy-700)); color: #fff; }
.promo-card .pc-ic svg { width: 26px; height: 26px; }
.promo-card h4 { color: #fff; font-size: 1.05rem; }
.promo-card p { color: #c2d2e8; font-size: .9rem; margin-top: 3px; }
.promo-card .arrow { margin-left: auto; color: #6db2ff; transition: transform .2s; }
.promo-card:hover .arrow { transform: translateX(4px); }

/* --- Trust / brand strip ------------------------------------------------ */
.brand-strip { background: #fff; border-bottom: 1px solid var(--border); }
.brand-strip .container { padding-block: 26px 0; }
.brand-strip .marquee { margin-top: 6px; padding-bottom: 26px; }
.brand-strip__label { text-align: center; color: var(--slate-500); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }

/* Infinite logo marquee */
.marquee { position: relative; overflow: hidden; padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 56px; width: max-content;
    animation: marquee-scroll 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.brand-logo { flex: 0 0 auto; height: 46px; display: grid; place-items: center; padding: 0 6px; }
.brand-logo img { max-height: 40px; max-width: 150px; width: auto; object-fit: contain;
    filter: grayscale(1); opacity: .62; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.brand-logo:hover img { filter: grayscale(0); opacity: 1; }
.brand-logo__word { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap;
    color: var(--slate-400); transition: color .25s var(--ease); }
.brand-logo:hover .brand-logo__word { color: var(--bc, var(--navy-800)); }

@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* --- Category grid ------------------------------------------------------ */
/* Compact category tiles — deliberately small & distinct from product cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    padding: 18px 12px 15px; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 11px;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.cat-card__thumb {
    width: 78px; height: 78px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: radial-gradient(circle at 50% 35%, #fff, var(--slate-100));
    display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border);
}
.cat-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.cat-card:hover .cat-card__thumb img { transform: scale(1.08); }
/* Standalone icon badge (reused on the enquiry "how it works" steps) */
.cat-card__ic { border-radius: 14px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; }
.cat-card__ic svg { width: 22px; height: 22px; }
/* Inside a category thumb the circle already provides the backdrop */
.cat-card__thumb .cat-card__ic { background: none; border-radius: 0; color: var(--blue-600); display: grid; place-items: center; transition: color .2s; }
.cat-card__thumb .cat-card__ic svg { width: 32px; height: 32px; }
.cat-card:hover .cat-card__thumb .cat-card__ic { color: var(--navy-800); }
.cat-card__name { font-weight: 700; font-size: .88rem; color: var(--slate-900); line-height: 1.25; letter-spacing: -.01em; }
.cat-card__count { font-size: .74rem; font-weight: 600; color: var(--slate-500); }

/* --- Product grid ------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--slate-100), var(--slate-050)); position: relative; display: grid; place-items: center; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__media svg { width: 58px; height: 58px; color: var(--slate-300); }
.product-card__badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--amber-500); color: #24160a; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.product-card__brand { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy-800); font-size: .72rem; font-weight: 700; }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); font-weight: 700; }
.product-card__title { font-size: 1rem; font-weight: 700; color: var(--slate-900); line-height: 1.3; }
.product-card__title a:hover { color: var(--blue-600); }
.product-card__desc { font-size: .87rem; color: var(--text-muted); flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.product-card__unit { font-size: .8rem; color: var(--slate-500); font-weight: 600; }
.product-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem;
    background: var(--amber-500); color: #24160a; padding: 8px 15px; border-radius: 999px;
    box-shadow: var(--shadow-sm); transition: background .18s var(--ease), color .18s, transform .18s var(--ease), box-shadow .18s; }
.product-card__cta:hover { background: var(--amber-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.product-card__cta svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.product-card__cta:hover svg { transform: translateX(3px); }

/* --- Feature band ------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 16px; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .92rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band { background:
        radial-gradient(900px 400px at 15% 120%, rgba(29,111,242,.25), transparent 60%),
        linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: 40px 44px; position: relative; overflow: hidden; }
.cta-band__grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: #b9c8de; margin-top: 10px; max-width: 520px; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9bcd8; margin-top: 20px; }
.site-footer .container { padding-block: 56px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: #7f93b3; }
.site-footer p { font-size: .92rem; margin-top: 14px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .92rem; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7f93b3; }

/* --- Flash / alerts ----------------------------------------------------- */
.flash { padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .94rem; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.flash svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.flash--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* --- Forms -------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--slate-700); }
.field label .req { color: #ef4444; }
.field input, .field textarea, .field select {
    width: 100%; padding: 12px 15px; border-radius: 11px; border: 1.5px solid var(--slate-300);
    background: var(--slate-050); font-size: .96rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }

/* --- Catalog: sidebar filters ------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-main { min-width: 0; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.shop-bar p { color: var(--slate-500); font-weight: 600; }
.shop-bar p strong { color: var(--slate-900); }

.shop-side { position: sticky; top: 150px; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.filters__head h2 { font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; }
.filters__head h2 svg { color: var(--blue-600); }
.filters__clear { font-size: .8rem; font-weight: 700; color: var(--blue-600); }
.filters__clear:hover { text-decoration: underline; }

.filter-group { padding: 14px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group__title { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 10px; }
.filter-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow-y: auto; margin-right: -6px; padding-right: 6px; }

.filter-check { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; cursor: pointer; transition: background .14s; }
.filter-check:hover { background: var(--blue-050); }
.filter-check input { width: 17px; height: 17px; accent-color: var(--blue-600); flex-shrink: 0; cursor: pointer; }
.filter-check span { font-size: .9rem; font-weight: 600; color: var(--slate-700); flex: 1; min-width: 0; }
.filter-check em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--slate-400); background: var(--slate-100); padding: 2px 7px; border-radius: 999px; }
.filter-check--solo span { color: var(--slate-900); }

.filter-select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--slate-300); background: var(--slate-050); font-size: .9rem; font-weight: 600; }
.filter-select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: var(--ring); }
.filters__apply { margin-top: 14px; }
.js .filters__apply { display: none; }   /* JS auto-submits instead */

/* Mobile toggle button — hidden on desktop */
.filters-toggle { display: none; width: 100%; align-items: center; gap: 10px; padding: 13px 16px;
    border-radius: 12px; border: 1px solid var(--border); background: #fff; font-weight: 700; font-size: .95rem;
    color: var(--navy-800); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.filters-toggle svg { color: var(--blue-600); }
.filters-toggle svg:last-child { margin-left: auto; transition: transform .22s var(--ease); }
.filters-toggle.is-open svg:last-child { transform: rotate(180deg); }
.filters-toggle__count { background: var(--blue-050); color: var(--blue-600); font-size: .76rem; padding: 2px 9px; border-radius: 999px; }

/* --- Pagination --------------------------------------------------------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 11px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: .92rem; color: var(--slate-700); transition: all .15s; }
.pagination a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* --- Page hero (interior) ---------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-700)); color: #fff; }
.page-hero .container { padding-block: 38px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: #b9c8de; margin-top: 12px; max-width: 620px; font-size: 1.06rem; }

/* --- Product detail ----------------------------------------------------- */
.pd { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.pd__media { aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--slate-100), #fff); border: 1px solid var(--border); display: grid; place-items: center; position: relative; box-shadow: var(--shadow); overflow: hidden; }
.pd__media img { width: 100%; height: 100%; object-fit: cover; }
.pd__media svg { width: 130px; height: 130px; color: var(--slate-300); }
.pd__cat { color: var(--blue-600); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.pd h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 10px; }
.pd__brand { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--slate-100); font-weight: 700; font-size: .86rem; color: var(--navy-800); }
.pd__desc { color: var(--slate-600); margin-top: 20px; font-size: 1.02rem; }
.pd__meta { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.pd__meta .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); font-weight: 600; }
.pd__meta .v { font-size: 1.02rem; font-weight: 700; color: var(--slate-900); margin-top: 3px; }
.pd__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table tr:nth-child(even) { background: var(--slate-050); }
.spec-table td { padding: 13px 18px; font-size: .94rem; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { font-weight: 600; color: var(--slate-600); width: 42%; }
.spec-table tr:last-child td { border-bottom: 0; }
.tabs-title { font-size: 1.2rem; margin-bottom: 6px; }

/* --- Empty state -------------------------------------------------------- */
.empty { text-align: center; padding: 60px 20px; }
.empty svg { width: 64px; height: 64px; color: var(--slate-300); margin: 0 auto 18px; }
.empty h3 { font-size: 1.3rem; }
.empty p { color: var(--text-muted); margin-top: 8px; }

/* --- Info / about columns ---------------------------------------------- */
.prose { max-width: 760px; }
.prose p { color: var(--slate-600); margin-bottom: 16px; font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; margin: 32px 0 14px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat .num { font-size: 2.1rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.stat .lbl { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }

/* Branch cards */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.branch h4 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.branch h4 svg { width: 18px; height: 18px; color: var(--blue-600); }
.branch p { color: var(--text-muted); font-size: .9rem; margin-top: 8px; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .ci-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci-ic svg { width: 22px; height: 22px; }
.contact-info h4 { font-size: 1rem; }
.contact-info p { color: var(--text-muted); font-size: .94rem; margin-top: 3px; }

/* Floating enquire */
.float-enquire { position: fixed; right: 22px; bottom: 22px; z-index: 40; }
.float-enquire a { display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px; border-radius: 999px; background: var(--amber-500); color: #24160a; font-weight: 700; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.float-enquire a:hover { transform: translateY(-3px) scale(1.02); }
.float-enquire svg { width: 20px; height: 20px; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 980px) {
    /* Filters collapse into a toggle panel above the product list */
    .shop-layout { grid-template-columns: 1fr; gap: 0; }
    .filters-toggle { display: flex; order: -2; }
    .shop-side { position: static; order: -1; display: none; margin-bottom: 18px; }
    .shop-side.is-open { display: block; }
    .filter-list { max-height: 220px; }
    .filters__apply { display: block !important; }   /* explicit apply on mobile */
    /* The toggle button already says "Filters" — don't repeat it in the panel */
    .filters__head h2 { display: none; }
    .filters__head { justify-content: flex-end; padding-bottom: 0; border-bottom: 0; margin-bottom: 0; }
}
@media (max-width: 920px) {
    .hero { background: #0a1f3c; }
    .hero .container { grid-template-columns: 1fr; padding-block: 38px; }
    .primary-nav, .topbar__links { display: none; }
    .nav-toggle { display: flex; }
    .pd { grid-template-columns: 1fr; gap: 26px; }
    .contact-split { grid-template-columns: 1fr; }
    .features, .stat-row { grid-template-columns: repeat(2, 1fr); }
    .branch-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .brand__logo { width: 176px; }
    .section { padding-block: 38px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .utility-actions { display: none; }
    .utility-bar .container { height: 58px; gap: 10px; }
    .header-main { height: 66px; gap: 12px; }

    /* Topbar: keep only the phone, size naturally (was wrapping & clipping) */
    .topbar .container { height: auto; padding-block: 7px; justify-content: center; }
    .topbar__meta { gap: 0; }
    .topbar__meta span:not(:first-child) { display: none; }
    .topbar__meta span { font-size: .8rem; }

    /* Compact header CTA */
    .header-cta { padding: 10px 15px; font-size: .88rem; }
    .header-cta__full { display: none; }
    .header-cta__short { display: inline; }

    /* Categories trigger shrinks so the search bar gets real width */
    .cat-trigger { padding: 11px 13px; gap: 0; }
    .cat-trigger .cat-trigger__label, .cat-trigger .cat-trigger__caret { display: none; }
    .searchbar { max-width: none; }

    /* Hero arrows overlapped the stats — dots are enough on mobile */
    .hero-arrow { display: none; }
    .hero__stats { gap: 16px 22px; margin-top: 20px; }
    .hero__stats .num { font-size: 1.3rem; }
    .hero__stats .lbl { font-size: .72rem; }
    .hero p { font-size: .98rem; }
    .hero__cta .btn { flex: 1 1 100%; justify-content: center; }

    /* Floating button: icon-only circle so it stops covering card text */
    .float-enquire { right: 14px; bottom: 14px; }
    .float-enquire a { padding: 0; width: 54px; height: 54px; border-radius: 50%; justify-content: center; }
    .float-enquire__label { display: none; }
    .float-enquire svg { width: 24px; height: 24px; }

    /* Brand marquee: wordmarks were oversized on small screens */
    .marquee__track { gap: 32px; }
    .brand-logo { height: 38px; }
    .brand-logo__word { font-size: 1.05rem; }
    .brand-logo img { max-height: 30px; max-width: 110px; }

    .field-row { grid-template-columns: 1fr; }
    .cta-band { padding: 34px; }
    .footer-grid { grid-template-columns: 1fr; }
    .features, .stat-row, .branch-grid { grid-template-columns: 1fr; }
    .cta-band__grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
    .brand__logo { width: 150px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .brand__tag { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
