/* Контакты — утверждённый вариант «Технический паспорт». */

.cn-page {
  min-height: 70vh;
  padding-top: clamp(168px, 18vh, 220px);
  padding-bottom: 80px;
  background: #eef2f6;
}

.cn-bc {
  min-height: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6f8398;
  font-size: .875rem;
}

.cn-bc-home,
.cn-bc-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #6f8398;
  text-decoration: none;
}

.cn-bc-home { color: #0656b9; }
.cn-bc-home:hover,
.cn-bc-link:hover { color: #0656b9; }
.cn-bc-sep { color: #b8c8dc; user-select: none; }
.cn-bc-cur { color: #0656b9; }

.cn-heading {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.cn-title {
  margin: 0;
  color: #13243a;
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 500;
  line-height: 1;
}

.cn-intro {
  max-width: 430px;
  margin: 0;
  color: #627a93;
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}

.cn-passport {
  padding: 22px;
  overflow: hidden;
  background: #e5edf2;
  border: 1px solid #d3e0e8;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(23, 51, 76, .1);
}

.cn-passport-head,
.cn-passport-body,
.cn-passport-foot {
  background: #fff;
  border-right: 1px solid #9db2c1;
  border-left: 1px solid #9db2c1;
}

.cn-passport-head {
  min-height: 88px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid #9db2c1;
  border-bottom: 2px solid #0b3b62;
}

.cn-passport-head h2 {
  margin: 0;
  color: #13243a;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cn-passport-code {
  padding: 7px 10px;
  flex: 0 0 auto;
  color: #597187;
  border: 1px solid #afc1ce;
  font-family: "Manrope Local", Arial, sans-serif !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .08em;
}

.cn-passport-body {
  min-height: 340px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.cn-passport-data {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cn-passport-data > div {
  min-width: 0;
  padding: 22px 24px;
  border-right: 1px solid #d6e2ec;
  border-bottom: 1px solid #d6e2ec;
}

.cn-passport-data dt {
  margin-bottom: 10px;
  color: #7890a5;
  font-family: "PT Root UI", Arial, sans-serif !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cn-passport-data dd {
  margin: 0;
  color: #13243a;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.cn-passport-data dd span { color: #627a93; }

.cn-passport-data dd a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #0656b9;
  font-weight: 400;
  text-decoration: none;
}

.cn-passport-data dd a:hover { text-decoration: underline; }

.cn-passport-map {
  min-width: 0;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: #e5edf2;
  border-bottom: 1px solid #d6e2ec;
}

.cn-passport-map-preview,
.cn-passport-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
}

.cn-passport-map-preview {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(.98);
  transition: opacity .32s ease;
}

.cn-passport-map-frame {
  z-index: 2;
  border: 0;
  opacity: 0;
  filter: saturate(.82) contrast(.98);
  transition: opacity .32s ease;
}

.cn-passport-map.is-loaded .cn-passport-map-preview { opacity: 0; }
.cn-passport-map.is-loaded .cn-passport-map-frame { opacity: 1; }

.cn-passport-map::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .5) 49%, transparent 62%);
  transform: translateX(-110%);
  animation: cn-map-loading 1.7s ease-in-out infinite;
}

.cn-passport-map.is-loaded::after { display: none; }

.cn-passport-map-marker {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 48%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 168px;
  padding: 7px 10px 7px 7px;
  color: #102942;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 10px;
  background: rgba(247, 252, 255, .88);
  box-shadow: 0 10px 28px rgba(12, 45, 73, .2), inset 0 0 0 1px rgba(45, 144, 215, .13);
  backdrop-filter: blur(12px) saturate(1.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.18);
  opacity: 0;
  transform: translate(-50%, -100%);
  transition: opacity .2s ease;
  pointer-events: none;
}

.cn-passport-map.is-loaded .cn-passport-map-marker { opacity: 1; }

.cn-passport-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .92);
  background: rgba(247, 252, 255, .9);
  transform: translateX(-50%) rotate(45deg);
}

.cn-passport-map-pin {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(145deg, #0b64cb, #1aaac3);
  box-shadow: 0 6px 14px rgba(10, 106, 186, .24);
}

.cn-passport-map-label {
  display: grid;
  gap: 1px;
  font-family: "PT Root UI", Arial, sans-serif;
  line-height: 1.15;
}

.cn-passport-map-label strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
}

.cn-passport-map-label small {
  color: #526d87;
  font-size: 10px;
  font-weight: 400;
}

@keyframes cn-map-loading {
  55%, 100% { transform: translateX(110%); }
}

.cn-passport-foot {
  min-height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #597187;
  border-bottom: 1px solid #9db2c1;
  font-size: 12px;
}

.cn-passport-foot a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b3b62;
  font-family: "Manrope Local", Arial, sans-serif !important;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.cn-passport-foot svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cn-passport a:focus-visible {
  outline: 2px solid #1085da;
  outline-offset: 3px;
}

@media (max-width: 1200px) {
  .cn-page { padding-top: 130px; }
}

@media (max-width: 900px) {
  .cn-passport-body {
    display: flex;
    flex-direction: column;
  }

  .cn-passport-map {
    min-height: 320px;
    order: -1;
    border-bottom: 1px solid #d6e2ec;
  }

  .cn-passport-map-preview,
  .cn-passport-map-frame { min-height: 320px; }
}

@media (max-width: 768px) {
  .cn-page { padding-top: 28px; padding-bottom: 48px; }

  .cn-heading {
    display: block;
    margin-bottom: 20px;
  }

  .cn-intro {
    margin-top: 12px;
    text-align: left;
  }

  .cn-passport { padding: 14px; border-radius: 14px; }
  .cn-passport-head { min-height: 82px; padding: 20px; }
  .cn-passport-data > div { padding: 20px; }
}

@media (max-width: 480px) {
  .cn-bc { margin-bottom: 18px; }
  .cn-title { font-size: 34px; }
  .cn-intro { font-size: 14px; }
  .cn-passport { padding: 10px; }
  .cn-passport-head { min-height: 76px; padding: 18px; align-items: center; }
  .cn-passport-head h2 { font-size: 23px; }
  .cn-passport-code { display: none; }

  .cn-passport-data { grid-template-columns: 1fr; }
  .cn-passport-data > div { padding: 18px; border-right: 0; }
  .cn-passport-map,
  .cn-passport-map-preview,
  .cn-passport-map-frame { min-height: 300px; }

  .cn-passport-map-marker {
    min-width: 156px;
    padding: 6px 9px 6px 6px;
  }

  .cn-passport-foot { min-height: 58px; padding: 10px 18px; }
  .cn-passport-foot > span { display: none; }
  .cn-passport-foot a { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cn-passport-foot a { transition: none; }
  .cn-passport-map::after { animation: none; }
  .cn-passport-map-preview,
  .cn-passport-map-frame,
  .cn-passport-map-marker { transition: none; }
}
