/* ============================================================
   MetrixSlide – Global Stylesheet
   B2B server-rail manufacturer. Clean, professional, blue.
   Primary brand blue : #0b3a82
   Bright blue (CTA)  : #1e6dd8
   Sky accent         : #0ea5e9
   ============================================================ */

:root {
  --brand-900: #062354;
  --brand-800: #0b3a82;   /* primary */
  --brand-700: #134eaa;
  --brand-600: #1e6dd8;   /* CTA / links */
  --brand-500: #2f86ee;
  --accent-400: #0ea5e9;  /* sky */
  --accent-50:  #eaf2fc;  /* very light blue surface */
  --ink-900: #0f172a;
  --ink-700: #1f2937;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --line-200: #e2e8f0;
  --line-100: #eef2f7;
  --bg-0: #ffffff;
  --bg-1: #f7f9fc;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --radius: 8px;
  --container: 1200px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--bg-0);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); text-decoration: underline; }

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

h1, h2, h3, h4 { color: var(--ink-900); margin: 0 0 .6em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; letter-spacing: -.01em; }
h2 { font-size: 1.85rem; letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-900);
  color: #cfdcf3;
  font-size: .82rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.topbar a { color: #cfdcf3; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar .topbar-right { display: flex; gap: 18px; }
.topbar .sep { color: rgba(255, 255, 255, .25); margin: 0 4px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line-200);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink-900);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  display: grid; place-items: center;
  color: #fff; font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(30, 109, 216, .35);
}
.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.brand-name span { color: var(--brand-700); }
.brand-tag {
  font-size: .72rem;
  color: var(--ink-400);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand-700); background: var(--accent-50); text-decoration: none; }
.nav a.active { color: var(--brand-800); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--brand-700);
}
.btn-quote {
  margin-left: 14px;
  background: var(--brand-700);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 6px;
}
.btn-quote:hover { background: var(--brand-800); text-decoration: none; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-200);
  padding: 8px 10px; border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink-700); margin: 4px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
  font-size: .95rem;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-700); border-color: var(--brand-700); }
