:root {
  --ink: #16202a;
  --muted: #637082;
  --line: #d9e1e8;
  --panel: #f4f7fa;
  --brand: #0f5f8f;
  --brand-dark: #0b3958;
  --accent: #f2a23a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(22, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 13px;
  color: #2b3947;
  font-size: 14px;
  font-weight: 650;
  border-radius: 8px;
}

.site-nav a:hover {
  background: var(--panel);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 95, 143, 0.08), rgba(242, 162, 58, 0.08)),
    #f9fbfd;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  color: #0e2232;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.ghost {
  color: var(--brand-dark);
  background: var(--white);
  border-color: var(--line);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 850;
}

.text-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

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

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

.hero-stats dt {
  color: var(--brand-dark);
  font-weight: 850;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 300px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(11, 57, 88, 0.82);
  border-radius: 8px;
  font-size: 14px;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.soft {
  background: var(--panel);
}

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

.section-heading h2,
.about h2,
.quote-panel h2 {
  margin: 0;
  color: #102538;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.about p,
.quote-copy p {
  color: var(--muted);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.intro-strip div {
  min-height: 128px;
  padding: 28px;
  background: var(--white);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  margin-bottom: 8px;
  color: var(--brand);
}

.intro-strip span {
  color: var(--muted);
}

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

.product-card,
.capability-grid article,
.video-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.product-card div,
.capability-grid article,
.video-grid article {
  padding: 18px;
}

.product-card h3,
.capability-grid h3,
.video-grid h3,
.solution-list h3 {
  margin: 0 0 8px;
  color: #142b3f;
  font-size: 20px;
}

.product-card p,
.capability-grid p,
.solution-list p {
  margin: 0;
  color: var(--muted);
}

.product-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(15, 95, 143, 0.1), rgba(242, 162, 58, 0.08)),
    #f8fbfd;
}

.product-page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #0e2232;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
}

.product-page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.product-page-hero img,
.product-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.product-detail h2,
.related-products h2 {
  margin: 0 0 14px;
  color: #102538;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.product-detail p {
  color: var(--muted);
}

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

.spec-list li {
  padding: 12px 14px;
  color: #253849;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.keyword-panel {
  padding: 20px;
  background: #102538;
  border-radius: 8px;
}

.keyword-panel h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.keyword-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: #c7d4df;
}

.related-products {
  background: var(--panel);
}

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

.related-grid a {
  padding: 18px;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.solution-layout,
.about,
.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.solution-layout > img,
.belt-type-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.belt-type-map {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.belt-type-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.belt-label {
  position: absolute;
  max-width: 170px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(8, 23, 33, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(8, 23, 33, 0.2);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.label-flat {
  left: 8%;
  top: 18%;
}

.label-ladder {
  left: 39%;
  top: 18%;
}

.label-herringbone {
  right: 8%;
  top: 23%;
}

.label-compound {
  left: 28%;
  bottom: 15%;
}

.label-chain {
  right: 9%;
  bottom: 17%;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-list span {
  color: var(--accent);
  font-weight: 900;
}

.capability-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 6px;
}

.video-section {
  background: #0e2232;
}

.video-section .section-heading h2,
.video-section .video-grid h3 {
  color: var(--white);
}

.video-section .section-heading p:not(.eyebrow) {
  color: #b7c4cf;
}

.video-grid article {
  background: #142d42;
  border-color: rgba(255, 255, 255, 0.12);
}

.video-grid video,
.video-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #091722;
  border-radius: 6px;
}

.about {
  background: var(--white);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #2f3e4c;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.quote-panel {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(15, 95, 143, 0.92), rgba(11, 57, 88, 0.96)),
    url("assets/images/optimized/workshop-production.jpg") center / cover;
}

.quote-copy,
.quote-form {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
}

.contact-lines a {
  color: var(--brand-dark);
  font-weight: 800;
}

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

.quote-form label {
  display: grid;
  gap: 6px;
  color: #253849;
  font-size: 14px;
  font-weight: 800;
}

.quote-form .full,
.quote-form button,
.quote-form .form-note {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c8d4df;
  border-radius: 8px;
  font: inherit;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(15, 95, 143, 0.18);
  border-color: var(--brand);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note[data-status="pending"] {
  color: var(--brand);
}

.form-note[data-status="success"] {
  color: #137333;
  font-weight: 800;
}

.form-note[data-status="error"] {
  color: #9f1d1d;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
}

.form-actions .button {
  min-height: auto;
  padding: 9px 12px;
  font-size: 13px;
}

.form-note textarea {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #c8d4df;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #b7c4cf;
  background: #081721;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .product-page-hero,
  .product-detail,
  .solution-layout,
  .about,
  .quote-panel {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .product-grid,
  .capability-grid,
  .video-grid,
  .related-grid,
  .intro-strip {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 66px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats,
  .product-grid,
  .capability-grid,
  .video-grid,
  .related-grid,
  .intro-strip,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .media-caption {
    position: static;
    max-width: none;
    margin-top: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
  }

  .belt-label {
    max-width: 112px;
    padding: 5px 7px;
    font-size: 10px;
  }
}
