/* ==========================================================================
   Kangming Biotech — 康明生物  |  static site stylesheet
   Palette + typography derived from the approved reference layout.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --blue: #4ba0d1;
  --blue-mid: #3599cd;
  --blue-dark: #235695;
  --navy: #12305a;
  --navy-deep: #0b1d38;
  --blue-soft: #eaf4fa;
  --blue-line: #d6e7f3;
  --yellow: #fed300;

  --ink: #202020;
  --text: #333333;
  --muted: #666666;
  --faint: #999999;
  --line: #e3e5e7;
  --bg-light: #f7f7f7;
  --bg-soft: #f2f7fb;

  --radius: 15px;
  --radius-lg: 20px;
  --shadow: 0 0 13px rgba(0, 0, 0, .1);
  --shadow-lg: 0 0 19px rgba(0, 0, 0, .1);
  --shadow-up: 0 -6px 24px rgba(18, 48, 90, .08);

  --container: 1385px;
  --gutter: 24px;
  --header-h: 71px;

  --font: 'Manrope', Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue); }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.22; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(75, 160, 209, .22); }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 72px 0; position: relative; }
.section--light { background: var(--bg-light); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 48px 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* molecular watermark reused across light sections */
.mol-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(75, 160, 209, .10) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 72%, rgba(75, 160, 209, .10) 0 3px, transparent 4px),
    linear-gradient(115deg, transparent 46%, rgba(75, 160, 209, .07) 46.5%, rgba(75, 160, 209, .07) 47%, transparent 47.5%),
    linear-gradient(65deg, transparent 60%, rgba(75, 160, 209, .07) 60.5%, rgba(75, 160, 209, .07) 61%, transparent 61.5%);
  background-size: 420px 420px, 520px 520px, 340px 340px, 300px 300px;
  pointer-events: none;
  z-index: 0;
}
.mol-bg > * { position: relative; z-index: 1; }

/* ---------- section heading ---------- */
.i-title { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.2px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.eyebrow::after { display: none; }

.i-title h2 {
  font-size: 34.2px;
  line-height: 1.22;
  font-weight: 800;
  color: var(--ink);
}

.i-title .lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 44px;
}
.section-head .lead { max-width: 620px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: all .28s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(75, 160, 209, .28);
}
.btn--primary:hover {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(35, 86, 149, .32);
  transform: translateY(-1px);
}

.btn--ghost {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--blue-line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--light {
  background: #fff;
  color: var(--blue-dark);
}
.btn--light:hover { background: var(--yellow); color: var(--navy-deep); }

.btn--line {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn--line:hover { background: #fff; color: var(--blue-dark); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}
.link-more::after {
  content: '';
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13m-5-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s var(--ease);
}
.link-more:hover::after { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 48, 90, .08);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(18, 48, 90, .12); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--blue-dark);
}
.logo-text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--faint);
  margin-top: 4px;
}

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 0;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.main-nav > ul > li.is-active > a { color: var(--blue-dark); }

.has-drop { position: relative; }
.has-drop > a::before {
  content: '';
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  order: 2;
}
.drop {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 258px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(18, 48, 90, .16);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .26s var(--ease);
}
.has-drop:hover .drop,
.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a {
  display: block;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.drop a:hover { background: var(--blue-soft); color: var(--blue-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-line);
  background: var(--blue-soft);
  color: var(--blue-dark);
  transition: all .25s var(--ease);
}
.icon-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.icon-btn svg { width: 17px; height: 17px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 30px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lang-btn:hover { background: var(--blue-dark); color: #fff; }
.lang-btn svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-dark);
  margin-left: auto;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ==========================================================================
   BANNER / HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--navy) url("../assets/hero.svg") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 48, .45) 0%, rgba(10, 26, 48, .18) 45%, rgba(10, 26, 48, .55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 110px 0 150px;
  color: #fff;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.2px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 26px;
}
.hero-kicker::before {
  content: '';
  width: 18px; height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  max-width: 900px;
  margin: 0 auto;
}
.hero p.hero-sub {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* inner-page banner */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: var(--navy) url("../assets/banner.svg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 48, .78) 0%, rgba(10, 26, 48, .35) 60%, rgba(10, 26, 48, .5) 100%);
}
.page-banner .container { position: relative; z-index: 2; padding-top: 46px; padding-bottom: 46px; }
.page-banner h1 {
  color: #fff;
  font-size: 40px;
  letter-spacing: -.01em;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}
.crumb a { color: rgba(255, 255, 255, .92); }
.crumb a:hover { color: var(--yellow); }
.crumb span::before { content: '/'; margin-right: 10px; opacity: .5; }

/* ==========================================================================
   CATEGORY STRIP (floating cards under hero)
   ========================================================================== */
.cat-strip {
  position: relative;
  z-index: 20;
  margin-top: -92px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 48, 90, .16); }
