/* ТОПДОМ — первый экран v2, блок «получите документы», поп-ап и видео-виджет.
   Цвета берутся из переменных сайта (--ink, --paper, --line…), поэтому подстраиваются под все стили и темы. */

/* ---------- первый экран ---------- */
.hero__in--v2 { align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(56px, 5vw, 76px); }
.hero__col { max-width: min(860px, 100%); }
.hero h1 { font-size: clamp(32px, 4.3vw, 78px); line-height: 1.02; max-width: none; }
.hero__tag { margin-top: 16px; font-size: clamp(19px, 2vw, 32px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.hero__sub { max-width: none; margin-top: 14px; font-size: clamp(14.5px, 1.2vw, 18px); line-height: 1.5; opacity: .92; }
.hero__cta { display: flex; gap: 12px; align-items: flex-start; flex: none; }
.hero__cta .btn { width: 290px; justify-content: space-between; }
.hero__dl { position: relative; }
.hero__cap { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: 100%; height: 26px; padding: 0 12px 0 9px; margin: 0 auto; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .01em; line-height: 1; white-space: nowrap; color: #fff; background: rgba(20, 20, 20, .38); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.hero__cap svg { width: 13px; height: 13px; flex: none; opacity: .85; }
.hero__dl:hover .hero__cap, .hero__dl:focus-within .hero__cap { opacity: 1; transform: none; }
.hero .btn.btn--outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding-right: 6px; }
/* при наведении кнопку заливает белым (механизм --fill/--hfg из motion.css), текст и иконка становятся тёмными */
.hero .btn.btn--outline, html.rm .hero .btn.btn--outline { --fill: #fff; --hfg: #111; }
.hero .btn.btn--outline:hover, html.rm .hero .btn.btn--outline:hover { color: var(--hfg); border-color: #fff; background: transparent; }
.hero .btn.btn--outline .btn__ic { background: #fff !important; color: var(--ink, #111) !important; }
/* режим «Стиль» перекрашивает контурные кнопки — на фото оставляем белыми */
html.rm .hero .btn.btn--outline { color: #fff; border-color: rgba(255, 255, 255, .75); }
html.rm .hero .btn.btn--outline:hover, .hero .btn.btn--outline:focus-visible { background: #fff !important; color: #111 !important; border-color: #fff !important; }
.hero .btn.btn--outline:hover .btn__ic { background: #111 !important; color: #fff !important; }
html.rm.gp .hero .btn.btn--outline .btn__ic, html.rm.g1 .hero .btn.btn--outline .btn__ic { background: #fff !important; color: var(--ink, #111) !important; }
.adv { height: var(--adv-h); display: flex; }
.adv .adv__grid { width: 100%; height: 100%; }
.adv__item, .adv__item + .adv__item { padding-top: 0; padding-bottom: 0; }
.adv__item { opacity: 1 !important; transform: none !important; }
.adv__item b { display: flex; gap: 10px; align-items: baseline; font-size: clamp(14.5px, 1.2vw, 17px); line-height: 1.3; }
.adv__item b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-2px); opacity: .55; }
.adv__item { display: flex; align-items: center; }
@media (max-width: 900px) {
  .hero__col { max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .hero__cta .btn, .hero__dl { width: 100%; }
  .hero__cap { position: static; justify-content: flex-start; height: auto; margin-top: 10px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: .92; transform: none; white-space: normal; font-size: 13px; line-height: 1.35; }
  .hero__cta .btn { justify-content: space-between; }
  .hero__in--v2 { padding-bottom: 20px; }
}
@media (max-width: 700px) {
  .hero h1 br, .hero__sub br { display: none; }
  .hero { min-height: 560px; }
}

/* ---------- блок «получите документы» ---------- */
.lm-sec { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(40px, 5vw, 80px); }
.lm { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--r-lg, 24px); overflow: hidden; background: var(--paper, #f5f5f2); }
.lm__l { padding: clamp(24px, 3.6vw, 60px); }
.lm__l .lead { margin-top: 16px; }
.lm__list { margin-top: clamp(20px, 2.4vw, 34px); display: grid; gap: 0; counter-reset: lm; }
.lm__list li { counter-increment: lm; display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line, #e6e6e2); font-size: clamp(14.5px, 1.1vw, 17px); line-height: 1.4; }
.lm__list li:last-child { border-bottom: 1px solid var(--line, #e6e6e2); }
.lm__list li::before { content: counter(lm, decimal-leading-zero); font-weight: 200; font-size: 22px; line-height: 1.1; color: var(--ink-3, #8c8c86); }
.lm__form { background: var(--ink, #111); color: #fff; padding: clamp(24px, 3.6vw, 60px); display: flex; align-items: center; }
.lmf { width: 100%; display: grid; gap: 12px; }
.lmf__k { font-size: clamp(22px, 2vw, 32px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }
.lmf__ch { display: flex; gap: 6px; flex-wrap: wrap; }
.lmf__ch label { cursor: pointer; }
.lmf__ch input { position: absolute; opacity: 0; pointer-events: none; }
.lmf__ch span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.lmf__ch input:checked + span { background: #fff; color: var(--ink, #111); border-color: #fff; }
.lmf__ch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.lmf .field { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.lmf .field::placeholder { color: rgba(255, 255, 255, .6); }
.lmf .field:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.lmf .btn { justify-content: space-between; width: 100%; background: #fff; color: var(--ink, #111); }
.lmf .btn:hover { background: var(--paper, #f5f5f2); }
.lmf .btn .btn__ic { background: var(--ink, #111) !important; color: #fff !important; }
/* режим «Стиль» перекрашивает поля и кнопки — в тёмной форме оставляем как задумано */
html.rm .lmf .field { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
html.rm .lmf .field::placeholder { color: rgba(255, 255, 255, .6); }
html.rm .lmf .btn, html.rm.gp .lmf .btn, html.rm.g1 .lmf .btn { background: #fff !important; color: var(--ink, #111) !important; }
html.rm .lmf .btn .btn__ic, html.rm.gp .lmf .btn .btn__ic, html.rm.g1 .lmf .btn .btn__ic { background: var(--ink, #111) !important; color: #fff !important; }
.lmf__note { font-size: 12.5px; opacity: .6; line-height: 1.4; }
.lmf--ok { text-align: left; gap: 8px; }
.lmf--ok b { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.03em; }
.lmf--ok p { opacity: .8; }
.lmf__okic { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink, #111); display: grid; place-items: center; margin-bottom: 8px; }
.lmf__okic svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .lm { grid-template-columns: 1fr; } }

/* левая часть блока: фон-картинка меняется по выбранному пункту, буквы «дрыгаются» при наведении */
.lm__l { position: relative; overflow: hidden; background: #1c1c1c; color: #fff; isolation: isolate; }
.lm__bg { position: absolute; inset: 0; z-index: -1; }
.lm__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .8s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1); }
.lm__bg img.is-on { opacity: 1; transform: scale(1); }
.lm__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, .82) 0%, rgba(14, 14, 14, .55) 60%, rgba(14, 14, 14, .35) 100%), linear-gradient(0deg, rgba(14, 14, 14, .45), rgba(14, 14, 14, 0) 45%); }
.lm__lc { position: relative; padding: clamp(24px, 3.6vw, 60px); }
.lm .lm__l .eyebrow { color: rgba(255, 255, 255, .7); }
.lm .lm__l .h2 { color: #fff; }
.lm .lm__l .lead { color: rgba(255, 255, 255, .85); }
.lm .lm__list--i { margin-top: clamp(20px, 2.4vw, 34px); }
.lm .lm__list--i li { position: relative; cursor: default; border-color: rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .62); transition: color .35s, transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s; outline: none; }
.lm .lm__list--i li::before { color: rgba(255, 255, 255, .5); transition: color .35s; }
.lm .lm__list--i li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lm .lm__list--i li.is-on { color: #fff; transform: translateX(8px); }
.lm .lm__list--i li.is-on::before { color: #fff; }
.lm .lm__list--i li.is-on::after { transform: scaleX(1); }
.lm .lm__list--i li:focus-visible { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .lm__bg img { transition: opacity .3s; transform: none; } }
@media (max-width: 900px) { .lm .lm__list--i li.is-on { transform: none; } }

/* ---------- поп-ап ---------- */
.lmp { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lmp.is-open { opacity: 1; visibility: visible; }
.lmp__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lmp__card { position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--r-lg, 24px); background: #fff; color: var(--ink, #111); transform: translateY(26px) scale(.98); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.lmp.is-open .lmp__card { transform: none; }
.lmp__x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.lmp__x:hover { background: rgba(255, 255, 255, .3); }
.lmp__l { padding: clamp(24px, 3vw, 44px); }
.lmp__kick { font-size: 14px; font-weight: 500; color: var(--ink-3, #8c8c86); }
.lmp__l h3 { margin-top: 10px; font-size: clamp(26px, 2.8vw, 42px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.lmp__sub { margin-top: 12px; color: var(--ink-2, #4d4d49); font-size: 15px; }
.lm__list--s { margin-top: 18px; }
.lm__list--s li { padding: 10px 0; font-size: 14px; grid-template-columns: 34px 1fr; }
.lm__list--s li::before { font-size: 18px; }
.lmp__form { background: var(--ink, #111); color: #fff; padding: clamp(24px, 3vw, 44px); display: flex; align-items: center; }
body.lmp-lock { overflow: hidden; }
@media (max-width: 800px) {
  .lmp__card { grid-template-columns: 1fr; }
  .lmp__l { padding: 24px 20px 8px; }
  .lmp__form { padding: 20px; }
  .lmp__x { background: rgba(0, 0, 0, .08); color: var(--ink, #111); }
  .lm__list--s li:nth-child(n+4) { display: none; }
}


/* ---------- адаптив первого экрана: кнопки столбиком, если рядом не помещаются ---------- */
@media (max-width: 1320px) and (min-width: 901px) { .hero__cta { flex-direction: column; } }
:root { --adv-h: 84px; }
@media (max-width: 900px) { :root { --adv-h: 108px; } }
@media (max-width: 560px) { :root { --adv-h: 150px; } }
@media (hover: none) { .hero__cap { position: static; justify-content: flex-start; height: auto; margin-top: 10px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: .92; transform: none; white-space: normal; } }

/* ---------- плашка в углу (через 5 секунд), по клику разворачивается в поп-ап ---------- */
.lmt { position: fixed; z-index: 170; right: 20px; bottom: 20px; width: min(340px, calc(100vw - 24px)); border-radius: 20px; background: #fff; color: var(--ink, #111); box-shadow: 0 18px 50px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .05); overflow: hidden; opacity: 0; transform: translateY(26px) scale(.96); transform-origin: right bottom; pointer-events: none; transition: opacity .45s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.lmt.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lmt__main { display: block; width: 100%; text-align: left; padding: 20px 22px 24px; cursor: pointer; }
.lmt__kick { display: block; font-size: 13px; color: var(--ink-3, #8c8c86); }
.lmt__t { display: block; margin-top: 6px; padding-right: 26px; font-size: 22px; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.lmt__p { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--ink-2, #4d4d49); }
.lmt__go { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; height: 46px; padding: 0 6px 0 20px; border-radius: 999px; background: var(--ink, #111); color: #fff; font-size: 15px; font-weight: 500; transition: transform .3s; }
.lmt__main:hover .lmt__go { transform: translateX(3px); }
.lmt__ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink, #111); display: grid; place-items: center; }
.lmt__ic svg { width: 14px; height: 14px; }
.lmt__x { position: absolute; z-index: 2; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--ink-3, #8c8c86); display: grid; place-items: center; }
.lmt__x:hover { background: rgba(0, 0, 0, .07); color: var(--ink, #111); }
.lmt__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ink, #111); opacity: .8; transform-origin: left; animation: lmtBar linear forwards; }
@keyframes lmtBar { to { transform: scaleX(0); } }
@media (max-width: 600px) { .lmt { right: 12px; bottom: 12px; } }
/* поп-ап, развёрнутый из плашки: карточку анимирует скрипт, фон проявляется отдельно */
.lmp--from { transition: visibility 0s; }
.lmp--from .lmp__bg { opacity: 0; transition: opacity .6s ease; }
.lmp--from.is-open .lmp__bg { opacity: 1; }
.lmp--from .lmp__card { transform: none; transition: none; transform-origin: center; }
/* ролик в плашке (после 20 секунд без нажатия): тоже 20 секунд, потом плашка исчезает */
.lmt.is-video { width: min(360px, calc(100vw - 24px)); }
.lmt__in { animation: lmtSwap .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lmtSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lmt__vid { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lmt__vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lmt__vt { display: block; padding: 12px 18px 17px; font-size: 14px; line-height: 1.35; color: var(--ink, #111); }
.lmt__vt span { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3, #8c8c86); }
.lmt.is-video .lmt__x { background: rgba(0, 0, 0, .55); color: #fff; }
.lmt.is-video .lmt__x:hover { background: rgba(0, 0, 0, .8); }
@media (prefers-reduced-motion: reduce) { .lmt { transition: none; } .lmt__bar { animation: none; } .lmt__in { animation: none; } }

/* ---------- посёлки на главной ---------- */
/* карта не увеличивается при наведении — кружки остаются точно на местах */
.vill__map-bg { transition: none; }
.vill__map:hover .vill__map-bg { transform: none; }
/* карточки справа не двигаются при наведении, место под подпись зарезервировано (js), карточки чуть ниже */
.vill .vcard:hover, .vill .vcard.is-hover { translate: none; transform: none; }
.vill__info { margin-bottom: 40px; }
.vill__side { position: relative; overflow: hidden; isolation: isolate; }
.vill__bgs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vill__bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s ease, transform 1.5s cubic-bezier(.2, .7, .2, 1); }
.vill__bgs img.is-on { opacity: 1; transform: none; }
.vill__bgs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 10, .6), rgba(10, 10, 10, .46)); opacity: 0; transition: opacity .5s ease; }
.vill__side.is-hover .vill__bgs::after { opacity: 1; }
.vill__side .kicker, .vill__side h2, .vill__info { transition: color .45s ease; }
.vill__side.is-hover .kicker, .vill__side.is-hover h2 { color: #fff; }
.vill__side.is-hover .vill__info { color: rgba(255, 255, 255, .92); }
.vill__side .vcard { transition: border-color .35s, background .35s, color .35s; }
.vill__side.is-hover .vcard { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .3) !important; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vill__side.is-hover .vcard p, .vill__side.is-hover .vcard b { color: rgba(255, 255, 255, .82); }
.vill__side.is-hover .vcard .dot { background: #fff !important; }
.vill__side.is-hover .vcard.is-hover { background: rgba(255, 255, 255, .3) !important; border-color: #fff !important; }

/* карточки «Строим не только дома»: фото увеличивается, заголовок крупнее, белый, на фото */
.vf__ttl { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; color: #fff; font-size: clamp(30px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.03em; line-height: 1.08; opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.vf__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 10, .66), rgba(10, 10, 10, 0) 62%); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
@media (hover: hover) {
  .vill .vf:hover { translate: none; transform: none; }
  .vf__img img { transition: scale 1.3s cubic-bezier(.16, 1, .3, 1), transform 1.3s cubic-bezier(.16, 1, .3, 1); }
  .vf:hover .vf__img img { scale: 1.14; transform: none; }
  .vf:hover .vf__img::after { opacity: 1; }
  .vf:hover .vf__ttl { opacity: 1; transform: none; }
  .vf__b h3 { transition: opacity .35s ease; }
  .vf:hover .vf__b h3 { opacity: 0; }
  .vf__b .kicker, .vf__b > p, .vf__b ul { transform-origin: left top; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .vf:hover .vf__b .kicker, .vf:hover .vf__b > p, .vf:hover .vf__b ul { transform: scale(1.045); }
}
/* блеск кнопки «О посёлке» после 3 секунд на карточке */
.vf .link-arrow.is-shine::before { content: ""; position: absolute; left: -12px; right: -12px; top: calc(50% + 9px); height: 38px; margin-top: -19px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(17, 17, 17, .28); animation: vfRing 1.4s ease-out; pointer-events: none; }
.vf .link-arrow.is-shine span { color: transparent; background-image: linear-gradient(105deg, var(--ink, #111) 0 38%, #9a9a9a 50%, var(--ink, #111) 62% 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: vfGlint 1.4s ease-out; }
.vf .link-arrow.is-shine svg { animation: vfNudge 1.4s ease-out; }
@keyframes vfRing { 0% { box-shadow: 0 0 0 0 rgba(17, 17, 17, .3); } 100% { box-shadow: 0 0 0 16px rgba(17, 17, 17, 0); } }
@keyframes vfGlint { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes vfNudge { 0%, 100% { transform: none; } 40% { transform: translate(4px, -4px) scale(1.25); } }

/* главная: у «Популярных проектов» и «Реально построенных домов» картинка не увеличивается при наведении (остальные эффекты — как были) */
#projects .pcard img, #built .built__item img { transition: none; }
#projects .pcard:hover img, #built .built__item:hover img { scale: none; transform: none; }

/* ролик в плашке: нажали — звук, плашка крупнее, кнопка «Смотреть полностью» */
.lmt__tap { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; background: transparent; }
.lmt__tap span { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.lmt__tap:hover span, .lmt__tap:focus-visible span { opacity: 1; transform: none; }
.lmt__hint { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3, #8c8c86); }
.lmt__full { display: none; align-items: center; justify-content: space-between; margin: 0 18px 18px; height: 44px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--ink, #111); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; transition: transform .3s; }
.lmt__full:hover { transform: translateX(3px); }
.lmt.is-big .lmt__full { display: flex; }
.lmt.is-video { transition: opacity .45s ease, transform .45s ease, width .45s cubic-bezier(.2, .7, .2, 1); }
.lmt.is-big { width: min(560px, calc(100vw - 24px)); }

/* окно с видео: наведение — чуть крупнее; задержка секунда — звук и ещё крупнее; полоска времени на паузе */
.lmt.is-video { transition: opacity .45s ease, transform .45s ease, width .35s cubic-bezier(.2, .7, .2, 1); }
.lmt.is-hover { width: min(410px, calc(100vw - 24px)); }
.lmt.is-hover2 { width: min(480px, calc(100vw - 24px)); }
.lmt.is-hover .lmt__full { display: flex; }
.lmt.is-hover2 .lmt__hint { visibility: hidden; }
.lmt.is-hover2 .lmt__hint::after { content: "Играет со звуком"; visibility: visible; position: absolute; left: 18px; }
.lmt__hint { position: relative; }

.lmt.is-hover2 .lmt__full { display: flex; }
