:root {
  --bg: #14110e;
  --bg-2: #1c1814;
  --panel: #221c17;
  --ink: #f3ece1;
  --muted: #b7aa98;
  --line: #3d342b;
  --accent: #d4a054;
  --accent-2: #8fb38a;
  --warn: #c47a4a;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "Consolas", monospace;
  --wrap: calc(100% - 48px);
  --wrap-max: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(212, 160, 84, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: var(--wrap); max-width: var(--wrap-max); margin: 0 auto; }
.wrap-wide { width: calc(100% - 24px); margin: 0 auto; }

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand strong { letter-spacing: 0.04em; }
.brand span { color: var(--muted); font-size: 12px; }

header.top {
  border-bottom: 1px solid var(--line);
  background: rgba(20, 17, 14, 0.86);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.lang-switch { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-btn {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  text-decoration: none !important;
}
.lang-btn.active, .lang-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.links a { color: var(--muted); text-decoration: none; }
.links a.active, .links a:hover { color: var(--accent); }

.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
}
.crumbs span { opacity: 0.5; }

.hero { padding: 36px 0 12px; }
.kicker {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 8px 0 12px; font-weight: 650; }
.lede { color: var(--muted); max-width: 62ch; }

.grid { display: grid; gap: 16px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 24px 0; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: 1.2fr 0.8fr; }

.card, .spec, form.panel, .note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin: 0 0 8px; font-size: 18px; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 13px; }
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
}

.steps { counter-reset: step; margin: 8px 0 0; padding: 0; list-style: none; }
.steps li {
  position: relative;
  padding: 12px 0 12px 48px;
  border-top: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a231c;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
}

.spec table, .table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td, .table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  vertical-align: top;
}
.spec th, .table th { color: var(--muted); font-weight: 500; width: 34%; }

.product {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: 20px;
  align-items: start;
}
.product img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0e0c0a;
  object-fit: cover;
  max-height: 420px;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 4px; }

label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select, textarea {
  width: 100%;
  background: #161310;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}
textarea { min-height: 72px; resize: vertical; }
button, .btn {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #1a140c;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  margin-top: 12px;
}
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.out {
  white-space: pre-wrap;
  font-size: 14px;
  background: #161310;
  border-radius: 10px;
  padding: 12px;
  border: 1px dashed var(--line);
  min-height: 120px;
}
.msg { font-size: 13px; color: var(--accent-2); min-height: 1.2em; }
.warn { color: var(--warn); }
footer {
  margin: 48px 0 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0a0908;
  line-height: 0;
}
.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
}
.carousel-wa {
  display: block;
  width: 100%;
  cursor: pointer;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  background: #0a0908;
}
.carousel-caption {
  display: none;
}
.intro-band {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1511 0%, var(--bg) 100%);
  padding: 28px 0 8px;
  line-height: 1.55;
}
.intro-band h1 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 8px 0 12px;
  line-height: 1.15;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(20, 17, 14, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  margin: 0;
  padding: 0;
}
.carousel-btn.prev { left: max(12px, 2vw); }
.carousel-btn.next { right: max(12px, 2vw); }
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}
.carousel-dots .dot.active { background: var(--accent); }

.cert-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.cert-strip a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.cert-strip img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.cert-gallery {
  display: grid;
  gap: 18px;
}
.cert-gallery figure {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cert-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.cert-gallery figcaption {
  padding: 10px 14px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
}

.hero-bleed {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(105deg, rgba(20,17,14,0.92) 35%, rgba(20,17,14,0.35) 70%, transparent),
    radial-gradient(800px 400px at 80% 20%, rgba(212,160,84,0.18), transparent 60%);
  padding: 28px 0 36px;
}
.hero-bleed-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.hero-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e0c0a;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  object-fit: cover;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cta-row .btn { margin-top: 0; display: inline-block; text-decoration: none !important; }
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.markets { color: var(--muted); font-size: 13px; margin-top: 16px; }
.markets:empty,
.markets[hidden] { display: none !important; }
.section { margin: 36px 0 12px; }
.section h2 { margin: 0 0 14px; font-size: 22px; }
.catalog-section { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.catalog-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.catalog-card img {
  width: 100%;
  aspect-ratio: 1024 / 695;
  object-fit: cover;
  background: #fff;
}
.catalog-card-body {
  padding: 12px 14px 14px;
  display: grid;
  gap: 4px;
}
.catalog-card-body strong {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.catalog-card-body span { font-size: 14px; line-height: 1.4; }
.catalog-figure {
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.catalog-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.pcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.pcard img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0e0c0a;
}
.pcard-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 8px;
}
.pcard-body strong { letter-spacing: 0.04em; }
.pcard-body span { font-size: 14px; }
.pcard-body em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-cta {
  padding: 0 14px 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
  appearance: none;
  margin: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.chip.active, .chip:hover {
  color: #1a140c;
  background: var(--accent);
  border-color: var(--accent);
}
.muted { color: var(--muted); }
.link-card { color: inherit; text-decoration: none !important; display: block; }
.link-card:hover { border-color: var(--accent); }
.link-card p { color: var(--muted); margin: 0; }

.plain-list {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.media-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-card img,
.media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0e0c0a;
}
.media-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  .product, .grid.two, .hero-bleed-inner { grid-template-columns: 1fr; }
  .nav { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-text span { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; }
  .links { width: 100%; order: 3; }
  .lang-switch { margin-left: auto; }
  .hero-photo img { height: 280px; }
  .cert-strip { grid-template-columns: 1fr; }
  .carousel-btn { width: 36px; height: 36px; font-size: 22px; }
}
