/* ============================================================
   Kurnia Makmur — responsive stylesheet (refreshed)
   Vibrant, professional, lightly animated. Mobile-first.
   ============================================================ */
:root {
    --brand:       #1668dc;   /* vibrant azure */
    --brand-dark:  #0c3f93;
    --brand-deep:  #0a2f6e;
    --sky:         #22b8f0;   /* bright cyan highlight */
    --accent:      #10b981;   /* emerald CTA */
    --accent-dark: #059669;
    --ink:         #142033;
    --muted:       #64748b;
    --line:        #e4e9f0;
    --bg:          #f3f6fb;
    --white:       #ffffff;
    --maxw:        1160px;
    --radius:      14px;
    --radius-sm:   10px;
    --shadow-sm:   0 2px 10px rgba(16, 42, 80, .06);
    --shadow-md:   0 10px 30px rgba(16, 42, 80, .10);
    --shadow-lg:   0 18px 50px rgba(16, 42, 80, .16);
    --ease:        cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    /* Sticky footer: keep the footer at the bottom on short pages. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.22; color: var(--ink); font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---- Top contact bar ---- */
.topbar { background: linear-gradient(90deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%); color: rgba(255, 255, 255, .9); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 22px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar-meta span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .88); white-space: nowrap; }
.topbar a { transition: color .2s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--sky); flex: 0 0 auto; }
.topbar-meta span { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .topbar-meta { display: none; } .topbar-inner { justify-content: center; } }
@media (max-width: 600px) { .topbar { font-size: 11.5px; } .topbar-contact { gap: 13px; } .topbar svg { width: 13px; height: 13px; } }
@media (max-width: 380px) { .topbar-contact .topbar-email { display: none; } }

