.company-home-template {
  background: #fff;
}

.company-section {
  padding: 76px 0;
}

.company-hero-section {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,35,80,.82), rgba(0,91,172,.5)),
    radial-gradient(circle at 78% 28%, rgba(65,160,230,.35), transparent 34%),
    linear-gradient(135deg, #002f66, #0078c8);
  background-size: cover;
  background-position: center;
}

.company-hero-overlay {
  width: 100%;
  padding: 86px 0;
}

.company-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 48px;
  align-items: center;
}

.company-hero-copy {
  max-width: 720px;
}

.company-hero-subtitle {
  margin: 0 0 16px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.company-hero-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  font-weight: 900;
}

.company-hero-description {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.9);
  font-size: 19px;
  line-height: 1.9;
}

.company-hero-cta,
.company-hero-button,
.company-contact-cta,
.company-contact-button {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.company-hero-cta:hover,
.company-contact-cta:hover {
  color: #fff;
  background: var(--red-dark);
}

.company-hero-media-tools {
  justify-self: end;
}

.company-media-button {
  border-color: rgba(255,255,255,.8) !important;
  color: #fff !important;
  background: rgba(0,0,0,.2) !important;
}

.company-section-title {
  margin: 0 0 18px;
  color: #121826;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.18;
  font-weight: 900;
}

.company-section-subtitle {
  max-width: 720px;
  margin: -6px auto 36px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
}

.company-service-section .company-section-title,
.company-product-section .company-section-title {
  text-align: center;
}

.company-about-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 58px;
  align-items: center;
}

.company-about-description {
  color: #475569;
  font-size: 18px;
  line-height: 2;
}

.company-about-image,
.company-product-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f2fb, #c9dff2);
}

.company-about-image {
  min-height: 360px;
}

.company-about-image img,
.company-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-about-image > span,
.company-product-image > span {
  min-height: inherit;
  display: grid;
  place-items: center;
  color: #2668a7;
  font-weight: 800;
}

.company-about-image .company-media-button,
.company-product-image .company-media-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
}

.company-service-section {
  background: #f7fbff;
}

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

.company-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid #dbe7f3;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 65, 140, .08);
}

.company-service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e9f4ff;
  color: var(--red);
  font-weight: 900;
}

.company-card-title {
  margin: 0 0 12px;
  color: #101827;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.company-card-description {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.company-product-image {
  height: 190px;
  margin: -30px -30px 24px;
}

.company-product-link {
  display: block;
  height: 100%;
}

.company-contact-section {
  padding-bottom: 92px;
  background: linear-gradient(135deg, #f8fbff, #e9f4ff);
}

.company-contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 46px;
  background: #fff;
  border: 1px solid #dbe7f3;
  box-shadow: 0 18px 48px rgba(0, 65, 140, .1);
}

.company-contact-list {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}

.company-contact-list p {
  margin: 0;
}

.company-contact-phone::before { content: "电话："; font-weight: 800; color: #111827; }
.company-contact-email::before { content: "邮箱："; font-weight: 800; color: #111827; }
.company-contact-address::before { content: "地址："; font-weight: 800; color: #111827; }

@media (max-width: 980px) {
  .company-hero-inner,
  .company-about-grid,
  .company-contact-box {
    grid-template-columns: 1fr;
  }

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

  .company-hero-media-tools {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .company-section {
    padding: 52px 0;
  }

  .company-hero-section {
    min-height: 520px;
  }

  .company-hero-overlay {
    padding: 64px 0;
  }

  .company-hero-description,
  .company-about-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .company-about-image {
    min-height: 260px;
  }

  .company-card,
  .company-contact-box {
    padding: 22px;
  }

  .company-product-image {
    margin: -22px -22px 20px;
  }
}
