/* /contacts/ — design/Site Contacts.dc.html */
.ct-hero .lead { max-width: 50ch; }

/* каналы + форма: 5 : 7 */
.ct-main { padding-top: 64px; padding-bottom: 110px; }
.ct-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

/* каналы — карточки-ссылки с «прожектором» */
.ct-channels { display: flex; flex-direction: column; gap: 14px; font-style: normal; }
.ct-ch { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; }
.ct-ch:hover { color: inherit; }
.ct-ch > :not(.spot-glow) { position: relative; }
/* в макете рамка добавляется к 40px (content-box): светлые значки — 42px, тёмный — 40px */
.ct-ch-ico { box-sizing: content-box; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.ct-ch-ico.is-dark { border: 0; background: var(--ink); color: #fff; }
.ct-ch-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-ch-title { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.ct-ch-value { font-size: 15px; color: var(--accent); word-break: break-all; }
.ct-ch-text { font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* форма */
.ct-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ct-form { display: flex; flex-direction: column; gap: 22px; }
.ct-form[hidden], .ct-done[hidden], .ct-err[hidden] { display: none; }
.ct-form-head { display: flex; flex-direction: column; gap: 6px; }
.ct-form-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: normal; }
.ct-form-text { margin: 0; font-size: 15px; color: var(--ink-3); }
.ct-topics { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-topics legend { margin-bottom: 8px; padding: 0; font-size: 13px; color: var(--ink-3); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-chip { position: relative; }
.ct-chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.ct-chip span { display: block; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: all .2s; }
.ct-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.ct-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
.ct-input { padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; font: inherit; font-size: 15px; color: inherit; outline: none; transition: border-color .2s; }
.ct-input::placeholder { color: oklch(0.62 0.012 280); }
.ct-textarea { min-height: 146px; padding: 12px 14px; line-height: 1.5; resize: vertical; }   /* макет: 120px текста + поля и рамка */
.ct-input[aria-invalid="true"] { border-color: var(--danger); }
.ct-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.52 0.21 285 / .15); }
.ct-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ct-note { max-width: 40ch; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ct-send { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer; transition: background .2s, opacity .2s; }
.ct-send:hover { background: var(--accent); }
.ct-send:disabled { cursor: progress; opacity: .7; }
.ct-send:disabled:hover { background: var(--ink); }
.ct-send:disabled .ct-sheen { display: none; }
.ct-sheen { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, #fff0, oklch(1 0 0 / .3), #fff0); animation: rw-sheen 3.4s ease-in-out 1.6s infinite; pointer-events: none; }
.ct-err { font-size: 13.5px; color: var(--danger); animation: rw-in .25s both; }

/* после отправки */
@keyframes ct-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.ct-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; outline: none; animation: rw-in .4s both; }
.ct-done-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: oklch(0.55 0.15 150 / .14); color: var(--ok); animation: ct-pop .5s var(--ease) both; }
.ct-done-title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.ct-done-text { max-width: 48ch; margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.ct-done-text b { font-weight: 600; color: var(--ink); }
.ct-again { font-size: 14px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ — на серой полосе, поля как в макете (и на мобильном) */
.ct-faq .faq { padding-top: 100px; padding-bottom: 120px; }

@media (max-width: 900px) {
  .ct-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ct-two { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-sheen { animation: none !important; }
}
