﻿/* Contact hero: calm, high-contrast support entry. */
.contact-hero {
  background: linear-gradient(115deg, #fafcff 0%, #f2f6fc 65%, #eaf1fb 100%);
  color: #172b49;
  padding: 88px 0 84px;
  min-height: 0;
  border-bottom: 1px solid #e1e8f2;
  isolation: isolate;
}
.contact-hero::before {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1px solid #dbe6f5;
  border-radius: 50%;
  right: -260px;
  top: -240px;
  z-index: -1;
  pointer-events: none;
}
.contact-hero > .container { width: 100%; max-width: 1240px; padding-inline: 32px; }
.contact-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 22px;
  align-items: start;
  max-width: none;
  margin: 0;
  text-align: left;
}
.contact-hero-badge {
  grid-column: 1;
  width: fit-content;
  margin: 0;
  padding: 0;
  gap: 9px;
  background: none;
  color: #2459a9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 0;
  box-shadow: none;
  animation: none;
}
.contact-hero .contact-hero-title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.035em;
  color: #142a48;
  -webkit-text-fill-color: #142a48;
  background: none;
  text-shadow: none;
  animation: none;
  text-wrap: balance;
}
.contact-hero .contact-hero-desc {
  grid-column: 1;
  max-width: 640px;
  margin: 0;
  color: #4b5f78;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  text-shadow: none;
  animation: none;
}
.contact-hero-stats {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  padding: 12px 26px;
  margin: 0;
  background: #fff;
  border: 1px solid #e0e8f2;
  border-radius: 20px;
  box-shadow: 0 18px 48px -28px rgba(30, 62, 108, .25);
  animation: none;
}
.contact-stat, .contact-stat:hover {
  min-width: 0;
  padding: 25px 0;
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}
.contact-stat + .contact-stat { border-top: 1px solid #edf1f6; }
.contact-stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 13px;
  color: #2563ba;
  background: #eef4fd;
}
.contact-stat-icon svg { width: 23px; height: 23px; }
.contact-stat-content { min-width: 0; }
.contact-stat-value { color: #183250; font-size: 23px; line-height: 1.35; font-weight: 700; margin-bottom: 5px; }
.contact-stat-label { color: #596b81; font-size: 13px; line-height: 1.5; }
.contact-hero-cta { grid-column: 1; justify-content: flex-start; gap: 12px; margin-top: 8px; animation: none; }
.contact-hero .btn-contact-primary, .contact-hero .btn-contact-secondary {
  min-height: 50px;
  width: auto;
  padding: 13px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background-color .18s, border-color .18s;
}
.contact-hero .btn-contact-primary { color: #fff; background: #245fba; border: 1px solid #245fba; }
.contact-hero .btn-contact-primary:hover { color: #fff; background: #1c4e9a; border-color: #1c4e9a; transform: none; box-shadow: none; }
.contact-hero .btn-contact-secondary { color: #254568; background: #fff; border: 1px solid #cbd8e8; }
.contact-hero .btn-contact-secondary:hover { color: #193c65; background: #f5f8fd; border-color: #9fb6d1; transform: none; box-shadow: none; }
.contact-hero a:focus-visible { outline: 3px solid #7fa9e9; outline-offset: 4px; }
#contact-methods, #contact-form { scroll-margin-top: 88px; }
@media (max-width: 900px) {
  .contact-hero { padding: 64px 0; }
  .contact-hero-content { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .contact-hero-stats { grid-column: 1; grid-row: 5; flex-direction: row; margin-top: 16px; padding: 20px; }
  .contact-stat, .contact-stat:hover { flex: 1; padding: 4px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-stat + .contact-stat { border-top: 0; border-left: 1px solid #edf1f6; }
  .contact-stat-icon { flex-basis: auto; width: 42px; height: 42px; }
  .contact-stat-value { font-size: 20px; }
  .contact-hero-cta { flex-direction: row; }
}
@media (max-width: 540px) {
  .contact-hero { padding: 44px 0; }
  .contact-hero > .container { padding-inline: 22px; }
  .contact-hero .contact-hero-title { font-size: 36px; }
  .contact-hero .contact-hero-desc { font-size: 15px; line-height: 1.85; }
  .contact-hero-cta { gap: 10px; }
  .contact-hero .btn-contact-primary, .contact-hero .btn-contact-secondary { flex: 1 1 140px; justify-content: center; padding-inline: 12px; }
  .contact-hero-stats { flex-direction: column; padding: 4px 20px; border-radius: 16px; }
  .contact-stat, .contact-stat:hover { flex-direction: row; align-items: center; padding: 19px 0; gap: 16px; }
  .contact-stat + .contact-stat { border-left: 0; border-top: 1px solid #edf1f6; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero *, .contact-hero *::before, .contact-hero *::after { animation: none; transition: none; scroll-behavior: auto; }
}

/* Contact methods: heading above a responsive card grid. */
#contact-methods { padding: 72px 0 80px; border-top: 0; }
#contact-methods > .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 36px;
  max-width: 1240px;
  padding-inline: 32px;
}
#contact-methods .section-title {
  align-self: center;
  width: 100%;
  max-width: 760px;
  margin: 0;
  text-align: center;
}
#contact-methods .section-title::after { display: none; }
#contact-methods .section-title .label { margin-bottom: 12px; color: #245fba; letter-spacing: .12em; font-size: 12px; }
#contact-methods .section-title h2 { color: #142a48; font-size: clamp(27px, 3vw, 36px); line-height: 1.3; }
#contact-methods .section-title p { color: #596b81; margin-top: 14px; font-size: 15px; line-height: 1.8; }
#contact-methods .adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#contact-methods .adv-item,
#contact-methods .adv-item:nth-child(n) {
  min-width: 0;
  min-height: 190px;
  padding: 65px 26px 26px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fafcff;
  text-align: left;
  box-shadow: none;
  transform: none;
  transition: background-color .18s, border-color .18s;
}
#contact-methods .adv-item::before {
  inset: 23px auto auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 25px;
  border-radius: 6px;
  color: #245fba;
  background: #eaf1fc;
  font-size: 11px;
  line-height: 1;
}
#contact-methods .adv-item::after { display: none; }
#contact-methods .adv-item:hover { background: #f3f7fd; border-color: #b8cde7; box-shadow: none; transform: none; }
#contact-methods .adv-item h4 { color: #183250; font-size: 18px; margin: 0 0 10px; line-height: 1.45; }
#contact-methods .adv-item p { color: #596b81; line-height: 1.85; font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  #contact-methods .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  #contact-methods { padding: 44px 0 48px; }
  #contact-methods > .container { padding-inline: 22px; gap: 28px; }
  #contact-methods .adv-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #contact-methods .adv-item, #contact-methods .adv-item:nth-child(n) { min-height: 0; padding: 23px 22px 23px 68px; }
  #contact-methods .adv-item::before { inset: 24px auto auto 22px; }
  #contact-methods .adv-item h4 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { #contact-methods .adv-item { transition: none; } }