/* ---- Header / nav ---- */
.site-header {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 50;
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(15, 23, 42, .07); background: rgba(255, 255, 255, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { color: inherit; }
.brand-mark { height: 54px; width: auto; display: block; color: #1B365D; transition: transform .3s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.brand-wordmark { display: flex; flex-direction: column; justify-content: center; gap: 3px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }
.brand-name { display: block; font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .2px; text-transform: uppercase; text-align: justify; text-align-last: justify; -moz-text-align-last: justify; text-justify: inter-character; }
.brand-name .bn-1 { color: #1B365D; }
.brand-name .bn-2 { color: #1E5FBF; }
.brand-slogan { font-weight: 400; font-style: italic; font-size: .66rem; line-height: 1; color: #5b6b82; letter-spacing: .2px; white-space: nowrap; }
.brand-logo { height: 50px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a:not(.nav-cta) {
    position: relative; padding: 10px 13px; border-radius: 8px;
    color: var(--ink); font-weight: 600; font-size: 15px;
    transition: color .2s var(--ease);
}
.site-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2.5px;
    border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--sky));
    transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
.site-nav a:not(.nav-cta):hover { color: var(--brand); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.site-nav a.active { color: var(--brand); font-weight: 700; }
.site-nav a.active::after { transform: scaleX(1); }

/* Contact = primary call-to-action button */
.site-nav a.nav-cta {
    display: inline-flex; align-items: center; gap: 7px; margin-left: 8px;
    padding: 9px 18px; border-radius: 999px; font-weight: 600;
    color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: none;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.site-nav a.nav-cta:hover {
    color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 104, 220, .38); filter: brightness(1.06);
}
.site-nav a.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Main ---- */
/* Equal vertical breathing room above (header→content) and below (content→footer). */
.site-main { padding: 34px 0; flex: 1 0 auto; }
/* Drop the trailing margin of the last block so the bottom gap stays exactly the
   main padding on every page, regardless of what the last element is. */
.site-main .container > *:last-child { margin-bottom: 0; }

.panel {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 32px; margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}
.panel h2 {
    margin-top: 0; color: var(--brand-dark); font-size: 1.6rem;
    padding-bottom: 12px; position: relative;
}
.panel h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--brand), var(--sky)); border-radius: 3px; }

.prose p { margin: 0 0 1em; }
.prose h3 { color: var(--brand-dark); margin-top: 1.5em; clear: both; }
.img-right { float: right; margin: 0 0 32px 22px; max-width: 290px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.img-left  { float: left;  margin: 0 22px 32px 0; max-width: 290px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.prose::after { content: ""; display: block; clear: both; }

/* Page banner (greyscale photo background + blue accent) — About / Services */
.page-banner {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; min-height: 226px;
    border-radius: var(--radius);
    margin-bottom: 24px; box-shadow: var(--shadow-md); background: #1e293b;
}
.page-banner-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.04) brightness(.92); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(15, 23, 42, .93) 0%, rgba(30, 41, 59, .74) 55%, rgba(30, 41, 59, .4) 100%); }
.page-banner-inner { position: relative; z-index: 2; padding: 28px 44px; color: #fff; max-width: 640px; }
.page-banner-eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sky); margin-bottom: 9px; }
.page-banner h1 { color: #fff; margin: 0 0 10px; font-size: 2.1rem; letter-spacing: -.5px; }
.page-banner-inner p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.6; max-width: 540px; }
@media (max-width: 600px) {
    .page-banner-inner { padding: 30px 24px; }
    .page-banner h1 { font-size: 1.65rem; }
}

/* About — timeline */
.about-heading { color: var(--brand-dark); margin: 28px 0 14px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-size: 1.25rem; clear: both; }
.timeline { margin: 6px 0; }
.tl-item { display: flex; gap: 16px; }
.tl-marker { display: flex; flex-direction: column; align-items: center; flex: 0 0 16px; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(22,104,220,.14); margin-top: 5px; flex: 0 0 auto; }
.tl-marker::after { content: ""; flex: 1 1 auto; width: 2px; background: var(--line); margin: 5px 0; }
.tl-item:last-child .tl-marker::after { display: none; }
.tl-body { flex: 1; padding-bottom: 22px; }
.tl-item:last-child .tl-body { padding-bottom: 2px; }
.tl-year { display: inline-block; font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.tl-body h4 { margin: 2px 0 4px; color: var(--brand-dark); font-size: 1.05rem; }
.tl-body p { margin: 0; color: var(--muted); }

/* About — Our Values grid */
.values-title { color: var(--brand-dark); margin: 26px 0 14px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px 22px; }
.value-item { display: flex; align-items: center; gap: 12px; font-weight: 500; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.value-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(22, 104, 220, .25); }
.value-check {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; color: var(--brand);
    background: rgba(22, 104, 220, .13);
}
.value-check svg { width: 15px; height: 15px; }
.link { font-weight: 600; }
.muted { color: var(--muted); }

/* ---- Hero / home ---- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    border-radius: var(--radius); padding: 60px 40px; margin-bottom: 26px;
    background: linear-gradient(120deg, var(--brand-deep), var(--brand) 50%, var(--sky) 120%);
    background-size: 180% 180%; animation: gradientShift 14s ease infinite;
    box-shadow: var(--shadow-md);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%);
    pointer-events: none;
}
/* Hexagon / molecular structure background (self-made animated SVG). */
.hex-bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    pointer-events: none; user-select: none;
}
.hero-text { position: relative; z-index: 1; }

/* Photo hero (real lab image + brand gradient overlay) */
.hero-photo { background: var(--brand-deep); animation: none; }
.hero-photo::before { display: none; }
.hero-bg {
    position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 38%; pointer-events: none; user-select: none;
}
.hero-photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(95deg, rgba(6, 30, 74, .97) 0%, rgba(9, 42, 100, .95) 45%, rgba(14, 66, 144, .85) 100%);
}
.hero-photo .hero-text { z-index: 2; }
.hero-photo .hero-tagline { z-index: 3; }

