:root {
  --black: #08090b;
  --panel: #111318;
  --panel-2: #171a21;
  --gold: #c99a3b;
  --gold-light: #f1c96c;
  --text: #f7f4ec;
  --muted: #b9b1a2;
  --line: rgba(201, 154, 59, 0.26);
  --white: #ffffff;
  --danger: #8e6a2c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

main,
section,
article,
aside,
div {
  min-width: 0;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold-light);
  background: transparent;
  width: 42px;
  height: 42px;
  font-size: 21px;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.header-cta {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.button.ghost {
  color: var(--gold-light);
  background: rgba(8, 9, 11, 0.38);
}

.phone-link {
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.call-button {
  width: 100%;
  margin-top: 10px;
  color: var(--gold-light);
  background: transparent;
}

.hero,
.sub-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: end;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.92), rgba(8, 9, 11, 0.62) 54%, rgba(8, 9, 11, 0.25)),
    linear-gradient(0deg, rgba(8, 9, 11, 0.72), rgba(8, 9, 11, 0.1));
}

.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 58px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy,
.lead,
.section-heading p,
.product-card p,
.feature-list span,
.strength-grid span,
.contact-note,
.site-footer p,
.content-section p {
  color: var(--muted);
}

.hero-copy {
  max-width: 760px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 24, 0.68);
}

.hero-stats dt {
  color: var(--gold-light);
  font-size: 12px;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.seo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 58px);
  border-block: 1px solid var(--line);
  background: #0d0f13;
}

.seo-strip span {
  padding: 7px 12px;
  border: 1px solid rgba(201, 154, 59, 0.32);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(201, 154, 59, 0.08);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a,
.text-link,
.guide-callout a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.split,
.detail-layout,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.strength-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.strength-grid article,
.feature-list div,
.quote-box,
.contact-panel,
.inquiry-form,
.content-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.strength-grid article,
.feature-list div {
  padding: 22px;
}

.strength-grid strong,
.feature-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 19px;
}

.dark-section {
  width: 100%;
  padding-inline: max(18px, calc((100% - 1180px) / 2));
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(201, 154, 59, 0.12), transparent 28%),
    #0d0f13;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: grid;
  grid-template-columns: 45% 1fr;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.product-card div {
  padding: 28px;
}

.card-kicker {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-light);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.gallery-grid figure {
  display: grid;
  grid-template-rows: auto 1fr;
}

.gallery-grid figure img {
  width: 100%;
  height: clamp(190px, 18vw, 240px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.knowledge-grid span,
.knowledge-grid a {
  color: var(--gold-light);
  font-weight: 800;
}

.knowledge-grid p {
  color: var(--muted);
}

.guide-callout {
  margin: 22px 0 0;
  padding: 17px 20px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: var(--panel);
}

.guide-article {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 64px;
}

.guide-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.guide-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.guide-hero-media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.guide-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.guide-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 50px;
}

.guide-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.guide-toc strong {
  margin-bottom: 8px;
  color: var(--gold-light);
}

.guide-toc a {
  padding: 8px 0;
  color: var(--muted);
}

.guide-content > section {
  scroll-margin-top: 100px;
  padding: 0 0 54px;
}

.guide-content h2 {
  font-size: clamp(27px, 3.5vw, 40px);
}

.guide-content p,
.guide-figure figcaption,
.measure-grid span,
.related-products span,
.tip-box span {
  color: var(--muted);
}

.tip-box {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin-top: 20px;
  padding: 20px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
}

.tip-box strong {
  color: var(--gold-light);
}

.measure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.measure-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.measure-grid strong,
.measure-grid span {
  display: block;
}

.measure-grid strong {
  color: var(--gold-light);
}

.guide-figure {
  margin-top: 24px;
}

.guide-figure img {
  max-height: 520px;
}

.checklist {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  counter-reset: guide-check;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 15px 18px 15px 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.checklist li::before {
  position: absolute;
  left: 16px;
  counter-increment: guide-check;
  content: counter(guide-check, decimal-leading-zero);
  color: var(--gold-light);
  font-weight: 900;
}

.related-products > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-products a {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.related-products strong {
  color: var(--gold-light);
}

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px;
  color: var(--gold-light);
  font-weight: 800;
}

.sub-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 46px;
}

.sub-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-box,
.contact-panel,
.inquiry-form,
.content-section {
  padding: 26px;
}

.quote-box ul,
.contact-list {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold-light);
  background: rgba(201, 154, 59, 0.08);
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 15px;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.consent-field input {
  width: auto;
  margin-top: 3px;
}

.inquiry-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

label {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(201, 154, 59, 0.34);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--text);
  background: #0b0d10;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-result {
  min-height: 24px;
  margin: 0;
  color: var(--gold-light);
  font-weight: 800;
}

