:root {
  --blue-950: #062541;
  --blue-900: #07345f;
  --blue-700: #0f67b1;
  --blue-500: #1e8be0;
  --blue-100: #dff0ff;
  --blue-050: #f3f9ff;
  --text: #172033;
  --muted: #607089;
  --line: #dce8f5;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f8fbff;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 188px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(7, 52, 95, 0.06);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-900);
  font-weight: 800;
  white-space: nowrap;
}

.header-brand-row {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
}

.site-logo-mark {
  display: block;
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 4px;
}

.logo span {
  font-size: 26px;
  letter-spacing: 0;
}

.logo small {
  color: var(--muted);
  font-size: 14px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #31506f;
  font-size: 15px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 25px 13px;
}

.nav-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-caret {
  color: var(--blue-500);
  font-size: 12px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: grid;
  min-width: 210px;
  max-width: 300px;
  padding: 8px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-500);
  border-radius: 0 0 8px 8px;
  background: white;
  box-shadow: 0 18px 34px rgba(7, 52, 95, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-panel a,
.dropdown-subtrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #31506f;
  white-space: nowrap;
}

.dropdown-subtrigger {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.has-submenu .dropdown-panel {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  overflow: visible;
}

.dropdown-subitem {
  position: relative;
}

.dropdown-subitem::after {
  position: absolute;
  top: 0;
  right: -10px;
  bottom: 0;
  width: 10px;
  content: "";
}

.dropdown-subpanel {
  position: absolute;
  top: -11px;
  left: 100%;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 230px;
  max-width: min(320px, calc(100vw - 280px));
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-500);
  border-radius: 0 0 8px 8px;
  background: white;
  box-shadow: 0 18px 34px rgba(7, 52, 95, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus,
.dropdown-subtrigger:hover,
.dropdown-subtrigger:focus,
.main-nav a:hover,
.main-nav button:hover,
.main-nav button:focus,
.text-link {
  color: var(--blue-700);
}

.dropdown-panel a:hover,
.dropdown-panel a:focus,
.dropdown-subtrigger:hover,
.dropdown-subtrigger:focus {
  background: var(--blue-050);
}

.dropdown-subitem:hover .dropdown-subpanel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-item:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: var(--blue-950);
}

.hero-track {
  display: flex;
  width: 400%;
  min-height: 470px;
  animation: banner-slide 24s infinite;
}

.hero-slide {
  position: relative;
  flex: 0 0 25%;
  margin: 0;
  background: linear-gradient(135deg, #dcecf4 0%, #e8f3f7 58%, #d5e8f0 100%);
  box-shadow: inset 0 0 80px rgba(52, 139, 177, 0.08);
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 470px;
  padding: 18px 8vw 110px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.hero-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(var(--hero-media-width), calc(100% - 16vw));
  height: auto;
  margin: 18px auto 110px;
}

.hero-slide .hero-crop-source {
  position: absolute;
  display: block;
  max-width: none;
  padding: 0;
  object-fit: fill;
}

.hero-caption {
  position: absolute;
  right: 6vw;
  bottom: 38px;
  z-index: 2;
  max-width: 380px;
  padding: 16px 18px;
  border-left: 4px solid #66c5ff;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(25, 79, 105, 0.1);
  color: var(--blue-900);
}

.hero-caption p,
.hero-caption h2 {
  margin: 0 0 8px;
}

.hero-caption span {
  color: var(--muted);
}

@keyframes banner-slide {
  0%,
  20% {
    transform: translateX(0);
  }

  25%,
  45% {
    transform: translateX(-25%);
  }

  50%,
  70% {
    transform: translateX(-50%);
  }

  75%,
  95% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(0);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section,
.page-title,
.contact-layout,
.content-card,
.table-wrap,
.brand-profile,
.brand-models,
.brand-grid,
.toolbar,
.catalog-category-grid,
.catalog-product-grid {
  width: min(1140px, 88vw);
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.page-title {
  padding: 58px 0 26px;
}

.page-title h1,
.section-heading h2,
.about-band h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-title p,
.section-heading p,
.content-card p,
.contact-card p,
.about-band p {
  color: var(--muted);
  line-height: 1.8;
}

.service-cards {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1140px, 88vw);
  margin: -42px auto 0;
}

.service-cards article {
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 28px rgba(7, 52, 95, 0.1);
}

.service-cards strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 20px;
}

.service-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

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

.brand-profile {
  padding-bottom: 26px;
}

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

.brand-profile article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.brand-profile h2 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 24px;
}

.brand-profile p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
}

.brand-profile p[lang="en"] {
  color: #31516e;
}

.brand-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.compact-section {
  padding: 22px 0 14px;
}

.brand-models {
  padding-bottom: 56px;
}

.brand-model-grid {
  display: grid;
  gap: 16px;
}

.brand-model-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.brand-model-card h3 {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-size: 20px;
}

.brand-model-card h3 a {
  color: inherit;
}

.direction-card,
.product-card,
.brand-grid a,
.content-card,
.contact-card,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.direction-card {
  min-height: 240px;
  padding: 24px;
}

.direction-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  font-weight: 800;
}

.direction-card h3,
.product-card h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
}

.direction-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.direction-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.direction-links a {
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--blue-050);
  color: var(--blue-700);
  font-size: 13px;
}

.product-card {
  overflow: hidden;
}

.product-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--blue-050);
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

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

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 64px;
}

.catalog-category-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: inherit;
}

.catalog-category-card:hover,
.catalog-product-card:hover {
  border-color: #9cc9ed;
  box-shadow: 0 12px 28px rgba(7, 52, 95, 0.09);
}

.catalog-category-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 7px;
  background: var(--blue-700);
  color: white;
  font-weight: 800;
}

