:root {
  --ink: #18212c;
  --muted: #637083;
  --line: #dde3ea;
  --panel: #f5f7fa;
  --paper: #ffffff;
  --navy: #0d2c4a;
  --blue: #135f9d;
  --orange: #e2762f;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(17, 38, 58, 0.1);
  --shadow-soft: 0 10px 28px rgba(17, 38, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Segoe UI",
    "Inter",
    Arial,
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  background: var(--paper);
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #fff;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.detail-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(23, 37, 51, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
}

.brand-text {
  font-size: 18px;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  color: var(--orange);
}

.section-panel {
  position: relative;
  min-height: auto;
  padding: clamp(78px, 9vw, 112px) 0;
}

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

.hero {
  display: grid;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  place-items: center start;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 23, 35, 0.88), rgba(10, 23, 35, 0.45) 48%, rgba(10, 23, 35, 0.14)),
    linear-gradient(0deg, rgba(10, 23, 35, 0.35), rgba(10, 23, 35, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 120px);
  color: #fff;
}

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

.hero h1,
.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-slogan {
  margin: 18px 0 10px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.primary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.primary-action:hover {
  background: #c95f1f;
  transform: translateY(-1px);
}

.about,
.products {
  background: var(--paper);
}

.solutions,
.contact,
.detail-main {
  background: var(--panel);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

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

.section-copy h2,
.section-heading h2,
.detail-section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.detail-section p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-list strong {
  color: var(--navy);
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.solution-card,
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(221, 227, 234, 0.78);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.solution-card:hover {
  box-shadow: 0 20px 42px rgba(20, 38, 54, 0.14);
  transform: translateY(-4px);
}

.solution-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.solution-card img {
  object-fit: cover;
}

.product-card img {
  padding: 18px;
  object-fit: contain;
  background: #f7f9fb;
}

.solution-card h3,
.product-card h3 {
  min-height: auto;
  margin: 8px 18px 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.solution-card p {
  display: -webkit-box;
  min-height: 96px;
  margin: 0 18px 22px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.card-index {
  display: block;
  margin: 18px 18px 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-action {
  display: inline-flex;
  align-items: center;
  margin: auto 18px 20px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.card-action::after {
  margin-left: 8px;
  content: "→";
}

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

.product-specs {
  display: grid;
  gap: 6px;
  margin: 0 18px 22px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  list-style: none;
}

.product-specs li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: start;
  padding-top: 7px;
  border-top: 1px solid #edf1f5;
}

.product-specs span {
  color: #778294;
}

.product-specs strong {
  color: var(--navy);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-cards article {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.contact-cards strong {
  color: var(--navy);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form .primary-action {
  min-width: 190px;
  justify-self: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 95, 157, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #0a1723;
}

.detail-main {
  min-height: calc(100vh - 78px);
  padding: 104px 0 64px;
}

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

.detail-image-page {
  display: grid;
  gap: 18px;
}

.detail-intro-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.detail-copy h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.detail-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.detail-section {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(221, 227, 234, 0.72);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 38, 54, 0.06);
}

.detail-section h2 {
  font-size: clamp(26px, 3vw, 34px);
}

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

.detail-feature-grid article {
  display: grid;
  gap: 14px;
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fafbfc;
}

.detail-feature-grid span {
  color: var(--orange);
  font-weight: 900;
}

.detail-feature-grid strong {
  color: var(--navy);
  font-size: 18px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    font-size: 13px;
  }

  .about-grid,
  .contact-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .detail-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section-panel {
    padding: 72px 0;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .detail-main {
    padding: 108px 0 48px;
  }

  .detail-article {
    width: min(100% - 20px, 420px);
  }

  .detail-hero {
    gap: 28px;
    padding: 20px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .detail-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .solution-grid,
  .product-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .solution-card h3,
  .product-card h3,
  .solution-card p {
    min-height: auto;
  }

  .contact-form .primary-action {
    width: 100%;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
