/* «Как нас найти» — общая страница сайта и мини-приложений (23.10, v8-60/v8-62). */
/* ===== 23.10 (v8-60): «Как нас найти» — видео входа сразу, без большого баннера ===== */
.htf-section { padding-top: 28px; }
.htf-head { margin: 0 0 14px; }
.htf-h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; margin: 0 0 6px; }
.htf-sub { margin: 0; font-size: 1.02rem; color: var(--ink-soft, #3A3431); }
.htf-sub-link { white-space: nowrap; font-weight: 700; }
.htf-tabs { display: flex; gap: 8px; margin: 0 0 12px; }
.htf-tab { flex: 1 1 0; min-height: 46px; padding: 10px 12px; border-radius: 999px; border: 2px solid var(--purr-ink, #161616); background: #fff; color: var(--purr-ink, #161616); font: inherit; font-weight: 800; font-size: 0.98rem; cursor: pointer; }
.htf-tab.is-on { background: var(--purr-lime, #C8F04B); }
.htf-tab:focus-visible { outline: 3px solid var(--purr-cherry, #E8335F); outline-offset: 2px; }
.htf-grid { display: grid; gap: 18px; }
.htf-entrance { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Без JS видны оба входа; с JS на телефоне — только выбранный. */
.htf-js .htf-entrance:not(.is-on) { display: none; }
.htf-ent-title { order: 2; margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 6px; }
.htf-video { order: 1; position: relative; display: block; width: 100%; height: min(54vh, 470px); border-radius: 22px; overflow: hidden; background: #161616; border: 0; padding: 0; cursor: pointer; }
.htf-video video, .htf-video img { display: block; width: 100%; height: 100%; object-fit: contain; background: #161616; }
.htf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 3px solid #fff; background: var(--purr-cherry, #E8335F); color: #fff; font-size: 1.7rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding-left: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.35); cursor: pointer; }
.htf-video.is-playing .htf-play { display: none; }
.htf-ent-text { order: 3; margin: 0; font-size: 1rem; line-height: 1.5; }
.htf-photos { order: 4; display: flex; gap: 8px; flex-wrap: wrap; }
.htf-photo { position: relative; width: 104px; height: 104px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #eee; }
.htf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htf-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 6px; font-size: 0.68rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); text-align: left; }
.htf-more-video { order: 5; font-size: 0.9rem; }
.htf-more-video video { width: 100%; max-height: 420px; margin-top: 8px; border-radius: 14px; background: #161616; }
.htf-ent-more { order: 6; font-size: 0.88rem; color: var(--ink-soft, #3A3431); }
.htf-common { margin-top: 22px; }
.htf-common-title { font-size: 1.1rem; margin: 0 0 8px; }
.htf-help { margin-top: 32px; scroll-margin-top: 90px; }
.htf-help-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; }
.htf-call { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 700; }
.htf-call .btn { display: inline-flex; align-items: center; gap: 6px; }
.htf-map iframe { height: 380px; }
#vhody, #orientiry { scroll-margin-top: 90px; }
@media (min-width: 900px) {
  .htf-tabs { display: none; }
  .htf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .htf-js .htf-entrance:not(.is-on) { display: flex; }
  .htf-ent-title { order: 0; }
  .htf-video { height: min(62vh, 560px); }
}
@media (max-width: 899px) {
  .htf-help-actions .btn { width: 100%; justify-content: center; }
  .htf-call { width: 100%; }
}
/* Мини-приложения: компактный заголовок над переключателем входов. */
.htf-app-head { margin: 4px 0 12px; }
.htf-app-head .eyebrow { display: inline-block; margin-bottom: 4px; }
.htf-app-head h1 { margin: 2px 0 4px; font-size: 1.7rem; line-height: 1.1; }
.htf-app-head p { margin: 0; color: var(--ink-soft, #3A3431); }
.htf-app .htf-video { height: min(52vh, 440px); }
.htf-app .htf-help-actions .btn { width: 100%; justify-content: center; }
.htf-app .htf-map iframe { width: 100%; height: 300px; border: 0; display: block; }
