.contact-match {
  background: #f7fbff;
  padding: 18px 0 24px;
}

.contact-match .container {
  width: min(1200px, calc(100% - 36px));
  max-width: 1200px;
}

.contact-shell {
  background: #fbfdff;
  border: 1px solid #e7eef8;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(6, 47, 104, .06);
  padding: 16px 32px 22px;
}

.contact-heading {
  text-align: center;
  margin-bottom: 18px;
}

.contact-plane,
.contact-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #e5aa1b;
}

.contact-plane span,
.contact-shield span {
  width: 64px;
  border-top: 2px solid #e5aa1b;
}

.contact-plane i {
  font-size: 34px;
  transform: rotate(-10deg);
}

.contact-heading h2 {
  font-family: var(--serif);
  color: #052867;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 6px;
  margin: 4px 0 4px;
  font-weight: 900;
}

.contact-shield {
  gap: 14px;
  margin-bottom: 10px;
}

.contact-shield span {
  width: 34px;
}

.contact-shield i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #052867;
  color: #e5aa1b;
  font-size: 13px;
}

.contact-heading p {
  margin: 0;
  color: #17233d;
  font-size: 16px;
  line-height: 1.55;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: .95fr 1.34fr 1.08fr;
  gap: 18px;
}

.contact-panel {
  background: #fff;
  border: 1px solid #e2e9f3;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(6, 47, 104, .08);
  padding: 20px 22px;
  min-width: 0;
}

.contact-panel h3 {
  font-family: var(--serif);
  color: #061f58;
  font-size: 19px;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.1;
}

.contact-panel h3:after {
  content: "";
  display: block;
  width: 36px;
  border-bottom: 2px solid #e5aa1b;
  margin-top: 10px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #d9e2ee;
}

.contact-info-item > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #052f7f;
  color: #f4b425;
  font-size: 23px;
}

.contact-info-item b,
.contact-visit b {
  display: block;
  color: #061f58;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.contact-info-item span,
.contact-visit span {
  display: block;
  color: #17233d;
  font-size: 13px;
  line-height: 1.55;
}

.contact-visit {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff7e9;
  border-radius: 8px;
  padding: 12px;
}

.contact-visit > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #052f7f;
  color: #f4b425;
  font-size: 22px;
}

.contact-visit a {
  width: 160px;
  min-height: 34px;
  margin-top: 8px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #052f7f;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  margin: 0 0 13px;
  border: 1px solid #dbe4ef;
  border-radius: 6px;
  background: #fff;
  color: #1d2942;
  font: 13px var(--sans);
  padding: 13px 14px;
  outline: none;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6c7483 50%), linear-gradient(135deg, #6c7483 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-form-panel textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form-panel button {
  width: 100%;
  border: 0;
  min-height: 40px;
  border-radius: 6px;
  background: #052f7f;
  color: #fff;
  font: 800 15px var(--sans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.contact-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 16px 0 0;
  color: #303a4f;
  font-size: 12px;
}

.contact-privacy i {
  color: #052f7f;
}

.contact-map-frame {
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background: #edf3f8;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.9) contrast(.98);
}

.contact-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  margin: 14px 0;
  background: #fbfdff;
}

.contact-feature-row div {
  min-height: 86px;
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-right: 1px solid #dbe5f0;
}

.contact-feature-row div:last-child {
  border-right: 0;
}

.contact-feature-row i {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d8e3ef;
  background: #eef5ff;
  color: #052f7f;
  font-size: 28px;
}

.contact-feature-row b {
  color: #061f58;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.1;
}

.contact-feature-row span {
  color: #25324a;
  font-size: 13px;
  line-height: 1.45;
}

.contact-bottom-band {
  display: grid;
  grid-template-columns: 86px 1.2fr 1fr 1.15fr;
  align-items: center;
  gap: 28px;
  background: #052f7f;
  color: #fff;
  border-radius: 8px;
  padding: 12px 36px;
}

.contact-school-mark {
  border-right: 1px solid rgba(255, 255, 255, .55);
}

.contact-school-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-school-name {
  display: grid;
  border-right: 1px solid rgba(255, 255, 255, .55);
  min-height: 48px;
  align-content: center;
}

.contact-school-name b {
  font-family: var(--serif);
  font-size: 18px;
}

.contact-school-name span {
  color: #f4b425;
  font-size: 14px;
}

.contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, .55);
  min-height: 48px;
}

.contact-social span {
  display: block;
  width: 100%;
  max-width: 80px;
  font-size: 12px;
}

.contact-social a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
}

.contact-social .facebook { background: #1877f2; }
.contact-social .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.contact-social .youtube { background: #e62117; }
.contact-social .linkedin { background: #1f78a8; }

.contact-help {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-help > i {
  width: 50px;
  height: 50px;
  border: 2px solid #f4b425;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f4b425;
  font-size: 24px;
}

.contact-help span {
  display: grid;
  font-size: 15px;
  line-height: 1.35;
}

.contact-help b {
  color: #f4b425;
}

@media (max-width: 1100px) {
  .contact-card-grid,
  .contact-feature-row,
  .contact-bottom-band {
    grid-template-columns: 1fr 1fr;
  }

  .contact-map-panel {
    grid-column: 1 / -1;
  }

  .contact-feature-row div:nth-child(2) {
    border-right: 0;
  }

  .contact-feature-row div {
    border-bottom: 1px solid #dbe5f0;
  }

  .contact-feature-row div:nth-child(n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .contact-shell {
    padding: 18px;
  }

  .contact-heading h2 {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .contact-heading p br {
    display: none;
  }

  .contact-card-grid,
  .contact-feature-row,
  .contact-bottom-band,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-feature-row div {
    border-right: 0;
    border-bottom: 1px solid #dbe5f0;
  }

  .contact-feature-row div:last-child {
    border-bottom: 0;
  }

  .contact-bottom-band {
    gap: 14px;
    padding: 18px;
  }

  .contact-school-mark,
  .contact-school-name,
  .contact-social {
    border-right: 0;
  }
}