.hero h1 { color: #fff; margin: 0 0 14px; font-size: 2.3rem; letter-spacing: -.5px; }
.hero-text p { max-width: 660px; margin: 0 0 24px; font-size: 1.12rem; opacity: .95; }

.hero-tagline {
    position: absolute; top: 26px; right: 40px; z-index: 2; margin: 0;
    font-style: italic; font-weight: 500; line-height: 1.3;
    font-size: 1.15rem; text-align: right; color: rgba(255, 255, 255, .92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}
.hero-flasks {
    position: absolute; right: 30px; bottom: 6px; z-index: 1;
    width: 252px; height: auto; pointer-events: none;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
}
@media (max-width: 880px) { .hero-flasks { display: none; } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
    padding: 12px 26px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, .28);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 185, 129, .38); filter: brightness(1.04); color: #fff; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

/* Secondary / outline button */
.btn-outline {
    background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--brand); color: #fff; filter: none;
    box-shadow: 0 10px 22px rgba(22, 104, 220, .25);
}

/* Admin-only edit button (shown on public pages when logged in) */
.btn-edit { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(217, 119, 6, .3); }
.btn-edit:hover { box-shadow: 0 12px 26px rgba(217, 119, 6, .4); }

/* Product-detail action row */
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Browse by Category — category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.cat-card {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 18px; min-height: 108px;
    border-radius: 12px; padding: 22px 24px; color: #fff;
    background: #1e293b; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    will-change: transform; /* keep the rounded corner clip stable while the hover transform animates */
}
/* real category photo, desaturated to greyscale */
.cat-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; border-radius: inherit; filter: grayscale(1) contrast(1.04) brightness(1.12); transition: transform .5s var(--ease); }
.cat-card:hover .cat-bg { transform: scale(1.06); }
/* neutral charcoal overlay (white/black/grey theme) */
.cat-card::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
    background: linear-gradient(100deg, rgba(15, 23, 42, .82) 0%, rgba(30, 41, 59, .56) 58%, rgba(51, 65, 85, .32) 100%);
}
/* blue tint layer — fades in on hover */
.cat-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; border-radius: inherit;
    background: linear-gradient(100deg, rgba(10, 47, 110, .86) 0%, rgba(12, 63, 147, .62) 55%, rgba(22, 104, 220, .34) 100%);
    transition: opacity .3s var(--ease);
}
.cat-card:hover::after { opacity: 1; }
.cat-card > :not(.cat-bg) { position: relative; z-index: 2; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-icon {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 12px; color: #fff;
    background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.cat-card:hover .cat-icon { transform: scale(1.05); background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); }
.cat-icon svg { width: 30px; height: 30px; }
.cat-info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cat-name { font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 1.14rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.cat-desc { color: rgba(255, 255, 255, .9); font-size: .92rem; line-height: 1.42; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.cat-arrow { flex: 0 0 auto; display: inline-flex; color: rgba(255, 255, 255, .6); opacity: 1; transition: transform .25s var(--ease), color .25s var(--ease); }
.cat-arrow svg { width: 22px; height: 22px; }
.cat-card:hover .cat-arrow { transform: translateX(4px); color: #fff; }

/* ---- Home sections ---- */
.home-section { margin-bottom: 38px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.section-eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.section-head h2 { font-size: 1.9rem; color: var(--brand-dark); margin: 0; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 11px 0 0; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.offer-card {
    position: relative; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 28px 26px 26px; box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.offer-card::before {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-deep));
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(22, 104, 220, .35); }
.offer-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
    border-radius: 12px; margin-bottom: 18px; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    box-shadow: 0 6px 15px rgba(12, 63, 147, .3);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.offer-card:hover .offer-icon { transform: scale(1.07) rotate(-3deg); box-shadow: 0 10px 22px rgba(12, 63, 147, .42); }
.offer-icon svg { width: 28px; height: 28px; }
.offer-card h3 { margin: 0 0 10px; color: var(--brand-dark); font-size: 1.18rem; }
.offer-card p { margin: 0 0 16px; color: var(--muted); }
.offer-card .card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 600; }
.offer-card .card-link::after { content: "\2192"; font-size: 1.05em; line-height: 1; transition: transform .2s var(--ease); }
.offer-card:hover .card-link::after, .offer-card .card-link:hover::after { transform: translateX(4px); }

/* CTA banner */
.cta-banner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--brand-deep), var(--brand) 60%, var(--sky) 135%);
    color: #fff; border-radius: var(--radius); padding: 34px 40px; box-shadow: var(--shadow-md);
}
.cta-banner .hex-bg { opacity: .8; }
.cta-text, .cta-actions { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.cta-banner p { margin: 0; opacity: .92; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost { background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .65); box-shadow: none; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); border-color: #fff; filter: none; }

@media (max-width: 600px) {
    .section-head h2 { font-size: 1.55rem; }
    .cta-banner { padding: 28px 24px; }
    .cta-banner h2 { font-size: 1.3rem; }
    .products-main { padding: 18px; }
    .products-main h1, .products-main h2 { font-size: 1.5rem; }
    .product-grid th, .product-grid td { padding: 10px 10px; }
    .row-thumb { width: 38px; height: 38px; }
}

/* ---- Services page ---- */
.svc-intro { margin-bottom: 26px; }
.svc-intro h2 { margin-bottom: 10px; }
.svc-lead { font-size: 1.12rem; line-height: 1.7; color: var(--muted); max-width: 760px; margin: 0 0 26px; }
.svc-overview { margin-top: 0; }

.svc-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 1.5rem; color: var(--brand-dark); }
.svc-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 13px; color: var(--brand); background: linear-gradient(135deg, rgba(22, 104, 220, .14), rgba(34, 184, 240, .12)); }
.svc-heading-icon svg { width: 26px; height: 26px; }