.form-result.is-success {
  color: #91d9ad;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: #060708;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  color: var(--gold-light);
}

.icp-link {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
}

.icp-link:hover {
  color: var(--gold-light);
}

.error-page {
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
}

.error-page h1 {
  font-size: clamp(38px, 7vw, 68px);
}

/* Rubber fender product landing page */
.fender-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.fender-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fender-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 5, 7, 0.96) 0%, rgba(4, 5, 7, 0.78) 48%, rgba(4, 5, 7, 0.25) 100%), linear-gradient(0deg, rgba(4, 5, 7, 0.78), transparent 55%);
}

.fender-hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 54px;
}

.fender-hero-content h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 72px);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1080px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(10, 11, 14, 0.76);
}

.trust-points strong,
.trust-points span {
  display: block;
}

.trust-points strong {
  color: var(--gold-light);
  font-size: 17px;
}

.trust-points span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.product-anchor {
  position: sticky;
  top: 73px;
  z-index: 35;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 14px 18px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  background: rgba(8, 9, 11, 0.96);
  backdrop-filter: blur(12px);
}

.product-anchor a:hover {
  color: var(--gold-light);
}

.fender-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.fender-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fender-focus span {
  grid-column: 1 / -1;
  padding: 15px 18px;
  color: var(--black);
  background: var(--gold-light);
  font-weight: 900;
}

.fender-focus strong {
  padding: 19px 18px;
  color: var(--text);
  background: var(--panel);
}

.fender-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fender-type-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.fender-type-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.fender-type-card div {
  padding: 24px;
}

.fender-type-card span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.fender-type-card p {
  min-height: 78px;
  color: var(--muted);
}

.fender-type-card a {
  color: var(--gold-light);
  font-weight: 900;
}

.model-showcase {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 132px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(201, 154, 59, 0.08), transparent 42%),
    #090b0e;
}

.model-showcase::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(201, 154, 59, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(201, 154, 59, 0.025),
    0 0 0 140px rgba(201, 154, 59, 0.018);
  content: "";
  pointer-events: none;
}

.model-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.model-showcase-copy {
  max-width: 500px;
}

.model-control-list {
  display: grid;
  gap: 1px;
  margin: 28px 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.model-control-list span {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(17, 19, 24, 0.96);
  font-weight: 800;
}

.model-control-list b {
  color: var(--gold-light);
  font-size: 13px;
}

.model-note {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.model-viewer-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 176, 73, 0.5);
  border-radius: 10px;
  background: #e8e5dc;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.model-viewer-frame model-viewer {
  display: block;
  width: 100%;
  height: clamp(430px, 52vw, 620px);
  --poster-color: #e8e5dc;
  --progress-bar-color: var(--gold);
  --progress-bar-height: 3px;
}

.model-viewer-label,
.model-viewer-hint {
  position: absolute;
  z-index: 2;
  margin: 0;
  pointer-events: none;
}

