/* Contact page — form + map column */

.contact-form-split {
  align-items: stretch;
}

.contact-form-split > div:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.contact-map {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.contact-map__embed {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: var(--color-off-white);
}

.contact-map__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__details {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.contact-map__details h3 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.35rem;
}

.contact-map__details p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.contact-map__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

@media (max-width: 900px) {
  .contact-form-split > div:last-child {
    display: block;
  }

  .contact-map {
    min-height: auto;
  }

  .contact-map__embed {
    min-height: 320px;
  }
}