.svc-feature { display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: center; }
.svc-feature-text p { margin: 0 0 14px; color: var(--ink); line-height: 1.7; }
.svc-feature-text p:last-child { margin-bottom: 0; }
.svc-feature-media img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }

.svc-sub { color: var(--muted); margin: 0 0 18px; }
.svc-retail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 24px; }
.svc-retail-item { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.svc-retail-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(22, 104, 220, .25); }
.svc-retail-check { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.svc-retail-check svg { width: 15px; height: 15px; }
.svc-retail-title { display: block; font-weight: 600; color: var(--brand-dark); }
.svc-retail-desc { display: block; margin-top: 3px; font-size: .9rem; color: var(--muted); line-height: 1.45; }

.svc-callout { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; background: linear-gradient(120deg, rgba(22, 104, 220, .1), rgba(34, 184, 240, .08)); border: 1px solid rgba(22, 104, 220, .2); }
.svc-callout-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: var(--brand); background: #fff; box-shadow: var(--shadow-sm); }
.svc-callout-icon svg { width: 24px; height: 24px; }
.svc-callout p { margin: 0; color: var(--ink); }

@media (max-width: 760px) {
    .svc-feature { grid-template-columns: 1fr; }
    .svc-feature-media { order: -1; }
    .svc-heading { font-size: 1.3rem; }
}

/* ---- Products layout ---- */
.products-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.sidebar-search { display: flex; gap: 8px; margin-bottom: 20px; }
.sidebar-search input { flex: 1 1 auto; min-width: 0; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; font: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sidebar-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 104, 220, .15); }
.sidebar-search button { flex: 0 0 auto; width: 42px; border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); transition: filter .2s var(--ease); }
.sidebar-search button:hover { filter: brightness(1.07); }
.sidebar-search button svg { width: 18px; height: 18px; }
.products-sidebar {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    position: sticky; top: 92px; box-shadow: var(--shadow-sm);
}
.products-sidebar h2 { margin-top: 0; font-size: 1.6rem; color: var(--brand-dark); padding-bottom: 12px; position: relative; }
.products-sidebar h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--brand), var(--sky)); border-radius: 3px; }
.products-main {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-sm);
    min-width: 0; /* allow the grid column to shrink below table min-content (mobile) */
}
.products-main h1, .products-main h2 { margin-top: 0; color: var(--brand-dark); overflow-wrap: anywhere; }
/* Horizontal scroll for wide product tables on small screens (instead of breaking the page). */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; }
.table-scroll .product-grid { margin: 0; }