.btn-outline:hover { background: var(--accent-50); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(11, 58, 130, .92), rgba(6, 35, 84, .92)),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, .35), transparent 60%);
  background-color: var(--brand-900);
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; font-size: 3rem; line-height: 1.15; }
.hero .lead { color: #cfdcf3; font-size: 1.15rem; max-width: 560px; margin-bottom: 30px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 24px; color: #b9cce8; font-size: .9rem; }
.hero-badges .b { display: flex; align-items: center; gap: 8px; }
.hero-badges .b svg { color: var(--accent-400); }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; }
.hero-card .stat { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.hero-card .stat strong { font-size: 2rem; color: #fff; }
.hero-card .stat span { color: #b9cce8; font-size: .9rem; }
.hero-card ul { padding-left: 20px; margin: 16px 0 0; color: #dbe6f7; }
.hero-card ul li { margin-bottom: 6px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-1); }
.section-blue { background: var(--accent-50); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

/* ---------- Advantages grid ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: 10px;
  padding: 28px 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.adv-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
}
.adv-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--accent-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.adv-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.adv-card p { color: var(--ink-500); font-size: .92rem; margin: 0; }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
  color: inherit;
}
.cat-card:hover {
  border-color: var(--brand-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}
.cat-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.cat-card h4 { margin-bottom: 6px; color: var(--ink-900); }
.cat-card p  { color: var(--ink-500); font-size: .92rem; min-height: 44px; }
.cat-card .more { color: var(--brand-700); font-weight: 600; font-size: .9rem; }
.cat-card .more svg { transition: transform .15s; }
.cat-card:hover .more svg { transform: translateX(4px); }

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.prod-card:hover {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  text-decoration: none;
}
.prod-thumb {
  background: #ffffff;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  padding: 10px;
}
.prod-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.prod-thumb .placeholder {
  color: var(--brand-700);
  opacity: .65;
}
.prod-card .body { padding: 16px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.prod-card .cat { font-size: .78rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 6px; }
.prod-card h4 { color: var(--ink-900); font-size: 1.05rem; line-height: 1.35; margin: 2px 0 12px; }
.prod-card .summary { color: var(--ink-500); font-size: .92rem; flex: 1; margin-bottom: 14px; }
.prod-card .specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.prod-card .specs span {
  background: var(--accent-50); color: var(--brand-800);
  padding: 3px 8px; border-radius: 4px; font-size: .75rem; font-weight: 600;
}
.prod-card .meta { display: flex; justify-content: space-between; align-items: center; color: var(--ink-400); font-size: .85rem; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-200); }
.prod-card .meta strong { color: var(--brand-700); }

/* ---------- Trust band ---------- */
.trust-band {
  background: var(--brand-800);
  color: #fff;
  padding: 36px 0;
}
.trust-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.trust-band strong { font-size: 2.2rem; color: #fff; display: block; line-height: 1.1; }
.trust-band span  { color: #b9cce8; font-size: .92rem; }

/* ---------- Quote CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, var(--brand-800) 0%, var(--brand-600) 100%);
  color: #fff;
  padding: 56px 0;
}
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; max-width: 720px; }
.cta-band p { color: #d8e6fa; margin: 6px 0 0; }

/* ---------- Blog / Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border: 1px solid var(--line-200);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-600); transform: translateY(-3px); text-decoration: none; }
.post-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-700), var(--accent-400));
  position: relative;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { color: var(--ink-400); font-size: .82rem; margin-bottom: 8px; }
.post-card h4 { color: var(--ink-900); margin-bottom: 8px; line-height: 1.35; }
.post-card .excerpt { color: var(--ink-500); font-size: .94rem; flex: 1; }
.post-card .more { margin-top: 14px; color: var(--brand-700); font-weight: 600; font-size: .9rem; }

/* ---------- Page header ---------- */
.page-header {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
  color: #fff;
  padding: 60px 0;
}
.page-header h1 { color: #fff; margin: 0 0 8px; }
.page-header p { color: #cfdcf3; margin: 0; max-width: 720px; }
.breadcrumbs { font-size: .85rem; color: #b9cce8; margin-bottom: 14px; }
.breadcrumbs a { color: #cfdcf3; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 8px; opacity: .6; }

/* ---------- Sidebar layout (products list / sitepage) ---------- */
.layout-with-aside {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}
.aside {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: 10px;
  padding: 22px 20px;
  position: sticky; top: 100px;
  align-self: start;
}
.aside h4 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 12px;
}
.aside-body > ul { list-style: none; padding: 0; margin: 0 0 8px; }
.aside-body > ul li { margin: 0; }
.aside-body > ul li + li { margin-top: 4px; }
.aside-body > ul a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-radius: 8px;
  color: var(--ink-700); font-weight: 500; font-size: .94rem; line-height: 1.4;
}
.aside-body > ul a:hover { background: var(--accent-50); color: var(--brand-700); text-decoration: none; }
.aside-body > ul a.active { background: var(--brand-700); color: #fff; }
.aside-body > ul a.active:hover { background: var(--brand-700); color: #fff; }
.aside .badge { background: var(--accent-50); color: var(--brand-700); font-size: .75rem; padding: 2px 9px; border-radius: 999px; font-weight: 600; flex-shrink: 0; margin-left: 10px; }
.aside-body > ul a.active .badge { background: rgba(255,255,255,.2); color: #fff; }

/* ---------- Product filters ---------- */
.filter-panel {
  margin: 26px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-200);
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.filter-head h4 { margin: 0; }
.filter-clear {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-600);
  text-decoration: none;
  white-space: nowrap;
}
.filter-clear:hover { text-decoration: underline; }
.filter-group {
  border-bottom: 1px solid var(--line-200);
  padding: 0;
}
.filter-group:last-child { border-bottom: none; }
.filter-group summary {
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-700);
  line-height: 1.45;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  user-select: none;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after {
  content: "▸";
  flex-shrink: 0;
  font-size: .72rem;
  color: var(--ink-400);
  transition: transform .15s ease;
}
.filter-group[open] summary::after { transform: rotate(90deg); }
.filter-group ul {
  list-style: none;
  padding: 0 0 14px 2px;
  margin: 0;
}
.filter-group li { margin: 0; }
.filter-group li + li { margin-top: 6px; }
.filter-group a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-600);
  text-decoration: none;
}
.filter-group a:hover { background: var(--accent-50); color: var(--brand-700); }
.filter-group a.active { background: var(--brand-700); color: #fff; font-weight: 600; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
.aside-toggle { display: none; }  /* desktop: panel always shown */
.aside .filter-panel + h4 { margin-top: 16px; }
.aside .callout-blue { margin-top: 6px; font-size: .92rem; line-height: 1.55; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.keyword-tags span {
  font-size: .78rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
}
.results-note { color: var(--ink-500); margin: 0 0 18px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; }
.product-detail .gallery {
  background: linear-gradient(135deg, #eef4fc, #dbe7f8);
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.product-detail .gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-detail .meta { color: var(--ink-400); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.product-detail h1 { font-size: 2.1rem; margin-bottom: 10px; }
.product-detail .summary { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; }
.spec-table th, .spec-table td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--line-200);
  font-size: .94rem;
}
.spec-table th { background: var(--bg-1); color: var(--ink-500); font-weight: 600; width: 38%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.callout-blue {
  background: var(--accent-50);
  border-left: 4px solid var(--brand-600);
  padding: 16px 18px; border-radius: 6px;
  color: var(--ink-700);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: flex; flex-direction: column; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
  font-size: .85rem; color: var(--ink-500); margin-bottom: 6px; font-weight: 600;
}
.form-input {
  border: 1px solid var(--line-200);
  background: #fff;
  border-radius: 6px;
  padding: 11px 14px;
  font: inherit;
  color: var(--ink-700);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(30, 109, 216, .15);
}
.form-error { color: #b91c1c; font-size: .82rem; margin-top: 4px; }
.form-help  { color: var(--ink-400); font-size: .82rem; }

/* ---------- About timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line-200); }
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-600); box-shadow: 0 0 0 4px var(--accent-50);
}
.timeline-item .y { font-weight: 700; color: var(--brand-700); margin-right: 8px; }

/* ---------- Sitepage body content ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span {
  padding: 8px 12px; border: 1px solid var(--line-200);
  border-radius: 6px; color: var(--ink-700); font-size: .9rem;
}
.pagination a:hover { border-color: var(--brand-600); color: var(--brand-700); text-decoration: none; }
.pagination .current { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

/* ---------- Alerts ---------- */
.alerts { margin: 16px 0; }
.alert {
  padding: 12px 14px; border-radius: 6px; margin-bottom: 10px;
  font-size: .95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: var(--accent-50); color: var(--brand-800); border: 1px solid #bfd9f5; }

/* ---------- Footer ---------- */
.site-footer {
  background: #061a3d;
  color: #b9cce8;
  padding: 60px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.site-footer h5 {
  color: #fff;
  font-size: .9rem; letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer a { color: #b9cce8; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: .9rem; }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--brand-500), var(--accent-400)); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #b9cce8; font-size: .9rem; margin: 14px 0; max-width: 320px; }
.footer-contact { font-size: .9rem; }
.footer-contact div { margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8da7c7; gap: 10px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 60px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2.2rem; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
  /* Mobile: collapse the whole filter/category panel behind a toggle so
     products are visible immediately. */
  .aside-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; gap: 10px; cursor: pointer;
    background: #fff; border: 1px solid var(--line-200); border-radius: 8px;
    padding: 12px 16px; margin-bottom: 16px;
    font-weight: 700; color: var(--ink-900); font-size: .95rem;
  }
  .aside-toggle-icon { transition: transform .2s; color: var(--brand-600); }
  .aside-toggle[aria-expanded="true"] .aside-toggle-icon { transform: rotate(180deg); }
  .aside-body { display: none; }
  .aside-body.open { display: block; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-band .container { grid-template-columns: repeat(2, 1fr); }
  .topbar { display: none; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-200);
    padding: 10px 24px 18px;
    box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 12px 8px; }
  .nav.open .btn-quote { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .adv-grid, .cat-grid, .prod-grid, .post-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-band .container { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ===================== 2026 homepage redesign ===================== */
/* Hero copy additions */
.hero-sub { color: #9fc1f0; font-size: 1.15rem; font-weight: 600; margin: 0 0 18px; max-width: 600px; }
.hero .lead { margin-bottom: 28px; }

/* Image placeholders (used until real photos are uploaded) */
.img-ph {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #14305f, #0f2447);
  color: #5f86c4; border-radius: 10px; min-height: 120px;
  border: 1px solid rgba(255,255,255,.08);
}
.section .img-ph, .section-alt .img-ph { background: linear-gradient(135deg,#eef4fc,#dbe7f8); color: var(--brand-600); border-color: var(--line-200); }

/* Hero right card: media + 6 stat grid */
.hero-card .hero-media { width: 100%; min-height: 210px; margin-bottom: 18px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.hero-stat { display: flex; gap: 10px; align-items: flex-start; color: #cfdcf3; }
.hero-stat svg { color: var(--accent-400); flex-shrink: 0; margin-top: 3px; }
.hero-stat strong { display: block; color: #fff; font-size: 1.35rem; line-height: 1.1; }
.hero-stat span { font-size: .8rem; color: #9fb6da; }

/* Section 2 — feature row (4 columns) */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-col .icon-wrap { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-50); color: var(--brand-600); display: grid; place-items: center; margin-bottom: 14px; }
.feature-col h4 { margin: 0 0 8px; color: var(--ink-900); }
.feature-col p { margin: 0; color: var(--ink-500); font-size: .94rem; }

/* Section 3 — deployment cards (6 across, image thumb on top) */
.deploy-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.deploy-card { position: relative; background: #fff; border: 1px solid var(--line-200); border-radius: 12px; padding: 16px 16px 20px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.deploy-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.deploy-thumb { width: 100%; aspect-ratio: 4 / 3; min-height: 0; margin-bottom: 14px; }
.deploy-card h4 { margin: 0 0 8px; color: var(--ink-900); font-size: .98rem; line-height: 1.3; }
.deploy-card p { margin: 0 0 14px; color: var(--ink-500); font-size: .86rem; flex: 1; }
.deploy-card .more { color: var(--brand-600); font-weight: 700; font-size: .85rem; }
.hot-tag { position: absolute; top: 12px; left: 12px; background: #e8442a; color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; z-index: 1; }

/* Section 4 — manufacturing band (dark) */
.mfg-band { background: linear-gradient(160deg, #0b3a82, #0a2a5e); color: #fff; padding: 72px 0 0; }
.section-head-light h2 { color: #fff; }
.section-head-light .eyebrow { color: var(--accent-400); }
.section-head-light p { color: #b9cce8; }
.mfg-main { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; margin-bottom: 56px; }
.mfg-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px 20px; }
.mfg-stat { display: flex; gap: 12px; align-items: flex-start; }
.mfg-stat svg { color: var(--accent-400); flex-shrink: 0; margin-top: 3px; }
.mfg-stat strong { display: block; color: #fff; font-size: 1.5rem; line-height: 1.1; }
.mfg-stat span { font-size: .82rem; color: #9fb6da; }
.mfg-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 132px; gap: 12px; }
.mfg-trust { border-top: 1px solid rgba(255,255,255,.14); margin-top: 0; }
.mfg-trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.mfg-trust div { display: flex; align-items: center; justify-content: center; gap: 10px; color: #dbe6f7; font-weight: 600; font-size: .95rem; }
.mfg-trust svg { color: var(--accent-400); }

/* Section 6 — why-choose grid (8 across) */
.why-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.why-card { background: #fff; border: 1px solid var(--line-200); border-radius: 12px; padding: 18px 14px; text-align: center; }
.why-card .icon-wrap { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-50); color: var(--brand-600); display: grid; place-items: center; margin: 0 auto 12px; }
.why-card h4 { margin: 0 0 6px; color: var(--ink-900); font-size: .9rem; line-height: 1.3; }
.why-card p { margin: 0; color: var(--ink-500); font-size: .82rem; }

/* Section 7 — bottom app CTA (dark) */
.app-cta { background: linear-gradient(160deg, #0b3a82, #0a2a5e); color: #fff; padding: 64px 0; }
.app-cta .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.app-cta h2 { color: #fff; margin: 0 0 10px; }
.app-cta > .container > .app-cta-text > p { color: #cfdcf3; margin: 0 0 22px; font-size: 1.05rem; }
.app-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.app-list li { display: flex; align-items: center; gap: 10px; color: #dbe6f7; font-weight: 600; }
.app-list svg { color: var(--accent-400); flex-shrink: 0; }

.prod-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- responsive (new homepage components) ---- */
@media (max-width: 1100px) {
  .deploy-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mfg-main { grid-template-columns: 1fr; gap: 32px; }
  .mfg-stats { grid-template-columns: 1fr 1fr; }
  .app-cta .container { grid-template-columns: 1fr; gap: 28px; }
  .hero-card .hero-media { min-height: 150px; }
}
@media (max-width: 600px) {
  .feature-row, .prod-grid-4 { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .mfg-stats { grid-template-columns: 1fr 1fr; }
  .mfg-trust .container { grid-template-columns: 1fr 1fr; }
  .app-list { grid-template-columns: 1fr; }
  .mfg-band { padding-top: 48px; }
}
