/* Общие стили лендингов-ступеней с крупным фото (ai-direktor, x5) — 13.11.2026.
   Сначала телефон, широкие экраны — надстройкой. Акцент страницы — --acc / --acc2 на body. */
html { overflow-x: clip; }
body.lp { --bg: #0f1013; --card: #191b20; --card2: #20232a; --ink: #f3f4f6; --ink2: #aab0bb; --line: rgba(255,255,255,.08);
  background: var(--bg); color: var(--ink); overflow-x: clip; }
.lp-sec { padding: 64px 0; position: relative; overflow-x: clip; }
.lp-h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 42px; line-height: 1; margin: 0 0 14px; }
.lp-h2 em { font-style: normal; color: var(--acc); }
.lp-sub { margin: 0 0 30px; font-size: 17px; line-height: 1.45; color: var(--ink2); max-width: 720px; }
.lp-acc { color: var(--acc); }

/* ---------- hero ---------- */
.lp-hero { position: relative; padding: 40px 0 56px; isolation: isolate; overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(900px 600px at 85% 20%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--acc2) 18%, transparent), transparent 60%); }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  animation: lp-grid 20s linear infinite; }
@keyframes lp-grid { to { background-position: 0 34px, 34px 0; } }
.lp-hero-in { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600;
  color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: lp-ping 2s infinite; }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.lp-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 52px; line-height: .95; margin: 0 0 22px; }
.lp-title .w { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(4deg); filter: blur(6px); animation: lp-word .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 85ms + 120ms); }
.lp-title .w.g { background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes lp-word { to { opacity: 1; transform: none; filter: none; } }
.lp-triggers { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.lp-triggers li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.35; opacity: 0; transform: translateX(-10px); animation: lp-in .6s forwards; animation-delay: calc(var(--i) * 140ms + .9s); }
.lp-triggers li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--acc); background: color-mix(in srgb, var(--acc) 16%, transparent); }
@keyframes lp-in { to { opacity: 1; transform: none; } }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; opacity: 0; animation: lp-in .6s 1.5s forwards; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 14px; font-weight: 700; font-size: 17px;
  text-decoration: none; color: #111; background: linear-gradient(135deg, var(--acc), var(--acc2)); position: relative; overflow: hidden; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--acc) 30%, transparent); transition: transform .2s; }
.lp-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: lp-shine 3.2s 2s infinite; }
@keyframes lp-shine { 30%, 100% { transform: translateX(120%); } }
.lp-btn:hover { transform: translateY(-2px); }
.lp-link { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding: 4px 0; }
.lp-link:hover { border-color: var(--acc); }

/* крупное фото с плашками */
.lp-photo { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 13; opacity: 0; transform: translateY(24px) scale(.97); animation: lp-in 1s .35s cubic-bezier(.2,.7,.2,1) forwards; }
.lp-photo-fr { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.lp-photo-fr img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: lp-kb 22s ease-in-out infinite alternate; }
.lp-photo-fr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,16,19,.85)); }
@keyframes lp-kb { to { transform: scale(1.07) translateY(-1%); } }
.lp-photo::before { content: ""; position: absolute; inset: -3px; border-radius: 33px; z-index: -1;
  background: conic-gradient(from var(--lpa, 0deg), transparent 0 60%, var(--acc) 75%, var(--acc2) 88%, transparent 100%); animation: lp-spin 7s linear infinite; }
@property --lpa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes lp-spin { to { --lpa: 360deg; } }
.lp-photo-name { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.lp-photo-name b { display: block; font-size: 20px; } .lp-photo-name span { font-size: 14px; color: var(--ink2); }
.lp-badge { position: absolute; padding: 10px 14px; border-radius: 16px; background: rgba(25,27,32,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.4); line-height: 1.15; opacity: 0; animation: lp-pop .7s cubic-bezier(.2,.9,.3,1.3) forwards, lp-float 5s ease-in-out infinite alternate; }
.lp-badge b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--acc); line-height: 1; }
.lp-badge span { font-size: 12px; color: var(--ink2); }
.lp-badge:nth-of-type(1) { left: -14px; top: 12%; animation-delay: 1.1s, 1.8s; }
.lp-badge:nth-of-type(2) { right: -14px; top: 40%; animation-delay: 1.3s, 1.8s; }
.lp-badge:nth-of-type(3) { left: -6px; top: 66%; animation-delay: 1.5s, 1.8s; }
@keyframes lp-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes lp-float { from { translate: 0 0; } to { translate: 0 -8px; } }

