/* Лендинг «Новогодние фотосессии», ng.davidvika.ru */
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('fonts/onest-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fbf9f6;
  --bg2: #f2eee8;
  --ink: #1b1a18;
  --ink2: #6b655d;
  --line: #ddd6cc;
  --night: #191512;
  --night2: #120f0d;
  --gold: #f2c14e;
  --gold-h: #f5cd6b;
  --cream: #f7efe2;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 140px);
  --font: 'Onest', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.i { width: 20px; height: 20px; flex: none; }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 34px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-h); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--lg { height: 60px; padding: 0 40px; }
.btn--sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Шапка ── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }
.hdr.is-solid { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid .hdr__in { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 19px; letter-spacing: .01em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.logo__i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.logo__i svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 30px; }
.nav a, .hdr__tel { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .92; }
.nav a:hover, .hdr__tel:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; }
.hdr__tel .i { width: 18px; height: 18px; }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 640px) {
  .hdr__in { height: 60px; gap: 10px; }
  .hdr.is-solid .hdr__in { height: 56px; }
  .logo { font-size: 16px; gap: 9px; }
  .logo__i { width: 32px; height: 32px; }
  .logo__i svg { width: 19px; height: 19px; }
  .hdr__tel span { display: none; }
  .hdr__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid currentColor; border-radius: 999px; opacity: .9; }
  .hdr .btn--gold { display: none; }
}

