/*
 * Главная (макет Home-Tusovka.dc.html, вариант layout=site; ночь 20.10.2026, home-hub).
 * Значения - дословно из макета (cqw макета = vw). Первый экран и поиск - search-hero.css
 * плагина. Живые элементы сайта перенесены как были: иллюстрации трёх шагов, карта участника
 * с 3D-наклоном (home2.js) и плашкой «Активна», размытие под «Скоро».
 * Специфичность 0,2,0: tus2.css задаёт .tus2 h2 (0,1,1), старые слои темы - глобально.
 */
.tus2.hm{display:block;overflow-x:clip;background:#FFFFFF}
.hm .hm-sec{padding-top:clamp(56px,4.6vw,88px)}
.hm .hm-sec--last{padding-bottom:clamp(56px,4.6vw,88px)}
.hm .hm-h2{font-size:clamp(28px,2vw,38px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:#1E2A32;text-wrap:balance}
.hm .hm-h2--xl{margin-top:14px;font-size:clamp(30px,2.4vw,46px)}
.hm .hm-mt14{margin-top:14px}
.hm .hm-mt28{margin-top:28px}
.hm .hm-mt10{margin-top:10px}
.hm .hm-u{position:relative;z-index:0;white-space:nowrap}
.hm .hm-u svg{position:absolute;z-index:-1;left:0;right:0;bottom:.02em;width:100%;height:.3em;color:#FFC24D}
.hm .hm-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px;margin-bottom:32px}
.hm .hm-head--col{display:block}
.hm .hm-link{display:inline-flex;align-items:center;gap:6px;font-size:16px;line-height:1.5;font-weight:700;color:#1F6FA6;white-space:nowrap}
.hm .hm-link:hover,.hm .hm-link:focus-visible{color:#1F6FA6;text-decoration:underline}
[dir="rtl"] .hm .hm-link svg{transform:scaleX(-1)}
.hm .hm-p{font-size:17px;line-height:1.5;color:#39505E;text-wrap:pretty}
.hm .hm-p--14{margin-top:14px}
.hm .hm-p--12{margin-top:12px}
.hm .hm-p--10{margin-top:10px}
.hm .hm-p--20{margin-top:20px}
.hm .hm-p--64{max-width:64ch}
.hm .hm-p--56{max-width:56ch}
.hm .hm-eyebrow{font-size:14px;line-height:1.5;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#39505E}

/* ── Кнопки ── */
.hm .hm-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hm .hm-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 26px;border-radius:12px;font-size:16px;line-height:1;white-space:nowrap;text-decoration:none;transition:background-color .15s}
.hm .hm-btn--primary{background:#F5820A;color:#FFFFFF;font-weight:800;text-shadow:0 1px 1px rgba(120,50,0,.35)}
.hm .hm-btn--primary:hover,.hm .hm-btn--primary:focus-visible{background:#DC7000;color:#FFFFFF}
.hm .hm-btn--ghost{border:1px solid #F5820A;background:#FFFFFF;color:#1E2A32;font-weight:700}
.hm .hm-btn--ghost:hover,.hm .hm-btn--ghost:focus-visible{background:#FFF7EC;color:#1E2A32}
.hm .hm-btn--o{align-self:flex-start;height:44px;padding:0 22px;border:1px solid #F5820A;background:#FFFFFF;color:#1E2A32;font-size:15px;font-weight:700}
.hm .hm-btn--o:hover,.hm .hm-btn--o:focus-visible{background:#FFF7EC;color:#1E2A32}
.hm .hm-btn--white{margin-top:12px;padding:0 28px;background:#FFFFFF;color:#1E2A32;font-weight:800;text-shadow:none}
.hm .hm-btn--white:hover,.hm .hm-btn--white:focus-visible{background:#FFF7EC;color:#1E2A32}

/* ── B. Все категории и города ── */
.hm .hm-dir{display:flex;flex-wrap:wrap;gap:36px 64px;padding:clamp(24px,2.9vw,56px);border:1px solid #E3ECF2;border-radius:16px;background:#FFFFFF}
.hm .hm-dir-copy{flex:1 1 340px;min-width:0;max-width:520px;display:flex;flex-direction:column;align-items:flex-start}
.hm .hm-dir-nav{flex:1.4 1 480px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hm .hm-h3s{margin-bottom:14px;font-size:15px;line-height:1.5;font-weight:700;color:#39505E}
.hm .hm-chips{display:flex;flex-wrap:wrap;gap:10px}
.hm .hm-chip{display:inline-flex;align-items:center;height:44px;padding:0 16px;border:1px solid #E3ECF2;border-radius:999px;background:#FFFFFF;font-size:15px;line-height:1;font-weight:600;color:#1E2A32;white-space:nowrap;transition:border-color .15s}
.hm .hm-chip:hover,.hm .hm-chip:focus-visible{border-color:#F5820A;color:#1E2A32}
.hm .hm-chip--city{gap:6px;padding-inline:12px 16px}

/* ── C. Карточки встреч и клубов ── */
.hm .hm-grid3{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:24px}
.hm .hm-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #E3ECF2;border-radius:16px;background:#FFFFFF;transition:border-color .15s}
.hm .hm-card:hover,.hm .hm-card:focus-within{border-color:#F5820A}
.hm .hm-card-media{position:relative}
.hm .hm-card-img{display:block;width:100%;height:auto;max-width:none;aspect-ratio:16/10;object-fit:cover}
.hm .hm-card-ph{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/10;background:linear-gradient(135deg,#FFF7EC 0%,#FDE9CF 100%);color:#DC7000}
.hm .hm-date{position:absolute;inset-inline-start:16px;top:16px;display:inline-flex;align-items:center;height:32px;padding:0 12px;border-radius:8px;background:#F5820A;color:#FFFFFF;font-size:14px;line-height:1;font-weight:800;text-shadow:0 1px 1px rgba(120,50,0,.35);white-space:nowrap}
.hm .hm-card-body{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:20px 22px 22px}
.hm .hm-card-body--club{gap:8px}
.hm .hm-card-t{font-size:20px;line-height:1.35;font-weight:700;color:#1E2A32;text-wrap:pretty}
.hm .hm-card-t a{color:#1E2A32}
.hm .hm-card-t a:hover,.hm .hm-card-t a:focus-visible{color:#1F6FA6}
.hm .hm-card-place{display:flex;align-items:center;gap:8px;font-size:15px;line-height:1.5;color:#39505E}
.hm .hm-card-place svg{flex:0 0 18px}
.hm .hm-card-meta{font-size:15px;line-height:1.5;color:#39505E}
.hm .hm-card-go{margin-top:auto}
.hm .hm-card-body--club .hm-card-go{margin-top:10px}

/* Заготовки под размытием: форма карточки без текста (GEO-аудит 16.10.2026, К1). */
.hm .hm-veil{position:relative}
.hm .hm-blur{filter:blur(6px) saturate(.85);pointer-events:none;user-select:none}
.hm .hm-skel{display:block;height:12px;border-radius:99px;background:rgba(30,42,50,.13)}
.hm .hm-skel--h{width:78%;height:19px;margin:4px 0}
.hm .hm-skel--s{width:46%;margin:5px 0}
.hm .hm-veil-top{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:16px}
.hm .hm-panel{width:100%;max-width:460px;display:flex;flex-direction:column;align-items:center;gap:12px;padding:28px 28px 30px;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 18px 50px rgba(24,60,90,.2);text-align:center}
.hm .hm-panel-h{margin-top:4px;font-size:26px;line-height:1.2;font-weight:800;color:#1E2A32;text-wrap:balance}
.hm .hm-panel-p{font-size:17px;line-height:1.5;color:#39505E;text-wrap:pretty}
.hm .hm-panel .hm-btn{margin-top:6px}

/* Бейдж «Скоро» */
.hm .hm-soon-b{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:#FFFFFF;box-shadow:0 6px 16px rgba(24,60,90,.12);color:#1E2A32;font-size:14px;line-height:1.3;font-weight:800;white-space:nowrap}
.hm .hm-soon-dot{width:8px;height:8px;border-radius:50%;background:#F5820A;box-shadow:0 0 0 3px rgba(245,130,10,.22)}
.hm .hm-soon-b--lg{gap:10px;padding:10px 22px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(24,60,90,.18);font-size:20px;line-height:1.2}
.hm .hm-soon-b--lg .hm-soon-dot{width:10px;height:10px;box-shadow:0 0 0 4px rgba(245,130,10,.22)}
.hm .hm-soon-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px;font-size:16px;line-height:1.5;color:#1E2A32}
.hm .hm-soon-line a{color:#1E2A32;font-weight:700;text-decoration:underline;text-decoration-color:#F5820A;text-decoration-thickness:2px;text-underline-offset:4px}
.hm .hm-soon-line a:hover,.hm .hm-soon-line a:focus-visible{color:#DC7000}

/* ── D. Манифест ── */
.hm .hm-man{display:flex;flex-wrap:wrap;align-items:center;gap:40px 72px}
.hm .hm-man-copy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.hm .hm-man-copy .hm-p{max-width:54ch}
.hm .hm-man-img{flex:1 1 420px;min-width:0}
.hm .hm-man-img img{display:block;width:100%;height:auto;max-width:none;aspect-ratio:4/3;object-fit:cover;object-position:50% 50%;border-radius:16px}

/* ── E. Три шага (иллюстрации - как на сайте) ── */
.hm .hm-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin:0;padding:0;list-style:none}
.hm .hm-step{position:relative;display:flex;flex-direction:column;padding:32px 30px 34px;border:1.5px solid #E3ECF2;border-radius:24px;background:#FFFFFF;box-shadow:0 4px 14px rgba(24,60,90,.05);transition:transform .3s ease,box-shadow .3s ease}
.hm .hm-step:hover{transform:translateY(-7px);box-shadow:0 26px 50px rgba(24,60,90,.16)}
.hm .hm-step-n{position:absolute;top:26px;inset-inline-end:28px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#1E2A32;color:#FFFFFF;font-size:14px;line-height:1;font-weight:700}
.hm .hm-step-illo{display:flex;align-items:center;justify-content:center;width:96px;height:96px;margin-bottom:22px;border-radius:22px}
.hm .hm-step-illo--1{background:#FDECD3}
.hm .hm-step-illo--2{background:#D9EBF9}
.hm .hm-step-illo--3{background:#E4F1DC}
.hm .hm-step-t{font-size:20px;line-height:1.3;font-weight:700;color:#1E2A32}
.hm .hm-step-p{margin-top:10px;font-size:16px;line-height:1.5;color:#39505E;text-wrap:pretty}

/* ── F. Карта участника (как на сайте: наклон, плашка, размытие под «Скоро») ── */
.hm .hm-cardsec{display:flex;flex-wrap:wrap;align-items:center;gap:40px 80px}
.hm .hm-cardsec-vis{flex:0 1 460px;min-width:0;width:100%}
.hm .hm-cardsec-copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.hm .hm-idwrap{position:relative;perspective:1200px}
.hm .hm-idblur{position:relative}
.hm .hm-idcard{position:relative;overflow:hidden;aspect-ratio:1.585/1;padding:28px;border-radius:22px;color:#FFFFFF;background:linear-gradient(135deg,#DC7000 0%,#E8785B 100%);box-shadow:0 34px 70px rgba(220,112,0,.4),inset 0 1px 1px rgba(255,255,255,.35);transform:rotate(-4deg);transition:transform .9s}
.hm .hm-idcard::before{content:"";position:absolute;top:-90px;right:-60px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,#FFC24D 0%,rgba(255,194,77,0) 68%);opacity:.9;pointer-events:none}
.hm .hm-idcard::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 100% 0%,rgba(255,255,255,.28),transparent 46%);pointer-events:none}
.hm .hm-idwrap:not(.is-soon):hover .hm-idcard{transform:rotate(-1.5deg) translateY(-6px)}
.hm .hm-idcard-top,.hm .hm-idcard-mid,.hm .hm-idcard-bot{position:relative;z-index:1}
.hm .hm-idcard-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hm .hm-idcard-brand{display:flex;align-items:center;gap:8px;font-family:var(--tus-font-logo);font-size:22px;line-height:1;font-weight:800;letter-spacing:-.01em}
.hm .hm-idcard-chip{display:flex;align-items:center;justify-content:center;width:46px;height:34px;border-radius:8px;background:linear-gradient(135deg,#FFE0A3,#F5B75B)}
.hm .hm-idcard-chip span{width:26px;height:11px;border:1.5px solid rgba(120,70,20,.35);border-radius:3px}
.hm .hm-idcard-mid{margin-top:30px}
.hm .hm-idcard-lbl{font-size:10.5px;line-height:1.5;font-weight:700;text-transform:uppercase;letter-spacing:.2em;opacity:.85}
.hm .hm-idcard-code{margin-top:4px;font-size:30px;line-height:1.15;font-weight:800;letter-spacing:.14em;font-variant-numeric:tabular-nums}
.hm .hm-idcard-bot{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:30px}
.hm .hm-idcard-nm{min-width:0;font-size:16px;line-height:1.25;font-weight:800}
.hm .hm-idcard-nm span{display:block;margin-top:2px;font-size:12.5px;line-height:1.3;font-weight:400}
.hm .hm-idcard-st{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.22);font-size:11px;line-height:1;font-weight:800;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.hm .hm-idcard-st span{width:7px;height:7px;border-radius:50%;background:#8CE6A6;box-shadow:0 0 0 3px rgba(140,230,166,.3)}
.hm .hm-idfloat{position:absolute;inset-inline-end:-24px;top:14%;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:16px;background:#FFFFFF;color:#1E2A32;box-shadow:0 20px 44px rgba(24,60,90,.22);line-height:1.25;animation:hmBob 6.5s ease-in-out infinite}
.hm .hm-idfloat svg{flex:0 0 22px}
.hm .hm-idfloat b{display:block;font-size:14px;font-weight:700}
.hm .hm-idfloat span{display:block;font-size:12px;color:#5B7385}
@keyframes hmBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hm .hm-idwrap.is-soon .hm-idblur{filter:blur(7px) saturate(.85);pointer-events:none;user-select:none}
.hm .hm-idsoon{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center}
.hm .hm-perks{display:flex;flex-direction:column;gap:16px;margin-top:24px;padding:0;list-style:none}
.hm .hm-perks li{display:flex;align-items:flex-start;gap:12px}
.hm .hm-perks div > b{display:block;font-size:17px;line-height:1.5;font-weight:700;color:#1E2A32}
.hm .hm-perks div > span{display:block;font-size:16px;line-height:1.5;color:#39505E}
.hm .hm-tick{display:flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;margin-top:1px;border-radius:50%;background:#F5820A;color:#FFFFFF}
.hm .hm-note{margin-top:12px;font-size:15px;line-height:1.5;color:#5B7385}

/* ── H. Финальная полоса ── */
.hm .hm-final{display:flex;flex-direction:column;align-items:center;gap:14px;padding:clamp(40px,4vw,80px) 24px;border-radius:16px;background:#F5820A;text-align:center;text-shadow:0 1px 1px rgba(120,50,0,.35)}
.hm .hm-final-h{font-size:clamp(30px,2.4vw,46px);line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#FFFFFF;text-wrap:balance}
.hm .hm-final-p{max-width:52ch;font-size:18px;line-height:1.5;font-weight:600;color:#FFFFFF;text-wrap:pretty}

.hm .hm-hero-plain{padding-top:48px}

@media (prefers-reduced-motion: reduce){
  .hm [data-bob]{animation:none}
  .hm .hm-step,.hm .hm-idcard{transition:none}
  .hm .hm-step:hover{transform:none}
}
