/* =========================================================
   Hifengda Medical — Global Stylesheet
   Clinical medical theme · blue + health-teal · responsive · animated
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #0a66e0;
  --primary-700: #084aa3;
  --primary-900: #062a5e;
  --accent: #14b88a;        /* health / life green */
  --accent-soft: #e6f7f1;
  --ink: #0f2a43;
  --body: #36536e;
  --muted: #6a859e;
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --bg-tint: #eff5fb;
  --border: #e6eef6;
  --shadow-sm: 0 6px 18px rgba(15, 42, 67, .07);
  --shadow-md: 0 18px 44px rgba(15, 42, 67, .12);
  --radius: 14px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --header-h: 74px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.72;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 96px 0; }
.section--first { padding-top: calc(var(--header-h) + 58px); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.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;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow svg { width: 16px; height: 16px; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 660px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary { background: var(--primary-700); color: #fff; box-shadow: 0 10px 24px rgba(8,74,163,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(8,74,163,.36); }
.btn-outline { border-color: var(--primary); color: var(--primary-700); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--primary-700); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; z-index: 100;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 19px; }
.brand img { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.brand .brand-text { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  color: var(--ink); transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--bg-tint); color: var(--primary-700); }
.nav-links a.active { background: var(--primary); color: #fff; }
.nav-links a.nav-cta {
  margin-left: 10px; padding: 10px 20px; font-size: 14.5px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #1a8bff, #0a63dc);
  box-shadow: 0 8px 20px rgba(10, 102, 224, .30); white-space: nowrap;
}
.nav-links a.nav-cta:hover {
  color: #fff; background: linear-gradient(135deg, #0a63dc, #0a4fae);
  box-shadow: 0 10px 24px rgba(10, 102, 224, .40); transform: translateY(-1px);
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .3s; }

/* ---------- Hero (one full-bleed photo behind the whole section) ---------- */
.hero {
  position: relative; overflow: hidden; background: #fff; color: var(--ink);
  padding-top: var(--header-h);
  min-height: clamp(470px, 37.5vw, 720px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 44% 50%; z-index: 0;
}
/* white veil on the copy side only — the photo still runs edge to edge */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(94deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.985) 20%, rgba(255,255,255,.95) 33%, rgba(255,255,255,.8) 46%, rgba(255,255,255,.5) 60%, rgba(255,255,255,.18) 76%, rgba(255,255,255,0) 92%),
    linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 16%),
    linear-gradient(0deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.62) 9%, rgba(255,255,255,0) 26%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 580px; padding: clamp(34px, 3.8vw, 48px) 0; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: heroFade .55s ease both; }
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero h1 {
  color: #0b2e5b; font-size: clamp(27px, 2.95vw, 38px); line-height: 1.14;
  letter-spacing: -.022em; font-weight: 800; max-width: 15.5em;
}
.hero-rule { display: block; width: 54px; height: 4px; border-radius: 2px; background: #f2b03c; margin: 20px 0 18px; }
.hero p { font-size: 15px; line-height: 1.72; color: #52697f; max-width: 452px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 13px 24px; font-size: 14.5px; font-weight: 700; box-shadow: none; }
.hero-actions .btn svg { width: 16px; height: 16px; }
.hero-actions .btn-primary { background: linear-gradient(180deg, #1769e4, #0b51c2); color: #fff; box-shadow: 0 10px 22px rgba(11, 81, 194, .24); }
.hero-actions .btn-primary:hover { background: linear-gradient(180deg, #0f5fd8, #0846ab); transform: none; }
.hero-actions .btn-outline { background: #fff; border: 1.5px solid #cfe0f2; color: #123a63; }
.hero-actions .btn-outline:hover { border-color: #9dc2e9; background: #f7fbff; transform: none; }
.hero-dots { display: flex; gap: 8px; margin-top: 24px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #cfdde9; cursor: pointer; transition: .25s; }
.hero-dots button.active { width: 26px; background: #0a66e0; }

/* ---------- Category strip (sits directly under the hero) ---------- */
.cat-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 22px 0 26px; }
.cat-strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-strip-tile {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cat-strip-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,42,67,.10); border-color: #d7e6f5; }
.cat-strip-pic { height: 146px; background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f4f8fd 62%, #edf4fb 100%); display: flex; align-items: center; justify-content: center; padding: 6px 10px; }
.cat-strip-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-strip-foot { display: flex; align-items: center; gap: 8px; padding: 12px 13px; min-height: 50px; border-top: 1px solid #e9f1f8; background: #fff; }
.cat-strip-foot .ic { width: 17px; height: 17px; color: var(--primary); flex: none; }
.cat-strip-foot b { flex: 1; min-width: 0; font-size: 12.6px; font-weight: 700; color: #123a63; line-height: 1.28; }
.cat-strip-foot .go { width: 15px; height: 15px; color: #9db8d2; flex: none; transition: transform .25s ease, color .25s ease; }
.cat-strip-tile:hover .go { transform: translateX(3px); color: var(--primary); }

/* ---------- Trust strip ---------- */
.trust { background: var(--primary-900); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; padding: 24px 22px; }
.trust .t-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.trust .t-item svg { flex: none; width: 22px; height: 22px; color: #4fe0bf; }

/* ---------- Certification shields ---------- */
.certs { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.certs .container { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 26px 22px; }
.cert {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 20px;
  background: #fff;
}
.cert svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.cert b { color: var(--ink); font-size: 15px; }
.cert span { display: block; font-size: 12px; color: var(--muted); }

/* ---------- About preview ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about-grid--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 460px; object-fit: cover; }
.about-media .badge {
  position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: 16px;
  padding: 16px 22px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.about-media .badge .num { font-size: 36px; font-weight: 800; color: var(--primary-700); line-height: 1; }
.about-media .badge .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
/* About page — text-only editorial layout (image removed 2026-10-20) */
.about-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + 40px); }
.about-head .section-title { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.16; margin: 14px 0 26px; max-width: 15em; }
.about-facts { display: grid; gap: 0; border-top: 1px solid var(--border); }
.about-facts > div { padding: 13px 0; border-bottom: 1px solid var(--border); }
.about-facts b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.about-facts span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.about-copy { padding-left: 52px; border-left: 1px solid var(--border); }
.about-copy p { font-size: 15.5px; line-height: 1.75; color: var(--body); margin-bottom: 18px; }
.about-copy p.lead { font-size: 19px; line-height: 1.65; color: var(--ink); margin: 0 0 22px; }
.about-copy .btn { margin-top: 10px; }
.lead { font-size: 18px; color: var(--body); margin: 14px 0 20px; }
.feature-list { margin: 22px 0 30px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.feature-list .tick svg { width: 15px; height: 15px; }
.cover-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cover-chips li {
  display: block; font-size: 12.5px; font-weight: 600; line-height: 1.5;
  color: var(--primary-700); background: var(--bg-tint);
  border: 1px solid #d8e8f9; border-radius: 8px; padding: 4px 10px;
}

/* ---------- Products grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 14px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: .35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card .pic { width: 116px; height: 116px; margin: 0 auto 16px; border-radius: 20px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.product-card .pic img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--muted); flex: 1; }
.product-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--primary-700); font-size: 14px; }
.product-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.product-card:hover .more svg { transform: translateX(4px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; transition: .3s; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.service-card .ic {
  width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-card .ic svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--muted); }
.service-card ul { margin-top: 14px; display: grid; gap: 9px; }
.service-card ul li { font-size: 14px; color: var(--body); padding-left: 22px; position: relative; }
.service-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Service page: three-step support cards (2026-10-21) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.svc-tile {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 26px 22px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-tile::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.svc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7e6f5; }
.svc-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.svc-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #0a66e0, #0b83cf);
  box-shadow: 0 8px 18px rgba(10, 102, 224, .24);
}
.svc-ic svg { width: 23px; height: 23px; }
.svc-step {
  font-size: 32px; font-weight: 800; line-height: .9; letter-spacing: -.03em;
  color: #d3e3f2; font-variant-numeric: tabular-nums;
}
.svc-tile h3 { position: relative; z-index: 1; font-size: 19px; margin-bottom: 10px; letter-spacing: -.01em; }
.svc-tile > p { position: relative; z-index: 1; font-size: 14.6px; line-height: 1.68; color: var(--muted); }
.svc-list {
  position: relative; z-index: 1; margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed #e2ecf6; display: grid; gap: 10px;
}
.svc-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.8px; line-height: 1.55; color: var(--body); }
.svc-list li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #cf6a6a; }
.svc-list--ok li svg { color: var(--accent); }
.svc-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.6px; font-weight: 700; color: var(--primary-700); }
.svc-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.svc-link:hover { color: var(--primary); }
.svc-link:hover svg { transform: translateX(4px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 18px; }
.stat .num { font-size: clamp(36px, 5vw, 54px); font-weight: 800; color: var(--primary-700); line-height: 1; }
.stat .lbl { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--primary-900), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: 58px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: #fff;
  color: var(--ink);
  padding: calc(var(--header-h) + 52px) 0 30px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); font-size: clamp(28px, 4vw, 40px); letter-spacing: -.015em; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 660px; font-size: 16.5px; line-height: 1.65; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* slim breadcrumb strip used by the catalogue + product pages (no big title) */
.crumb-bar {
  background: #fff;
  padding: calc(var(--header-h) + 18px) 0 0;
  border-bottom: 1px solid var(--border);
}
.crumb-bar .breadcrumb { margin-bottom: 0; padding-bottom: 14px; }
.crumb-bar + .cat-section { padding-top: 38px; }

/* ---------- Product detail list (old, kept for fallback) ---------- */
.prod-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border); }
.prod-row .pic { width: 110px; height: 110px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.prod-row .pic img { width: 100%; height: 100%; object-fit: contain; }
.prod-row h3 { font-size: 19px; margin-bottom: 6px; }
.prod-row p { color: var(--muted); font-size: 15px; }

/* ---------- Product detail page ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.pd-main { min-width: 0; }
.pd-product {
  display: grid; grid-template-columns: 200px 1fr; gap: 26px; padding: 30px 0;
  border-bottom: 1px solid var(--border); align-items: start;
}
.pd-product:last-child { border-bottom: 0; }
.pd-product .thumb {
  width: 200px; height: 200px; border-radius: 18px; background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border);
}
.pd-product .thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-product .thumb .ph-icon { width: 64px; height: 64px; color: var(--primary); opacity: .85; }
.pd-product h3 { font-size: 21px; margin-bottom: 4px; }
.pd-product .model { display: inline-block; color: var(--primary-700); font-weight: 700; font-size: 13px; letter-spacing: .03em; background: var(--bg-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.pd-product .desc { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { color: var(--muted); font-weight: 600; width: 40%; background: var(--bg-soft); }
.spec td { color: var(--ink); font-weight: 500; }
.spec tr:hover td, .spec tr:hover th { background: var(--bg-tint); }

/* sidebar */
.pd-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.pd-side .panel { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pd-side .panel h4 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pd-side .panel h4 svg { width: 18px; height: 18px; color: var(--accent); }
.pd-side .cat-img { width: 100%; height: 150px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.pd-side ul.cats { display: grid; gap: 4px; }
.pd-side ul.cats li a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--body); transition: .2s; }
.pd-side ul.cats li a:hover { background: #fff; color: var(--primary-700); }
.pd-side ul.cats li a.active { background: var(--primary); color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; }
.contact-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-info .info-item .ic svg { width: 22px; height: 22px; }
.contact-info .info-item h4 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.contact-info .info-item p, .contact-info .info-item a { font-size: 16px; color: var(--ink); font-weight: 600; }
.contact-info .info-item a:hover { color: var(--primary-700); }

.card-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,102,224,.14); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.invalid input, .form-group.invalid textarea { border-color: #e23b3b; }
.form-group .err { color: #e23b3b; font-size: 13px; margin-top: 6px; display: none; }
.form-group.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; background: var(--accent-soft); color: #0c7a5e; border: 1px solid #b7e6d8; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-900); color: rgba(255,255,255,.72); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid .brand { color: #fff; margin-bottom: 16px; }
.footer-grid .brand img { filter: brightness(0) invert(1); height: 38px; }
.footer-grid a { color: rgba(255,255,255,.72); display: block; padding: 6px 0; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .brand img { height: 31px; }
  .nav-links a { padding: 9px 11px; font-size: 14px; }
  .nav-links a.nav-cta { padding: 9px 16px; margin-left: 6px; }
  .cat-strip-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .brand .brand-text { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-media img { height: 320px; }
  .products-grid, .services-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-side { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-strip-grid { grid-template-columns: repeat(3, 1fr); }
}
/* narrow screens: photo stays as the background, the veil turns vertical */
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; padding-top: var(--header-h); }
  .hero-copy { max-width: none; padding: 38px 0 40px; }
  .hero h1 { font-size: clamp(25px, 5vw, 32px); max-width: none; }
  .hero p { max-width: none; }
  .hero-bg { object-position: 62% 40%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.80) 55%, rgba(255,255,255,.92) 100%);
  }
  .hero-dots { margin-top: 20px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--first { padding-top: calc(var(--header-h) + 40px); }
  .cat-strip { padding: 16px 0 18px; }
  .cat-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-strip-pic { height: 118px; padding: 6px 8px; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 18px 22px;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s ease; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 12px; border-radius: 10px; font-size: 15px; }
  .nav-links a.nav-cta { margin: 10px 0 0; padding: 14px 12px; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .products-grid, .services-grid, .svc-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pd-side { grid-template-columns: 1fr; }
  .pd-product { grid-template-columns: 1fr; gap: 16px; }
  .pd-product .thumb { width: 140px; height: 140px; }
  .cta { padding: 40px 24px; }
  .prod-row { grid-template-columns: 84px 1fr; gap: 16px; }
  .prod-row .pic { width: 76px; height: 76px; }
}

/* =========================================================
   Catalogue layout — left sub-category rail (2026-10-20)
   ========================================================= */
.cat-section { padding-top: 46px; padding-bottom: 76px; }
.cat-section--bare { padding-top: calc(var(--header-h) + 40px); }
.cat-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 44px; align-items: start; }

/* ---- left rail: top-level categories only, clean white panel ---- */
.cat-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.side-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: none; overflow: hidden;
}
.side-title {
  display: flex; align-items: center; gap: 9px; padding: 12px 16px;
  background: #fff; border-bottom: 1px solid var(--border);
  color: var(--ink); font-weight: 700; font-size: 13.5px; letter-spacing: .01em;
}
.side-title .ic-svg { width: 17px; height: 17px; color: var(--primary); }
/* 整列一次性铺开：无内部滚动条，字号随视口高度微调，保证 12 个大类全部可见 */
.side-nav {
  padding: .55em; display: grid; gap: 0; overflow: visible;
  font-size: clamp(12.2px, 6.6px + .78vh, 13.4px);
}
.side-grp-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .7em;
  background: none; border: 0; cursor: pointer; font-family: var(--font);
  padding: .42em .68em; border-radius: 7px; text-align: left;
  font-size: 1em; font-weight: 500; line-height: 1.3; color: var(--body);
  transition: background .18s ease, color .18s ease;
}
.side-grp-head:hover { background: var(--bg-soft); color: var(--primary-700); }
.side-grp-head svg { width: 13px; height: 13px; flex: none; opacity: .5; transition: transform .22s ease, opacity .22s ease; }
.side-grp.open > .side-grp-head { color: var(--primary-700); font-weight: 600; }
.side-grp.open > .side-grp-head svg { transform: rotate(180deg); opacity: .85; }
.side-list { display: none; padding: 0 0 .35em .55em; }
.side-grp.open > .side-list { display: block; }
.side-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: .3em .6em .3em .72em; border-radius: 6px;
  font-size: .94em; line-height: 1.28; color: var(--muted);
  border-left: 2px solid var(--border);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.side-list a > span { flex: 1; min-width: 0; }
.side-list a > b { font-size: 11.5px; font-weight: 700; color: #a3b0bf; font-variant-numeric: tabular-nums; }
.side-list a:hover { background: var(--bg-soft); color: var(--primary-700); border-left-color: var(--accent); }
.side-list a:hover > b { color: var(--primary-700); }
.side-list a.active { background: var(--bg-tint); color: var(--primary-700); border-left-color: var(--primary); font-weight: 600; }
.side-list a.active > b { color: var(--primary); }
/* 视口偏矮时整列随页面滚动，避免固定列底部被裁切 */
@media (max-height: 700px) {
  .cat-side { position: static; }
}
/* third level — plain-text "on request" types live inside the page, not the rail */
.side-cta {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; color: var(--ink);
}
.side-cta b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.side-cta p { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.side-cta .btn { padding: 10px 18px; font-size: 13.5px; background: var(--primary-700); color: #fff; box-shadow: none; }

/* ---- overview blocks ---- */
.cat-main { min-width: 0; }
.cat-intro { margin-bottom: 34px; }
.cat-intro h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cat-intro p { color: var(--muted); max-width: 620px; }
.grp-block { padding: 0 0 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.grp-block + .grp-block { border-top: 0; padding-top: 0; }
/* overview is filtered by the left rail — JS adds .is-filtered to .cat-main;
   without JS every group stays visible */
.cat-main.is-filtered .grp-block { display: none; }
.cat-main.is-filtered .grp-block.is-active { display: block; animation: grpIn .35s ease both; }
@keyframes grpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.grp-head { margin-bottom: 26px; }
.grp-badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.grp-head h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.grp-head p { color: var(--muted); max-width: 640px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 380px)); justify-content: start; gap: 22px; }

/* ---- flat product rows (overview: every model, no sub-category level, no images) ---- */
.prod-lines { display: grid; gap: 10px; }
.prod-line {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 26px;
  align-items: center; padding: 18px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.prod-line:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.prod-line-main h3 { font-size: 16.5px; margin-bottom: 5px; }
.prod-line-main p { font-size: 13.5px; color: var(--muted); max-width: 660px; }
.prod-line-main .chips { margin: 10px 0 0; }
.prod-line-main .chip {
  max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prod-line > .more { white-space: nowrap; }
.range-label {
  margin: 20px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.range-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.prod-lines + .range-grid { margin-top: 16px; }

.cat-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card-pic { height: 240px; background: #fff; display: grid; place-items: center; padding: 22px; }
.cat-card-pic img { max-height: 196px; max-width: 100%; width: auto; object-fit: contain; }
.cat-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-card-body h3 { font-size: 17px; margin-bottom: 7px; line-height: 1.35; }
.cat-card-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--primary-700); }
.cat-card-meta .mini { width: 15px; height: 15px; color: var(--accent); }
.cat-card-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); }
.cat-card-go svg { width: 14px; height: 14px; transition: transform .2s; }
.cat-card:hover .cat-card-go svg { transform: translateX(4px); }

/* ---- product types carried in a category (3rd level) ---- */
.type-panel {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px 22px; margin-bottom: 22px;
}
.type-panel-head { margin-bottom: 14px; }
.type-panel-label {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.type-panel-head p { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 72ch; }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chips li {
  font-size: 12.5px; font-weight: 600; color: var(--body); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 11px; line-height: 1.4;
}

/* ---- category page: model + parameter table (one click from the tile) ---- */
.model-list { display: grid; gap: 20px; }
.model {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px 28px;
  transition: border-color .25s, box-shadow .25s;
}
.model:hover { border-color: #cfe0f6; box-shadow: var(--shadow-sm); }
.model-head { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 30px; align-items: center; }
.model-pic { height: 204px; background: #fff; border: 1px solid var(--border); border-radius: 12px; display: grid; place-items: center; padding: 14px; }
.model-pic img { max-height: 174px; max-width: 100%; width: auto; object-fit: contain; }
.model-intro h3 { font-size: 21px; line-height: 1.3; margin-bottom: 9px; }
.model-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; max-width: 62ch; }
.model-detail { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--primary-700); }
.model-detail svg { width: 14px; height: 14px; transition: transform .2s; }
.model-detail:hover svg { transform: translateX(4px); }
.model-spec-title {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 22px 0 12px; padding-top: 20px; border-top: 1px solid var(--border);
}
.model-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.model .spec { font-size: 13.5px; }
.model .spec th { width: 42%; }
.model .spec td { word-break: break-word; }

/* ---- overview: one block per sub-category, product pictures under it ---- */
.sub-block + .sub-block { margin-top: 34px; }
.sub-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sub-head h3 { font-size: 16.5px; margin: 0; letter-spacing: -.01em; }
.sub-head h3 a { color: inherit; }
.sub-head h3 a:hover { color: var(--primary); }
.sub-head span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ---- folder page: the right pane is a picture wall ---- */
.pic-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.pic-hint .mini { width: 16px; height: 16px; color: var(--accent); flex: none; }
.pic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pic-tile {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pic-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pic-tile-pic { height: 212px; background: #fff; display: grid; place-items: center; padding: 12px; }
.pic-tile-pic img { max-height: 186px; max-width: 100%; width: auto; object-fit: contain; }
.pic-tile-bar {
  display: flex; flex-direction: column; gap: 5px;
  padding: 13px 16px 15px; border-top: 1px solid var(--border);
}
.pic-tile-name { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.pic-tile-go {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--primary-700); opacity: .55;
  transition: opacity .2s ease, transform .2s ease;
}
.pic-tile-go svg { width: 13px; height: 13px; }
.pic-tile:hover .pic-tile-go { opacity: 1; }
.pic-tile:hover .pic-tile-go svg { transform: translateX(3px); }

/* "also supplied on request" strip under a catalogue group */
.grp-extra {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  margin-top: 26px; padding: 16px 20px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 12px;
}
.grp-extra b {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.grp-extra span { flex: 1; min-width: 240px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.grp-extra a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--primary-700); }
.grp-extra a svg { width: 13px; height: 13px; }

.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.prod-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-card-pic { height: 230px; background: #fff; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--border); }
.prod-card-pic img { max-height: 196px; width: auto; object-fit: contain; }
.prod-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.prod-card-body p { font-size: 13.5px; color: var(--muted); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.chip { font-size: 11.5px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--body); padding: 3px 9px; border-radius: 999px; }
.chip b { color: var(--primary-700); }
.prod-card .more, .range-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--primary-700); font-size: 13.5px; }
.more svg { width: 14px; height: 14px; transition: transform .2s; }
.prod-card:hover .more svg { transform: translateX(4px); }

/* typical-range cards (categories without published models) */
.range-note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; }
.range-note .mini { width: 18px; height: 18px; color: var(--accent); flex: none; }
.range-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.range-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.range-ic .ic-svg { width: 26px; height: 26px; }
.range-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.range-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.range-specs { margin-top: 14px; display: grid; gap: 7px; }
.range-specs li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; border-bottom: 1px dashed var(--border); padding-bottom: 6px; }
.range-specs span { color: var(--muted); }
.range-specs b { color: var(--ink); text-align: right; }

.cat-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 34px; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--border); }
.cat-cta h3 { font-size: 19px; margin-bottom: 5px; }
.cat-cta p { font-size: 14px; color: var(--muted); }

/* ---- product detail ---- */
.page-hero--slim { padding: calc(var(--header-h) + 40px) 0 24px; }
.pdp { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.pdp-media { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
/* the source photos are 550–820 px wide — showing them below that size keeps
   them pixel-sharp instead of being stretched up and going soft */
.pdp-media img { display: block; margin: 0 auto; width: auto; height: auto; max-width: 100%; max-height: 300px; object-fit: contain; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pdp-tags span { font-size: 11px; font-weight: 700; color: var(--primary-700); background: var(--bg-tint); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pdp-cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pdp-info h2 { font-size: clamp(22px, 3vw, 30px); margin: 8px 0 12px; }
.pdp-lead { font-size: 15.5px; color: var(--body); margin-bottom: 16px; }
.pdp-points { display: grid; gap: 9px; margin-bottom: 22px; }
.pdp-points li { position: relative; padding-left: 22px; font-size: 14px; color: var(--muted); }
.pdp-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp-actions .btn { flex: 1 1 150px; justify-content: center; }
.pdp-specs { margin-top: 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.pdp-specs h3 { font-size: 19px; margin-bottom: 16px; }
.muted-note { font-size: 14px; color: var(--muted); }
.rel-wrap { margin-top: 40px; }
.rel-wrap h3 { font-size: 19px; margin-bottom: 16px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; transition: .25s; }
.rel-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.rel-pic { height: 110px; display: grid; place-items: center; margin-bottom: 8px; }
.rel-pic img { max-height: 100px; width: auto; object-fit: contain; }
.rel-card span { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.4; display: block; }

/* sibling folder chips — only used once the rail collapses (<=1080px) */
.folder-bar { display: none; }

@media (max-width: 1080px) {
  .cat-layout.has-folderbar .cat-side { display: none; }
  .folder-bar {
    display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px;
    padding: 2px 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .folder-bar::-webkit-scrollbar { display: none; }
  .folder-bar a {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px;
    background: #fff; font-size: 13px; color: var(--body); white-space: nowrap;
  }
  .folder-bar a b { font-size: 11.5px; font-weight: 700; color: #a3b0bf; font-variant-numeric: tabular-nums; }
  .folder-bar a.active { background: var(--primary-700); border-color: var(--primary-700); color: #fff; }
  .folder-bar a.active b { color: rgba(255, 255, 255, .8); }
}

@media (max-width: 1080px) {
  .cat-layout { grid-template-columns: 1fr; gap: 20px; }
  /* the rail becomes a horizontal chip bar — it still drives which category
     the catalogue pane shows */
  .cat-side { position: static; display: block; min-width: 0; }
  .side-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .side-title { display: none; }
  .side-nav {
    display: flex; max-height: none; overflow-x: auto; overflow-y: hidden;
    gap: 8px; padding: 2px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    min-width: 0; max-width: 100%;
  }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-grp { flex: 0 0 auto; }
  .side-grp-head {
    white-space: nowrap; gap: 6px; padding: 9px 15px; border: 1px solid var(--border);
    border-radius: 999px; background: #fff; font-size: 13px;
  }
  .side-grp-head svg { display: none; }
  .side-grp.open > .side-grp-head { background: var(--primary-700); border-color: var(--primary-700); color: #fff; }
  .side-list { display: none !important; }
  .side-cta { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { max-width: 360px; }
  .model-head { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .model-pic { height: 170px; }
  .model-pic img { max-height: 142px; }
  .about-split { grid-template-columns: 1fr; gap: 24px; }
  .about-head { position: static; }
  .about-head .section-title { margin-bottom: 20px; }
  .about-copy { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 26px; }
}
@media (max-width: 760px) {
  .cat-grid, .prod-grid, .rel-grid, .range-grid { grid-template-columns: 1fr; }
  .pic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pic-tile-pic { height: 152px; padding: 12px; }
  .pic-tile-pic img { max-height: 126px; }
  .pic-tile-bar { padding: 11px 13px 13px; }
  .pic-tile-name { font-size: 12.8px; }
  .prod-line { grid-template-columns: 1fr; padding: 16px 18px; }
  .prod-line > .more { justify-self: start; }
  .prod-card-pic { height: 200px; }
  .cat-cta { flex-direction: column; align-items: flex-start; }
  .model { padding: 20px; }
  .model-head { grid-template-columns: 1fr; gap: 18px; }
  .model-pic { height: 210px; }
  .model-pic img { max-height: 176px; }
  .model-specs { grid-template-columns: 1fr; }
}

/* =========================================================
   Header v2 — institutional uppercase nav + Products mega menu
   (2026-10-20)  Appended last so it wins over the earlier pill nav.
   ========================================================= */
.nav { gap: 16px; }
.nav-links { gap: 0; }
.nav-links > a,
.nav-item > a {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: var(--header-h); padding: 0 14px; border-radius: 0; background: none;
  font-size: 11.8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  transition: color .2s ease;
}
.nav-links > a:hover,
.nav-item > a:hover { background: none; color: var(--primary); }
.nav-links > a.active,
.nav-links .nav-item > a.active { background: none; color: var(--primary); }
.nav-links > a::after,
.nav-links .nav-item > a::after {
  content: ""; position: absolute; left: 50%; bottom: 18px; width: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-links > a.active::after,
.nav-links .nav-item > a.active::after { width: 16px; }
.nav-links a.nav-cta {
  height: auto; margin-left: 14px; padding: 11px 22px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em;
}
.nav-links a.nav-cta::after { display: none; }

/* ---- dropdown shell ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a .caret { width: 9px; height: 9px; opacity: .5; transition: transform .25s ease, opacity .25s ease; }
.nav-item:hover > a .caret,
.nav-item:focus-within > a .caret { transform: rotate(180deg); opacity: .9; }

.nav-drop {
  position: absolute; top: calc(var(--header-h) - 1px); left: 50%;
  transform: translate(-50%, 12px);
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 28px 64px rgba(15, 42, 67, .17);
  padding: 24px 26px 18px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 130;
}
.nav-drop--mega,
.nav-drop--list { width: 330px; max-width: calc(100vw - 44px); padding: 14px 14px 12px; }
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop,
.nav-item.open .nav-drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.mega-grid > a {
  display: block; height: auto; padding: 9px 11px; border-radius: 8px; background: none;
  font-size: 13.8px; font-weight: 500; letter-spacing: 0; text-transform: none;
  line-height: 1.45; color: var(--body);
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}
.mega-grid > a:hover { background: var(--bg-soft); color: var(--primary-700); padding-left: 15px; }
.mega-foot {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: flex-start; gap: 20px;
}
.mega-foot span { font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.mega-all {
  display: inline-flex; align-items: center; height: auto; padding: 0;
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--primary);
}
.mega-all:hover { color: var(--primary-700); background: none; }

/* ---- header responsive ---- */
@media (max-width: 1180px) {
  .nav-links > a, .nav-item > a { padding: 0 11px; font-size: 11.2px; letter-spacing: .08em; }
  .nav-links a.nav-cta { padding: 10px 17px; margin-left: 8px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-item { display: block; }
  .nav-item { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 18px 24px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s ease;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a, .nav-item > a {
    height: auto; padding: 13px 10px; justify-content: space-between;
    font-size: 12.5px; letter-spacing: .08em; border-bottom: 1px solid var(--border);
  }
  .nav-links > a.active::after, .nav-links .nav-item > a.active::after { display: none; }
  .nav-links > a.active, .nav-links .nav-item > a.active { color: var(--primary); }
  .nav-drop {
    position: static; transform: none; width: auto; max-width: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: 0; border-radius: 0; box-shadow: none; padding: 2px 0 8px 12px;
    display: none;
  }
  .nav-item.open .nav-drop { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-grid > a { padding: 8px 0; font-size: 13.5px; }
  .mega-grid > a:hover { padding-left: 4px; background: none; }
  .mega-foot { display: none; }
  .nav-links a.nav-cta { margin: 16px 0 0; padding: 13px 12px; justify-content: center; }
}
@media (max-width: 720px) {
  .hero-min, .hero { min-height: 0; }
}

/* =========================================================
   Featured products (homepage) — real product photos
   ========================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feat-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -18px rgba(12, 44, 84, .28); border-color: #b9d3ee; }
.feat-pic {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 14px 16px 6px;
  background:
    radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f4f8fd 62%, #edf4fb 100%);
  border-bottom: 1px solid #eef3f9;
}
.feat-pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.feat-card:hover .feat-pic img { transform: scale(1.055); }
.feat-body { display: flex; flex-direction: column; gap: 6px; padding: 15px 17px 16px; flex: 1; }
.feat-tag {
  align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .085em;
  text-transform: uppercase; color: #0f5bb8; background: #eaf2fd;
  border-radius: 999px; padding: 4px 9px;
}
.feat-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.32; }
.feat-spec { font-size: 12.6px; color: var(--muted); line-height: 1.5; }
.feat-more {
  display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 11px;
  border-top: 1px dashed var(--border); font-size: 12.4px; font-weight: 700; color: var(--primary);
}
.feat-more svg { width: 13px; height: 13px; transition: transform .3s ease; }
.feat-card:hover .feat-more svg { transform: translateX(3px); }

@media (max-width: 1120px) {
  .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 820px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .feat-name { font-size: 14px; }
  .feat-spec { font-size: 12.2px; }
}
@media (max-width: 520px) {
  .feat-pic { padding: 10px 12px 4px; }
  .feat-body { padding: 13px 14px 14px; }
}

/* four-up product grid (e.g. medical disposables bandage range) */
@media (min-width: 1180px) { .pic-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) and (max-width: 1179px) { .pic-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
