/* ==========================================================================
   contact.css
   Contact page: details panel and map. Loaded only by contact.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   17. Contact page
   -------------------------------------------------------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}
.contact-info {
  background: var(--crimson);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(30px, 3.6vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info .h2 { margin-bottom: clamp(24px, 2.6vw, 38px); }
.contact-info__cta {
  align-self: flex-start;
  margin-top: clamp(24px, 2.6vw, 36px);
  color: var(--crimson);
}
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 30px);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.contact-row__icon {
  width: clamp(56px, 4.6vw, 76px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  color: var(--crimson);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-row__icon svg { width: 44%; height: auto; }
.contact-row h3 { font-size: clamp(18px, 1.5vw, 24px); font-weight: 600; }
.contact-row p  { font-size: clamp(14px, 1vw, 16px); font-weight: 500; margin-top: 4px; opacity: 0.95; }
.contact-row a:hover { text-decoration: underline; }

.contact-map {
  position: relative;
  min-height: clamp(300px, 34vw, 460px);
  background: #eaf0f2;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
}
/* Fallback artwork sits at the bottom of the stack; the iframe covers it when
   it is allowed to load. */
.contact-map__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.contact-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -100%;
  width: 42px;
  height: 42px;
  color: var(--crimson);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
  z-index: 1;
}
.contact-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
  /* An iframe is not clipped by an ancestor's border-radius, so round it too. */
  border-radius: inherit;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Contact details first, map stacked beneath. */
  .contact-split { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
}
