/* Contacts uses the same page width and gutters as every DCR.BY public section.
   No extra max-width or decorative card system. */
body[data-page="contacts"] { background:#fff; color:#302b32; }
.contacts-shell.public-page-shell { padding-top:18px; padding-bottom:44px; }

.contacts-page-heading { margin:4px 0 25px; }
.contacts-page-heading h1 {
  font-size:clamp(31px,3vw,40px); font-weight:790; letter-spacing:-.032em;
  line-height:1.14; margin:0 0 7px; color:#2c2630;
}
.contacts-page-heading p { font-size:14px; line-height:1.5; margin:0; color:#87818b; }

.contacts-reach {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
  align-items:start; gap:34px; padding:29px 33px;
  border:1px solid #e7e3eb; border-radius:17px;
  background:#fdfcfe;
}
.contacts-reach h2 { font-size:18px; font-weight:750; line-height:1.3; color:#3a303d; margin:0 0 14px; }
.contacts-phone {
  display:inline-block; color:#6726ab; text-decoration:none;
  font-size:clamp(27px,3vw,34px); font-weight:800;
  letter-spacing:-.029em; line-height:1.22; margin-bottom:24px;
}
.contacts-phone:hover,.contacts-email:hover,.contacts-place-phone:hover { text-decoration:underline; text-underline-offset:3px; }
.contacts-reach-meta { display:flex; flex-wrap:wrap; gap:12px 36px; }
.contacts-reach-meta > div { display:flex; flex-direction:column; gap:5px; min-width:172px; }
.contacts-label { font-size:11.5px; line-height:1.4; color:#8d8591; }
.contacts-email { font-size:14px; font-weight:640; color:#5e367f; text-decoration:none; overflow-wrap:anywhere; }
.contacts-hours { color:#4b4450; font-size:14px; font-weight:560; line-height:1.45; }

.contacts-reach-social {
  min-height:166px; border-left:1px solid #e9e3ed; padding-left:34px;
}
.contacts-reach-social[hidden],.contacts-map[hidden] { display:none!important; }
.contacts-reach-social h2 { margin:0 0 18px; }
.contacts-social-links { display:flex; flex-wrap:wrap; align-items:center; gap:11px; }
.contacts-social-icon {
  --social-color:#6b6174;
  width:49px; height:49px; padding:0; border:1px solid #e8e3ea; border-radius:13px;
  display:inline-flex; justify-content:center; align-items:center; flex:none;
  background:#fff; color:#b4adb9; text-decoration:none; box-sizing:border-box;
  transition:background .17s ease,border-color .17s ease,transform .17s ease;
}
.contacts-social-mark {
  display:block; width:25px; height:25px; background:var(--social-color);
  -webkit-mask:var(--contacts-icon-mask) center / contain no-repeat;
  mask:var(--contacts-icon-mask) center / contain no-repeat;
}
.contacts-social-icon[data-platform="instagram"].is-active .contacts-social-mark {
  background:linear-gradient(35deg,#ffcf50 0%,#f55368 35%,#cc31a3 67%,#6e41e8 100%);
}
.contacts-social-icon[data-platform="max"] img.contacts-social-logo {
  display:block; width:29px; height:29px; object-fit:contain;
}
.contacts-social-icon.is-inactive {
  opacity:.5; background:#faf9fb; cursor:default; user-select:none;
}
.contacts-social-icon.is-inactive .contacts-social-mark { background:#9e96a5; }
.contacts-social-icon.is-inactive img.contacts-social-logo { filter:grayscale(1); opacity:.7; }
.contacts-social-icon.is-active { cursor:pointer; }
.contacts-social-icon.is-active:hover,.contacts-social-icon.is-active:focus-visible {
  background:#f8f4fb; border-color:#b9a1cb;
  transform:translateY(-1px); outline-offset:3px; text-decoration:none;
}

.contacts-visit { margin-top:35px; }
.contacts-section-heading {
  display:flex; justify-content:space-between; align-items:baseline; gap:15px;
  margin-bottom:16px;
}
.contacts-section-heading h2 {
  font-size:23px; font-weight:765; line-height:1.25;
  margin:0; letter-spacing:-.023em; color:#302a32;
}
.contacts-section-heading p { font-size:12.5px; line-height:1.5; margin:0; color:#86808a; text-align:right; }
.contacts-locations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.contacts-place {
  display:flex; flex-direction:column; min-width:0;
  padding:24px 27px 22px; border:1px solid #e8e4eb;
  border-radius:16px; background:#fff;
}
.contacts-place-type {
  font-size:11px; font-weight:710; letter-spacing:.035em;
  color:#805c9d; margin-bottom:12px; line-height:1.3;
}
.contacts-place h3 { font-size:19px; line-height:1.28; font-weight:750; margin:0 0 8px; letter-spacing:-.018em; }
.contacts-address { font-size:14px; font-weight:540; line-height:1.6; color:#4b4450; margin:0 0 5px; }
.contacts-location-hours,.contacts-note { font-size:12px; line-height:1.55; margin:3px 0; color:#8c848f; }
.contacts-place-actions {
  display:flex; flex-wrap:wrap; align-items:center; gap:12px 23px;
  margin-top:auto; padding-top:20px;
}
.contacts-map-link {
  display:inline-flex; justify-content:center; align-items:center; gap:8px;
  border:1px solid #ded0e9; border-radius:10px;
  background:#f7f2fb; padding:9px 13px; min-height:39px;
  color:#6726ab; font-size:13px; font-weight:740;
  text-decoration:none; transition:background .15s ease,border-color .15s ease;
}
.contacts-map-link:hover { background:#f0e7f7; border-color:#c5b2d7; }
.contacts-place-phone { color:#5c3b79; font-size:13px; font-weight:650; text-decoration:none; }
.contacts-map { margin-top:22px; }
.contacts-map iframe { display:block; width:100%; height:370px; border:0; border-radius:12px; }
.contacts-company { margin-top:26px; color:#96909a; font-size:11.5px; }
@media(max-width:900px) {
  .contacts-reach { gap:20px; padding:24px; }
  .contacts-reach-social { padding-left:23px; }
  .contacts-reach-meta { gap:12px 20px; }
}
@media(max-width:720px) {
  .contacts-shell.public-page-shell { padding-top:13px; padding-bottom:35px; }
  .contacts-page-heading { margin:4px 0 20px; }
  .contacts-page-heading p { font-size:13px; }
  .contacts-reach { grid-template-columns:1fr; gap:18px; padding:21px 20px; border-radius:15px; }
  .contacts-reach h2 { font-size:17px; margin-bottom:10px; }
  .contacts-phone { font-size:29px; margin-bottom:17px; }
  .contacts-reach-social { border-left:0; border-top:1px solid #e9e3ed; padding:19px 0 0; min-height:0; }
  .contacts-reach-social h2 { margin-bottom:14px; }
  .contacts-social-links { gap:9px; }
  .contacts-social-icon { width:45px; height:45px; border-radius:12px; }
  .contacts-visit { margin-top:28px; }
  .contacts-section-heading { display:block; }
  .contacts-section-heading h2 { font-size:21px; }
  .contacts-section-heading p { text-align:left; margin-top:7px; }
  .contacts-locations { grid-template-columns:1fr; gap:11px; }
  .contacts-place { padding:21px; border-radius:14px; }
  .contacts-place h3 { font-size:18px; }
  .contacts-place-actions { padding-top:16px; }
  .contacts-map iframe { height:290px; }
}
@media(prefers-reduced-motion:reduce) {
  .contacts-social-icon,.contacts-map-link { transition:none; }
  .contacts-social-icon.is-active:hover { transform:none; }
}