/* ---------- цифры ---------- */
.lp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-stats li { padding: 18px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 90ms); }
.lp-stats.in li { opacity: 1; transform: none; }
.lp-stats li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--acc), var(--acc2)); transition: width 1.4s .3s; }
.lp-stats.in li::after { width: 100%; }
.lp-stats b { display: block; font-family: var(--font-display); font-size: 38px; line-height: 1; color: #fff; }
.lp-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--ink2); }
.lp-stats li.wide { grid-column: 1 / -1; }

/* ---------- проекты ---------- */
.lp-works { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.lp-works li { border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  opacity: 0; transform: translateY(30px) rotate(-1deg); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 100ms); }
.lp-works.in li { opacity: 1; transform: none; }
.lp-works .shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--card2); }
.lp-works img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 6s ease-out; }
.lp-works li:hover img { transform: scale(1.04) translateY(-6%); }
.lp-works .cap { padding: 14px 16px 16px; }
.lp-works b { display: block; font-size: 17px; } .lp-works span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.lp-marq { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.lp-marq div { display: flex; gap: 10px; width: max-content; animation: lp-marq 40s linear infinite; }
.lp-marq span { white-space: nowrap; padding: 9px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--ink2); }
.lp-marq span::before { content: "● "; color: var(--acc); font-size: 10px; vertical-align: 2px; }
@keyframes lp-marq { to { transform: translateX(-50%); } }

/* ---------- отзыв-переписка ---------- */
.lp-review { display: grid; gap: 22px; }
.lp-chat { padding: 16px 14px; border-radius: 24px; background: #17191d; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.lp-chat-top { display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.lp-chat-top i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #111; background: linear-gradient(135deg, #ffd27a, #ff9d5c); }
.lp-chat-top b { display: block; font-size: 15px; } .lp-chat-top small { font-size: 12px; color: var(--ink2); }
.lp-chat .day { align-self: center; font-size: 12px; color: var(--ink2); padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.05); }
.lp-chat .m { max-width: 86%; padding: 9px 12px 7px; border-radius: 16px; font-size: 15px; line-height: 1.38; position: relative;
  opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .4s, transform .5s cubic-bezier(.2,.9,.3,1.3); transition-delay: calc(var(--i) * 450ms); }
