.contacts-v2 { --contact-blue: #075ba7; --contact-ink: #102a43; --contact-muted: #52697d; }
.contacts-main, .contacts-main *, .contacts-skip { box-sizing: border-box; }
.contacts-main { color: var(--contact-ink); background: #fff; font-family: Roboto, sans-serif; }
.contacts-main ::selection { color: #fff; background: var(--contact-blue); }
.contacts-shell { width: 100%; margin-inline: auto; }
.contacts-main a:focus-visible, .contacts-skip:focus-visible { outline: 3px solid #f09a22; outline-offset: 4px; }
.contacts-skip { position: fixed; top: -100px; left: 16px; z-index: 10000; padding: 14px 20px; color: #fff; background: var(--contact-blue); border-radius: 10px; }
.contacts-skip:focus { top: 16px; color: #fff; }
.contacts-breadcrumbs { padding-top: 26px; }
.contacts-breadcrumbs .breadcrumbs { margin: 0; padding: 0; }
.contacts-hero { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; padding-block: 24px 32px; }
.contacts-main h1, .contacts-main h2, .contacts-main h3, .contacts-main h4 { color: var(--contact-ink); font-family: Roboto-Medium, Roboto, sans-serif; font-weight: 500; text-transform: none; }
.contacts-main h1 { margin: 0; font-size: clamp(42px, 4.2vw, 62px); line-height: 1.06; letter-spacing: -.035em; }
.contacts-hero p { margin: 20px 0 0; color: var(--contact-muted); font-size: 20px; line-height: 1.55; }
.contacts-call { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 32px; }
.contacts-call > span { grid-column: 1; color: var(--contact-muted); font-size: 14px; }
.contacts-phone { grid-column: 1; white-space: nowrap; color: var(--contact-blue); font: 28px/1.3 Roboto-Medium, Roboto, sans-serif; text-decoration: none; }
.contacts-email { grid-column: 1; width: fit-content; color: var(--contact-blue); font-size: 16px; text-underline-offset: 4px; }
.contacts-call > .contacts-button { grid-column: 2; grid-row: 1 / 4; }
.contacts-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 10px; background: var(--contact-blue); color: #fff; font: 15px/1.4 Roboto-Medium, Roboto, sans-serif; text-align: center; text-decoration: none; transition: background-color .2s ease-out; }
.contacts-button:hover { background: #064b88; color: #fff; text-decoration: none; }
.contacts-button:focus { color: #fff; text-decoration: none; }
.contacts-main h2 { margin: 0 0 24px; font-size: 32px; line-height: 1.18; letter-spacing: -.025em; }
.contacts-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contacts-branch { display: flex; flex-direction: column; min-width: 0; padding: 32px; border-radius: 16px; color: #fff; background: linear-gradient(110deg, #30353c, #58606a); }
/* Header button gradients, shaded slightly to keep small white text readable. */
.contacts-branch--sovetskaya { background: linear-gradient(rgba(0,0,0,.16), rgba(0,0,0,.16)), linear-gradient(110deg, #075ba7, #168bce); }
.contacts-branch--mira { background: linear-gradient(rgba(0,0,0,.24), rgba(0,0,0,.24)), linear-gradient(110deg, #43a67e, #2d8a6a); }
.contacts-branch h3, .contacts-branch h4 { color: #fff; }
.contacts-branch-heading { display: flex; align-items: center; gap: 16px; }
.contacts-pin { flex: 0 0 30px; color: #fff; }
.contacts-pin svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.contacts-branch-heading p { margin: 0 0 6px; color: #fff; font-size: 14px; line-height: 1.5; }
.contacts-main h3 { margin: 0; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.02em; }
.contacts-branch address { margin: 22px 0 0; color: #fff; font-size: 15px; line-height: 1.55; font-style: normal; }
.contacts-hours { margin-top: 28px; }
.contacts-branch--mira .contacts-hours { margin-bottom: 24px; }
.contacts-main h4 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; }
.contacts-hours dl { margin: 0; }
.contacts-hours dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 15px; line-height: 1.45; }
.contacts-hours dt { color: #fff; font-weight: 400; }
.contacts-hours dd { margin: 0; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.contacts-hours .contacts-hours-unknown { white-space: normal; text-align: right; font-size: 13px; }
.contacts-legal { margin: 22px 0 24px; color: #fff; font-size: 13px; line-height: 1.5; }
.contacts-route { align-self: flex-start; margin-top: auto; }
.contacts-branch .contacts-route { color: #102a43; background: #fff; }
.contacts-branch .contacts-route:hover { color: #102a43; background: #eaf5fb; }
.contacts-branch .contacts-route:focus-visible { outline-color: #fff; }
.contacts-route svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contacts-schedule-note { margin: 18px 0 0; color: var(--contact-muted); font-size: 14px; line-height: 1.55; }
.contacts-map { padding-block: 54px; }
.contacts-map-frame { overflow: hidden; height: 440px; border: 1px solid #d8e5ed; border-radius: 16px; background: #f5f8fb; }
.contacts-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.contacts-v2 #callback-popup .contacts-field-label { display: block; margin: 0 0 6px; color: #102a43; font-size: 14px; }
.contacts-v2 #callback-popup { border-radius: 16px; font-family: Roboto, sans-serif; }
.contacts-v2 #callback-popup .title { color: #102a43; font: 28px/1.2 Roboto-Medium, Roboto, sans-serif; text-transform: none; }
.contacts-v2 #callback-popup .description { color: #52697d; font: 15px/1.5 Roboto, sans-serif; }
.contacts-v2 #callback-popup .wrrp-politics label { color: #52697d; font: 12px/1.4 Roboto, sans-serif; }
.contacts-v2 #callback-popup button[type="submit"] { min-height: 48px; border: 0; border-radius: 10px; color: #fff; background: #075ba7; font: 15px/1.4 Roboto-Medium, Roboto, sans-serif; text-transform: none; }
.contacts-v2 #callback-popup button[type="submit"]:hover { background: #064b88; }
.contacts-v2 #callback-popup :focus-visible { outline: 3px solid #f09a22; outline-offset: 3px; }
.contacts-help { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 48px; margin-bottom: 46px; border-radius: 30px; background: linear-gradient(120deg, #075ba7, #168bce); color: #fff; }
.contacts-help h2 { margin: 0; color: #fff; font-size: 36px; }
.contacts-help p { margin: 16px 0 0; color: #e8f3fa; font-size: 16px; line-height: 1.55; }
.contacts-help-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts-button--light { color: var(--contact-blue); background: #fff; }
.contacts-button--light:hover { color: #064b88; background: #eaf5fb; }
.contacts-button--light:focus { color: #075ba7; }
.contacts-button--outline { background: transparent; border-color: #b1d7ef; }
@media (max-width: 1100px) {
  .contacts-hero { gap: 32px; }
  .contacts-call { grid-template-columns: 1fr; gap: 8px; }
  .contacts-call > .contacts-button { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .contacts-branch { padding: 24px; }
  .contacts-help { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .contacts-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 36px; }
  .contacts-hero p { font-size: 18px; }
  .contacts-call { justify-items: start; }
  .contacts-branches { grid-template-columns: 1fr; gap: 20px; }
  .contacts-main h2 { font-size: 28px; }
  .contacts-main h3 { font-size: 26px; }
  .contacts-map { padding-block: 36px; }
  .contacts-map-frame { height: 480px; }
  .contacts-help { padding: 32px 24px; border-radius: 24px; margin-bottom: 32px; }
}
@media (max-width: 420px) {
  .contacts-branch { padding: 24px 20px; }
  .contacts-main h3 { font-size: 23px; }
  .contacts-hours dl > div { gap: 10px; font-size: 14px; }
  .contacts-help-actions { flex-direction: column; }
  .contacts-route, .contacts-call > .contacts-button { align-self: stretch; width: 100%; }
  .contacts-help h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .contacts-button { transition: none; } }