.cat-card .cat-art { width: 100%; height: 96px; display: grid; place-items: center; }
.cat-card .cat-art img { max-height: 96px; width: auto; opacity: .92; }
.cat-card h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.cat-card .go {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
}
.cat-card .go svg { width: 15px; height: 15px; }
.cat-card:hover .go { background: var(--blue); color: #fff; transform: rotate(-45deg); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.tabs button {
  height: 40px;
  padding: 0 22px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
  transition: all .25s var(--ease);
}
.tabs button:hover { border-color: var(--blue); color: var(--blue); }
.tabs button.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(75, 160, 209, .25);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.prod-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(18, 48, 90, .14); }
.prod-card .tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.prod-card .art {
  height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.prod-card .art img { max-height: 140px; width: auto; }
.prod-card h3 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.prod-card .meta {
  font-size: 13.5px;
  color: var(--faint);
  margin-bottom: 10px;
  font-weight: 600;
}
.prod-card .desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.prod-card .foot { margin-top: auto; }

/* product detail rows (products page) */
.prod-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 34px 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.prod-row .art {
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 18px;
}
.prod-row .art img { max-height: 190px; }
.prod-row h3 { font-size: 22px; margin-bottom: 6px; }
.prod-row .cas {
  display: inline-flex;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 0;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 600;
  background: #fafcfe;
}
.spec-table td { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(18, 48, 90, .12);
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.about-card .photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(18, 48, 90, .16);
}
.about-card .photo img { width: 100%; height: auto; }

.about-body h2 { font-size: 26px; margin-bottom: 6px; }
.about-body .tagline {
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}
.about-body > p { color: var(--muted); line-height: 1.8; }

.feature-list { margin-top: 26px; display: grid; gap: 22px; }
.feature-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.feature-item .ico {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(75, 160, 209, .32);
}
.feature-item .ico svg { width: 26px; height: 26px; }
.feature-item h4 { font-size: 18px; margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- numbers ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.number {
  padding: 10px 8px;
  position: relative;
}
.number + .number::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 56px;
  background: var(--blue-line);
}
.number .val {
  font-size: 46px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.number .val small { font-size: 26px; font-weight: 800; color: var(--blue); }
.number .lbl {
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ---------- why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: all .3s var(--ease);
}
.why-card:hover { border-top-color: var(--blue); transform: translateY(-5px); box-shadow: 0 16px 34px rgba(18, 48, 90, .13); }
.why-card .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--muted); line-height: 1.72; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.news-feature {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.news-feature .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-feature:hover .thumb img { transform: scale(1.04); }
.news-feature .body { padding: 26px 28px 30px; }
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.news-date em {
  font-style: normal;
  color: var(--faint);
  font-weight: 600;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.news-feature h3 { font-size: 21px; line-height: 1.42; margin-bottom: 12px; }
.news-feature h3 a { color: var(--ink); }
.news-feature h3 a:hover { color: var(--blue); }
.news-feature p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; }

.news-list { display: grid; gap: 22px; }
.news-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(18, 48, 90, .13); }
.news-item .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 16.5px; line-height: 1.45; margin-bottom: 8px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--blue); }
.news-item p { font-size: 13.8px; color: var(--muted); line-height: 1.65; margin-bottom: 10px; }

