/* 1. HERO FORM SECTION WITH FADED MAP BACKGROUND */
.dp-contact-hero {
  position: relative;
  background-color: #F8FAFC;
  padding: 4.5rem 0;
  border-bottom: 0.0625rem solid var(--dp-border, #E2E8F0);
  overflow: hidden;
  animation: dpFadeUp 0.45s ease both;
}

.dp-contact-bg-map {
  position: absolute;
  top: -15%;
  left: -5%;
  width: 110%;
  height: 130%;
  border: 0;
  pointer-events: none;
  filter: grayscale(100%) contrast(95%) brightness(106%);
  opacity: 0.34;
  z-index: 0;
}

.dp-contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}

.dp-contact-headline {
  min-width: 0;
  max-width: 26rem;
}

.dp-contact-headline-text {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #111827;
  white-space: normal;
  word-break: break-word;
  margin: 0;
}

.dp-contact-form-box {
  min-width: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 0.0625rem solid var(--dp-border, #E2E8F0);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 0.5rem 1.75rem rgba(2, 69, 87, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dp-form-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.dp-form-alert.success {
  background: #DCFCE7;
  color: #166534;
  border: 0.0625rem solid #86EFAC;
}

.dp-form-alert.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 0.0625rem solid #FCA5A5;
}

/* 2. OFFICE LOCATION SECTIONS */
.dp-office-section {
  padding: 3.5rem 0;
  background: #FFFFFF;
}

.dp-office-section.alt-bg {
  background: #F8FAFC;
  border-top: 0.0625rem solid var(--dp-border, #E2E8F0);
}

.dp-office-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.dp-office-grid.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.dp-map-wrapper {
  position: relative;
  width: 100%;
  height: 24rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 0.0625rem solid var(--dp-border, #E2E8F0);
  box-shadow: 0 0.65rem 1.5rem rgba(2, 69, 87, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dp-map-wrapper:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.9rem 2rem rgba(2, 69, 87, 0.14);
}

.dp-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.dp-open-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding: 0.55rem 1.15rem;
  background: var(--dp-teal-dark, #024557);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dp-open-map-btn:hover {
  background: var(--dp-teal-hover, #013340);
  transform: translateY(-0.12rem);
}

.dp-office-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dp-office-link {
  text-decoration: none;
  color: var(--dp-teal-dark, #024557);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.dp-office-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 960px) {
  .dp-contact-hero-grid,
  .dp-office-grid,
  .dp-office-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dp-contact-headline {
    max-width: 100%;
  }

  .dp-map-wrapper {
    height: 20rem;
  }
}

@media (max-width: 768px) {
  .dp-contact-hero,
  .dp-office-section {
    padding: 2.25rem 0;
  }

  .dp-contact-headline-text {
    font-size: 2rem;
  }

  .dp-contact-form-box {
    padding: 1.35rem;
  }

  .dp-map-wrapper {
    height: 17.5rem;
  }
}

@media (max-width: 480px) {
  .dp-map-wrapper {
    height: 15rem;
  }
}