/* ---- Products hero (search banner) ---- */
.products-hero {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    display: flex; flex-direction: column; justify-content: center; min-height: 226px;
    border-radius: var(--radius); margin-bottom: 24px; padding: 28px 36px;
    background: #1e293b; box-shadow: var(--shadow-md);
}
.products-hero-bg {
    position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; pointer-events: none;
    filter: grayscale(1) contrast(1.03) brightness(.92);
}
.products-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(120deg, rgba(15, 23, 42, .9) 0%, rgba(30, 41, 59, .8) 55%, rgba(15, 23, 42, .88) 100%);
}
.products-hero-inner { position: relative; z-index: 2; }
.products-hero-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.products-hero h1 { color: #fff; font-size: 1.7rem; margin: 0 0 6px; }
.products-hero p { color: rgba(255, 255, 255, .82); margin: 0 auto 16px; max-width: 520px; font-size: .95rem; line-height: 1.5; }
/* compact pill search bar on the hero */
.hero-search { display: flex; align-items: center; gap: 6px; max-width: 500px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 10px 26px rgba(8, 22, 48, .28); }
.hero-search input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 11px 18px; font: inherit; font-size: .98rem; color: var(--ink); }
.hero-search input::placeholder { color: var(--muted); }
.hero-search input:focus { outline: none; }
.hero-search button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer; padding: 11px 20px; color: #fff; font: inherit; font-weight: 600; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); transition: filter .2s var(--ease); }
.hero-search button:hover { filter: brightness(1.08); }
.hero-search button svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
    .products-hero { padding: 22px 18px; }
    .products-hero h1 { font-size: 1.4rem; }
    .hero-search button span { display: none; }
    .hero-search button { padding: 11px 14px; }
}

.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree ul { padding-left: 14px; }
.cat-tree li { margin: 2px 0; }
.cat-tree a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink); transition: background .18s var(--ease), color .18s var(--ease), padding-left .18s var(--ease); }
.cat-tree a:hover { background: var(--bg); color: var(--brand); padding-left: 16px; }
.cat-tree a.active { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 7px; }

.subcat-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0 0 22px; }
.subcat-chips a {
    display: inline-block; background: var(--bg); border: 1px solid var(--line);
    padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.subcat-chips a:hover { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; transform: translateY(-1px); }

/* ---- Product grids ---- */
.product-grid { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.product-grid th, .product-grid td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.product-grid thead th { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.product-grid thead th:first-child { border-top-left-radius: var(--radius-sm); }
.product-grid thead th:last-child { border-top-right-radius: var(--radius-sm); }
.product-grid th.num, .product-grid td.num { width: 48px; text-align: right; }
.product-grid td.num { color: var(--muted); }
.row-thumb {
    flex: 0 0 auto; width: 46px; height: 46px; object-fit: cover; display: block; background: #fff;
    border: 1px solid var(--line); border-radius: 8px; transition: transform .2s var(--ease);
}
.product-grid tbody tr:hover .row-thumb { transform: scale(1.06); }
/* Name cell with embedded thumbnail */
.product-grid .name-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; vertical-align: middle; }
.product-grid .name-link:hover { text-decoration: none; }
.product-grid .name-link:hover span { text-decoration: underline; }

/* Result bar: "Showing X–Y of Z" + top pagination */
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; }
.result-count { color: var(--muted); font-size: 14px; }
.result-bar .pagination { margin: 0; }
.product-grid tbody tr { transition: background .15s var(--ease); }
.product-grid tbody tr:nth-child(even) { background: #fafcff; }
.product-grid tbody tr:hover { background: #eaf3ff; }
.product-grid tbody a { font-weight: 600; }
/* Sub-category groups (template 2: grid-with-categories) */
.subcat-group { margin: 0 0 18px; padding: 18px 20px 20px; background: var(--bg); border-radius: 16px; }
.subcat-group:last-child { margin-bottom: 0; }
.subcat-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.subcat-group-head h3 { margin: 0; font-size: 1.12rem; color: var(--brand-dark); position: relative; padding-left: 14px; }
.subcat-group-head h3::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--sky)); }
.subcat-group-head h3 a { color: inherit; }
.subcat-group-head h3 a:hover { color: var(--brand); }
.subcat-viewall { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--brand); transition: gap .2s var(--ease), color .2s var(--ease); }
.subcat-viewall svg { width: 15px; height: 15px; }
.subcat-viewall:hover { color: var(--brand-dark); gap: 9px; }

