/* Страница «Контакты»: телефон, мессенджеры, почта. Цвета — переменные из sber.css. */
.ct { padding-top: 28px; }
.ct__head { margin-bottom: 20px; }
.ct__head h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; margin: 0 0 10px; }
.ct__head p { margin: 0; max-width: 640px; color: var(--muted); font-size: 17px; }
.ct__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ct__card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r); background: #fff; }
.ct__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ct__value { font-size: 18px; font-weight: 800; color: var(--ink); word-break: break-word; }
.ct__btn { align-self: flex-start; margin-top: auto; padding: 12px 22px; border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font-weight: 800; transition: background-color .2s ease; }
.ct__btn:hover { background: var(--g1); }
.ct__card .ct__btn { margin-top: 14px; }

/* телефон — тёмная карточка на всю ширину */
.ct__phone { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 32px; padding: 36px 40px;
  background: var(--c-main); color: #fff; }
.ct__phone .ct__label { color: rgba(255,255,255,.65); }
.ct__tel { display: inline-block; margin: 4px 0 10px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.1; color: #fff; white-space: nowrap; }
.ct__tel:hover { color: var(--c-accent-2); }
.ct__note { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; max-width: 520px; }
.ct__hours { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 14px; }
.ct__phone .ct__btn { margin: 0; background: var(--c-accent); white-space: nowrap; }
.ct__phone .ct__btn:hover { background: var(--c-accent-2); }

/* почта — на всю ширину, три адреса в ряд */
.ct__mail { grid-column: 1 / -1; }
.ct__mails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.ct__mails li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg); }
.ct__mails b { font-size: 16px; }
.ct__mails span { font-size: 13px; color: var(--muted); }
.ct__mails a { font-size: 18px; font-weight: 700; color: var(--c-main); text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; word-break: break-all; }


@media (max-width: 1100px) {
  .ct__grid { grid-template-columns: 1fr 1fr; }
  .ct__mails { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ct__grid { grid-template-columns: 1fr; }
  .ct__card { padding: 22px; }
  .ct__phone { grid-template-columns: 1fr; padding: 26px 22px; }
  .ct__phone .ct__btn { justify-self: start; }
}