.model-viewer-label {
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 9, 11, 0.18);
  border-radius: 999px;
  color: #141518;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.model-viewer-hint {
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 5px;
  color: #f6f2e8;
  background: rgba(8, 9, 11, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.model-viewer-fallback {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  margin: 0;
  color: #141518;
  transform: translate(-50%, -50%);
}

.parameter-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.parameter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.parameter-list > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.parameter-list b {
  color: var(--gold-light);
  font-size: 24px;
}

.parameter-list strong,
.parameter-list span {
  display: block;
}

.parameter-list span {
  color: var(--muted);
}

.parameter-list strong {
  margin-bottom: 4px;
  color: var(--text);
}

.quick-quote p:not(.eyebrow) {
  color: var(--muted);
}

.application-band {
  border-block: 1px solid var(--line);
  background: #0d0f13;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.application-grid article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.application-grid article:last-child {
  border-right: 0;
}

.application-grid strong {
  color: var(--gold-light);
  font-size: 20px;
}

.application-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.fender-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.fender-gallery figure {
  grid-column: span 4;
  display: grid;
  grid-template-rows: auto auto;
}

.fender-gallery .gallery-feature {
  grid-column: span 6;
}

.fender-gallery img,
.fender-gallery .gallery-feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fender-gallery .gallery-parts img {
  object-fit: contain;
  background: #d8a900;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.process-list li {
  min-height: 180px;
  padding: 24px;
  background: var(--panel);
}

.process-list b,
.process-list strong,
.process-list span {
  display: block;
}

.process-list b {
  color: var(--gold-light);
  font-size: 36px;
}

.process-list strong {
  margin: 14px 0 6px;
  font-size: 19px;
}

.process-list span {
  color: var(--muted);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  padding: 20px 22px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.fender-contact {
  padding-bottom: 100px;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 9, 11, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .split,
  .detail-layout,
  .contact-section,
  .sub-hero,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid figure img {
    height: clamp(210px, 36vw, 320px);
  }

  .fender-intro,
  .parameter-layout,
  .model-showcase-grid,
  .guide-hero,
  .guide-body {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-toc strong {
    grid-column: 1 / -1;
  }

  .fender-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-grid article:nth-child(2) {
    border-right: 0;
  }

  .application-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .fender-gallery figure {
    grid-column: span 6;
  }

  .fender-gallery .gallery-feature {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 9, 11, 0.45), rgba(8, 9, 11, 0.95));
  }

  .hero-content,
  .section,
  .sub-hero,
  .breadcrumb,
  .guide-article {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 38px;
  }

  .hero-stats,
  .strength-grid,
  .feature-list,
  .gallery-grid,
  .knowledge-grid,
  .measure-grid,
  .related-products > div {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure img {
    height: clamp(220px, 72vw, 340px);
  }

  .guide-hero {
    gap: 24px;
    padding: 36px 0 50px;
  }

  .guide-toc {
    grid-template-columns: 1fr;
  }

  .guide-toc strong {
    grid-column: auto;
  }

  .tip-box {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    min-height: 250px;
    aspect-ratio: 16 / 10;
  }

  .sub-hero img {
    height: 330px;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 16px;
  }

  .fender-hero {
    min-height: 760px;
  }

  .fender-hero-shade {
    background: linear-gradient(180deg, rgba(4, 5, 7, 0.34), rgba(4, 5, 7, 0.96) 55%);
  }

  .fender-hero-content {
    width: calc(100% - 28px);
    padding: 120px 0 30px;
  }

  .fender-hero-content h1 {
    font-size: 36px;
  }

  .trust-points,
  .fender-type-grid,
  .parameter-list,
  .application-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .trust-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-points li {
    padding: 13px;
  }

  .product-anchor {
    top: 68px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fender-focus {
    grid-template-columns: 1fr;
  }

  .fender-focus span {
    grid-column: auto;
  }

  .fender-type-card img {
    height: 250px;
  }

  .fender-type-card p {
    min-height: 0;
  }

  .model-showcase-grid {
    gap: 30px;
  }

  .model-viewer-frame model-viewer {
    height: min(118vw, 520px);
  }

  .model-viewer-label {
    top: 12px;
    left: 12px;
  }

  .model-viewer-hint {
    right: 12px;
    bottom: 12px;
  }

  .application-grid article,
  .application-grid article:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .application-grid article:last-child {
    border-bottom: 0;
  }

  .fender-gallery {
    grid-template-columns: 1fr;
  }

  .fender-gallery figure,
  .fender-gallery .gallery-feature {
    grid-column: 1;
  }

  .process-list li {
    min-height: 0;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    background: #07080a;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-weight: 900;
  }

  .mobile-contact-bar a:last-child {
    color: var(--black);
    background: var(--gold-light);
  }

  .site-footer {
    padding-bottom: 90px;
  }
}

/* Company news */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card img.news-document-cover {
  padding: 14px;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(213, 174, 94, 0.2), transparent 42%),
    linear-gradient(145deg, #262a2d 0%, #151719 56%, #29251f 100%);
}

.news-card-body {
  padding: 22px;
}

.news-card time,
.news-meta {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.news-card h3 {
  margin: 8px 0 10px;
  font-size: 21px;
}

.news-card p,
.news-empty {
  color: var(--muted);
}

.news-list-page,
.news-article {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.news-page-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.news-page-heading h1,
.news-article h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.news-article-header {
  max-width: 900px;
  margin-bottom: 30px;
}

.news-article-cover {
  width: 100%;
  max-height: 620px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.news-article-cover.news-article-cover--document {
  display: block;
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: none;
  margin: 0 auto;
  border-color: rgba(255, 255, 255, 0.62);
  border-radius: 3px;
  object-fit: contain;
  background: #e8e6e0;
  box-shadow:
    0 26px 52px rgba(0, 0, 0, 0.48),
    0 4px 12px rgba(0, 0, 0, 0.34);
}

.news-document-stage {
  position: relative;
  isolation: isolate;
  width: min(820px, 100%);
  margin: 0 auto 34px;
  padding: clamp(34px, 6vw, 62px) clamp(26px, 7vw, 74px) 22px;
  overflow: hidden;
  border: 1px solid rgba(204, 169, 96, 0.62);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 32%, rgba(213, 174, 94, 0.2), transparent 34%),
    linear-gradient(145deg, #282c2f 0%, #121416 58%, #2b261f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 70px rgba(0, 0, 0, 0.28),
    0 24px 58px rgba(0, 0, 0, 0.3);
}

.news-document-stage::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.035) 45%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 42px);
  content: "";
  pointer-events: none;
}

.news-document-stage figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-document-stage figcaption::before {
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
  content: "";
}

.news-document-stage figcaption span {
  margin-right: auto;
}

.news-document-stage figcaption time {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.news-article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: -14px 0 34px;
}

.news-article-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.news-article-body {
  max-width: 860px;
  color: #ded8cb;
  font-size: 18px;
  line-height: 1.9;
}

.news-article-body h2 {
  margin-top: 38px;
  font-size: 30px;
}

.news-article-body ul {
  padding-left: 24px;
}

.news-contact {
  max-width: 860px;
  margin-top: 42px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-list-page,
  .news-article {
    width: calc(100% - 28px);
    padding-top: 36px;
  }

  .news-article-body {
    font-size: 16px;
  }

  .news-article-gallery {
    grid-template-columns: 1fr;
  }

  .news-document-stage {
    padding: 24px 18px 18px;
    border-radius: 12px;
  }

  .news-document-stage figcaption {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .news-document-stage figcaption time {
    width: 100%;
    padding-left: 44px;
  }
}

/* Company qualifications */
.qualification-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 32px;
}

.qualification-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 68px);
}

.qualification-hero .lead {
  max-width: 900px;
}

.qualification-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.qualification-facts span {
  display: grid;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--gold-light);
  font-weight: 800;
}