.product-thumbnails { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px; }
.product-thumbnails li {
    text-align: center; background: #fff; border: 1px solid rgba(15, 23, 42, .06); border-radius: 18px;
    overflow: hidden; box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-thumbnails li:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(22, 104, 220, .18); border-color: rgba(22, 104, 220, .22); }
.product-thumbnails a { display: block; }
.product-thumbnails .thumb-frame { display: block; overflow: hidden; position: relative; }
.product-thumbnails img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.product-thumbnails li:hover img { transform: scale(1.08); }
.product-thumbnails a > span:last-child {
    display: block; margin: 0; padding: 15px 12px 17px; position: relative;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 14px;
    letter-spacing: .1px; color: var(--brand-dark); transition: color .2s var(--ease);
}
.product-thumbnails a > span:last-child::after {
    content: ""; position: absolute; left: 50%; bottom: 11px; width: 0; height: 2px; border-radius: 2px;
    transform: translateX(-50%); background: linear-gradient(90deg, var(--brand), var(--sky));
    transition: width .28s var(--ease);
}
.product-thumbnails li:hover a > span:last-child { color: var(--brand); }
.product-thumbnails li:hover a > span:last-child::after { width: 30px; }

.pagination { display: flex; gap: 7px; flex-wrap: wrap; }
.pagination a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); transition: all .18s var(--ease); }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.active { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-color: transparent; }

