/* Homepage — company about section */
.home-about,
.home-about.about_bg {
  position: relative;
  margin: 48px 0 56px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0c2d4a;
  box-shadow: 0 20px 50px rgba(12, 45, 74, 0.12);
}

.home-about__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transform: scale(1.02);
}

.home-about__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 45, 74, 0.94) 0%, rgba(15, 23, 42, 0.88) 45%, rgba(12, 45, 74, 0.82) 100%);
  pointer-events: none;
}

.home-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: center;
  padding: 48px 44px;
  margin: 0;
}

.home-about__media {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  padding: 0 !important;
  margin: 0;
  min-width: 0;
}

.home-about__video-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-about__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.home-about__video-wrap video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 400px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: top;
  margin: 0;
}

.home-about__body {
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  padding: 0 !important;
  color: rgba(248, 250, 252, 0.92);
  min-width: 0;
}

.home-about__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 999px;
}

.home-about .about_head,
.home-about .home-about__head {
  margin: 0 0 20px;
}

.home-about .about_head h2,
.home-about .home-about__head h2 {
  margin: 0;
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
  color: #fff;
}

.home-about__text {
  margin: 0 0 28px;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
  text-align: left;
}

.home-about__text p {
  margin: 0 0 12px;
}

.home-about__text p:last-child {
  margin-bottom: 0;
}

.home-about a.home-about__btn,
.home-about .about_content a.home-about__btn.btn-info {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  min-width: 160px;
  max-width: 100%;
  margin: 0 !important;
  padding: 12px 28px !important;
  font-family: 'Sora', 'DM Sans', sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c2d4a !important;
  background: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-about a.home-about__btn:hover,
.home-about a.home-about__btn:focus,
.home-about .about_content a.home-about__btn.btn-info:hover,
.home-about .about_content a.home-about__btn.btn-info:focus {
  color: #0c2d4a !important;
  background: #e0f2fe !important;
  border: none !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
  text-decoration: none;
}

.home-about a.home-about__btn::after {
  content: '→';
  font-size: 14px;
  line-height: 1;
}

/* Override legacy about styles inside section */
.home-about .about_content {
  margin: 0;
  font-size: inherit;
  color: inherit;
  text-align: left;
}

.home-about .about_img img {
  margin-top: 0;
}

@media screen and (max-width: 991px) {
  .home-about,
  .home-about.about_bg {
    margin: 32px 0 40px;
    border-radius: 16px;
  }

  .home-about__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  .home-about__video-wrap video {
    max-height: 320px;
  }

  .home-about .about_head h2,
  .home-about .home-about__head h2 {
    font-size: 1.6rem;
  }

  .home-about__text {
    font-size: 14px;
    margin-bottom: 22px;
  }
}

@media screen and (max-width: 768px) {
  /* 取消 container + col 双重内边距，避免手机端过窄 */
  .home-about-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-about-section > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .home-about-section > .row > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-about,
  .home-about.about_bg {
    margin: 16px 0 28px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .home-about__inner {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    padding: 18px 14px;
    box-sizing: border-box;
  }

  .home-about__media,
  .home-about__body {
    order: 0;
  }

  .home-about__video-wrap {
    border-radius: 10px;
  }

  .home-about__video-wrap video {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .home-about .about_content {
    margin: 0 !important;
    font-size: inherit !important;
  }

  .home-about .about_head h2,
  .home-about .home-about__head h2 {
    text-align: left;
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    word-wrap: break-word;
  }

  .home-about__eyebrow {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
  }

  .home-about__text {
    text-align: left;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home-about__text img,
  .home-about__text video,
  .home-about__text iframe,
  .home-about__text table {
    max-width: 100% !important;
    height: auto !important;
  }

  .home-about a.home-about__btn,
  .home-about .about_content a.home-about__btn.btn-info {
    display: inline-flex !important;
    margin: 0 !important;
    min-width: 0;
    width: auto !important;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .home-about-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .home-about__inner {
    padding: 14px 12px;
    gap: 14px;
  }

  .home-about a.home-about__btn,
  .home-about .about_content a.home-about__btn.btn-info {
    width: 100% !important;
    justify-content: center;
  }
}
