/* ========== Hero ========== */
.page-contact {
  background: #f6f9fe;
}

.page-contact img {
  border: 0;
  outline: 0;
}

.contact-hero {
  background: #eaf2fb;
  overflow: hidden;
}

.hero-inner {
  min-height: 322px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-left {
  position: relative;
  z-index: 1;
  flex: 0 0 390px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: #1f2a3d;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: #66799b;
  margin-bottom: 34px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 24px;
}

.fc-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.fci-icon-wrap {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fci-icon {
  max-width: 38px;
  max-height: 38px;
  display: block;
}

.fci-content {
  min-width: 0;
}

.fci-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e293b;
  margin-bottom: 4px;
}

.fci-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #6f81a3;
}

.hero-city {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-self: stretch;
  min-width: 0;
}

.hero-city-img {
  width: min(760px, 100%);
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
}

/* ========== Main ========== */
.contact-main {
  padding: 40px 0 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 50px;
  padding: 36px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(22, 49, 98, 0.04);
}

.col-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #202b3d;
  margin-bottom: 10px;
}

.col-subtitle {
  font-size: 13px;
  line-height: 1.6;
  color: #526b96;
  margin-bottom: 26px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cl-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 3px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cl-item:hover {
  border-color: rgba(30, 95, 241, 0.24);
  box-shadow: 0 8px 22px rgba(30, 95, 241, 0.08);
}

.cli-icon-wrap {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e5ff1;
  border-radius: 50%;
}

.cli-icon {
  max-width: 38px;
  max-height: 38px;
  display: block;
}

.cli-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cli-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #2e3646;
}

.cli-value {
  font-size: 13px;
  line-height: 1.2;
  color: #6f81a3;
  word-break: break-word;
}

.address-card {
  overflow: hidden;
  background: #eef4ff;
  border-radius: 0;
}

.address-img,
.map-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.address-img {
  height: 222px;
}

.map-wrap {
  position: relative;
}

.map-img {
  height: 148px;
}

.map-popup {
  position: absolute;
  left: 50%;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(31, 54, 88, 0.12);
  color: #526b96;
  font-size: 12px;
  line-height: 1.8;
  transform: translateX(-50%);
}

.map-pin {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: #1e5ff1;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 7px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

/* ========== Help ========== */
.help-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: 22px 75px 22px 46px;
  background: #eef4ff;
  border-radius: 6px;
}

.help-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.help-icon {
  width: 66px;
  height: 70px;
  flex: 0 0 66px;
  display: block;
}

.help-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #202b3d;
  margin-bottom: 6px;
}

.help-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #6f81a3;
}

.btn-cta-online {
  min-width: 270px;
  height: 50px;
  padding: 0 36px;
  background: #1e5ff1;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
  white-space: nowrap;
}

.btn-cta-online:hover {
  background: #174fd3;
  box-shadow: 0 8px 18px rgba(30, 95, 241, 0.24);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-left {
    flex-basis: auto;
    width: 100%;
  }

  .hero-city {
    width: 100%;
  }

  .hero-city-img {
    width: 100%;
    max-height: 300px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .contact-main {
    padding-top: 26px;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .address-img {
    height: 190px;
  }

  .map-img {
    height: 150px;
  }

  .map-popup {
    min-width: 220px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .help-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
  }

  .btn-cta-online {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .cl-item {
    align-items: flex-start;
  }

  .address-img {
    height: 150px;
  }

  .map-popup {
    left: 16px;
    right: 16px;
    min-width: 0;
    transform: none;
  }

  .help-left {
    align-items: flex-start;
  }
}