.lp-chat.in .m { opacity: 1; transform: none; }
.lp-chat .m small { display: block; text-align: right; font-size: 11px; opacity: .6; margin-top: 2px; }
.lp-chat .m.in { align-self: flex-start; background: #262931; border-bottom-left-radius: 5px; }
.lp-chat .m.out { align-self: flex-end; background: linear-gradient(135deg, #2f6fe0, #3a8bf0); color: #fff; border-bottom-right-radius: 5px; }
.lp-chat .m.big { font-size: 17px; background: #2a2d36; border: 1px solid color-mix(in srgb, var(--acc) 60%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--acc) 20%, transparent); }
.lp-quote { margin: 0; }
.lp-quote p { font-size: 22px; line-height: 1.35; margin: 0 0 14px; }
.lp-quote footer { font-size: 15px; color: var(--ink2); } .lp-quote footer b { color: var(--ink); }

/* ---------- вопросы ---------- */
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.lp-faq details[open] { border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: var(--card2); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 18px 50px 18px 18px; font-weight: 700; font-size: 17px; line-height: 1.3; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 400; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); transition: rotate .3s; }
.lp-faq details[open] summary::after { rotate: 45deg; }
.lp-faq summary small { display: block; font-weight: 400; font-size: 13px; color: var(--ink2); margin-top: 4px; }
.lp-faq details p { margin: 0; padding: 0 18px 18px; font-size: 15px; line-height: 1.5; color: var(--ink2); }

/* ---------- шаги ---------- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.lp-steps li { position: relative; padding: 20px 18px 18px 70px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); counter-increment: s;
  opacity: 0; transform: translateX(-20px); transition: opacity .6s, transform .7s; transition-delay: calc(var(--i) * 160ms); }
.lp-steps.in li { opacity: 1; transform: none; }
.lp-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 24px; color: #111; background: linear-gradient(135deg, var(--acc), var(--acc2)); }
.lp-steps b { display: block; font-size: 18px; } .lp-steps span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.lp-steps a { color: var(--acc); }

/* ---------- форма ---------- */
.lp-deal { display: grid; gap: 28px; }
.lp-me { display: flex; gap: 16px; align-items: center; }
.lp-me img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--acc); flex: none; }
.lp-me b { display: block; font-size: 20px; } .lp-me span { display: block; font-size: 15px; color: var(--ink2); line-height: 1.4; margin-top: 3px; }
.lp-formbox { position: relative; padding: 24px 18px; border-radius: 24px; background: #17191d; isolation: isolate; }
.lp-formbox::before { content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1; background: conic-gradient(from var(--lpa, 0deg), var(--acc), var(--acc2), #6fb8ff, var(--acc)); animation: lp-spin 8s linear infinite; }
.lp-formbox::after { content: ""; position: absolute; inset: 0; border-radius: 24px; z-index: -1; background: #17191d; }
.lp-formbox .sj-form__title { font-family: var(--font-text); text-transform: none; font-size: 24px; line-height: 1.25; font-weight: 800; color: #fff; margin: 0 0 14px; }
.lp-formbox .kit-btn { background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #111; box-shadow: 0 10px 30px color-mix(in srgb, var(--acc) 30%, transparent); }
.lp-formnote { margin: 12px 0 0; color: var(--ink2); font-size: 14px; line-height: 1.45; }
.lp-guar { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; margin-top: 18px; background: color-mix(in srgb, var(--acc) 9%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.lp-guar i { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #111; animation: lp-stamp 4s ease-in-out infinite; }
@keyframes lp-stamp { 0%, 80%, 100% { transform: none; } 85% { transform: scale(1.15) rotate(-8deg); } 90% { transform: scale(.95) rotate(4deg); } }
.lp-guar b { display: block; font-size: 17px; } .lp-guar span { display: block; font-size: 14px; color: var(--ink2); margin-top: 3px; line-height: 1.45; }

/* ---------- широкие экраны ---------- */
@media (min-width: 720px) {
  .lp-h2 { font-size: 58px; }
  .lp-stats b { font-size: 46px; }
  .lp-title { font-size: 74px; }
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
  .lp-stats li.wide { grid-column: auto; }
  .lp-works { grid-template-columns: 1fr 1fr; }
  .lp-faq { grid-template-columns: 1fr 1fr; align-items: start; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-sec { padding: 90px 0; }
}
@media (min-width: 1024px) {
  .lp-hero { padding: 70px 0 90px; min-height: 92vh; display: flex; align-items: center; }
  .lp-hero > .kit-container { width: 100%; }
  .lp-hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 60px; }
  .lp-title { font-size: 92px; }
  .lp-photo { width: 400px; }
  .lp-works { grid-template-columns: repeat(3, 1fr); }
  .lp-review { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; }
  .lp-deal { grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
  .lp-me { flex-direction: column; align-items: flex-start; }
  .lp-me img { width: 150px; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lp-title .w, .lp-triggers li, .lp-ctas, .lp-photo, .lp-badge, .lp-stats li, .lp-works li, .lp-chat .m, .lp-steps li, [data-reveal] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* 14.11: ролики с подложкой-бликом, фото в отзывах */
.vid { position: relative; width: 100%; height: 100%; background: #1b1d22; overflow: hidden; }
.vid img, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vid.wait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); animation: lp-wait 1.4s linear infinite; }
@keyframes lp-wait { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lp-chat-top img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.lp-quote footer { display: flex; gap: 12px; align-items: center; }
.lp-quote .dk-ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--acc); }
/* кнопка ▶, если телефон не дал автозапуск (энергосбережение на iPhone) — lp.js tryPlay, 13.11.2026 */
.vid-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(15,16,19,.72); box-shadow: 0 0 0 2px rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.vid-play::before { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
/* 22.11: ролик проявляется поверх кадра-картинки, только когда пошёл; запасная картинка-ролик — сразу (lp.js) */
.vid video { opacity: 0; transition: opacity .5s; }
.vid.is-live video { opacity: 1; }
.vid.vid-img img:last-child { animation: lp-in .4s both; }
