/* =========================================================
   Tianjin Hongrui Rubber — corporate site
   Design tokens
   ========================================================= */
:root {
  --red: #d61f1f;
  --red-dark: #a81414;
  --red-soft: #fbeceb;
  --ink: #0f1318;
  --ink-2: #232a33;
  --muted: #6b7280;
  --muted-2: #939aa5;
  --line: #e6e8ec;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --dark: #0b0e12;
  --dark-2: #14181e;
  --radius: 2px;
  --wrap: 1220px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--red); color: #fff; }

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

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
}
.eyebrow.on-dark { color: #ff6b6b; }
.eyebrow.on-dark::before { background: #ff6b6b; }

.h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  margin-top: 18px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
}

.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--dark); color: #e8eaee; padding-bottom: 72px; }
.section.dark .lede { color: #a4abb6; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}
.section-head .h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-more:hover { color: var(--red); border-color: var(--red); }
.link-more::after { content: "→"; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
    border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9ebef; }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 78px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .96);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
.brand .brand-div { width: 1px; height: 26px; background: var(--line); }
.brand .brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.brand .brand-name span { display: block; color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--red); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 18px; }
.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang button.on { background: var(--ink); color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 21.5px; }
.burger i:nth-child(3) { top: 27px; }
body.menu-open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 89;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0 30px;
  display: none;
}
body.menu-open .drawer { display: block; }
.drawer a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-2);
}
.drawer .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 22px;
  padding: 0 24px;
  border-bottom: 0;
}
.drawer .btn:hover { background: var(--red-dark); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding-top: 78px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(214, 31, 31, .22), transparent 62%),
    radial-gradient(700px 600px at 8% 92%, rgba(90, 110, 140, .14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 100% 96px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  padding: 96px 0 72px;
  max-width: 860px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
}
.hero h1 em {
  font-style: normal;
  color: #ff5c5c;
}
.hero .hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.75;
  color: #a9b0bb;
  max-width: 58ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-mark {
  position: absolute;
  right: -60px;
  top: 88px;
  width: 520px;
  opacity: .05;
  z-index: 1;
  pointer-events: none;
}

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats li {
  padding: 34px 28px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats li:first-child { border-left: 0; padding-left: 0; }
.hero-stats .num {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats .num span { font-size: 0.5em; font-weight: 600; color: #ff6b6b; margin-left: 4px; }
.hero-stats .cap {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #8e95a1;
  letter-spacing: 0.02em;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 156px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fbfbfc, #fff);
}
.page-hero .h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-top: 16px;
}
.page-hero .h1 em {
  font-style: normal;
  color: var(--red);
}
.page-hero .lede { margin-top: 20px; }
.crumb {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.crumb a:hover { color: var(--red); }
.crumb span { margin: 0 8px; }

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 84px;
  align-items: start;
}
.about-body p + p { margin-top: 20px; }
.about-body .lede + .lede { margin-top: 18px; }

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.capability {
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid var(--line);
}
.capability:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.capability .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}
.capability h4 { font-size: 17px; margin: 12px 0 8px; }
.capability p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.quote {
  border-left: 2px solid var(--red);
  padding: 6px 0 6px 26px;
  margin-top: 36px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* =========================================================
   Products
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pcard {
  background: #fff;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  transition: background .25s var(--ease);
}
.pcard:hover { background: #fcfcfd; }
.pcard-img {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .5s var(--ease);
}
.pcard:hover .pcard-img img { transform: scale(1.035); }
.pcard h3 {
  font-size: 18px;
  margin-top: 22px;
  letter-spacing: -0.01em;
}
.pcard .en {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin-top: 6px;
  text-transform: uppercase;
}
.pcard .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.chip {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}
.chip.red { color: var(--red); background: var(--red-soft); border-color: #f6d9d7; }

/* "more products" tile filling the last grid cell */
.pcard-more {
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: var(--dark);
  color: #fff;
  padding: 40px 32px;
}
.pcard-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 300px at 72% 18%, rgba(214, 31, 31, .32), transparent 66%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.pcard-more:hover { background: #11161c; }
.pcard-more:hover::before { opacity: 1; }
.pcard-more-title {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ff7a7a;
}
.pcard-more-sub {
  position: relative;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pcard-more-sub::after {
  content: "→";
  display: inline-block;
  margin-left: 9px;
  transition: transform .25s var(--ease);
}
.pcard-more:hover .pcard-more-sub::after { transform: translateX(5px); }
.pcard-more-note {
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: #8e95a1;
  max-width: 26ch;
  margin-top: 6px;
}
html[lang="en"] .pcard-more-sub { font-size: clamp(19px, 1.9vw, 24px); }

/* hide the English subtitle when the site is already in English */
html[lang="en"] .pcard .en { display: none; }

/* material / spec table */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.spec {
  background: #fff;
  padding: 28px 24px;
}
.spec .code {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.spec .nm { font-size: 13px; color: var(--muted); margin-top: 4px; }
.spec p { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.65; }

/* =========================================================
   Certificates
   ========================================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ccard {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease),
    box-shadow .25s var(--ease);
  text-align: left;
  display: block;
  width: 100%;
}
.ccard:hover {
  border-color: #cfd3da;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 19, 24, .07);
}
.ccard-img {
  aspect-ratio: 3 / 4;
  background: var(--soft);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ccard-img {
  background: #fbfbfc;
  padding: 10px;
}
.ccard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform .5s var(--ease);
}
.ccard:hover .ccard-img img { transform: scale(1.03); }
.ccard-body { padding: 16px 6px 6px; }
.ccard-body .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}
.ccard-body h3 {
  font-size: 15.5px;
  margin-top: 7px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.ccard-body .sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-bar button:hover { border-color: #c8ccd3; color: var(--ink); }
.filter-bar button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* patent list */
.patent-list {
  border-top: 1px solid var(--line);
}
.patent-row {
  display: grid;
  grid-template-columns: 92px 1fr 200px 132px;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
  text-align: left;
  width: 100%;
  background: none;
  border-left: 0; border-right: 0; border-top: 0;
}
.patent-row:hover { background: #fafbfc; }
.patent-row .kind {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
}
.patent-row .kind.um { color: var(--muted); }
.patent-row .title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
.patent-row .no {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.patent-row .date {
  font-size: 13px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* =========================================================
   Applications
   ========================================================= */
.apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
}
.app {
  padding: 34px 26px 32px;
  background: var(--dark);
  transition: background .25s var(--ease);
}
.app:hover { background: var(--dark-2); }
.app .ico-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ff6b6b;
  font-variant-numeric: tabular-nums;
}
.app h4 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 18px;
  color: #fff;
}
.app p { font-size: 13.5px; line-height: 1.7; color: #8e95a1; margin-top: 8px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 85% 50%, rgba(214, 31, 31, .28), transparent 65%);
}
.cta-band .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 68px;
  padding-bottom: 68px;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: #9aa2ae; margin-top: 14px; font-size: 15.5px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #080a0d;
  color: #9aa2ae;
  padding: 76px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr 1.8fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer .brand img { height: 30px; }
.site-footer .brand .brand-name { color: #fff; }
.site-footer .brand .brand-name span { color: #6c7480; }
.footer-about { margin-top: 22px; max-width: 34ch; line-height: 1.75; color: #79818d; }
.site-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 12px; }
.site-footer a:hover { color: #fff; }
.footer-contact div + div { margin-top: 12px; }
.footer-contact .k { display: block; color: #5f6773; font-size: 12px; letter-spacing: 0.06em; margin-bottom: 2px; }

/* address: former + new */
.addr-line { display: block; }
.addr-line + .addr-line { margin-top: 7px; }
.addr-line em {
  display: inline-block;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 4px;
  margin-right: 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
  vertical-align: 1px;
  opacity: .75;
}
.addr-line.addr-new em { opacity: 1; }
.site-footer .addr-line em { color: #79818d; }
.site-footer .addr-line.addr-new em { color: #ff7a7a; border-color: rgba(255, 122, 122, .45); }
.site-footer .addr-line.addr-old > span { color: #6f7783; }
.info-row .addr-line em { color: var(--muted-2); background: #fff; }
.info-row .addr-line.addr-new em { color: var(--red); border-color: #f3d5d2; background: var(--red-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: #5f6773;
}
.footer-bottom a { color: #5f6773; }
.footer-bottom a:hover { color: #9aa2ae; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.info-list { border-top: 1px solid var(--line); margin-top: 36px; }
.info-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding-top: 3px;
}
.info-row .v { font-size: 15.5px; line-height: 1.65; }
.info-row .v small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.todo {
  color: var(--muted);
  background: repeating-linear-gradient(90deg, #e6e8ec 0 1px, transparent 1px 6px) bottom left / 100% 1px no-repeat;
}

.map-frame {
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .55;
}
.map-frame {
  flex-direction: column;
  gap: 10px;
  color: var(--ink-2);
  transition: border-color .2s var(--ease);
}
.map-frame:hover { border-color: #c8ccd3; }
.map-frame span { position: relative; letter-spacing: 0.06em; }
.map-frame .map-open { color: var(--red); font-weight: 600; font-size: 13px; }

/* =========================================================
   Contact card
   ========================================================= */
.contact-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 42px 40px 36px;
}
.contact-logo {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 112px;
  height: auto;
  opacity: .95;
}
.contact-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.contact-big {
  display: block;
  margin-top: 20px;
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: color .2s var(--ease);
  word-break: break-word;
}
.contact-big.mail { font-size: clamp(16px, 1.7vw, 20px); letter-spacing: 0; }
.contact-big:hover { color: var(--red); }
.contact-tips-k {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 32px 0 0;
}
.contact-tips-k + .contact-list { margin-top: 6px; }
.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.contact-list li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 10px;
  height: 1px;
  background: var(--red);
}

.info-row .v a {
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.info-row .v a:hover { color: var(--red); border-color: var(--red); }

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.in { opacity: 1; transform: none; }

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


/* =========================================================
   R&D status card
   ========================================================= */
.status-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 38px 36px 34px;
}
.status-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #f3d5d2;
  border-radius: 999px;
  padding: 3px 12px;
}
.status-card h3 { font-size: 20px; margin-top: 16px; letter-spacing: -0.01em; }

/* =========================================================
   World map
   ========================================================= */
.world { position: relative; margin-top: 10px; }
.world img { width: 100%; height: auto; display: block; }
.pin { position: absolute; width: 0; height: 0; }
.pin i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.pin i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(214, 31, 31, .35);
}
.pin em {
  position: absolute;
  font-style: normal;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.pin.right em { left: 15px; top: -10px; }
.pin.left em { right: 15px; top: -10px; }
.pin.top em { left: 50%; bottom: 13px; transform: translateX(-50%); }
.pin.bottom em { left: 50%; top: 13px; transform: translateX(-50%); }

.map-legend {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.map-legend li {
  background: #fff;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 9px;
}
.map-legend li i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }

/* =========================================================
   News article
   ========================================================= */
.news-article { max-width: 1080px; }
.news-meta { display: flex; align-items: center; gap: 14px; }
.news-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #f3d5d2;
  border-radius: 999px;
  padding: 3px 12px;
}
.news-date {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.news-article .h2 { margin-top: 18px; }
.news-body { margin-top: 26px; display: grid; gap: 16px; max-width: 68ch; }
.news-body p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.news-gallery {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.news-gallery figure { margin: 0; }
.news-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}
.news-gallery figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted-2); line-height: 1.6; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .about-grid { gap: 48px; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-mark { width: 380px; right: -80px; opacity: .04; }
}

@media (max-width: 1100px) {
  .nav, .header-tools .btn { display: none; }
  .burger { display: block; }
  .header-tools { margin-left: auto; gap: 12px; }
  .site-header .wrap { gap: 16px; }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats ul { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li { padding: 24px 20px; }
  .hero-stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-stats li:nth-child(3), .hero-stats li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .patent-row { grid-template-columns: 72px 1fr; row-gap: 6px; }
  .patent-row .no { grid-column: 2; }
  .patent-row .date { grid-column: 2; text-align: left; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .contact-card { padding: 30px 24px 26px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 64px 0 52px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; }
  .product-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .spec-grid { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .capability:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 128px 0 44px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-actions .btn { width: 100%; }
  .brand .brand-div, .brand .brand-name { display: none; }
}

/* ---------- 7 nav items: tighten ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 1080px) {
  .map-legend { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .news-gallery { grid-template-columns: 1fr 1fr; }
  .news-gallery figure:first-child { grid-column: span 2; }
}

@media (max-width: 680px) {
  .map-legend { grid-template-columns: 1fr; }
  .news-gallery { grid-template-columns: 1fr; gap: 20px; }
  .news-gallery figure:first-child { grid-column: auto; }
  .pin em { display: none; }
  .status-card { padding: 26px 22px; }
}

@media (max-width: 680px) {
  .contact-logo { width: 76px; top: 24px; right: 24px; }
}