/* ---- Product detail ---- */
.detail-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; }
.detail-main { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.detail-thumbs { list-style: none; display: flex; gap: 9px; padding: 0; margin: 13px 0 0; flex-wrap: wrap; }
.detail-thumbs img { width: 66px; height: 66px; object-fit: cover; border: 2px solid transparent; border-radius: 8px; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.detail-thumbs img:hover { border-color: var(--brand); transform: translateY(-2px); }
.detail-info .catalog { color: var(--muted); }
.detail-info .price { font-size: 1.5rem; font-weight: 700; color: var(--accent-dark); font-family: "Poppins", sans-serif; }
.attributes { width: 100%; border-collapse: collapse; margin: 18px 0; }
.attributes th, .attributes td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.attributes th { width: 38%; color: var(--brand-dark); }
/* Editor (Quill) wraps values in <p>; strip its leading/trailing margins so the
   first line aligns with the label and rows stay tight. */
.attributes td > :first-child { margin-top: 0; }
.attributes td > :last-child { margin-bottom: 0; }
.attributes td p { margin: 0 0 .5em; }
/* List-type attribute (e.g. "Features") shown as a full-width modern spec table */
.spec-block { margin: 22px 0 6px; }
.spec-title { color: var(--brand-dark); font-size: 1.05rem; margin: 0 0 10px; }
.spec-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table {
    width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.spec-table thead th {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    text-align: left; padding: 11px 15px; font-weight: 600; white-space: nowrap;
}
.spec-table td { padding: 10px 15px; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table tbody tr:first-child td { border-top: 0; }
.spec-table tbody tr:nth-child(even) { background: #f7fafc; }
.spec-table tbody tr:hover { background: #eef5fb; }
.spec-table td:first-child { color: var(--brand-dark); font-weight: 600; }

/* ---- Forms / alerts ---- */
.form label { display: block; margin-bottom: 15px; font-weight: 600; }
.form input, .form textarea, .form select {
    display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-weight: 400;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 104, 220, .15);
}
.form .req { color: #e23b2e; }
.hp { position: absolute; left: -9999px; }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; }
.contact-info {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 34px 30px; color: #fff;
    background: linear-gradient(155deg, var(--brand-deep), var(--brand) 72%, var(--sky) 145%);
    box-shadow: var(--shadow-md);
}
.contact-info > *:not(.hex-bg) { position: relative; z-index: 1; }
.contact-info .hex-bg { opacity: .85; }
.contact-info h2 { color: #fff; margin: 0 0 10px; }
.ci-lead { opacity: .92; margin: 0 0 28px; line-height: 1.6; }
.contact-info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.ci-icon svg { width: 22px; height: 22px; }
.ci-icon-wa { background: rgba(37, 211, 102, .9); }
.ci-text { display: block; }
.ci-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; opacity: .78; margin-bottom: 4px; }
.ci-value { line-height: 1.55; }
.ci-value a { color: #fff; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.ci-value a:hover { color: #fff; opacity: .85; }
.ci-maplink {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 11px;
    padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
    color: #fff; text-decoration: none; background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.ci-maplink svg { width: 15px; height: 15px; }
.ci-maplink:hover { background: rgba(255, 255, 255, .28); color: #fff; opacity: 1; transform: translateY(-1px); }

.contact-form-card h2 { margin-top: 0; color: var(--brand-dark); }
.ci-form-note { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #e7f8f0; border: 1px solid #a7e3c8; color: #0f5f40; }
.alert-error   { background: #fdeceb; border: 1px solid #f5c2bd; color: #8a221b; }

/* ---- Footer (full-bleed, content aligned to container) ---- */
.site-footer { position: relative; overflow: hidden; flex-shrink: 0; color: #aebed3;
    background: linear-gradient(150deg, var(--brand-deep), #0a1626 72%); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--brand), var(--sky) 35%, #34d399 65%, #a78bfa 100%); }
.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; pointer-events: none; user-select: none; }
.footer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.6fr; gap: 40px; padding: 52px 22px 42px; }

.footer-brand { max-width: 340px; }
.footer-logo { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-logo-mark { height: 46px; width: auto; display: block; color: #fff; }
.footer-wordmark { display: flex; flex-direction: column; gap: 3px; font-family: "Poppins", "Segoe UI", system-ui, sans-serif; }
.footer-wordmark .fw-name { font-weight: 700; font-size: 1.24rem; line-height: 1; letter-spacing: .4px; text-transform: uppercase; color: #fff; }
.footer-wordmark .fw-name .fw-2 { color: #5b9be8; }
.footer-wordmark .fw-slogan { font-weight: 400; font-style: italic; font-size: .74rem; color: rgba(255, 255, 255, .6); letter-spacing: .2px; }
.footer-about { margin: 0; font-size: .92rem; line-height: 1.65; color: #9fb0c6; }

.footer-col h3 { color: #fff; font-size: 1.02rem; margin: 0 0 16px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--sky), transparent); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; }
.footer-links a { color: #aebed3; font-size: .93rem; display: inline-block; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin: 12px 0; font-size: .92rem; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--sky); }
.footer-contact a { color: #aebed3; transition: color .2s var(--ease); }
.footer-contact a:hover { color: #fff; }
.footer-maplink { display: inline-block; margin-top: 8px; color: #7fc4f5; font-weight: 600; }
.footer-maplink:hover { color: #fff; }

.footer-copyright { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .22); }
.footer-copyright-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px 22px; font-size: .85rem; color: #7e90a8; }
.footer-tag { font-style: italic; opacity: .85; }

@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---- Scroll-reveal animation (added by JS; no-JS keeps content visible) ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero { animation: none; }
}

/* Floating WhatsApp button (fixed → follows scroll) */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 60;
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .55); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
    background: #25d366; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 600px) { .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; } .wa-float svg { width: 28px; height: 28px; } }

/* ---- Responsive ---- */
@media (max-width: 880px) {
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
        padding: 8px; gap: 2px; box-shadow: var(--shadow-md);
    }
    .site-nav.open { display: flex; align-items: stretch; }
    .site-nav a { padding: 11px 14px; }
    .site-nav a:not(.nav-cta)::after { display: none; }
    .site-nav a:not(.nav-cta):hover, .site-nav a.active { background: rgba(22, 104, 220, .1); }
    .site-nav a.nav-cta { margin: 6px 0 2px; justify-content: center; }
    .header-inner { position: relative; }
}
@media (max-width: 700px) {
    .img-right, .img-left { float: none; display: block; margin: 0 0 16px; max-width: 100%; }
    .hero { padding: 40px 24px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-tagline { position: static; text-align: left; margin: 0 0 14px; font-size: 1.05rem; }
    .brand-name { font-size: 1rem; }
    .brand-slogan { font-size: .58rem; }
    .brand-mark { height: 40px; }
}