/* article page */
.article {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px 48px;
}
.article h1 { font-size: 30px; line-height: 1.4; margin-bottom: 16px; }
.article .meta {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: var(--faint);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.article p { color: #444; line-height: 1.9; margin-bottom: 1.1em; }
.article h2 { font-size: 21px; margin: 30px 0 12px; }
.article ul { list-style: disc; padding-left: 22px; margin-bottom: 1.1em; color: #444; }
.article ul li { margin-bottom: .5em; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--navy) url("../assets/cta.svg") center/cover no-repeat;
  color: #fff;
  padding: 68px 0;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 48, .82), rgba(10, 26, 48, .5));
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 32px; line-height: 1.3; }
.cta-inner p { color: rgba(255, 255, 255, .8); margin-top: 12px; max-width: 620px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--blue-dark); }
.field label .req { color: #d9534f; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(75, 160, 209, .16);
}
.form-note { font-size: 13px; color: var(--faint); }
.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
  display: none;
}
.form-status.is-on { display: block; }

/* ==========================================================================
   CONTACT / SIDEBAR LAYOUTS
   ========================================================================== */
.with-side {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.side-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 8px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.side-card h3 {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 18px 18px 12px;
}
.side-card ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.side-card ul a::after {
  content: '';
  width: 12px; height: 12px;
  background: currentColor;
  opacity: .35;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.side-card ul a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.side-card ul a.is-active { background: var(--blue); color: #fff; }
.side-card ul a.is-active::after { opacity: 1; }
.side-card .side-cta {
  margin: 10px;
  padding: 22px 20px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--blue-dark), var(--navy));
  color: #fff;
}
.side-card .side-cta h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.side-card .side-cta p { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 14px; }
.side-card .side-cta .btn { height: 38px; padding: 0 20px; font-size: 13.5px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.contact-card .ico {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.contact-card p,
.contact-card a { font-size: 14.5px; color: var(--muted); line-height: 1.7; word-break: break-word; }
.contact-card a:hover { color: var(--blue); }

.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 38px;
}
.panel h2 { font-size: 24px; margin-bottom: 8px; }
.panel .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
  background: var(--bg-soft);
  aspect-ratio: 21/9;
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 14px;
}

/* ==========================================================================
   PROSE / CONTENT BLOCKS
   ========================================================================== */
.prose-wide { max-width: 900px; }
.prose h2 { font-size: 22px; margin: 34px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { color: #4a4a4a; line-height: 1.85; margin-bottom: 1.05em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.1em; }
.prose ul li { color: #4a4a4a; line-height: 1.85; margin-bottom: .45em; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tile {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.tile h3 { font-size: 17.5px; margin-bottom: 10px; }
.tile p { font-size: 14.3px; color: var(--muted); line-height: 1.72; }
.tile .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.tile .ico svg { width: 22px; height: 22px; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--blue-line);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(150deg, #173d6b 0%, #122f57 45%, #0b1b31 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, transparent 48%, rgba(255, 255, 255, .04) 48.4%, rgba(255, 255, 255, .04) 48.8%, transparent 49.2%),
    linear-gradient(65deg, transparent 62%, rgba(255, 255, 255, .04) 62.4%, rgba(255, 255, 255, .04) 62.8%, transparent 63.2%);
  background-size: 300px 300px, 260px 260px;
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 40px;
  align-items: center;
  padding: 48px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text em { color: rgba(255, 255, 255, .6); }
.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .74);
  max-width: 420px;
  line-height: 1.7;
}
.newsletter label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.newsletter form {
  display: flex;
  background: #fff;
  border-radius: 40px;
  padding: 5px 5px 5px 22px;
  align-items: center;
  gap: 10px;
}
.newsletter input {
  flex: 1;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.newsletter button {
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: background .25s var(--ease);
}
.newsletter button:hover { background: var(--blue-dark); }
.newsletter button svg { width: 18px; height: 18px; }
.newsletter .hint {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
}

.footer-cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .8fr 1.15fr .95fr;
  gap: 30px;
  padding: 46px 0 44px;
}
.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-col h4::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--blue);
  flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='M6 6h12M6 6l6 12M18 6l-6 12' stroke='%23000' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='M6 6h12M6 6l6 12M18 6l-6 12' stroke='%23000' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a,
.footer-col .line {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  display: inline-block;
}
.footer-col ul a:hover { color: var(--yellow); }
.contact-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}
.contact-list li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.contact-list a { color: rgba(255, 255, 255, .72); }
.contact-list a:hover { color: var(--yellow); }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom a:hover { color: var(--yellow); }

/* ==========================================================================
   FLOATING TOOLBAR
   ========================================================================== */
.floating-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: -4px 6px 20px rgba(18, 48, 90, .22);
}
.floating-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: background .25s var(--ease);
}
.floating-rail a:last-child { border-bottom: 0; }
.floating-rail a:hover { background: var(--blue-dark); }
.floating-rail svg { width: 19px; height: 19px; }

