/* contact.css — Contact page styles */

/* ---- Contact Header Block ---- */
.contact-header {
  padding: 0 var(--page-px);
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  color: var(--color-forest);
}

.contact-header__top {
  display: flex;
  align-items: flex-end;
  gap: 137px;
}

.contact-header__heading {
  font-size: 42px;
  font-weight: var(--fw-light);
  line-height: 51px;
  flex: 0 0 622px;
}

.contact-header__details {
  display: flex;
  gap: 68px;
  align-items: center;
  flex: 1;
}

.contact-header__address {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 27px;
  letter-spacing: 0.02em;
}

.contact-header__tel {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 27px;
  letter-spacing: 0.02em;
}

.contact-header__tel a {
  text-decoration: none;
  color: var(--color-forest);
  transition: opacity 0.15s;
}

.contact-header__tel a:hover {
  opacity: 0.6;
}

.contact-header__body {
  font-size: 24px;
  font-weight: var(--fw-extralight);
  line-height: 33px;
  letter-spacing: 0.48px;
  max-width: 1063px;
}

/* ---- Contact Banner ---- */
.contact-banner {
  width: 100%;
  height: 565px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 var(--page-px);
}

.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- Map pin icon ---- */
.contact-map-pin {
  width: 37px;
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-pin svg {
  width: 37px;
  height: 50px;
  fill: var(--color-forest);
}

/* ---- Contact Bottom ---- */
.contact-bottom {
  padding: 0 var(--page-px);
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  gap: 133px;
  align-items: flex-start;
}

.contact-bottom__img {
  flex: 0 0 737px;
  height: 469px;
  overflow: hidden;
}

.contact-bottom__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-bottom__right {
  flex: 0 0 410px;
  min-height: 469px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: flex-start;
  position: relative;
}

.contact-bottom__right .btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.contact-bottom__quote {
  font-size: 36px;
  font-weight: var(--fw-extralight);
  line-height: 45px;
  letter-spacing: -0.02em;
  color: var(--color-forest);
}

/* ---- Map embed block ---- */
.contact-map-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.contact-map {
  width: 100%;
  height: 565px;
  overflow: hidden;
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Notary seal icon */
.contact-seal {
  width: 195px;
  height: 195px;
  opacity: 1;
  margin-top: calc(23px - var(--space-lg));
  z-index: 1;
  pointer-events: none;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ---- Responsive: Tablet (below 1024px) ---- */
@media (max-width: 1024px) {
  .contact-header__top {
    gap: 60px;
  }

  .contact-header__heading {
    flex: 0 0 auto;
    font-size: 36px;
    line-height: 44px;
  }

  .contact-header__details {
    gap: 40px;
  }

  .contact-header__body {
    font-size: 20px;
    line-height: 30px;
  }

  .contact-bottom {
    gap: 40px;
  }

  .contact-bottom__img {
    flex: 1;
    height: 400px;
  }

  .contact-bottom__right {
    flex: 0 0 320px;
    min-height: auto;
  }

  .contact-bottom__quote {
    font-size: 30px;
    line-height: 40px;
  }

  .contact-map {
    height: 450px;
  }

  .contact-seal {
    width: 150px;
    height: 150px;
  }
}

/* ---- Responsive: Mobile (below 768px) ---- */
@media (max-width: 768px) {
  .contact-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .contact-header__heading {
    font-size: 28px;
    line-height: 36px;
  }

  .contact-header__details {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .contact-header__body {
    font-size: 18px;
    line-height: 28px;
  }

  .contact-bottom {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .contact-bottom__img {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .contact-bottom__right {
    flex: none;
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .contact-bottom__quote {
    font-size: 24px;
    line-height: 34px;
  }

  .contact-map {
    height: 320px;
  }

  .contact-seal {
    width: 120px;
    height: 120px;
    align-self: center;
    margin-top: var(--space-sm);
  }
}

