.contact-page-hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
}

.contact-page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 20, 41, 0.84),
    rgba(8, 20, 41, 0.26)
  );
  z-index: 1;
}

.contact-page-hero-content {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  width: calc(100% - 140px);
  max-width: 1280px;
  z-index: 2;
  color: #ffffff;
}

.contact-page-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-page-hero-content h1 {
  font-size: 56px;
  line-height: 1.08;
  max-width: 900px;
  margin-bottom: 20px;
}

.contact-page-hero-content p {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}

.contact-page-main {
  padding: 100px 70px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fa 100%);
}

.contact-page-container {
  max-width: 1280px;
  margin: 0 auto;
}

.contact-page-main .contact-page-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

.contact-page-left,
.contact-page-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* .contact-page-main .contact-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-page-left,
.contact-page-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
} */

.contact-page-left h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #18355f;
  margin-bottom: 14px;
}

.contact-page-left .section-line {
  margin-bottom: 24px;
}

.contact-page-left > p {
  font-size: 17px;
  line-height: 1.9;
  color: #5c6c80;
  margin-bottom: 28px;
  max-width: 740px;
}

.contact-page-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-page-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(18, 47, 95, 0.08);
  border: 1px solid rgba(44, 90, 160, 0.07);
}

.contact-page-icon {
  width: 66px;
  height: 66px;
  min-width: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c5aa0, #163c7a);
  color: #ffffff;
  border-radius: 20px;
  font-size: 24px;
}

.contact-page-info-item h4 {
  font-size: 18px;
  color: #18355f;
  margin-bottom: 8px;
  line-height: 1.2;
}

.contact-page-info-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #607084;
  margin: 0;
}

.contact-page-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-page-socials a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #18355f;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(18, 47, 95, 0.08);
  border: 1px solid rgba(44, 90, 160, 0.08);
  transition: 0.3s ease;
}

.contact-page-socials a:hover {
  transform: translateY(-3px);
  background: #2c5aa0;
  color: #ffffff;
}

.contact-page-right {
  align-items: stretch;
  /* padding-top: 28px; */
}

.contact-page-form {
  width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 34px;
  padding: 38px 34px 44px;
  box-shadow: 0 18px 40px rgba(18, 47, 95, 0.1);
  border: 1px solid rgba(44, 90, 160, 0.08);
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* .contact-page-right {
  align-items: flex-start;
} */

/* .contact-page-form {
  width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 34px;
  padding: 36px 34px 40px;
  box-shadow: 0 18px 40px rgba(18, 47, 95, 0.1);
  border: 1px solid rgba(44, 90, 160, 0.08);
} */

.contact-page-form h3 {
  font-size: 30px;
  color: #18355f;
  margin-bottom: 24px;
  line-height: 1.2;
}

.contact-page-form-row {
  .contact-page-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d7e1ef;
  border-radius: 18px;
  background: #f9fbff;
  color: #24405f;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  border-color: #2c5aa0;
  box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.1);
}

.contact-page-form textarea {
  resize: none;
  margin-bottom: 20px;
  min-height: 190px;
}

.contact-page-btn {
  width: 100%;
  padding: 16px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c5aa0, #163c7a);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(44, 90, 160, 0.22);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-page-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(44, 90, 160, 0.3);
}

.contact-location-section {
  padding: 100px 70px;
  background: #ffffff;
}

.contact-location-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(18, 47, 95, 0.08);
  border: 1px solid rgba(44, 90, 160, 0.07);
}

.contact-location-content {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f8fbff, #eef4fb);
}

.contact-location-content h3 {
  font-size: 30px;
  color: #18355f;
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-location-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #607084;
  margin-bottom: 22px;
}

.contact-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2c5aa0, #163c7a);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-location-btn:hover {
  transform: translateY(-2px);
}

.location-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
  .contact-page-main .contact-page-container,
  .contact-location-card {
    grid-template-columns: 1fr;
  }

  .contact-page-right {
    align-items: stretch;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .contact-page-main,
  .contact-location-section {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .contact-page-hero {
    min-height: 420px;
    height: 58vh;
  }

  .contact-page-hero-content {
    width: calc(100% - 36px);
    bottom: 28px;
  }

  .contact-page-hero-content h1 {
    font-size: 30px;
    line-height: 1.18;
  }

  .contact-page-hero-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .contact-page-left h2 {
    font-size: 28px;
  }

  .contact-page-left > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .contact-page-info-item {
    padding: 18px 16px;
    border-radius: 18px;
    gap: 14px;
    align-items: flex-start;
  }

  .contact-page-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    font-size: 20px;
  }

  .contact-page-info-item h4 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .contact-page-info-item p {
    font-size: 14px;
    line-height: 1.7;
  }

  .contact-page-form {
    padding: 24px 18px 28px;
    border-radius: 22px;
  }

  .contact-page-form h3 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .contact-page-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-page-form input,
  .contact-page-form select,
  .contact-page-form textarea {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 14px;
  }

  .contact-page-form textarea {
    min-height: 150px;
    margin-bottom: 18px;
  }

  .contact-page-btn {
    padding: 14px 18px;
    font-size: 14px;
  }

  .contact-location-content {
    padding: 24px 18px;
  }

  .contact-location-content h3 {
    font-size: 24px;
  }

  .contact-location-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .location-map {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .contact-page-hero-content h1 {
    font-size: 26px;
  }

  .contact-page-left h2 {
    font-size: 24px;
  }

  .contact-page-socials a {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1100px) {
  .contact-page-main .contact-page-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-page-form {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .contact-page-form {
    padding: 24px 18px 28px;
    border-radius: 22px;
    min-height: auto;
  }

  .contact-page-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-page-form textarea {
    min-height: 150px;
  }

  .contact-page-info-list {
    gap: 12px;
  }

  .contact-page-info-item {
    padding: 18px 16px;
  }
}