.catalog-category-card h2 {
  margin: 4px 0 8px;
  color: var(--blue-900);
  font-size: 21px;
}

.catalog-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.catalog-category-card strong {
  grid-column: 2;
  align-self: end;
  color: var(--blue-600);
  font-size: 14px;
}

.catalog-breadcrumb {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 64px;
}

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

.catalog-product-image {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 14px;
  background: #f7fbff;
}

.catalog-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-product-copy {
  padding: 16px;
  border-top: 1px solid var(--line);
}

.catalog-product-copy p,
.catalog-product-copy h2 {
  margin: 0 0 8px;
}

.catalog-product-copy p,
.catalog-product-copy span {
  color: var(--muted);
  font-size: 13px;
}

.catalog-product-copy h2 {
  font-size: 17px;
  line-height: 1.45;
}

.brand-band {
  padding: 46px 6vw;
  background: var(--blue-050);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-band .section-heading {
  width: min(1280px, 92vw);
  margin: 0 auto 22px;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.brand-logo-item {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 58px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.brand-logo-item img {
  display: block;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
}

.brand-logo-item img[src*="brand-1fwarr5"] {
  max-height: 50px;
}

.about-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px 6vw;
  background: white;
}

.about-band > div {
  width: min(780px, 100%);
}

.toolbar {
  padding: 0 0 18px;
}

.toolbar input,
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid #cddcec;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.table-wrap {
  overflow-x: auto;
  padding-bottom: 56px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--blue-900);
  background: var(--blue-050);
}

.brand-grid {
  padding-bottom: 56px;
}

.brand-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--blue-900);
  font-weight: 700;
}

.brand-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.content-card {
  padding: 28px;
  margin-bottom: 64px;
}

.about-copy {
  font-size: 17px;
}

.muted {
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  width: min(1140px, 88vw);
  margin: 0 auto;
  padding: 54px 0 28px;
}

.product-detail-media,
.product-detail-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.product-detail-media {
  overflow: hidden;
  background: #f7fbff;
}

.product-detail-no-media {
  grid-template-columns: minmax(0, 1fr);
}

.product-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  padding: 24px;
  object-fit: contain;
}

.product-detail-copy {
  padding: 28px;
}

.product-detail-copy h1 {
  margin: 0 0 18px;
  color: var(--blue-900);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.product-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resource-link {
  padding: 10px 14px;
  border: 1px solid #b9d8ef;
  border-radius: 6px;
  color: var(--blue-700);
  background: var(--blue-050);
  font-weight: 700;
}

.product-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.product-meta dt {
  color: var(--muted);
}

.product-meta dd {
  margin: 0;
  color: var(--text);
  word-break: break-word;
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.model-list li {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--blue-050);
}

.parameter-table-wrap {
  overflow-x: auto;
}

.parameter-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.parameter-table th,
.parameter-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.parameter-table thead th {
  color: white;
  background: var(--blue-700);
}

.parameter-table tbody th {
  width: 180px;
  color: var(--blue-900);
  background: var(--blue-050);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  padding-bottom: 64px;
}

.contact-card,
.inquiry-form {
  padding: 24px;
}

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

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #344761;
  font-weight: 700;
}

.form-status {
  margin: 0;
  color: var(--blue-700);
}

.inquiry-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  color: #c8d8e8;
  background: #092947;
}

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

.site-footer .footer-legal {
  margin-left: auto;
  text-align: right;
}

.site-footer .footer-legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-legal span {
  margin: 0 8px;
  opacity: 0.55;
}

.site-footer .footer-legal a:hover {
  color: white;
  text-decoration: underline;
}

.site-footer .footer-legal .police-record-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-record-link img {
  width: 18px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .site-header,
  .about-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 10px;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-brand-row {
    justify-content: space-between;
    width: 100%;
  }

  .site-logo-mark {
    width: 108px;
    height: 108px;
  }

  .logo span {
    font-size: 22px;
  }

  .site-footer .footer-legal {
    margin-left: 0;
    text-align: left;
  }

  .main-nav {
    display: none;
    width: 100%;
    gap: 0;
  }

  .main-nav.is-visible {
    display: grid;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--blue-500);
    border-radius: 5px;
    background: var(--blue-050);
    color: var(--blue-700);
    font: inherit;
    cursor: pointer;
  }

  .nav-item {
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
  }

  .dropdown-panel {
    display: none;
  }

  .nav-item.is-open > .dropdown-panel {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0 0 10px;
    border-top-width: 2px;
    border-radius: 0 0 6px 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .has-submenu .dropdown-panel {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .dropdown-subitem::after {
    display: none;
  }

  .dropdown-subpanel {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 2px 0 4px;
    border-top-width: 1px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-subitem.is-open > .dropdown-subpanel {
    display: grid;
  }

  .hero,
  .hero-track {
    min-height: 560px;
  }

  .hero-slide img {
    height: 560px;
    padding: 18px 6vw 130px;
    object-position: center;
  }

  .hero-product-media {
    width: min(var(--hero-media-width), calc(100% - 12vw));
    height: auto;
    margin: 18px auto 130px;
  }

  .hero-caption {
    right: 6vw;
    bottom: 28px;
    left: 6vw;
    max-width: none;
  }

  .contact-layout,
  .product-detail,
  .service-cards,
  .direction-grid,
  .product-card-grid,
  .brand-grid,
  .brand-profile-grid,
  .catalog-category-grid {
    grid-template-columns: 1fr;
  }

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

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-title h1,
  .section-heading h2,
  .about-band h2 {
    font-size: 32px;
  }

  .service-cards {
    margin-top: 18px;
  }

  th,
  td {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
}