.qualification-facts span:last-child {
  border-right: 0;
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.qualification-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.qualification-card:hover,
.qualification-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.qualification-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  background: #f1f1ed;
}

.qualification-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qualification-card > div:last-child {
  padding: 20px;
}

.qualification-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.qualification-card p {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--muted);
}

.qualification-card span,
.qualification-label {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.qualification-card .qualification-label {
  min-height: 0;
  margin: 0 0 7px;
}

.qualification-card-history {
  border-style: dashed;
}

.qualification-summary {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.qualification-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0;
}

.qualification-summary-grid article {
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.qualification-summary-grid article:last-child {
  border-right: 0;
}

.qualification-summary-grid strong,
.qualification-summary-grid span {
  display: block;
}

.qualification-summary-grid strong {
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 18px;
}

.qualification-summary-grid span {
  color: var(--muted);
}

.qualification-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.qualification-cta > div:first-child {
  max-width: 760px;
}

@media (max-width: 900px) {
  .qualification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qualification-facts,
  .qualification-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qualification-facts span:nth-child(2),
  .qualification-summary-grid article:nth-child(2) {
    border-right: 0;
  }

  .qualification-cta {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .qualification-hero {
    width: calc(100% - 28px);
    padding-top: 38px;
  }

  .qualification-grid,
  .qualification-facts,
  .qualification-summary-grid {
    grid-template-columns: 1fr;
  }

  .qualification-facts span,
  .qualification-summary-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .qualification-facts span:last-child,
  .qualification-summary-grid article:last-child {
    border-bottom: 0;
  }

  .qualification-card p {
    min-height: 0;
  }
}

/* Railway crossing panel installation video */
.installation-video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.installation-video-copy {
  max-width: 720px;
}

.installation-video-copy h2 {
  margin-bottom: 18px;
}

.installation-video-points {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.installation-video-points li {
  padding: 15px 17px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.installation-video-points strong {
  color: var(--text);
}

.installation-video-note {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.installation-video-frame {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #1c2023, #0b0d0f);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.installation-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

.installation-video-frame figcaption {
  padding: 13px 4px 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .installation-video-section {
    grid-template-columns: 1fr;
  }

  .installation-video-frame {
    width: min(420px, 100%);
    margin: 0 auto;
  }
}

/* Railway crossing panel interactive 3D model */
.model-showcase-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.model-showcase-copy {
  max-width: 620px;
}

.model-showcase-copy h2 {
  margin-bottom: 18px;
}

.model-control-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 18px;
}

.model-control-tips span {
  padding: 8px 11px;
  border: 1px solid rgba(213, 174, 94, 0.32);
  border-radius: 999px;
  background: rgba(213, 174, 94, 0.07);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
}

.model-disclaimer {
  color: var(--muted);
  font-size: 14px;
}

.model-viewer-shell {
  position: relative;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(213, 174, 94, 0.13), transparent 34%),
    linear-gradient(145deg, #202427, #090b0d 72%);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34);
}

.model-viewer-shell model-viewer {
  display: block;
  width: 100%;
  height: clamp(420px, 48vw, 650px);
  border-radius: 10px;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--gold);
}

.model-viewer-shell model-viewer:not(:defined) {
  display: grid;
  place-items: center;
}

.model-viewer-shell model-viewer:not(:defined)::before {
  color: var(--gold-light);
  content: "正在加载三维模型…";
  font-size: 14px;
  font-weight: 800;
}

.model-viewer-shell figcaption {
  padding: 12px 5px 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .model-showcase-section {
    grid-template-columns: 1fr;
  }

  .model-viewer-shell model-viewer {
    height: min(620px, 78vw);
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .model-viewer-shell {
    padding: 9px;
    border-radius: 12px;
  }

  .model-viewer-shell model-viewer {
    height: 390px;
    min-height: 0;
  }
}
