/* ==========================================================================
   Sutej Networks — site styles
   Light, vibrant theme in the brand blue / cyan with violet accents.
   ========================================================================== */
:root {
  --bg: #f6f9ff;
  --bg-2: #edf3ff;
  --panel: #ffffff;
  --panel-2: #f2f6ff;
  --line: rgba(37, 99, 235, 0.13);
  --line-strong: rgba(37, 99, 235, 0.26);
  --text: #0b1a33;
  --text-2: #334766;
  --muted: #5b6b85;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --cyan: #0891b2;
  --cyan-bright: #06b6d4;
  --violet: #7c3aed;
  --pink: #db2777;
  --ok: #059669;
  --warn: #b45309;
  --danger: #dc2626;
  --tint: rgba(37, 99, 235, 0.07);
  --tint-2: rgba(37, 99, 235, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 14px 34px -14px rgba(30, 64, 175, 0.22);
  --shadow-lg: 0 24px 50px -18px rgba(30, 64, 175, 0.32);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Montserrat', var(--font);
  --header-h: 68px;
  --grad-accent: linear-gradient(90deg, #06b6d4, #2563eb 55%, #7c3aed);
  --grad-btn: linear-gradient(100deg, #2563eb 0%, #4f46e5 60%, #7c3aed 100%);
  --grad-soft: linear-gradient(120deg, #1d4ed8 0%, #2563eb 35%, #6d28d9 75%, #c026d3 110%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.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; }
.grad-text { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 700 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 60ch; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 10px; color: #fff; }

/* ---------- Circuit pattern + colour glows ---------- */
.circuit-bg {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 70% at 78% 30%, rgba(37, 99, 235, .16), transparent 70%),
    radial-gradient(ellipse 45% 55% at 8% 90%, rgba(6, 182, 212, .16), transparent 70%),
    radial-gradient(ellipse 35% 45% at 95% 95%, rgba(124, 58, 237, .12), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%232563eb' stroke-opacity='.10'%3E%3Cpath d='M0 40h40l20 20h40M100 60v40l20 20h40M20 160v-40l20-20h20M80 0v20l20 20h20l20-20'/%3E%3C/g%3E%3Cg fill='%2306b6d4' fill-opacity='.35'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Ccircle cx='100' cy='60' r='2'/%3E%3Ccircle cx='120' cy='120' r='2'/%3E%3Ccircle cx='60' cy='100' r='2'/%3E%3Ccircle cx='120' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, color .15s, box-shadow .15s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 22px -6px rgba(37, 99, 235, .5); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px -6px rgba(79, 70, 229, .6); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: #1e3a8a; }
.btn-light:hover { background: #e0e7ff; color: #1e3a8a; }
.btn-wa { background: #25d366; color: #053d1d; }
.btn-wa:hover { background: #1fbf5b; color: #053d1d; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-accent); opacity: .7; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand .logo { width: 38px; height: 38px; }
.brand-text strong { font-weight: 800; }
.brand-text { font-weight: 600; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .dd-trigger {
  color: var(--text-2); font-size: .92rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:not(.btn):hover, .dd-trigger:hover { color: var(--blue); background: var(--tint); }
.nav a.active, .dropdown.active > .dd-trigger { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.dropdown { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s;
}
.dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.dropdown:hover .dd-menu, .dropdown:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; color: var(--text-2); border-radius: 8px; font-size: .92rem; }
.dd-menu a:hover { background: var(--tint); color: var(--blue); }
.cart-link { position: relative; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px;
  font: 700 .7rem/1 var(--font); background: var(--cyan-bright); color: #fff; border-radius: 99px;
}
.badge[hidden] { display: none; }
.cart-link .badge, .icon-btn .badge { position: absolute; top: 0; right: -2px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); cursor: pointer;
}
.nav-actions-mobile { display: none; gap: 8px; align-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-actions-mobile { display: flex; }
  .desktop-only { display: none !important; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px; background: #fff; overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  .nav > a:not(.btn), .dd-trigger { padding: 14px 12px; font-size: 1rem; width: 100%; }
  .nav a.active, .dropdown.active > .dd-trigger { box-shadow: inset 3px 0 0 var(--blue); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; min-height: 50px; }
  .caret { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; margin: 0; }
  .dd-menu a { padding: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 640px) { .section { padding: 52px 0; } .section-head { margin-bottom: 28px; } }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-hover:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  color: #fff; background: var(--grad-btn); box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .6);
}
.icon-tile .ic { width: 26px; height: 26px; }
.grid > .card:nth-child(3n+2) .icon-tile { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.grid > .card:nth-child(3n+3) .icon-tile { background: linear-gradient(135deg, #7c3aed, #db2777); }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: .95rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--cyan-bright); border-bottom: 2px solid var(--cyan-bright); transform: rotate(-45deg);
}
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-accent); }
.service-card .check-list { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: .92rem; }
.hero-points li { display: inline-flex; gap: 8px; align-items: center; }
.hero-points .ic { color: var(--ok); width: 18px; height: 18px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

.flow { stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
.spin-slow { animation: spin 60s linear infinite; transform-origin: 240px 210px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .flow, .pulse, .spin-slow { animation: none; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--grad-soft); color: #fff; }
.trust-inner { display: flex; align-items: center; gap: 12px 28px; padding: 22px 0; flex-wrap: wrap; }
.trust-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #c7d2fe; font-weight: 700; }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.trust-items span { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; font-size: .95rem; }
.trust-items .ic { color: #67e8f9; }

/* ---------- Feature rows ---------- */
.feature { display: flex; gap: 16px; }
.feature .icon-tile { margin: 0; width: 46px; height: 46px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.accountability {
  position: relative; border-radius: 18px; padding: 32px; background: var(--grad-soft); overflow: hidden; color: #fff; box-shadow: var(--shadow-lg);
}
.accountability::before {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.35'%3E%3Cpath d='M0 30h30l15 15h30M75 45v30l15 15h30'/%3E%3C/g%3E%3C/svg%3E");
}
.accountability > * { position: relative; }
.accountability h3 { font-size: 1.4rem; color: #fff; }
.accountability p { color: #e8eeff; }
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.hub span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); border-radius: 8px; padding: 8px; text-align: center; font-size: .82rem; font-weight: 600; }
.hub .hub-core { grid-column: 1 / -1; background: #fff; color: #1e3a8a; font-family: var(--font-head); font-size: .95rem; }

/* ---------- Brand tiles ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 96px; padding: 16px 12px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--text); transition: .2s;
}
.brand-tile:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: #1e3a8a; }
.brand-tile:hover .wordmark { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tile .muted { font-size: .78rem; line-height: 1.4; }
.brand-tile.lg { min-height: 170px; align-items: flex-start; text-align: left; padding: 22px; }
.brand-tile.lg .link-arrow { font-size: .85rem; margin-top: auto; color: var(--blue); }

/* ---------- CTA panel ---------- */
.cta-panel { border-radius: 20px; padding: 44px; background: var(--grad-soft); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; position: relative; overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); }
.cta-panel::after { content: ''; position: absolute; width: 300px; height: 300px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(103, 232, 249, .4), transparent 70%); pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin-bottom: 8px; color: #fff; }
.cta-panel p { margin: 0; color: #e3eaff; max-width: 56ch; }
.cta-panel .cta-row { margin: 0; }
@media (max-width: 640px) { .cta-panel { padding: 28px 20px; } }

/* ---------- Page hero ---------- */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
@media (max-width: 640px) { .page-hero { padding: 36px 0 28px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.req { color: var(--pink); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 46px;
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
input[type="file"] { padding: 10px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); margin: 0; flex: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .8rem; display: none; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.fieldset legend { padding: 0 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }

/* ---------- Catalogue ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.shop > *, .cart-grid > *, .contact-grid > *, .pd > * { min-width: 0; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.filters details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.filters summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-family: var(--font-head); display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters .filter-body { padding: 0 16px 16px; display: grid; gap: 14px; }
@media (min-width: 901px) { .filters summary { pointer-events: none; } .filters summary .toggle-hint { display: none; } }
@media (max-width: 900px) { .filters { position: static; } }
.cat-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.pill {
  flex: none; min-height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff;
  color: var(--text-2); font: 500 .88rem/1 var(--font); cursor: pointer; white-space: nowrap;
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.results-bar select { width: auto; min-height: 38px; padding: 6px 36px 6px 12px; font-size: .88rem; }

.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .p-grid { grid-template-columns: 1fr; } }
.p-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s; }
.p-card:hover { border-color: var(--line-strong); }
.p-media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, #ffffff, #e0ebff 75%); border-bottom: 1px solid var(--line); }
.p-media svg { width: 70%; height: auto; max-height: 80%; }
.p-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cond-list { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.brand-tag { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.p-body h3 { font-size: 1rem; margin: 0; font-family: var(--font); font-weight: 600; line-height: 1.35; }
.p-body h3 a { color: var(--text); }
.p-body h3 a:hover { color: var(--blue); }
.sku { font: 500 .78rem/1 ui-monospace, 'Cascadia Code', Consolas, monospace; color: var(--muted); margin: 0; }
.p-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.price small { font: 500 .72rem var(--font); color: var(--muted); margin-left: 4px; }
.price.quote { font-size: .95rem; color: var(--blue); }
.stock { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock.low::before { background: var(--warn); }
.stock.none::before { background: var(--muted); }
.p-actions { display: flex; gap: 8px; }
.p-actions .btn { flex: 1; }

.cond { font: 700 .7rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.cond-new { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.cond-refurbished { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.cond-eol-certified { background: #fef3c7; color: var(--warn); border: 1px solid #fde68a; }
.cond-service { background: #fce7f3; color: var(--pink); border: 1px solid #fbcfe8; }

.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty h3 { color: var(--text); }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 24px; } }
.pd-media { border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #ffffff, #dbe8ff 75%); box-shadow: var(--shadow); }
.pd-media svg { width: 70%; }
.pd-media { overflow: hidden; }
@media (max-width: 900px) { .pd-media { aspect-ratio: 16 / 9; max-height: 240px; } .pd-media svg { width: 55%; } }
.pd h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; flex-wrap: wrap; }
.pd-price .price { font-size: 1.9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 46px; background: transparent; border: 0; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--tint); color: var(--blue); }
.qty input { width: 56px; border: 0; border-radius: 0; text-align: center; padding: 0; min-height: 46px; background: transparent; -moz-appearance: textfield; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.buy-row .btn { flex: 1 1 180px; }
.notice {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px; font-size: .9rem; color: var(--text-2);
  background: #eef4ff; border: 1px solid #c7d7fe;
}
.notice .ic { color: var(--blue); margin-top: 2px; }
.notice.warn { background: #fffbeb; border-color: #fde68a; }
.notice.warn .ic { color: var(--warn); }
.notice.ok { background: #ecfdf5; border-color: #a7f3d0; }
.notice.ok .ic { color: var(--ok); }

.spec-table, .data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; }

/* ---------- Matrix ---------- */
.toolbar { display: grid; grid-template-columns: 1fr 200px 200px; gap: 12px; margin-bottom: 18px; }
@media (max-width: 760px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .search { grid-column: 1 / -1; } }
.search { position: relative; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
.search input { padding-left: 42px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad-soft); font-weight: 600; }
.data-table tbody tr:nth-child(even) { background: #f8faff; }
.data-table tbody tr:hover { background: var(--tint); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .oem { font-weight: 700; white-space: nowrap; color: #1e3a8a; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .72rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
@media (max-width: 760px) {
  .data-table thead { display: none; }
  .data-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table td { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 4px 0; border: 0; }
  .data-table td::before { content: attr(data-label); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 2px; }
}

/* ---------- Tracker ---------- */
.track-box { max-width: 760px; }
.track-form { display: flex; gap: 10px; }
.track-form .search { flex: 1; }
@media (max-width: 560px) { .track-form { flex-direction: column; } }
.demo-ids { margin-top: 14px; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.demo-ids button { background: #fff; border: 1px solid var(--line-strong); color: var(--text-2); border-radius: 6px; padding: 5px 9px; cursor: pointer; font: 500 .8rem ui-monospace, Consolas, monospace; }
.demo-ids button:hover { border-color: var(--blue); color: var(--blue); }
.ticket { border: 1px solid var(--line-strong); border-radius: 16px; background: #fff; overflow: hidden; margin-top: 24px; box-shadow: var(--shadow); }
.ticket-head { padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.ticket-head h3 { margin: 4px 0 0; }
.ticket-id { font: 600 .82rem ui-monospace, Consolas, monospace; color: var(--blue); }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; font-weight: 600; font-size: .85rem; background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.action { background: #fef3c7; color: var(--warn); border-color: #fde68a; }
.status-pill.done { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
.ticket-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { .ticket-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticket-meta dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ticket-meta dd { margin: 4px 0 0; font-weight: 600; font-size: .92rem; word-break: break-word; }
.ticket-body { padding: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--cyan-bright); }
.tl-dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: #fff; }
.tl-dot .ic { width: 14px; height: 14px; }
.done .tl-dot { background: var(--cyan-bright); border-color: var(--cyan-bright); color: #fff; }
.current .tl-dot { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, .15); }
.current .tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.current.action .tl-dot { border-color: var(--warn); box-shadow: 0 0 0 5px rgba(217, 119, 6, .15); }
.current.action .tl-dot::after { background: var(--warn); }
.tl-title { font-weight: 600; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tl-date { font-size: .82rem; color: var(--muted); font-weight: 500; }
.upcoming .tl-title { color: var(--muted); font-weight: 500; }
.tl-desc { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.estimate-box { margin-top: 12px; padding: 16px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; }
.estimate-box .amount { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.estimate-box .cta-row { margin: 12px 0 0; }
.ticket-note { margin-top: 20px; }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; gap: 24px; } }
.svc-detail .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 640px) { .svc-detail .check-list { grid-template-columns: 1fr; } }
.side-card h3 { font-size: 1rem; }
.side-card ul { margin: 0 0 20px; color: var(--text-2); font-size: .95rem; }
.svc-anchor { scroll-margin-top: calc(var(--header-h) + 16px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: s; }
.steps div { counter-increment: s; border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: .88rem; color: var(--text-2); background: #fff; }
.steps div::before { content: counter(s, decimal-leading-zero); display: block; font: 800 .85rem var(--font-head); margin-bottom: 6px; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); }
a.contact-item:hover { border-color: var(--blue); color: var(--text); }
.contact-item .icon-tile { width: 42px; height: 42px; margin: 0; background: var(--tint-2); color: var(--blue); box-shadow: none; }
.contact-item .icon-tile .ic { width: 20px; height: 20px; }
.contact-item small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-item span { font-weight: 600; font-size: .95rem; word-break: break-word; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }
.success { text-align: center; padding: 40px 24px; }
.success .icon-tile { margin: 0 auto 18px; color: #fff; background: linear-gradient(135deg, #10b981, #059669); }
.ref { font: 700 1.1rem ui-monospace, Consolas, monospace; color: var(--blue); }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 88px; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle, #ffffff, #dbe8ff); display: grid; place-items: center; }
.cart-thumb svg { width: 75%; }
.cart-line h3 { font: 600 .95rem/1.35 var(--font); margin: 0 0 4px; }
.cart-line h3 a { color: var(--text); }
.cart-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .qty button { width: 36px; height: 38px; }
.cart-line .qty input { width: 44px; min-height: 38px; }
.remove { background: none; border: 0; color: var(--muted); font-size: .82rem; cursor: pointer; padding: 4px; }
.remove:hover { color: var(--danger); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-thumb { width: 64px; }
  .cart-line-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-2); font-size: .95rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; color: var(--text); font-size: 1.1rem; }
.summary .btn { margin-top: 12px; }
.pay-opt { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; align-items: flex-start; }
.pay-opt:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.pay-opt strong { display: block; font-size: .95rem; }
.pay-opt span { font-size: .85rem; color: var(--muted); }

/* ---------- Clients ---------- */
.sector h3 { display: flex; align-items: center; gap: 10px; }
.sector p { color: var(--muted); font-size: .95rem; margin: 0; }
.ref-client { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ref-mark { width: 120px; height: 120px; flex: none; border-radius: 16px; display: grid; place-items: center; font: 800 1.6rem var(--font-head); background: var(--grad-soft); color: #fff; }

/* ---------- Footer (deep blue band) ---------- */
.site-footer { position: relative; background: linear-gradient(160deg, #0b1a33 0%, #132c5e 55%, #1e3a8a 100%); color: #c3d0e3; padding: 56px 0 0; margin-top: 0; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-accent); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .muted { color: #a9b8d0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr 1.2fr; gap: 32px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand, .footer-signup { grid-column: span 3; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-signup, .footer-grid > div:nth-child(4) { grid-column: 1 / -1; } }
.footer-brand p { font-size: .9rem; margin: 14px 0 18px; }
.footer-h { font: 700 .8rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: #67e8f9; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer-links a { color: #dbe4f3; }
.footer-links a:hover { color: #67e8f9; }
.footer-contact { font-style: normal; font-size: .9rem; color: #dbe4f3; display: grid; gap: 10px; }
.footer-contact a { color: #dbe4f3; display: inline-flex; gap: 8px; align-items: center; }
.footer-contact a:hover { color: #67e8f9; }
.footer-contact .ic { color: #67e8f9; width: 16px; height: 16px; }
.site-footer .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.site-footer .btn-ghost:hover { border-color: #67e8f9; color: #fff; }
.site-footer input, .site-footer select { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.site-footer input::placeholder { color: #a9b8d0; }
.site-footer select option { color: var(--text); }
.signup-form { display: grid; gap: 8px; }
.footer-brands { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 28px 16px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-brands a { font: 800 .95rem var(--font-head); color: #8ea3c4; letter-spacing: -.01em; }
.footer-brands a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 20px 16px 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #a9b8d0; }
@media (max-width: 1080px) { .site-footer { padding-bottom: 64px; } }

/* ---------- Floating / mobile ---------- */
/* Raised clear of the bottom-right corner, where the hosting badge sits. */
.float-actions {
  position: fixed; right: 20px; bottom: 96px; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wa-float {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; }
.quote-float {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 99px;
  background: var(--grad-btn); color: #fff; font: 700 .95rem var(--font-head); box-shadow: 0 10px 28px -4px rgba(79, 70, 229, .5);
  transition: transform .2s;
}
.quote-float:hover { color: #fff; transform: translateY(-2px); }
.quote-float .ic { width: 18px; height: 18px; }
.on-quote-page .quote-float { display: none; }
.mobile-bar { display: none; }
@media (max-width: 1080px) {
  .float-actions { display: none; }
  .mobile-bar .mobile-quote { background: var(--grad-btn); color: #fff; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line-strong);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(30, 64, 175, .25);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; font-size: .72rem; font-weight: 600; color: var(--text-2); min-height: 56px; justify-content: center; }
  .mobile-bar a:nth-child(2) { color: #16a34a; }
  .mobile-bar .ic { width: 22px; height: 22px; }
  .toast { bottom: 128px; }
  /* Netlify's "Powered by Netlify" badge (an iframe Netlify adds to the page) sits bottom-right and covered the
     Get a Quote button. Keep it visible, but lift it above the quick-action bar. */
  #nl-badge-frame { bottom: calc(62px + env(safe-area-inset-bottom)) !important; }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 60; opacity: 0; pointer-events: none;
  background: #0b1a33; color: #fff; padding: 12px 18px; border-radius: 10px;
  box-shadow: var(--shadow-lg); font-size: .92rem; transition: .25s; max-width: calc(100% - 32px); display: flex; gap: 10px; align-items: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { font-weight: 600; white-space: nowrap; color: #67e8f9; }

.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }

/* ---------- Catalogue (EOL-first, part-number based) ---------- */
.life { font: 700 .7rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.life-eol { background: #fef3c7; color: var(--warn); border: 1px solid #fde68a; }
.life-current { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.m-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }

.part-search { display: flex; gap: 10px; max-width: 720px; margin-top: 24px; }
.part-search .search { flex: 1; }
.part-search input { min-height: 52px; font-size: 1.05rem; box-shadow: var(--shadow); }
@media (max-width: 560px) { .part-search { flex-direction: column; } }
.catalog-stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.catalog-stats strong { color: var(--blue); font-family: var(--font-head); }

.m-list { display: grid; gap: 10px; }
.m-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.m-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.m-thumb { width: 96px; aspect-ratio: 4 / 3; border-radius: 8px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #ffffff, #dbe8ff 80%); overflow: hidden; }
.m-thumb svg { width: 85%; }
.m-thumb img, .s-media img, .pd-media img, .cart-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.m-main { min-width: 0; }
.m-main .m-top { justify-content: flex-start; }
.m-main h3 { margin: 6px 0 2px; font: 700 1.02rem/1.3 ui-monospace, 'Cascadia Code', Consolas, monospace; letter-spacing: 0; word-break: break-all; }
.m-main h3 a { color: var(--text); }
.m-main h3 a:hover { color: var(--blue); }
.m-desc { margin: 0; color: var(--muted); font-size: .86rem; }
.m-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.m-actions { display: flex; gap: 6px; }
.m-actions .btn-ghost { padding: 0 10px; }
@media (max-width: 640px) {
  .m-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .m-thumb { width: 64px; }
  .m-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
}

.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.s-grid.one { grid-template-columns: 1fr; margin-top: 12px; }
.s-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.s-card:hover { border-color: transparent; color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.s-media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 40%, #ffffff, #dbe8ff 75%); border-bottom: 1px solid var(--line); }
.s-media svg { width: 62%; }
.s-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.s-body strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }

.series-index { padding-top: 8px; }
.series-index h2 { font-size: 1.4rem; margin-bottom: 20px; }
.si-grid { columns: 3 260px; column-gap: 28px; }
.si-grid > div { break-inside: avoid; margin-bottom: 22px; }
.si-grid h3 { font-size: .95rem; color: #1e3a8a; margin-bottom: 8px; }
.si-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.si-grid li { font-size: .88rem; line-height: 1.4; }
.si-grid a { color: var(--text-2); }
.si-grid a:hover { color: var(--blue); }
.si-grid li span { color: var(--muted); font-size: .76rem; margin-left: 4px; }

.tree { gap: 4px !important; max-height: 60vh; overflow-y: auto; }
.tree-brand { border: 0 !important; background: transparent !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; box-shadow: none !important; }
.tree-brand > summary { padding: 10px 2px !important; font-size: .95rem; pointer-events: auto !important; }
.tree-brand > summary::after { content: '+'; color: var(--blue); margin-left: 8px; }
.tree-brand[open] > summary::after { content: '−'; }
.tree-brand .count { margin-left: auto; font: 500 .75rem var(--font); color: var(--muted); }
.tree-cat { display: grid; padding: 2px 0 8px 8px; }
.tree-link { text-align: left; background: none; border: 0; color: var(--text-2); font: inherit; font-size: .86rem; padding: 6px 8px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.tree-link:hover { background: var(--tint); color: var(--blue); }
.tree-link.on { background: var(--tint-2); color: var(--blue-600); font-weight: 600; }
.tree-cat-btn { font-weight: 600; color: var(--text); }
.tree-series { padding-left: 18px; color: var(--muted); }
.tree-all { font-size: .82rem; color: var(--blue); }
.dot-eol { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #fff; }
.seg button { background: transparent; border: 0; border-right: 1px solid var(--line-strong); color: var(--text-2); font: 600 .8rem var(--font); padding: 10px 4px; cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--grad-btn); color: #fff; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips-row:empty { display: none; }
.chip-x { background: #e0f2fe; border: 1px solid #bae6fd; color: #0369a1; border-radius: 99px; padding: 6px 12px; font: 600 .8rem var(--font); cursor: pointer; }
.chip-x:hover { border-color: var(--cyan); }
.series-head { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, #ffffff, #eaf1ff); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.series-head h2 { font-size: 1.3rem; margin: 8px 0 6px; }
.series-head .m-top { justify-content: flex-start; }
.center { text-align: center; }
.part-h1 { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 12px 0 4px; word-break: break-all; letter-spacing: 0; }
.data-table.compare td.oem a { font-family: ui-monospace, Consolas, monospace; }
.data-table.compare td { font-size: .88rem; }
.q-cond { width: auto; min-height: 38px; padding: 6px 32px 6px 10px; font-size: .85rem; }

/* ---------- Stock ---------- */
.stock-badge { font: 700 .7rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; background: #059669; color: #fff; }
.stock-text { color: var(--ok); font-weight: 600; }
.stock-line { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 600; font-size: .92rem; margin: 10px 0 0; }
.stat-callout { border-left: 3px solid var(--cyan-bright); padding: 10px 16px; background: #ecfeff; border-radius: 0 8px 8px 0; color: var(--text-2); }
.stat-callout strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--text); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; gap: 24px; } }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; max-width: 280px; height: auto; border-radius: 16px; padding: 4px; background: var(--grad-accent); box-shadow: var(--shadow-lg); }
.founder-photo figcaption { margin-top: 12px; display: flex; flex-direction: column; }
.founder-photo figcaption strong { font-family: var(--font-head); font-size: 1.1rem; }
.founder-photo figcaption span { color: var(--muted); font-size: .9rem; }
.founder-creds { list-style: none; padding: 0; margin: 12px 0 0; }
@media (max-width: 800px) { .founder-photo { display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; align-items: center; } .founder-photo img { grid-row: span 2; } .founder-creds { grid-column: 1 / -1; } }
.founder-text p { color: var(--text-2); }
.founder-text h2 { margin-bottom: 18px; }
.founder-text blockquote { margin: 0 0 16px; padding: 4px 0 4px 20px; border-left: 3px solid var(--cyan-bright); }
.founder-text blockquote p { font-size: 1.2rem; line-height: 1.55; color: var(--text); margin: 0; }
.founder-commitment { font-family: var(--font-head); font-weight: 700; color: #1e3a8a !important; font-size: 1.05rem; }
.founder-sign { margin-top: 20px; line-height: 1.5; }
.founder-sign strong { color: var(--text); }

/* ---------- Brochure ---------- */
.brochure { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
@media (max-width: 860px) { .brochure { grid-template-columns: 1fr; gap: 28px; } .brochure-preview { max-width: 320px; margin: 0 auto; } }
.brochure-preview { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); transform: rotate(1.5deg); transition: transform .2s, border-color .2s; }
.brochure-preview:hover { transform: rotate(0deg) translateY(-3px); border-color: var(--blue); }
.brochure-preview img { width: 100%; height: auto; }
.brochure-tag { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(11, 26, 51, .88); color: #fff; font: 600 .78rem var(--font); }
@media (prefers-reduced-motion: reduce) { .brochure-preview { transform: none; } }
.footer-downloads { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Contact & quote pages ---------- */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-page .map { aspect-ratio: auto; min-height: 360px; }
@media (max-width: 860px) { .contact-page { grid-template-columns: 1fr; } .contact-page .map { min-height: 280px; } }
.contact-next { display: flex; flex-direction: column; color: var(--text); }
.contact-next:hover { color: var(--text); }
.contact-next .link-arrow { margin-top: auto; color: var(--blue); }
.quote-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.quote-grid > * { min-width: 0; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }
.next-steps { margin: 0 0 12px; padding-left: 1.2em; color: var(--text-2); font-size: .92rem; display: grid; gap: 8px; }

/* ---------- Photo gallery (our own stock and office photos) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; background: var(--panel); border: 1px solid var(--line); }
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: .84rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); pointer-events: none; }
.office-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.office-photo img { width: 100%; height: auto; }
.office-photo figcaption { padding: 10px 14px; font-size: .85rem; color: var(--muted); background: var(--panel); }.gallery-section { background: linear-gradient(180deg, #ffffff, var(--bg-2)); border-top: 1px solid var(--line); }

/* ---------- search landing pages ---------- */
.lp-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.lp-copy p { color: var(--text-2); font-size: 1.04rem; line-height: 1.75; margin: 0 0 18px; }
.lp-copy .lp-area { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); }
.lp-area .ic { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.lp-points h2 { font-size: 1.15rem; margin-bottom: 14px; }
.lp-points .check-list { margin: 0; }
.lp-faq { max-width: 860px; }
.lp-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); margin-bottom: 12px; box-shadow: 0 1px 2px rgba(30, 64, 175, .05); }
.lp-faq summary { cursor: pointer; padding: 16px 20px; font: 700 1rem var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.lp-faq details[open] summary::after { content: '\2212'; }
.lp-faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-2); line-height: 1.7; }
.landing-links { margin-top: 40px; }
.landing-links h2 { font-size: 1.3rem; margin-bottom: 16px; }
.ll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ll-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); background: var(--panel); color: var(--text); transition: box-shadow .2s, transform .2s; }
.ll-grid a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ll-grid span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.ll-grid strong { font: 700 1rem var(--font-head); }
.footer-seo { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding-top: 28px; margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.footer-seo a { color: #b4c3dc; }
.footer-seo a:hover { color: #fff; }
.footer-seo + .footer-brands { margin-top: 0; border-top: 0; }
@media (max-width: 860px) { .lp-intro { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- company facts (About) ---------- */
.facts { padding: 28px 30px; }
.facts h2 { font-size: 1.3rem; margin-bottom: 16px; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; color: var(--text-2); }
@media (max-width: 640px) { .facts { padding: 22px 18px; } .facts dl > div { grid-template-columns: 1fr; gap: 2px; } }