/* the rail only fits when there is real gutter beside the 1385px container */
@media (max-width: 1499px) {
  .floating-rail { display: none; }
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 116px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--blue-line);
  background: #fff;
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(18, 48, 90, .16);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.to-top svg { width: 16px; height: 16px; }

.leave-msg {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 81;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(75, 160, 209, .38);
  transition: all .28s var(--ease);
}
.leave-msg:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.leave-msg svg { width: 18px; height: 18px; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .main-nav > ul { gap: 24px; }
  .cat-grid { gap: 16px; }
  .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .hero { min-height: 540px; }
  .hero h1 { font-size: 40px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-strip { margin-top: -70px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .about-card { grid-template-columns: 1fr; padding: 28px; }
  .news-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .number:nth-child(3)::before { display: none; }
  .prod-row { grid-template-columns: 1fr; gap: 24px; padding: 26px; }
  .with-side { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-actions .icon-btn { display: none; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(18, 48, 90, .16);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
    z-index: 89;
  }
  .main-nav.is-open { max-height: 74vh; overflow-y: auto; }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
  }
  .main-nav > ul > li > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .main-nav > ul > li > a::after { display: none; }
  .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 8px 14px;
    min-width: 0;
    display: none;
  }
  .has-drop.is-open .drop { display: block; }
  .nav-toggle { display: inline-flex; }
  .header-inner .logo { margin-right: auto; }
  .main-nav { margin-left: 0; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .hero { min-height: 460px; }
  .hero-inner { padding: 80px 0 120px; }
  .hero h1 { font-size: 30px; }
  .hero p.hero-sub { font-size: 15px; }
  .page-banner h1 { font-size: 27px; }
  .page-banner { min-height: 220px; }
  .section { padding: 46px 0; }
  .i-title h2 { font-size: 26px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-card { padding: 16px 12px 18px; border-radius: 14px; }
  .cat-card .cat-art { height: 70px; }
  .cat-card .cat-art img { max-height: 70px; }
  .cat-card h3 { font-size: 13.5px; }
  .prod-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number .val { font-size: 34px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .thumb { aspect-ratio: 16/9; }
  .form-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .article { padding: 26px 20px; }
  .about-card { padding: 20px; gap: 24px; }
  .feature-item { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .feature-item .ico { width: 48px; height: 48px; }
  .feature-item .ico svg { width: 20px; height: 20px; }
  .cta-inner h2 { font-size: 24px; }
  .floating-rail { display: none; }
  .to-top { bottom: 96px; }
  .leave-msg { height: 44px; padding: 0 16px; font-size: 13.5px; bottom: 16px; right: 12px; }
  .logo-text strong { font-size: 16px; }
  .logo-text em { font-size: 8px; }
}
