/* 联系我们页 - _contact.html (设计基准 1920px) */

:root {
  --ct-primary: #14126f;
  --ct-accent: #1bb8ce;
  --ct-hover: #1bb8ce;
  --ct-text: #333333;
  --ct-text-muted: #666666;
  --ct-text-light: #999999;
  --ct-card-bg: #f4f4f4;
  --ct-font-hero: clamp(32px, 3.125vw, 60px);
  --ct-font-section: clamp(24px, 2.083vw, 40px);
  --ct-font-card: clamp(16px, 1.0417vw, 20px);
}

.site-main--contact {
  min-height: auto;
}

/* ========== Hero ========== */

.ct-hero {
  position: relative;
  min-height: clamp(320px, 33.854vw, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1a4a;
}

.ct-hero__bg {
  position: absolute;
  inset: 0;
}

.ct-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ct-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 74, 0.45) 0%,
    rgba(10, 26, 74, 0.12) 55%,
    rgba(10, 26, 74, 0.05) 100%
  );
}

.ct-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 5.208vw, 100px) 0;
}

.ct-hero__title {
  margin: 0;
  font-size: var(--ct-font-hero);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.ct-hero__desc {
  margin: clamp(16px, 1.458vw, 28px) 0 0;
  max-width: 32em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.ct-hero__scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 3.125vw, 60px);
  height: clamp(48px, 3.125vw, 60px);
  margin-top: clamp(28px, 2.5vw, 48px);
  color: var(--ct-primary);
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ct-hero__scroll:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.ct-hero__scroll-icon {
  display: block;
  width: clamp(14px, 0.885vw, 17px);
  height: clamp(14px, 0.885vw, 17px);
}

/* ========== Contact info ========== */

.ct-info {
  padding: clamp(56px, 5.208vw, 100px) 0 clamp(40px, 3.125vw, 60px);
  background: #ffffff;
}

.ct-info__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  margin-bottom: clamp(36px, 3.125vw, 60px);
}

.ct-info__title {
  margin: 0;
  flex-shrink: 0;
  font-size: var(--ct-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ct-text);
}

.ct-info__address {
  margin: 0;
  max-width: 28em;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.7;
  color: var(--ct-text-muted);
  text-align: right;
}

.ct-info__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.ct-info__item {
  padding: clamp(8px, 1vw, 20px) clamp(16px, 1.667vw, 32px);
  border-right: 1px solid #e8e8e8;
}

.ct-info__item:first-child {
  padding-left: 0;
}

.ct-info__item:last-child {
  border-right: none;
  padding-right: 0;
}

.ct-info__label {
  display: block;
  margin-bottom: clamp(8px, 0.625vw, 12px);
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.4;
  color: var(--ct-accent);
}

.ct-info__value {
  display: block;
  font-size: clamp(16px, 1.0417vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ct-text);
  word-break: break-all;
}

.ct-info__value a {
  color: inherit;
}

.ct-info__value a:hover {
  color: var(--ct-accent);
}

/* ========== Map ========== */

.ct-map {
  padding: 0 0 clamp(56px, 5.208vw, 100px);
}

.ct-map__frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 0.625vw, 12px);
  background: #e8eef2;
}

.ct-map__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.ct-map__pin {
  position: absolute;
  left: 48%;
  top: 42%;
  transform: translate(-50%, -100%);
  max-width: min(420px, 72%);
  padding: clamp(12px, 1.042vw, 20px) clamp(16px, 1.25vw, 24px);
  font-size: clamp(12px, 0.729vw, 14px);
  line-height: 1.6;
  color: #ffffff;
  text-align: center;
  background: var(--ct-primary);
  border-radius: clamp(6px, 0.417vw, 8px);
  box-shadow: 0 8px 24px rgba(20, 18, 111, 0.28);
  pointer-events: none;
}

.ct-map__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: var(--ct-primary);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}

/* ========== Group companies ========== */

.ct-group {
  padding: 0 0 clamp(64px, 5.729vw, 110px);
  background: #ffffff;
}

.ct-group__title {
  margin: 0 0 clamp(32px, 2.917vw, 56px);
  font-size: var(--ct-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ct-text);
}

.ct-group__region + .ct-group__region {
  margin-top: clamp(36px, 3.125vw, 60px);
}

.ct-group__region-title {
  margin: 0 0 clamp(16px, 1.25vw, 24px);
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ct-text);
}

.ct-group__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.042vw, 20px);
}

a.ct-card {
  text-decoration: none;
  color: var(--ct-text);
  cursor: pointer;
}

.ct-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 1.25vw, 24px);
  min-height: clamp(112px, 7.292vw, 140px);
  padding: clamp(20px, 1.458vw, 28px) clamp(18px, 1.25vw, 24px);
  color: var(--ct-text);
  background: var(--ct-card-bg);
  border-radius: clamp(10px, 0.729vw, 14px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.ct-card:hover,
.ct-card:focus-visible {
  color: #ffffff;
  background: var(--ct-hover);
  box-shadow: 0 8px 24px rgba(27, 184, 206, 0.28);
  transform: translateY(-2px);
  outline: none;
}

.ct-card__name {
  margin: 0;
  font-size: var(--ct-font-card);
  font-weight: 600;
  line-height: 1.45;
}

.ct-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.4;
  color: var(--ct-text-muted);
  transition: color 0.28s ease;
}

.ct-card:hover .ct-card__link,
.ct-card:focus-visible .ct-card__link {
  color: #ffffff;
}

.ct-card__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.ct-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========== Responsive ========== */

@media (max-width: 1200px) {
  .ct-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 32px) 0;
  }

  .ct-info__item:nth-child(2) {
    border-right: none;
  }

  .ct-info__item:nth-child(3) {
    padding-left: 0;
  }

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

@media (max-width: 768px) {
  .ct-hero__overlay {
    background: rgba(10, 26, 74, 0.45);
  }

  .ct-info__head {
    flex-direction: column;
  }

  .ct-info__address {
    max-width: none;
    text-align: left;
  }

  .ct-info__grid {
    grid-template-columns: 1fr;
  }

  .ct-info__item {
    padding: clamp(16px, 4vw, 20px) 0;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .ct-info__item:last-child {
    border-bottom: none;
  }

  .ct-map__pin {
    left: 50%;
    top: 38%;
  }

  .ct-group__grid {
    grid-template-columns: 1fr;
  }
}
