:root {
  --ink: #172027;
  --muted: #607080;
  --line: #d7dee4;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --accent: #1d6f8f;
  --accent-2: #b8791a;
  --accent-3: #2f7558;
  --dark: #18232d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "Noto Sans", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 28px;
  background: rgba(247, 249, 251, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  overflow-wrap: anywhere;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.language-nav a {
  min-width: 36px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}

.language-nav a[aria-current="page"] {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.catalog-hero {
  min-height: 340px;
  padding: 72px min(6vw, 84px) 44px;
  background:
    linear-gradient(90deg, rgba(24,35,45,.94), rgba(24,35,45,.78)),
    url("../images/ad25/ad25-02.png") center right / contain no-repeat,
    var(--dark);
  color: #fff;
  border-bottom: 4px solid var(--accent-2);
}

.catalog-hero h1,
.product-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.catalog-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dbe5ed;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 34px;
}

.catalog-count strong {
  font-size: 48px;
  line-height: 1;
}

.catalog-count span {
  color: #dbe5ed;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px min(4vw, 48px) 64px;
}

.product-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.card-media {
  display: grid;
  place-items: center;
  min-width: 0;
  background: #edf2f5;
  border-bottom: 1px solid var(--line);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-media span {
  color: var(--muted);
  font-size: 14px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.card-body h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.chips,
.model-list,
.application-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span,
.model-list span,
.application-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.product-hero {
  position: relative;
  min-height: min(76vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.94) 0%, rgba(16,24,32,.68) 42%, rgba(16,24,32,.18) 100%);
}

.product-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  background: #e9eef3;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 92px min(6vw, 84px) 62px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: #e0e8ef;
  font-size: 18px;
}

.hero-copy .chips {
  margin-top: 26px;
}

.hero-copy .chips span {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: #dbe5ed;
  font-weight: 700;
}

.content-band {
  max-width: 1420px;
  margin: 0 auto;
  padding: 54px min(4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 44px;
  align-items: start;
}

.content-band h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
}

.content-band p {
  max-width: 860px;
  margin: 0 0 14px;
  color: #384856;
}

.facts-panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facts-panel h2 {
  font-size: 22px;
}

.facts-panel dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.facts-panel dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.facts-panel dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.facts-panel dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 14px;
  min-height: 120px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature span {
  width: 8px;
  border-radius: 4px;
  background: var(--accent-3);
}

.feature:nth-child(2) span { background: var(--accent); }
.feature:nth-child(3) span { background: var(--accent-2); }

.feature p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #eef3f7;
}

.gallery-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.tables-stack {
  display: grid;
  gap: 22px;
}

.spec-table h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.table-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eaf1f5;
  color: #263642;
  font-weight: 800;
}

tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
}

.catalog-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-contact .contact-list {
  margin-top: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-list strong,
.contact-list a,
.contact-list address {
  min-width: 0;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--accent);
}

.source {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
}

.visual-fallback,
.empty-gallery {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: #fff;
  background: var(--dark);
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
    padding: 14px 18px;
  }

  .catalog-hero {
    min-height: 320px;
    padding: 46px 20px 34px;
    background:
      linear-gradient(180deg, rgba(24,35,45,.96), rgba(24,35,45,.86)),
      url("../images/ad25/ad25-02.png") center bottom / 120% auto no-repeat,
      var(--dark);
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 22px 16px 44px;
  }

  .product-hero {
    min-height: 680px;
    align-items: end;
  }

  .product-hero::after {
    background: linear-gradient(180deg, rgba(16,24,32,.40), rgba(16,24,32,.96) 58%);
  }

  .product-hero > img {
    height: 50%;
    object-position: center top;
  }

  .hero-copy {
    padding: 260px 20px 42px;
  }

  .intro-grid,
  .faq-grid,
  .catalog-contact {
    grid-template-columns: 1fr;
  }

  .contact-list li {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .content-band {
    padding: 38px 16px;
  }

  .gallery-grid img {
    height: 220px;
  }
}
