.contacts-hero {
  background: var(--wash);
}

.contacts-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.65fr);
  gap: 56px;
  align-items: end;
  min-height: 500px;
  padding: 78px 0;
}

.contacts-eyebrow {
  margin-bottom: 20px;
  color: var(--steel-dark);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contacts-hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
}

.contacts-lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 700;
}

.contacts-primary-card,
.contacts-address-card,
.contact-directions-grid article,
.contacts-social {
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgb(25 54 72 / 0.08);
}

.contacts-primary-card {
  display: grid;
  gap: 20px;
  padding: 34px;
}

.contact-line {
  display: block;
  color: #173b64;
  font-size: 24px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-line-large {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.contacts-primary-card address,
.contacts-address-card address {
  margin: 0;
  color: #17202a;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.32;
  text-transform: uppercase;
}

.contacts-section-head h2 {
  margin-bottom: 22px;
}

.contact-directions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.contact-directions-grid article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 24px;
}

.contact-directions-grid h3 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.08;
}

.contact-directions-grid p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.contact-directions-grid a {
  margin-top: auto;
  color: #173b64;
  font-weight: 800;
}

.contacts-map-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contacts-address-card {
  padding: 32px;
}

.contacts-address-card h2,
.contacts-social h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.05;
}

.contacts-address-card address {
  margin-bottom: 28px;
}

.contacts-address-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

.contacts-map {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  background: #d7e2ea;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contacts-social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 34px;
  background: var(--pale);
}

.contacts-social p {
  max-width: 620px;
  margin-bottom: 0;
  color: #17202a;
  font-weight: 700;
}

.contacts-social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contacts-social-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: #173b64;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .contacts-hero-inner,
  .contacts-map-layout,
  .contacts-social {
    grid-template-columns: 1fr;
  }

  .contact-directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .contacts-hero-inner {
    min-height: auto;
    padding: 56px 0;
  }

  .contacts-lead {
    font-size: 20px;
  }

  .contact-directions-grid {
    grid-template-columns: 1fr;
  }

  .contacts-primary-card,
  .contacts-address-card,
  .contact-directions-grid article,
  .contacts-social {
    padding: 22px;
  }

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

  .contact-line-large {
    font-size: 30px;
  }

  .contacts-map,
  .contacts-map iframe {
    min-height: 320px;
  }
}
