.contact-page {
  --contact-ink: #111a2c;
  --contact-muted: #68768c;
  --contact-blue: #184ea6;
  --contact-line: #d9e2ee;
  background:
    radial-gradient(circle at 16% 4%, rgba(93, 145, 226, .18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(133, 174, 233, .14), transparent 26%),
    linear-gradient(180deg, #eef4fb 0%, #f8fafc 40%, #eef3f8 100%);
  color: var(--contact-ink);
}

.contact-main { overflow: hidden; }

.contact-hero {
  padding-top: 72px;
  padding-bottom: 68px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: 80px;
  align-items: end;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--contact-blue);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .18em;
  font-weight: 800;
}

.contact-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #10192a;
  font-size: clamp(58px, 7.5vw, 116px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 760;
}

.contact-hero-aside { padding-bottom: 9px; }

.contact-hero-aside p {
  max-width: 560px;
  margin: 0;
  color: #5e6b7f;
  font-size: 17px;
  line-height: 1.72;
}

.contact-hero-badge {
  display: inline-flex;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid #cfd9e6;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: #384861;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.contact-phone-section,
.contact-locations {
  padding-bottom: 78px;
}

.contact-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .64fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 26px;
}

.contact-section-head h2 {
  margin: 0;
  color: #111a2c;
  font-size: clamp(38px, 4.7vw, 68px);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 740;
}

.contact-section-head > p {
  margin: 0 0 7px;
  color: #65748a;
  font-size: 14px;
  line-height: 1.72;
}

.contact-phone-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.contact-phone-card {
  position: relative;
  grid-column: span 4;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  overflow: hidden;
  border: 1px solid rgba(51,79,119,.12);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255,255,255,.94), rgba(240,245,251,.88));
  box-shadow: 0 14px 44px rgba(32,58,96,.07);
  color: #142038;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-phone-card:before {
  content: "";
  position: absolute;
  width: 136px;
  height: 136px;
  right: -54px;
  top: -64px;
  border-radius: 50%;
  background: rgba(58,112,197,.07);
}

.contact-phone-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24,78,166,.24);
  box-shadow: 0 18px 46px rgba(32,58,96,.10);
}

.contact-phone-label {
  position: relative;
  z-index: 1;
  color: #355d9a;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact-phone-card strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 34px;
  padding-right: 26px;
  font-size: clamp(20px, 1.75vw, 27px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 740;
}

.contact-phone-card span {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: #7a8799;
  font-size: 12px;
  line-height: 1.4;
}

.contact-phone-card > b {
  position: absolute;
  z-index: 1;
  right: 23px;
  bottom: 22px;
  font-size: 17px;
}

.contact-cards { padding-bottom: 78px; }

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.contact-card {
  grid-column: span 4;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(51,79,119,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 34px rgba(32,58,96,.055);
}

.contact-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #eaf1fb;
  color: var(--contact-blue);
  font-size: 15px;
  font-weight: 800;
}

.contact-card-type {
  color: #8a97a9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.contact-card h2 {
  margin: 30px 0 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 720;
}

.contact-card-content {
  margin: 0;
  color: #536177;
  font-size: 14px;
  line-height: 1.62;
}

.contact-card-secondary {
  margin: 7px 0 0;
  color: #8793a3;
  font-size: 12px;
  line-height: 1.55;
}

.contact-card-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: #17263f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.contact-location-stack {
  display: grid;
  gap: 20px;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  min-height: 450px;
  overflow: hidden;
  border: 1px solid rgba(51,79,119,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 54px rgba(32,58,96,.075);
}

.contact-location-info { padding: 36px; }

.contact-location-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-location-meta span {
  color: var(--contact-blue);
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 800;
}

.contact-location-meta b {
  color: #a8b4c3;
  font-size: 12px;
  letter-spacing: .08em;
}

.contact-location h3 {
  margin: 48px 0 15px;
  color: #101a2d;
  font-size: clamp(31px, 3.5vw, 51px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 730;
}

.contact-location-address {
  margin: 0;
  color: #59687c;
  font-size: 14px;
  line-height: 1.68;
}

.contact-location-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 22px;
}

.contact-location-details a,
.contact-location-details span {
  width: max-content;
  max-width: 100%;
  color: #24334c;
  font-size: 13px;
  text-decoration: none;
}

.contact-location-note {
  margin: 20px 0 0;
  color: #8591a1;
  font-size: 12px;
  line-height: 1.6;
}

.contact-location-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 26px;
  padding: 13px 17px;
  border-radius: 999px;
  background: #142038;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.contact-location-map {
  min-height: 450px;
  background: #dfe7f1;
}

.contact-location-map iframe {
  display: block;
  min-height: 450px;
}

.contact-map-placeholder {
  height: 100%;
  min-height: 450px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 36px;
  text-align: center;
  background:
    linear-gradient(rgba(30,65,112,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,65,112,.05) 1px, transparent 1px),
    #e8eef6;
  background-size: 34px 34px;
}

.contact-map-placeholder span {
  font-size: 46px;
  color: #54739f;
}

.contact-map-placeholder strong {
  margin-top: 15px;
  color: #273750;
  font-size: 19px;
}

.contact-map-placeholder p {
  max-width: 420px;
  margin: 8px 0 0;
  color: #74849a;
  font-size: 13px;
  line-height: 1.6;
}

.contact-empty-location {
  padding: 36px;
  border: 1px dashed #bac8d9;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
}

.contact-empty-location strong,
.contact-empty-location span { display: block; }

.contact-empty-location span {
  margin-top: 8px;
  color: #718096;
}

.contact-bottom { padding-bottom: 90px; }

.contact-bottom-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #17243b, #233e68);
  color: #fff;
  box-shadow: 0 24px 60px rgba(32,58,96,.16);
}

.contact-bottom-panel .contact-kicker { color: #91b4eb; }

.contact-bottom-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.contact-bottom-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 999px;
  background: #fff;
  color: #132039;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-section-head,
  .contact-location {
    grid-template-columns: 1fr;
  }

  .contact-phone-card,
  .contact-card {
    grid-column: span 6;
  }

  .contact-location-map,
  .contact-location-map iframe,
  .contact-map-placeholder {
    min-height: 390px;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .contact-hero-grid { gap: 26px; }

  .contact-hero h1 {
    font-size: clamp(52px, 18vw, 80px);
  }

  .contact-section-head { gap: 18px; }

  .contact-phone-card,
  .contact-card {
    grid-column: 1 / -1;
  }

  .contact-phone-card {
    min-height: 170px;
  }

  .contact-phone-card strong {
    font-size: 22px;
  }

  .contact-location-info { padding: 27px; }

  .contact-location h3 { margin-top: 36px; }

  .contact-bottom-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 27px;
  }
}
