/*
 * Блоки страницы «Контакты» (design/pages/contacts.html, contacts-mobile.html): Hero с каналами, «Заявка с темами», «Быстрые ссылки».
 */

/* ===== Hero ===== */
.v2 .wx-chero .wx-crumb{margin-bottom:24px;}
.v2 .wx-chero__head{display:flex;flex-direction:column;gap:16px;max-width:820px;margin-bottom:40px;}
.v2 .wx-ct-ch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;}
.v2 .wx-ct-ch li{display:flex;}
.v2 .wx-ct-c{position:relative;flex:1;display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:26px;color:var(--white);transition:transform .3s var(--ease-standard);
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);}
.v2 .wx-ct-c:hover{transform:translateY(-4px);color:var(--white);}
.v2 .wx-ct-c__ci{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--accent-gradient);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 10px 20px -10px rgba(224,64,76,.7);}
.v2 .wx-ct-c__ci img{width:24px;height:24px;}
.v2 .wx-ct-c__ci--img{background:none;box-shadow:none;border-radius:50%;} /* иконка-картинка (WhatsApp, Telegram, MAX) — круг без подложки и квадратной тени, как в макете */
.v2 .wx-ct-c__ci--img img{width:52px;height:52px;border-radius:50%;display:block;filter:drop-shadow(0 8px 12px rgba(0,0,0,.4));}
html[data-theme="light"] .v2 .wx-ct-c__ci--img img{filter:none;}
.v2 .wx-ct-c small{font-size:13px;color:var(--text-muted);}
.v2 .wx-ct-c b{font-weight:700;font-size:19px;line-height:1.3;}
.v2 .wx-ct-c__go{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:15px;color:var(--link-accent);margin-top:auto;}
.v2 .wx-ct-c--main{background:linear-gradient(160deg,rgba(233,107,59,.22),rgba(224,64,76,.08)),var(--lg-fill);box-shadow:var(--lg-edge),var(--lg-drop),inset 0 0 0 1.5px rgba(233,107,59,.55);}
html[data-theme="light"] .v2 .wx-ct-c,html[data-theme="light"] .v2 .wx-ct-c:hover{color:#17141f;}
html[data-theme="light"] .v2 .wx-ct-c small{color:#5b5568;}
html[data-theme="light"] .v2 .wx-ct-c--main{background:linear-gradient(160deg,rgba(233,107,59,.14),rgba(255,255,255,.7));}

/* ===== Заявка с темами ===== */
.v2 .wx-ct-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch;}
.v2 .wx-ct-f,.v2 .wx-ct-on{display:flex;flex-direction:column;gap:20px;padding:36px;border-radius:32px;
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);}
.v2 .wx-ct-on{justify-content:center;gap:18px;}
.v2 .wx-ct-f__h{margin:0;font-weight:800;font-size:30px;line-height:1.2;color:var(--white);}
.v2 .wx-ct-f p{margin:0;font-size:16px;line-height:1.6;color:var(--text-secondary);}
.v2 .wx-ct-f p.wx-agree{font-size:12px;line-height:1.5;color:var(--text-muted);} /* согласие — 12 px, как в макете и в остальных формах (правило абзацев выше его перебивало) */
.v2 .wx-ct-f__area{display:flex;flex-direction:column;gap:12px;}
.v2 .wx-ct-f__area[hidden]{display:none;}
.v2 .wx-ct-form{display:flex;flex-direction:column;gap:20px;}
.v2 .wx-ct-topics{margin:0;padding:0;border:0;min-width:0;display:flex;flex-direction:column;gap:12px;}
.v2 .wx-ct-f__lab{padding:0;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-quiet);}
.v2 .wx-ct-tp{display:flex;flex-wrap:wrap;gap:8px;}
.v2 .wx-ct-tp label{position:relative;display:inline-flex;cursor:pointer;}
.v2 .wx-ct-tp input{position:absolute;opacity:0;width:1px;height:1px;}
.v2 .wx-ct-tp span{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;font-size:14px;color:var(--white);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);transition:background .25s,box-shadow .25s;}
.v2 .wx-ct-tp label:hover span{background:rgba(255,255,255,.1);}
.v2 .wx-ct-tp input:checked+span{background:var(--accent-gradient);box-shadow:0 8px 20px -10px rgba(224,64,76,.8);}
.v2 .wx-ct-tp input:focus-visible+span{outline:2px solid var(--orange-1);outline-offset:2px;}
.v2 .wx-ct-f .wx-iw-form{max-width:none;margin-top:4px;}
.v2 .wx-ct-ok{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:24px;border-radius:22px;background:rgba(127,214,160,.08);box-shadow:inset 0 0 0 1px rgba(127,214,160,.35);}
.v2 .wx-ct-ok[hidden]{display:none;}
.v2 .wx-ct-ok b{font-size:20px;color:var(--white);}
.v2 .wx-ct-ok b:focus{outline:none;}
.v2 .wx-ct-ok span{font-size:15px;line-height:1.55;color:var(--text-secondary);}
.v2 .wx-ct-ok__ck{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#7fd6a0;color:#0e1a13;}
.v2 .wx-ct-ok__again{border:0;background:none;padding:0;font:inherit;font-size:14px;color:var(--link-accent);cursor:pointer;}
.v2 .wx-ct-ok__again:hover{text-decoration:underline;}
.v2 .wx-so-list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;}
.v2 .wx-so-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:18px;color:var(--white);background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);transition:background .25s,transform .25s var(--ease-standard);}
.v2 .wx-so-row:hover{background:rgba(255,255,255,.1);transform:translateX(3px);color:var(--white);}
.v2 .wx-so-row__ic{width:44px;height:44px;flex:0 0 44px;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:visible;}
.v2 .wx-so-row__ic img{width:100%;height:100%;object-fit:contain;}
.v2 .wx-so-row__ic--ph{color:var(--orange-1);}
.v2 .wx-so-row__t{display:flex;flex-direction:column;gap:2px;min-width:0;}
.v2 .wx-so-row b{font-weight:700;font-size:16px;}
.v2 .wx-so-row small{font-size:13px;color:var(--text-muted);}
.v2 .wx-so-row__go{margin-left:auto;display:flex;color:var(--text-muted);}
html[data-theme="light"] .v2 .wx-ct-f__h,html[data-theme="light"] .v2 .wx-ct-ok b,html[data-theme="light"] .v2 .wx-so-row,html[data-theme="light"] .v2 .wx-so-row:hover{color:#17141f;}
html[data-theme="light"] .v2 .wx-ct-f p,html[data-theme="light"] .v2 .wx-ct-ok span{color:#3a3545;}
html[data-theme="light"] .v2 .wx-ct-f p.wx-agree{color:var(--text-muted);}
html[data-theme="light"] .v2 .wx-ct-tp input:not(:checked)+span{color:#17141f;background:linear-gradient(160deg,#fff,rgba(255,255,255,.72));box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(23,20,31,.1);}
html[data-theme="light"] .v2 .wx-ct-tp input:checked+span{color:#fff;}
html[data-theme="light"] .v2 .wx-ct-ok{background:rgba(27,138,75,.08);box-shadow:inset 0 0 0 1px rgba(27,138,75,.3);}
html[data-theme="light"] .v2 .wx-so-row{background:linear-gradient(160deg,#fff,rgba(255,255,255,.72));box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(23,20,31,.1);}
html[data-theme="light"] .v2 .wx-so-row small,html[data-theme="light"] .v2 .wx-so-row__go{color:#5b5568;}

/* ===== Быстрые ссылки ===== */
.v2 .wx-ct-where{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;}
.v2 .wx-ct-where li{display:flex;}
.v2 .wx-ct-w{flex:1;display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:24px;color:var(--white);transition:transform .3s var(--ease-standard);
  background:var(--lg-sheen),var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);box-shadow:var(--lg-edge),var(--lg-drop);}
.v2 .wx-ct-w:hover{transform:translateY(-3px);color:var(--white);}
.v2 .wx-ct-w .wx-plate{width:48px;height:48px;}
.v2 .wx-ct-w h3{margin:0;font-weight:700;font-size:18px;}
.v2 .wx-ct-w p{margin:0;font-size:14px;line-height:1.55;color:var(--text-secondary);}
.v2 .wx-ct-w__go{margin-top:auto;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--link-accent);}
html[data-theme="light"] .v2 .wx-ct-w,html[data-theme="light"] .v2 .wx-ct-w:hover{color:#17141f;}
html[data-theme="light"] .v2 .wx-ct-w p{color:#3a3545;}

@media (max-width:1023px){
  .v2 .wx-ct-ch,.v2 .wx-ct-where{grid-template-columns:repeat(2,minmax(0,1fr));}
  .v2 .wx-ct-grid{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:767px){
  .v2 .wx-chero__head{margin-bottom:28px;}
  .v2 .wx-ct-ch{gap:12px;}
  .v2 .wx-ct-c{padding:18px 16px;border-radius:22px;gap:10px;}
  .v2 .wx-ct-c__ci,.v2 .wx-ct-c__ci--img img{width:44px;height:44px;border-radius:14px;}
  .v2 .wx-ct-c__ci--img,.v2 .wx-ct-c__ci--img img{border-radius:50%;}
  .v2 .wx-ct-c b{font-size:15px;word-break:break-word;}
  .v2 .wx-ct-c__go{font-size:14px;}
  .v2 .wx-ct-grid{gap:16px;}
  .v2 .wx-ct-f,.v2 .wx-ct-on{padding:24px 20px;border-radius:24px;}
  .v2 .wx-ct-f__h{font-size:24px;}
  .v2 .wx-ct-where{grid-template-columns:minmax(0,1fr);gap:12px;}
}