/* ── Обложка ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: end center; color: #fff; overflow: hidden; background: var(--night); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(18,14,11,.55) 0, rgba(18,14,11,.28) 18%, rgba(18,14,11,.3) 38%, rgba(18,14,11,.74) 62%, rgba(18,14,11,.92) 100%); }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__in { position: relative; z-index: 2; pointer-events: none; text-align: center; padding: 110px var(--gutter) max(96px, 11vh); max-width: 1360px; display: flex; flex-direction: column; align-items: center; }
.hero__t { font-weight: 600; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.hero__sub { margin-top: 16px; max-width: 780px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.5; opacity: .95; text-wrap: balance; }
.hero__sub + .btn { margin-top: 30px; }
.hero__wa { margin-top: 18px; font-size: 15px; opacity: .85; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero__wa:hover { opacity: 1; }
.hero__down { position: absolute; z-index: 2; bottom: 22px; left: 50%; width: 44px; height: 30px; margin-left: -22px; color: #fff; opacity: .8; display: grid; place-items: center; }
.hero__down svg { width: 40px; height: 16px; }
@media (max-width: 640px) {
  .hero { min-height: 0; display: block; }
  .hero__img { position: relative; height: 44svh; min-height: 240px; object-position: 46% 30%; }
  .hero::after { bottom: auto; height: calc(max(44svh, 240px) + 1px); background: linear-gradient(rgba(18,14,11,.55) 0, rgba(18,14,11,.2) 26%, rgba(18,14,11,.25) 62%, var(--night) 100%); }
  .hero__in { padding: 4px 20px 40px; margin-top: -36px; }
  .hero__down { display: none; }
  .hero__t { font-size: min(36px, 9vw); }
  .hero__sub { margin-top: 16px; font-size: 16px; }
  .hero__sub + .btn { margin-top: 26px; }
  .hero__in .btn--lg { width: 100%; max-width: 340px; }
}

/* ── Секции ── */
.sec { padding: var(--sec) 0; background: var(--bg); }
.sec--alt { background: var(--bg2); }
.sec__head { margin-bottom: clamp(40px, 5vw, 64px); }
.h2 { font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
.sec--works { padding-top: clamp(72px, 9vw, 120px); }

/* ── Мозаика ── */
.mosaic { max-width: 1600px; margin: 0 auto; padding: 0 clamp(16px, 1.7vw, 24px); display: grid; gap: 10px; }
.mrow { display: grid; gap: 10px; min-height: 0; }
.mrow--WL { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.mrow--WR { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.mrow--WL, .mrow--WR { aspect-ratio: 12 / 5; grid-template-rows: minmax(0, 1fr); }
.mrow--F { aspect-ratio: 16 / 8; grid-template-rows: minmax(0, 1fr); }
.mrow--T { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mrow--T .g { aspect-ratio: 3 / 2; }
.mrow--J { grid-template-columns: var(--c); }
.g { position: relative; overflow: hidden; background: #e8e2d9; cursor: zoom-in; min-height: 0; }
.g img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mrow--WL .g img, .mrow--WR .g img, .mrow--F .g img, .mrow--T .g img { position: absolute; inset: 0; }
.g:hover img { transform: scale(1.025); }
.g:focus-visible { outline-offset: -4px; }
.mrow.is-more { display: none; }
.more-wrap { margin-top: 48px; padding: 0 var(--gutter); }
@media (max-width: 640px) {
  .mosaic { padding: 0 6px; gap: 6px; }
  .mrow, .mrow--WL, .mrow--WR, .mrow--T, .mrow--F, .mrow--J { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 6px; aspect-ratio: auto; }
  .mrow .g, .mrow--T .g { grid-column: span 2; aspect-ratio: auto; }
  .mrow--F .g { aspect-ratio: 3 / 2; }
  .mrow .g img, .mrow--WL .g img, .mrow--WR .g img, .mrow--T .g img { position: static; height: auto; }
  .mrow--F .g img { position: absolute; height: 100%; }
  .mrow .g.half { grid-column: span 1; aspect-ratio: 4 / 5; }
  .mrow .g.half img { position: absolute; inset: 0; height: 100%; }
  .more-wrap { margin-top: 32px; }
}

/* ── Тёмные «окна» с боке ── */
.night { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #241d18 0%, var(--night) 45%, var(--night2) 100%); padding: clamp(96px, 12vw, 168px) 0; }
.bokeh { position: absolute; inset: 0; pointer-events: none; }
.bokeh i {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,196,1) 0%, rgba(250,214,150,.9) 38%, rgba(246,205,130,.35) 58%, rgba(246,205,130,0) 70%);
  filter: blur(calc(var(--b) * .55)); opacity: min(.6, calc(var(--o) * 1.45));
  animation: breathe var(--d) ease-in-out infinite alternate;
}
.bokeh i.m { background: radial-gradient(circle, rgba(214,222,206,.95) 0%, rgba(176,192,172,.5) 45%, rgba(160,176,160,0) 70%); }
@keyframes breathe { from { transform: scale(.94); } to { transform: scale(1.05); opacity: calc(var(--o) * 1.05); } }
@media (max-width: 640px) { .bokeh i { width: calc(var(--s) * .7); height: calc(var(--s) * .7); } }
.night__in { position: relative; z-index: 1; }
.night__t { font-weight: 600; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.night__p { margin: 20px auto 40px; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: rgba(255,255,255,.82); text-wrap: balance; }

/* ── Обо мне ── */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__big { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__txt .h2 { margin-bottom: 26px; }
.about__lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; margin-bottom: 18px; }
.about__txt p + p { margin-top: 14px; }
.about__txt p:not(.about__lead) { color: #3d3934; font-weight: 300; }
.facts { list-style: none; padding: 26px 0 0; margin-top: 30px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.facts li { position: relative; padding-left: 24px; line-height: 1.5; }
.facts li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin: 0 auto; }
}

/* ── Как проходит ── */
.steps { list-style: none; padding: 0; margin: clamp(48px, 5vw, 72px) auto 0; max-width: 760px; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 30px; padding-bottom: 52px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 31.5px; top: 72px; bottom: 8px; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step__n { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 24px; }
.step h3 { font-weight: 600; font-size: 26px; line-height: 1.25; margin: 12px 0 10px; }
.step p { color: #57524b; font-weight: 300; font-size: 18px; line-height: 1.6; }
@media (max-width: 640px) {
  .step { grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 40px; }
  .step::before { left: 25.5px; top: 60px; }
  .step__n { width: 52px; height: 52px; font-size: 20px; }
  .step h3 { font-size: 21px; margin-top: 10px; }
  .step p { font-size: 16px; }
}

/* ── Отзывы ── */
.revs { margin-top: clamp(44px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.rev { display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 26px; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(27,26,24,.05), 0 8px 24px -12px rgba(27,26,24,.12); }
.rev p { font-size: 16px; line-height: 1.6; font-weight: 400; color: #2b2925; }
.rev__who { display: flex; align-items: center; gap: 12px; }
.rev__who img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.rev__meta { display: grid; gap: 4px; min-width: 0; }
.rev__who cite { font-style: normal; font-weight: 600; font-size: 16px; line-height: 1.2; }
.rev__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink2); }
.rev__stars { color: #f2a93b; font-size: 15px; letter-spacing: 1px; line-height: 1; }
@media (max-width: 980px) { .revs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .revs { display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 36px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 20px; scrollbar-width: none; }
  .revs::-webkit-scrollbar { display: none; }
  .rev { flex: 0 0 84%; scroll-snap-align: start; padding: 22px 20px; }
}

/* ── Цены ── */
.tariff { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); max-width: 1080px; margin: 0 auto; align-items: center; }
.plan { position: relative; display: flex; flex-direction: column; text-align: center; padding: 48px 40px 34px; background: #fff; border: 1px solid var(--ink); }
.plan__t { font-weight: 600; font-size: 26px; }
.plan__d { margin-top: 8px; color: var(--ink2); font-size: 16px; font-weight: 300; line-height: 1.5; }
.plan__p { margin: 24px 0 0; font-size: 52px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.plan__star { font-size: .5em; vertical-align: super; margin-left: 2px; color: var(--ink2); }
.plan__only { margin: 8px 0 26px; font-size: 15px; color: var(--ink2); }
.plan__l { list-style: none; padding: 0; margin: 0 0 30px; font-size: 16px; font-weight: 300; }
.plan__l li { padding: 12px 0; border-top: 1px solid var(--line); }
.plan__l li:last-child { border-bottom: 1px solid var(--line); }
.plan__b { align-self: center; min-width: 220px; }
.plan__note { margin-top: 24px; padding: 14px 16px; background: var(--bg2); font-size: 14px; line-height: 1.5; color: #4a453f; text-align: left; }
.extras__t { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.extras__l { list-style: none; padding: 0; margin: 0; }
.extras__l li { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; font-size: 18px; }
.extras__l i { flex: 1; min-width: 24px; border-bottom: 1px dotted #a39a8e; transform: translateY(-4px); }
.extras__l b { font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) {
  .tariff { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .plan { padding: 40px 20px 24px; }
  .plan__p { font-size: 44px; }
  .plan__b { width: 100%; min-width: 0; }
  .extras__l li { font-size: 16px; }
}
}

/* ── Вопросы ── */
.faq { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); position: relative; }
.q summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 1.4; position: relative; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after, .q summary::before { content: ''; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.q summary::before { transform: rotate(90deg); }
.q[open] summary::before { transform: rotate(0); }
.q::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--gold); transition: width .35s; }
.q[open]::before { width: 64px; }
.q__a p { padding: 0 48px 28px 0; color: #4a453f; font-weight: 300; line-height: 1.65; }

/* ── Заявка ── */
.night--form { padding-bottom: clamp(72px, 9vw, 120px); }
.form-wrap { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.night--form .night__p { margin-bottom: 44px; }
.form { position: relative; max-width: 560px; margin: 0 auto; }
.form__f { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: grid; gap: 8px; }
.fld > span, .chips-f legend { font-size: 14px; color: rgba(255,255,255,.72); font-weight: 400; }
.fld i { color: var(--gold); font-style: normal; }
.fld input, .fld textarea {
  width: 100%; min-height: 56px; padding: 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: #fff;
  transition: border-color .2s, background-color .2s;
}
.fld textarea { resize: vertical; min-height: 96px; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255,255,255,.42); }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.fld input[aria-invalid='true'] { border-color: #e9b49a; }
.chips-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-f legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: rgba(255,255,255,.6); }
.chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.addc { justify-self: start; background: none; border: 0; padding: 4px 0; color: rgba(255,255,255,.8); font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.addc:hover { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__btn { width: 100%; margin-top: 8px; }
.form__err { color: #f3c4ad; font-size: 15px; }
.form__promise { text-align: center; font-size: 15px; color: rgba(255,255,255,.82); }
.form__pp { text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.form__pp a { color: inherit; }
.form.is-sent .form__f { display: none; }
.ok { padding: 32px 28px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; text-align: center; }
.ok b { display: block; font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.ok p { color: rgba(255,255,255,.82); }
.contacts { list-style: none; padding: 0; margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 32px; font-size: 16px; }
.contacts a { text-decoration: none; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.contacts a:hover { color: #fff; border-color: var(--gold); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* ── Подвал ── */
.ftr { background: var(--night2); color: rgba(255,255,255,.62); text-align: center; padding: 36px var(--gutter) 40px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); display: grid; gap: 6px; }
.ftr a { color: inherit; text-underline-offset: 3px; }
.ftr a:hover { color: #fff; }
@media (max-width: 640px) { .ftr { padding-bottom: 150px; } }

/* ── Панель на телефоне ── */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; align-items: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(25,21,18,.97);
    transform: translateY(110%); transition: transform .3s;
  }
  .mbar.is-on { transform: none; }
  .mbar__ask { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
  .mbar__ava { position: relative; flex: none; width: 40px; height: 40px; }
  .mbar__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
  .mbar__ava i { position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #3ccf74; border: 2px solid var(--night); }
  .mbar__t { display: grid; line-height: 1.2; min-width: 0; }
  .mbar__t b { font-size: 14px; font-weight: 600; white-space: nowrap; }
  .mbar__t small { font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; }
  .mbar__cta { height: 50px; padding: 0 12px; }
}

/* ── Виджет «Задать вопрос» ── */
.chat__fab { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: none; align-items: center; gap: 14px; }
@media (min-width: 641px) { .chat__fab { display: flex; } }
.chat__toggle { position: relative; width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 2px solid var(--gold); background: var(--night); cursor: pointer; box-shadow: 0 10px 30px rgba(25,21,18,.35); transition: transform .25s; }
.chat__toggle:hover { transform: scale(1.06); }
.chat__toggle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
.chat__bubble { position: relative; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--night); color: #fff; font: 600 14px/1 var(--font); white-space: nowrap; cursor: pointer; box-shadow: 0 10px 26px rgba(25,21,18,.3); transition: opacity .2s; }
.chat.is-open .chat__bubble { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat__ring { animation: chat-ring 2.8s ease-out infinite; }
  .chat.is-open .chat__ring { animation: none; }
  .chat__bubble { animation: chat-in .6s ease 2.5s both; }
}
@keyframes chat-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes chat-in { from { opacity: 0; transform: translateX(10px); } }

.chat__card { position: fixed; z-index: 70; right: 24px; bottom: 104px; width: 340px; padding: 22px; border-radius: 20px; background: var(--night); color: #fff; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.chat__card[hidden], .chat__bg[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .chat__card:not([hidden]) { animation: chat-pop .25s ease; } }
@keyframes chat-pop { from { opacity: 0; transform: translateY(12px); } }
.chat__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); color: rgba(255,255,255,.75); cursor: pointer; }
.chat__x:hover { background: rgba(255,255,255,.14); color: #fff; }
.chat__x svg { width: 20px; height: 20px; }
.chat__head { display: flex; align-items: center; gap: 14px; padding-right: 40px; }
.chat__ava { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.chat__name { font-size: 18px; font-weight: 600; line-height: 1.2; }
.chat__on { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.65); }
.chat__on i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf74; box-shadow: 0 0 0 3px rgba(60,207,116,.2); }
.chat__text { margin: 16px 0 18px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.78); }
.chat__btns { display: grid; gap: 10px; }
.chat__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, border-color .2s; }
.chat__btn:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.chat__btn .i { width: 22px; height: 22px; }
.chat__btn--main { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chat__btn--main:hover { background: var(--gold-h); border-color: var(--gold-h); }
@media (max-width: 640px) {
  .chat__bg { position: fixed; inset: 0; z-index: 69; background: rgba(10,8,6,.6); }
  .chat__card { left: 0; right: 0; bottom: 0; width: auto; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border-bottom: 0; }
  .chat__card::before { content: ''; display: block; width: 40px; height: 4px; margin: -10px auto 14px; border-radius: 4px; background: rgba(255,255,255,.2); }
  .chat__x { top: 16px; }
  .chat__btns { grid-template-columns: 1fr 1fr; }
  .chat__btn { min-height: 54px; padding-inline: 8px; font-size: 15px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) { .chat__card:not([hidden]) { animation: chat-up .3s ease; } }
@keyframes chat-up { from { transform: translateY(100%); } }
.is-draft .chat { display: none; }

/* ── Просмотр фото ── */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,11,9,.96); color: #fff; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(14,11,9,.96); }
.lb img { max-width: calc(100vw - 160px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lb__n { position: absolute; top: 24px; left: 28px; font-size: 14px; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; opacity: .8; transition: opacity .2s, background-color .2s; }
.lb button:hover { opacity: 1; background: rgba(255,255,255,.08); }
.lb button svg { width: 26px; height: 26px; }
.lb__x { top: 10px; right: 14px; }
.lb__prev { left: 16px; top: 50%; margin-top: -28px; }
.lb__next { right: 16px; top: 50%; margin-top: -28px; }
@media (max-width: 640px) {
  .lb img { max-width: 100vw; max-height: calc(100dvh - 140px); }
  .lb__prev, .lb__next { top: auto; bottom: 18px; margin: 0; }
  .lb__prev { left: calc(50% - 72px); }
  .lb__next { right: calc(50% - 72px); }
  .lb__n { top: 26px; left: 20px; }
}
html.is-locked, html.is-locked body { overflow: hidden; }

/* ── Появление при прокрутке ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.is-in { opacity: 1; transform: none; }
.hero__in > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero__in > :nth-child(2) { animation-delay: .1s; }
.hero__in > :nth-child(3) { animation-delay: .18s; }
.hero__in > :nth-child(4) { animation-delay: .26s; }
.hero__in > :nth-child(5) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.is-draft *, .is-draft *::before, .is-draft *::after { animation: none !important; }
.is-draft .mrow.is-more { display: grid; }

/* ── Текст для поиска (внизу, перед подвалом) ── */
.seo { background: var(--bg2); padding: clamp(48px, 6vw, 80px) 0; }
.seo__t { font-size: clamp(20px, 2vw, 24px); font-weight: 600; margin-bottom: 20px; }
.seo__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.seo__cols p { font-size: 15px; line-height: 1.7; font-weight: 300; color: #57524b; }
@media (max-width: 900px) { .seo__cols { grid-template-columns: 1fr; gap: 14px; } }
.hero__in > * { pointer-events: auto; }
