.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 88% 4%, rgba(24, 167, 220, .15), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.contact-hero::before {
  content: '';
  position: absolute;
  width: 470px;
  height: 470px;
  right: -245px;
  top: -280px;
  border: 1px solid rgba(18, 85, 160, .09);
  border-radius: 50%;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.contact-hero-copy h1 {
  max-width: 590px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.03;
  letter-spacing: -.03em;
}

.contact-hero-copy h1 span { color: var(--blue); }

.contact-hero-copy > p {
  max-width: 590px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 17px;
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }

.contact-coverage {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-coverage > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-50);
  border-radius: 13px;
  font-size: 22px;
}

.contact-coverage span { color: var(--muted); font-size: 11.5px; }
.contact-coverage b { display: block; color: var(--ink); font-size: 13px; }

.contact-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(150deg, #e8f2fb, #dcecf8);
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: 0 30px 78px rgba(21, 47, 90, .15);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: .72;
  background-image:
    linear-gradient(rgba(18, 85, 160, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 85, 160, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotate(-8deg) scale(1.2);
}

.map-route {
  position: absolute;
  height: 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(18, 85, 160, .08);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(21, 47, 90, .06);
}

.route-one { width: 125%; left: -12%; top: 37%; transform: rotate(-17deg); }
.route-two { width: 112%; left: -6%; top: 58%; transform: rotate(28deg); }

.map-pin {
  position: absolute;
  top: 37%;
  left: 53%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 7px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(18, 85, 160, .34);
  font-size: 28px;
}

.map-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 15px;
  box-shadow: 0 18px 36px rgba(21, 47, 90, .12);
  backdrop-filter: blur(10px);
}

.map-card small { display: block; color: var(--blue); font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.map-card b { display: block; margin-top: 3px; font-size: 17px; }
.map-card span { display: block; color: var(--muted); font-size: 12px; }

.map-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(21, 47, 90, .1);
  font-size: 10.5px;
  font-weight: 600;
}

.contact-cards-section { padding: 30px 0 84px; }

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.contact-card {
  min-width: 0;
  padding: 29px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

a.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 85, 160, .3);
  box-shadow: 0 18px 42px rgba(21, 47, 90, .08);
}

.contact-card-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  background: var(--blue-50);
  border-radius: 14px;
  font-size: 24px;
}

.contact-card > small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-card > b { display: block; margin-top: 4px; font-size: 17px; overflow-wrap: anywhere; }
.contact-card > p { min-height: 44px; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.contact-card > em { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font-size: 12px; font-style: normal; font-weight: 600; }

.contact-route-section { background: var(--soft); }

.contact-section-head {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 50px;
  align-items: end;
}

.contact-section-head .sec-lead { margin: 0; }

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 43px;
}

.contact-route-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.contact-route-card:hover { transform: translateY(-3px); border-color: rgba(18, 85, 160, .3); box-shadow: 0 17px 38px rgba(21, 47, 90, .08); }
.contact-route-card > i { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 14px; font-size: 24px; }
.contact-route-card small { color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-route-card h3 { margin-top: 5px; font-size: 15px; line-height: 1.3; }
.contact-route-card p { margin-top: 7px; color: var(--muted); font-size: 11.5px; }
.contact-route-card > span { color: var(--blue); font-size: 18px; }

.requisites-section { background: #fff; }

.requisites-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.requisites-copy > p { max-width: 480px; margin-top: 15px; color: var(--muted); font-size: 14px; }

.requisites-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.requisites-card > div { min-width: 0; padding: 20px; background: var(--soft); }
.requisites-card > div:first-child { grid-column: span 2; }
.requisites-card span { display: block; color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.requisites-card b { display: block; margin-top: 5px; font-size: 12.5px; overflow-wrap: anywhere; }

.contact-form-section { background: var(--soft); }
.contact-form-section .sec-lead { max-width: 720px; }

.contact-promise {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.contact-promise > i { width: 45px; height: 45px; display: grid; place-items: center; color: var(--blue); background: #fff; border: 1px solid var(--line); border-radius: 13px; font-size: 22px; }
.contact-promise b { display: block; font-size: 13.5px; }
.contact-promise p { margin-top: 3px; color: var(--muted); font-size: 12px; }

@media (max-width: 1050px) {
  .contact-hero-grid { gap: 38px; }
  .contact-route-card { grid-template-columns: 44px 1fr; }
  .contact-route-card > span { display: none; }
}

@media (max-width: 920px) {
  .contact-hero-grid, .requisites-grid { grid-template-columns: 1fr; }
  .contact-card-grid, .contact-route-grid { grid-template-columns: 1fr; }
  .contact-card > p { min-height: 0; }
  .contact-section-head { grid-template-columns: 1fr; gap: 15px; }
  .contact-section-head .sec-lead { margin: 0; }
}

@media (max-width: 620px) {
  .nav-in { gap: 8px; }
  .nav-logo img { height: 30px; }
  .nav-right { gap: 7px; }
  .nav-right > .btn-ghost { display: none; }
  .nav-right > .btn-primary { padding: 10px 13px; font-size: 12px; }
  .contact-hero { padding: 50px 0 54px; }
  .contact-hero-copy h1 { font-size: 39px; }
  .contact-map { min-height: 355px; }
  .map-pin { top: 34%; left: 48%; }
  .requisites-card { grid-template-columns: 1fr; }
  .requisites-card > div:first-child { grid-column: auto; }
}
