.contact-section {
  padding-block: 58px 64px;
  background: linear-gradient(90deg, #f8f4ee, #e4d8ca 52%, #d6c8b8);
}
.contact-layout {
  display: grid;
  grid-template-columns: 560px minmax(0, 620px);
  gap: 36px;
  align-items: center;
}
.quote-panel {
  padding: 26px 30px 28px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffffe6;
  box-shadow: 0 18px 44px -12px #1b17161f;
}
.quote-panel > p {
  margin: 12px 0;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}
.quote-panel .contact-form {
  gap: 12px;
}
.quote-panel .button {
  align-self: flex-end;
  margin-top: 10px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.contact-details > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 360px);
  padding: 22px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffffdb;
}
.detail-card a,
.detail-card p {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
  overflow-wrap: anywhere;
}
.detail-card a:hover {
  color: var(--color-cardinal-dark);
}
.detail-card--green {
  --accent: #44625a;
}
.map-banner {
  position: relative;
  height: 400px;
  background: #fff;
}
#service-map {
  width: 100%;
  height: 100%;
}
.map-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: #eef2ef;
  color: var(--color-text);
}
.map-fallback a {
  color: var(--color-cardinal-dark);
  text-decoration: underline;
}
.map-fallback[hidden],
#service-map[hidden] {
  display: none;
}
@media (max-width: 1200px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
  .quote-panel h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .contact-details h2 {
    font-size: 34px;
    line-height: 42px;
  }
}
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .quote-panel {
    padding: 24px;
  }
  .contact-details h2 {
    font-size: 32px;
    line-height: 39px;
  }
  .detail-card {
    width: 100%;
  }
  .map-banner {
    height: 300px;
  }
  .contact-section {
    padding-block: 40px;
  }
}
