:root {
  --ink: #17212b;
  --muted: #65727c;
  --line: #e6eaed;
  --blue: #0f5d8c;
  --teal: #257c78;
  --red: #cf3f36;
  --gold: #d9a638;
  --paper: #f6f8f9;
  --white: #fff;
  --shadow: 0 18px 48px rgba(20, 33, 43, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.wrap--narrow {
  width: min(820px, calc(100% - 32px));
}

.wrap--catalog {
  width: min(1166px, calc(100% - 56px));
}

.wrap--detail {
  width: min(1120px, calc(100% - 56px));
}

.topbar {
  color: #dce6ec;
  background: #1a2b38;
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 22px;
}

.topbar__phone {
  color: #fff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

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

.brand__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark--image {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

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

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

.brand__text strong {
  font-size: 21px;
}

.brand__text small {
  color: var(--muted);
  font-size: 11px;
}

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

.nav a {
  padding: 28px 14px;
  color: #26343e;
  font-size: 15px;
  border-bottom: 3px solid transparent;
}

.nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

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

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
  background: #153044;
}

.hero__slide,
.hero__visual {
  position: absolute;
  inset: 0;
}

.hero__slide {
  opacity: 0;
  transition: opacity .45s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__visual svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 24, 36, .82), rgba(8, 24, 36, .38) 52%, rgba(8, 24, 36, .05));
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: #e9f0f2;
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.button--primary {
  color: #fff;
  background: var(--red);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .58);
}

.section {
  padding: 82px 0;
}

.section__head {
  max-width: 550px;
}

.section__head--center {
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__head h2,
.products__top h2,
.service h2 {
  margin: 0 0 14px;
  font-size: 36px;
  letter-spacing: 0;
}

.section__head p,
.products__top p,
.service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.value-band {
  padding: 34px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.value-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.value-grid strong {
  color: var(--red);
  font-size: 20px;
}

.value-grid h2 {
  margin: 14px 0 8px;
  font-size: 22px;
}

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

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

.about-card,
.news-card,
.product-card,
.service-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-card__image {
  height: 190px;
  background-color: #dbe4e8;
  background-image: linear-gradient(135deg, rgba(15, 93, 140, .74), rgba(37, 124, 120, .2)), repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .36) 34px 36px);
}

.about-card__image.has-image {
  background-position: center;
  background-size: cover;
}

.about-card__image.equipment {
  background-color: #e7ecef;
  background-image: radial-gradient(circle at 35% 55%, #cf3f36 0 34px, transparent 35px), radial-gradient(circle at 62% 45%, #d9a638 0 26px, transparent 27px), linear-gradient(135deg, #314754, #b9c6cb);
}

.about-card__image.team {
  background-color: #dfe7e8;
  background-image: linear-gradient(135deg, rgba(32, 48, 58, .75), rgba(217, 166, 56, .25)), radial-gradient(circle at 32% 42%, #fff 0 28px, transparent 29px), radial-gradient(circle at 62% 50%, #fff 0 24px, transparent 25px);
}

.about-card h3,
.about-card p {
  margin-left: 24px;
  margin-right: 24px;
}

.about-card h3 {
  margin-top: 24px;
  font-size: 22px;
}

.about-card p {
  margin-bottom: 26px;
  color: var(--muted);
  line-height: 1.8;
}

.news {
  background: #fff;
}

.news__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
}

.news-card {
  min-height: 250px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.news-card time {
  color: var(--red);
  font-weight: 800;
}

.news-card h3 {
  margin: 28px 0 14px;
  font-size: 23px;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-card--dark {
  color: #fff;
  background: #213340;
}

.news-card--dark p {
  color: #d6e0e4;
}

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

.products__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.products__top > div:first-child {
  max-width: 650px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  justify-content: flex-end;
  gap: 10px;
}

.product-tabs a {
  padding: 10px 14px;
  color: #1c4f6d;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

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

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.product-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin: 0;
  padding: 18px 18px 10px;
  font-size: 18px;
  text-align: center;
}

.product-card a {
  display: block;
  height: 100%;
}

.product-card p {
  margin: 0 18px 16px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.product-card--catalog {
  position: relative;
  padding-bottom: 18px;
}

.product-card--directory {
  width: 100%;
  padding-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-card--directory:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.product-card--directory h3 {
  min-height: 52px;
  padding: 14px 10px;
  color: #666;
  background: #f4f4f4;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.card-link,
.card-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 auto;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.card-link {
  color: var(--blue);
  background: #eef5f8;
}

.product-card a .card-link {
  width: fit-content;
}

.card-quote {
  display: flex;
  width: fit-content;
  height: auto !important;
  color: #fff;
  background: var(--red);
}

.product-visual {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3f5, #cbd7dc);
}

.product-visual.has-image {
  background-color: #dff3fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#products .product-visual--home-image {
  background-color: #e7f6fc;
}

.product-visual--catalog {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background-color: #dff3fb;
  background-image: linear-gradient(135deg, #eef8fc, #d7f0f9);
  border-bottom: 1px solid var(--line);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.about-card__image.has-image::before,
.about-card__image.has-image::after,
.product-visual.has-image::before,
.product-visual.has-image::after {
  content: none;
}

.product-visual.switch::before {
  width: 128px;
  height: 86px;
  left: 50%;
  top: 54px;
  border-radius: 14px;
  background: #233743;
  transform: translateX(-50%);
}

.product-visual.switch::after {
  width: 44px;
  height: 44px;
  left: calc(50% - 22px);
  top: 75px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 52px 0 0 var(--gold), -52px 0 0 var(--teal);
}

.product-visual.plug::before {
  width: 112px;
  height: 78px;
  left: 50%;
  top: 64px;
  border-radius: 18px;
  background: #f7f9fa;
  border: 12px solid #2f4654;
  transform: translateX(-50%);
}

.product-visual.plug::after {
  width: 12px;
  height: 58px;
  left: calc(50% - 28px);
  top: 24px;
  border-radius: 12px;
  background: #2f4654;
  box-shadow: 44px 0 0 #2f4654;
}

.product-visual.laser::before {
  width: 154px;
  height: 38px;
  left: 50%;
  top: 76px;
  border-radius: 20px;
  background: #324a57;
  transform: translateX(-50%);
}

.product-visual.laser::after {
  width: 130px;
  height: 4px;
  right: 12px;
  top: 94px;
  background: #e64b45;
  box-shadow: 0 13px 24px rgba(230, 75, 69, .85);
}

.product-visual.power::before {
  width: 116px;
  height: 96px;
  left: 50%;
  top: 48px;
  border-radius: 12px;
  background: #2b3d48;
  transform: translateX(-50%);
}

.product-visual.power::after {
  width: 72px;
  height: 16px;
  left: calc(50% - 36px);
  top: 78px;
  border-radius: 8px;
  background: #eaf1f3;
  box-shadow: 0 34px 0 #d9a638;
}

.product-visual.board::before {
  width: 136px;
  height: 92px;
  left: 50%;
  top: 54px;
  border-radius: 10px;
  background: #257c78;
  transform: translateX(-50%) rotate(-4deg);
}

.product-visual.board::after {
  width: 18px;
  height: 18px;
  left: calc(50% - 48px);
  top: 82px;
  border-radius: 50%;
  background: #f0c84f;
  box-shadow: 38px 0 0 #f0c84f, 76px 0 0 #f0c84f, 18px 34px 0 #dce8ea, 58px 34px 0 #dce8ea;
}

.product-visual.button::before {
  width: 108px;
  height: 108px;
  left: 50%;
  top: 42px;
  border-radius: 50%;
  background: var(--red);
  border: 18px solid #2d3f4a;
  transform: translateX(-50%);
}

.product-visual.button::after {
  width: 70px;
  height: 18px;
  left: calc(50% - 35px);
  top: 142px;
  border-radius: 0 0 12px 12px;
  background: #2d3f4a;
}

.product-visual.led::before {
  width: 64px;
  height: 92px;
  left: 50%;
  top: 44px;
  border-radius: 34px 34px 12px 12px;
  background: #f7cd53;
  box-shadow: 0 0 42px rgba(247, 205, 83, .7);
  transform: translateX(-50%);
}

.product-visual.led::after {
  width: 90px;
  height: 24px;
  left: calc(50% - 45px);
  top: 124px;
  border-radius: 8px;
  background: #334853;
}

.product-visual.emergency::before {
  width: 116px;
  height: 74px;
  left: 50%;
  top: 82px;
  border-radius: 14px;
  background: #2d3f4a;
  transform: translateX(-50%);
}

.product-visual.emergency::after {
  width: 86px;
  height: 86px;
  left: calc(50% - 43px);
  top: 34px;
  border-radius: 50%;
  background: var(--red);
  border: 12px solid #b6312b;
}

.section__more {
  margin-top: 34px;
  text-align: center;
}

.service {
  color: #fff;
  background: #182b38;
}

.quote-strip {
  color: #fff;
  background: #173243;
}

.quote-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px 0;
}

.quote-strip h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.quote-strip p {
  max-width: 720px;
  margin: 0;
  color: #d7e4ea;
  line-height: 1.75;
}

.service__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 20px;
}

.service p {
  color: #cbd6dc;
}

.service-item {
  padding: 26px;
  color: var(--ink);
}

.service-item strong {
  color: var(--red);
  font-size: 22px;
}

.service-item h3 {
  margin: 20px 0 10px;
}

.service-item p {
  color: var(--muted);
}

.footer {
  color: #dce4e8;
  background: #101c25;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(5, 1fr);
  gap: 26px;
  padding: 54px 0;
}

.footer h2,
.footer h3 {
  margin: 0 0 16px;
  color: #fff;
}

.footer p,
.footer a {
  display: block;
  margin: 0 0 10px;
  color: #aab7bf;
  font-size: 14px;
  line-height: 1.7;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  padding: 18px 0;
  color: #8998a2;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}

.page-hero {
  padding: 92px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 28, 40, .92), rgba(12, 28, 40, .56)),
    linear-gradient(135deg, #16364d, #2a7a74 58%, #d6e5e3);
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: #e5eef1;
  font-size: 18px;
  line-height: 1.75;
}

.catalog-layout {
  display: block;
}

.catalog-sidebar {
  position: sticky;
  top: 112px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-sidebar h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.catalog-sidebar a {
  display: block;
  padding: 11px 0;
  color: var(--blue);
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.catalog-section + .catalog-section {
  margin-top: 46px;
}

.catalog-main .section__head {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

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

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.pagination a:hover,
.pagination a.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.pagination span {
  color: #a7b2b9;
  background: #f1f4f6;
}

.detail-copy h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.product-detail-overview {
  padding-top: 92px;
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.product-detail-image-section {
  margin-top: 34px;
}

.product-detail-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f5;
}

.tick-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  color: #31414c;
}

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

.section--soft {
  background: var(--paper);
}

.spec-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 260px;
  color: #22333f;
  background: #f1f5f7;
}

.listing-grid {
  display: grid;
  gap: 20px;
}

.listing-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.listing-card time,
.article-page time {
  color: var(--red);
  font-weight: 800;
}

.listing-card h2 {
  margin: 14px 0 10px;
  font-size: 26px;
}

.listing-card p,
.article-page p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
}

.contact-card,
.inquiry-form {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

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

.inquiry-form h2 {
  margin: 0;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #cad4da;
  border-radius: 8px;
  font: inherit;
}

.inquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

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

  .nav {
    position: absolute;
    inset: 78px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    padding: 15px 24px;
    border-bottom: 1px solid var(--line);
  }

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

  .about__grid,
  .news__layout,
  .service__grid,
  .value-grid,
  .catalog-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quote-strip__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-sidebar {
    position: static;
  }

  .products__top {
    flex-direction: column;
  }

  .product-tabs {
    justify-content: flex-start;
  }

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

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

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

@media (max-width: 620px) {
  .topbar__inner {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 8px 0;
  }

  .brand__text small {
    display: none;
  }

  .hero,
  .hero__content {
    min-height: 520px;
  }

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

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
  }

  .product-detail-overview {
    padding-top: 72px;
  }

  .section__head h2,
  .products__top h2,
  .service h2 {
    font-size: 29px;
  }

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

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

  .footer__grid {
    gap: 18px;
  }
}
