/* ---------- Шрифты (локально, DSGVO) ---------- */
@font-face { font-family: "Manrope"; src: url("fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair"; src: url("fonts/playfair-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair"; src: url("fonts/playfair-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair"; font-style: italic; src: url("fonts/playfair-italic-cyrillic.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair"; font-style: italic; src: url("fonts/playfair-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

@font-face { font-family: "Lora"; src: url("fonts/lora-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; src: url("fonts/lora-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ---------- Токены ---------- */
:root {
  --bg: #FBF8F4;          /* кремовый фон */
  --paper: #FFFFFF;
  --tint: #F5EDE6;        /* подложка секций */
  --ink: #1F1B18;         /* основной текст */
  --muted: #5B524C;
  --line: #E6DCD3;
  --primary: #9E4F45;     /* пыльная терракота — основной цвет */
  --primary-soft: #F2E1DA;
  --wa: #0F7A40;          /* WhatsApp, затемнён для контраста AA */
  --wa-hover: #0B6534;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31, 27, 24, .04), 0 8px 24px rgba(31, 27, 24, .06);
  --serif: "Playfair", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--sans); overflow-x: hidden; }
body.has-bar { padding-bottom: 150px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 8.5vw, 60px); }
h2 { font-size: clamp(28px, 6.5vw, 44px); }
h3 { font-size: 20px; font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { top: 12px; }
.center { text-align: center; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 44px 0; }
.section--tint { background: var(--tint); }
.section__lead { color: var(--muted); max-width: 640px; margin-bottom: 24px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.note { color: var(--muted); margin: 20px 0 0; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; border-radius: 999px; font: 700 18px/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #3a332e; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--sm { min-height: 52px; padding: 10px 18px; font-size: 16px; }
.btn--lg { min-height: 64px; padding: 18px 34px; font-size: 20px; }
.btn--block { width: 100%; }
.ico { width: 24px; height: 24px; flex: none; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.logo { font: 600 24px/1 var(--serif); text-decoration: none; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.logo { display: inline-flex; flex-direction: column; gap: 3px; }
.logo__name { font: 600 26px/1 var(--serif); letter-spacing: -.01em; }
.logo__by { font: italic 400 15px/1 var(--serif); color: var(--muted); padding-left: 1px; }
/* на узком экране в шапке только «WhatsApp», полный текст остаётся для скринридера */
@media (max-width: 480px) { .header .btn--wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .header .btn--wa::after { content: "WhatsApp"; } }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 44px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero__actions { display: grid; gap: 12px; margin-top: 28px; }
.hero__collage { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 300px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) { .hero__collage { max-width: 420px; } }
.collage__item { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .2s; }
.collage__item:hover .ava { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31, 27, 24, .16); }
.collage__item .ava { transition: transform .2s, box-shadow .2s; }
.collage__item .ava { width: 100% !important; height: auto !important; aspect-ratio: 1; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.collage__name { font-weight: 700; font-size: 16px; background: var(--paper); padding: 4px 14px; border-radius: 999px; box-shadow: var(--shadow); margin-top: -26px; position: relative; }
.collage__item--2, .collage__item--4 { transform: translateY(28px); }

/* ---------- Аватар ---------- */
.ava { position: relative; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--s); flex: none; }
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ava__letter { font: 600 2em/1 var(--serif); color: var(--c); }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step__num { position: absolute; top: 20px; right: 24px; font: 600 44px/1 var(--serif); color: var(--primary-soft); }
.step__ico { width: 48px; height: 48px; color: var(--primary); margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 8px; padding-right: 36px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Карточки помощников ---------- */
.agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.card { min-width: 0; overflow-wrap: break-word; hyphens: auto; position: relative; display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card.is-selected { border-color: var(--c); box-shadow: 0 0 0 2px var(--c), var(--shadow); }
.card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card__head > div { min-width: 0; }
.card__ava { position: relative; flex: none; }
.card__check { position: absolute; right: -4px; bottom: -4px; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; border: 3px solid var(--paper); transform: scale(0); transition: transform .2s; }
.card__check svg { width: 18px; height: 18px; }
.card.is-selected .card__check { transform: scale(1); }
.card__name { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 4px; hyphens: manual; overflow-wrap: normal; }
.card__role { margin: 0; color: var(--c); font-weight: 700; font-size: 16px; line-height: 1.35; }
.card__skills { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.card__skills li { position: relative; padding-left: 22px; }
.card__skills li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 2px var(--c); }
.card__disc { font-size: 15px; color: var(--muted); font-style: italic; margin: -4px 0 16px; }
.card__btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; width: 100%; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 18px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.card__btn:hover { background: var(--s); }
.card__btn .ico { width: 22px; height: 22px; }
.card__btn .ico--check { display: none; }
.card.is-selected .card__btn { background: var(--c); border-color: var(--c); color: #fff; }
.card.is-selected .card__btn .ico--check { display: block; }
.card.is-selected .card__btn .ico--plus { display: none; }

/* ---------- Липкая плашка ---------- */
.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(31, 27, 24, .08); padding: 10px 0 calc(12px + env(safe-area-inset-bottom)); }
.selbar[hidden] { display: none; }
.selbar__inner { display: flex; flex-direction: column; gap: 8px; }
.selbar__text { margin: 0; font-size: 16px; line-height: 1.35; }
.selbar .btn { padding: 12px 16px; font-size: 17px; }
.selbar .btn { width: 100%; }
.toast { position: fixed; left: 16px; right: 16px; bottom: 170px; z-index: 70; margin: 0 auto; max-width: 480px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 16px; font-size: 17px; line-height: 1.4; text-align: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- Демо (телефон) ---------- */
.demo { display: grid; gap: 32px; }
.demo__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.demo__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); font: 700 17px/1 var(--sans); color: var(--ink); cursor: pointer; }
.demo__tab[aria-selected="true"] { border-color: var(--c); background: var(--s); }
.demo__tab .ava__letter { font-size: 18px; }
.demo__stage { display: flex; justify-content: center; }
.demo__panel { width: 100%; max-width: 360px; }
.demo__label { display: table; margin: 0 auto 14px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; }
/* Экран в стиле приложения Claude (без логотипа) */
.phone { --cl-bg: #FAF9F5; --cl-ink: #1F1E1D; --cl-muted: #73726C; --cl-user: #EFEBE1; --cl-line: #E8E4DA; --cl-accent: #C2613F;
  position: relative; display: flex; flex-direction: column; background: var(--cl-bg); color: var(--cl-ink); border: 10px solid var(--ink); border-radius: 44px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(31, 27, 24, .35); height: min(660px, 80vh); min-height: 540px; }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: var(--ink); border-radius: 999px; z-index: 2; }
.cl-top { display: flex; align-items: center; gap: 8px; padding: 44px 14px 10px; border-bottom: 1px solid var(--cl-line); }
.cl-top__ico { width: 22px; height: 22px; color: var(--cl-ink); flex: none; }
.cl-top__title { flex: 1; min-width: 0; text-align: center; line-height: 1.25; }
.cl-top__title small { display: block; font-size: 12px; color: var(--cl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-top__title b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__chat { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #D6D1C4 transparent; display: flex; flex-direction: column; gap: 18px; padding: 18px 16px 12px; }
.cl-top, .cl-input { flex: none; }
.phone__video { width: 100%; display: block; background: #000; }
.cl-me { align-self: flex-end; max-width: 82%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cl-attach { width: 128px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid var(--cl-line); }
.cl-bubble { margin: 0; background: var(--cl-user); padding: 9px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.cl-reply p { margin: 0; font: 400 16px/1.55 "Lora", Georgia, serif; }
.cl-reply b { font-weight: 600; }
.cl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.cl-gallery figure { margin: 0; }
.cl-gallery img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--cl-line); }
.cl-gallery figcaption { font-size: 12px; line-height: 1.3; color: var(--cl-muted); margin-top: 4px; text-align: center; }
.cl-actions { display: flex; gap: 14px; margin-top: 10px; color: var(--cl-muted); }
.cl-actions svg { width: 16px; height: 16px; }
.cl-input { margin: 4px 10px 12px; background: #fff; border: 1px solid var(--cl-line); border-radius: 22px; padding: 12px 12px 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.cl-input__ph { display: block; font-size: 15px; color: var(--cl-muted); padding: 0 4px 10px; }
.cl-input__row { display: flex; align-items: center; gap: 8px; }
.cl-input__sp { flex: 1; }
.cl-input__btn { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--cl-line); color: var(--cl-ink); }
.cl-input__btn svg, .cl-input__send svg { width: 18px; height: 18px; }
.cl-input__send { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--cl-accent); color: #fff; }
/* ---------- Цена ---------- */
.price { max-width: 520px; margin: 24px auto 0; }
.price__card { background: var(--paper); border-radius: var(--radius-lg); padding: 36px 28px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.price__amount { font: 600 64px/1 var(--serif); margin: 0 0 6px; }
.price__caption { color: var(--muted); margin-bottom: 24px; }
.price__inc { font-weight: 700; text-align: left; margin-bottom: 10px; }
.price__list { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; display: grid; gap: 12px; }
.price__list li { display: flex; gap: 10px; }
.price__list .ico { color: var(--primary); margin-top: 3px; }
.price__small { font-size: 15px; color: var(--muted); margin: 20px 0 0; line-height: 1.5; }
.price__group { text-align: center; margin: 24px 0 0; font-weight: 600; }

/* ---------- Города ---------- */
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.chips li.chip--main { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; min-height: 52px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 30px/1 var(--sans); color: var(--primary); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

/* ---------- Финал и футер ---------- */
.final h2 { margin-bottom: 24px; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 16px; color: var(--muted); }
.footer__inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer nav { display: flex; gap: 10px; }
.footer a { display: inline-block; padding: 12px 4px; }
.footer p { margin: 0; }

/* ---------- Планшет ---------- */
@media (min-width: 640px) {
  .hero__actions { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .hero__actions .btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
  .agents { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .selbar__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .selbar .btn { width: auto; }
  .toast { bottom: 110px; }
  body.has-bar { padding-bottom: 100px; }
}

/* ---------- Десктоп ---------- */
@media (min-width: 960px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .demo { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .demo__stage { justify-content: flex-start; }
}

/* ---------- Правовые страницы ---------- */
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal mark { background: var(--primary-soft); padding: 2px 6px; border-radius: 6px; }


/* ---------- Агент в браузере ---------- */
.browser { background: var(--ink); color: #F5F0EA; }
.browser .eyebrow { color: #E8B9A6; }
.browser .section__lead { color: #D9D1C8; }
.browser h2 sup, .browser__list sup { font-size: .55em; color: #E8B9A6; }
.browser__inner { display: grid; gap: 40px; align-items: center; }
.browser__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.browser__list li { display: flex; gap: 12px; }
.browser__list .ico { color: #E8B9A6; margin-top: 3px; }
.browser__price { display: inline-block; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 16px; margin-bottom: 20px; }
.browser .btn--dark { background: #F5F0EA; color: var(--ink); display: flex; width: 100%; }
.browser .btn--dark:hover { background: #fff; }
.browser__foot { font-size: 13px; line-height: 1.5; color: #BFB6AC; margin: 20px 0 0; max-width: 520px; }
/* нарисованное окно браузера */
.bwin { background: #FAF9F5; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.bwin__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ECE8DF; }
.bwin__bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFC8BB; }
.bwin__bar span { flex: 1; margin-left: 8px; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 13px; color: #73726C; }
.bwin__body { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 300px; }
.bwin__page { padding: 18px 14px; display: flex; flex-direction: column; gap: 9px; border-right: 1px solid #E8E4DA; }
.bwin__page b, .bwin__page i { display: block; height: 10px; border-radius: 5px; background: #E6E1D6; }
.bwin__page b { width: 60%; height: 14px; background: #D8D1C3; margin-top: 8px; }
.bwin__page i.s { width: 70%; }
.bwin__agent { padding: 14px; }
.bwin__head { font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.bwin__agent ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bwin__agent li { font-size: 14px; line-height: 1.35; padding: 8px 10px 8px 30px; background: #fff; border: 1px solid #E8E4DA; border-radius: 10px; position: relative; opacity: 0; animation: bstep 12s calc(var(--d) * 1.6s) infinite; }
.bwin__agent li::before { content: "✓"; position: absolute; left: 10px; top: 8px; color: #3B7550; font-weight: 700; }
.bwin__agent li:last-child { background: #FBEDE6; border-color: #E8B9A6; }
.bwin__agent li:last-child::before { content: "?"; color: #C2613F; }
@keyframes bstep { 0% { opacity: 0; transform: translateY(6px); } 4%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bwin__agent li { opacity: 1; animation: none; } }
/* кнопка «Посмотреть примеры» — поверх окна и в тексте */
.browser__media { position: relative; }
.bwin__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 17px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.bwin__play:hover { background: #3a332e; }
.bwin__play svg { width: 18px; height: 18px; }
.browser__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { background: transparent; color: #F5F0EA; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: #F5F0EA; }
.btn--ghost svg { width: 18px; height: 18px; }
@media (max-width: 639px) { .browser__btns .btn { width: 100%; } }
/* всплывающее окно с видео */
.vmodal { width: min(1180px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 20px; background: var(--ink); color: #F5F0EA; overflow: auto; }
.vmodal::backdrop { background: rgba(20, 17, 15, .75); }
.vmodal__inner { padding: 20px; }
.vmodal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.vmodal__title { font: 600 clamp(22px, 4.5vw, 30px)/1.2 var(--serif); margin: 0; }
.vmodal__close { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #F5F0EA; font: 400 28px/1 var(--sans); cursor: pointer; }
.vmodal__close:hover { border-color: #F5F0EA; }
.vplayer { background: #ECE8DF; border-radius: 12px; overflow: hidden; }
.vplayer video { width: 100%; height: auto; aspect-ratio: 1280 / 764; display: block; background: #FAF9F5; }
.browser__vnote { font-size: 15px; color: #BFB6AC; margin: 14px 0 0; }
@media (min-width: 640px) { .browser .btn--dark { display: inline-flex; width: auto; } }
@media (min-width: 960px) { .browser__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
/* ---------- Что понадобится ---------- */
.need { margin-top: 24px; background: var(--primary-soft); border-radius: var(--radius); padding: 22px 24px; }
.need__title { font-weight: 700; margin: 0 0 10px; }
.need ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* ---------- Карточка «свой помощник» ---------- */
.card--custom { border: 2px dashed #CDBFB3; background: transparent; justify-content: center; text-align: center; align-items: center; gap: 4px; }
.card--custom::before { display: none; }
.card__plus { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.card__plus svg { width: 32px; height: 32px; }
.card__custom-text { color: var(--muted); margin: 0 0 20px; }
.card--custom .btn { margin-top: auto; }
@media (min-width: 640px) and (max-width: 1023px) { .card--custom { grid-column: 1 / -1; } }
@media (min-width: 640px) { .card__ava .ava { width: 72px !important; height: 72px !important; } .card__head { gap: 12px; } }
@media (min-width: 1024px) { .agents { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .vtabs { display: grid; grid-template-columns: 1fr 1fr; } .vtab { padding: 8px 10px; font-size: 15px; } }
/* вкладки внутри окна с видео */
.vtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vtab { min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #F5F0EA; font: 700 16px/1.2 var(--sans); cursor: pointer; }
.vtab:hover { border-color: rgba(255, 255, 255, .5); }
.vtab[aria-selected="true"] { background: #F5F0EA; color: var(--ink); border-color: #F5F0EA; }
.vpanel__task { color: #D9D1C8; margin: 0 0 14px; }
.vpanel__task b { color: #E8B9A6; }
@media (max-width: 639px) { .vtabs { display: grid; grid-template-columns: 1fr 1fr; } .vtab { padding: 8px 10px; font-size: 15px; } .vmodal__inner { padding: 16px; } }
.vplayer video { max-height: calc(100vh - 230px); object-fit: contain; }
/* наклейка-ценник «+29 €» на углу окна */
.psticker { position: absolute; z-index: 2; left: -14px; top: -34px; width: 128px; height: 128px; margin: 0; border-radius: 50%; background: #E8B9A6; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; transform: rotate(-12deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.psticker::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(31, 27, 24, .35); border-radius: 50%; }
.psticker__amount { font: 700 34px/1 var(--serif); letter-spacing: -.02em; }
.psticker__note { font-size: 12px; font-weight: 700; line-height: 1.2; max-width: 84px; }
@media (max-width: 639px) { .browser__media { margin-top: 40px; } .psticker { width: 112px; height: 112px; left: -6px; top: -42px; } .psticker__amount { font-size: 30px; } }
.btn--light { background: #F5F0EA; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--light svg { width: 18px; height: 18px; }
