/* Company page content region aligned to the xuan-Mcp artboard. */

.section__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.company-section-title {
  margin: 0 0 50px;
  font-size: 40px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  color: #111827;
}

.company-intro {
  padding: 90px 0 0;
  background: #ffffff;
}

.company-intro__card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #edf3fb;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 34%, rgba(255, 255, 255, 0.18) 64%, rgba(255, 255, 255, 0.08) 100%),
    url("../images/about/about-us-img1.png") center center / cover no-repeat;
}

.company-intro__content {
  position: relative;
  z-index: 2;
  padding: 96px 84px 72px;
}

.company-intro__headline {
  margin: 0 0 58px;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 600;
  color: #1f2937;
}

.company-intro__text {
  max-width: 600px;
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #6b7280;
}

.company-metrics {
  position: relative;
  margin-top: -96px;
  background: url("../images/about/wheatBg.png") center center / cover no-repeat;
  overflow: hidden;
}

.company-metrics__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  min-height: 193px;
  margin: 0 auto;
  padding: 0 60px;
}

.company-metric {
  width: 173px;
  position: relative;
  background: url("../images/about/wheat.png") center center / contain no-repeat;
  text-align: center;
  color: #ffffff;
}

.company-metric__value {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
}

.company-metric__label {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.company-timeline {
  padding: 90px 0;
  background: #F8F9FC;
}

.company-timeline__panel {
  position: relative;
  height: 700px;
  background: url("../images/about/milestone.png") center center / contain no-repeat;
}

.company-timeline__stage-list {
  max-width: 1440px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.company-timeline__stage {
  position: absolute;
  width: 300px;
}

.company-timeline__stage--slot-0 {
  left: 0;
  top: 320px;
}

.company-timeline__stage--slot-1 {
  left: 333px;
  top: 510px;
}

.company-timeline__stage--slot-2 {
  left: 470px;
  top: 146px;
}

.company-timeline__stage--slot-3 {
  left: 840px;
  top: 330px;
}

.company-timeline__stage--slot-4 {
  left: 1187px;
  top: 230px;
}

.company-timeline__years {
  margin-bottom: 22px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
}

.company-timeline__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #37c0f4 0%, #1a8df6 100%);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: #ffffff;
}

.company-timeline__desc {
  font-size: 14px;
  line-height: 2;
  color: #6b7280;
}

.company-timeline__loading,
.company-timeline__empty {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #6b7280;
  text-align: center;
}

.company-timeline__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.company-timeline__nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.company-timeline__nav-btn:hover:not(:disabled) {
  border-color: #1793ff;
  background: rgba(23, 147, 255, 0.06);
}

.company-timeline__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.company-timeline__nav-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid #374151;
  border-bottom: 2px solid #374151;
  transform: translate(-50%, -50%) rotate(45deg);
}

.company-timeline__nav-btn--next::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.company-strengths {
  padding: 90px 0 90px;
  background: #ffffff;
}

.company-strengths__diagram {
  position: relative;
  min-height: 473px;
  background: url("../images/about/strengths.png") center center / contain no-repeat;
}

.company-strengths__hub-core {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
}

.company-strengths__item {
  position: absolute;
  width: 350px;
}

.company-strengths__item--top-left {
  left: 50px;
  top: 42px;
  text-align: right;
}

.company-strengths__item--top-right {
  right: 50px;
  top: 42px;
}

.company-strengths__item--bottom-left {
  left: 50px;
  bottom: 44px;
  text-align: right;
}

.company-strengths__item--bottom-right {
  right: 50px;
  bottom: 44px;
}

.company-strengths__item-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-strengths__item-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-contact {
  padding: 0 0 90px;
  background: #ffffff;
}

.company-contact__layout {
  display: grid;
  grid-template-columns: 925px 455px;
  gap: 60px;
  align-items: start;
}

.company-contact__map-frame {
  position: relative;
  width: 100%;
  height: 721px;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px 4px rgba(0,0,0,0.08);
}

#companyMap {
  width: 100%;
  height: 100%;
}

.company-map__status {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 650;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.78);
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.company-office-switcher {
  position: absolute;
  top: 26px;
  left: 26px;
  right: 26px;
  z-index: 620;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px 0px rgba(14,154,255,0.15);
  border: 1px solid #FFFFFF;
  backdrop-filter: blur(4px);
}

.company-office-switcher__item {
  min-width: 0;
  height: 32px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #3A3D4B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: all var(--transition-base);
}

.company-office-switcher__item::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: url("../images/about/address.svg") center center / contain no-repeat;
}

.company-office-switcher__item:hover,
.company-office-switcher__item.is-active {
  background: #0E9AFF;
  color: #ffffff;
  box-shadow: none;
}

.company-office-switcher__item:hover::before,
.company-office-switcher__item.is-active::before {
  background-image: url("../images/about/addressWhite.svg");
}

.company-contact__side {
  padding-top: 8px;
}

.company-contact__hotlines {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.company-contact__hotline {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: #3A3D4B;
}

.company-contact__hotline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: url("../images/about/phone.svg") center center / contain no-repeat;
}

.company-contact__offices {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

.company-office-entry {
  position: relative;
  padding-left: 30px;
}

.company-office-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  background: url("../images/about/address.svg") center center / contain no-repeat;
}

.company-office-entry.is-active .company-office-entry__title {
  color: #117cf0;
}

.company-office-entry__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  color: #3A3D4B;
}

.company-office-entry__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
  color: #3A3D4B;
}

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

.company-qr-card {
  margin: 0;
  text-align: center;
}

.company-qr-card img {
  display: block;
  width: 100%;
  max-width: 118px;
  margin: 0 auto 12px;
}

.company-qr-card figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
}

.leaflet-popup-content {
  margin: 14px 16px;
}

.company-map__popup-title {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: #111827;
}

.company-map__popup-address {
  font-size: 13px;
  line-height: 1.7;
  color: #6b7280;
}

@media (max-width: 1440px) {
  .company-contact__layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
  }

  .company-timeline__stage--slot-3 {
    left: calc(100% - 253px);
  }

  .company-strengths__item {
    width: 340px;
  }
}

@media (max-width: 1200px) {
  .company-intro__card,
  .company-contact__layout {
    grid-template-columns: 1fr;
  }

  .company-metrics__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 26px 32px;
    row-gap: 28px;
  }

  .company-timeline__panel {
    min-height: 0;
  }

  .company-timeline__stage-list {
    min-height: 0;
    display: grid;
    gap: 28px;
  }

  .company-timeline__stage {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding-left: 28px;
  }

  .company-strengths__diagram {
    display: grid;
    gap: 28px;
    min-height: 0;
    background-position: center top;
    padding-top: 250px;
  }

  .company-strengths__item {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    padding-left: 42px;
    text-align: left;
  }

  .company-contact__map-frame {
    height: 560px;
  }
}
