/* Kids Point, Ставрополь. Белый холст, как стены их студии; цвет живёт в плитках-«баночках гуаши» и брызгах.
   Unbounded для заголовков и цифр, Onest для текста. Движение только transform и opacity. */

:root {
  --canvas: #FFFFFF;
  --paper: #F4F2FA;
  --ink: #1D1442;
  --ink-2: #4A4270;
  --pink: #FF2E8B;
  --blue: #2F4BFF;
  --sun: #FFD21C;
  --leaf: #10C46C;
  --orange: #FF6A1A;
  --uv: #5B2BEA;
  --lime: #D6FF3D;
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 18px;
  --gut: 12px;
  --f-disp: "Unbounded", system-ui, sans-serif;
  --f-text: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 16px/1.5 var(--f-text); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
html.lock, html.lock body { overflow: hidden; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
.sp { position: absolute; pointer-events: none; overflow: visible; }
.d-only { display: none; }

/* типографика */
.h1 { font: 800 clamp(21px, 6.5vw, 68px)/1.02 var(--f-disp); letter-spacing: -.035em; }
.h2 { font: 800 clamp(28px, 7.4vw, 56px)/1.02 var(--f-disp); letter-spacing: -.035em; }
.h3 { font: 700 20px/1.12 var(--f-disp); letter-spacing: -.02em; }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--f-text); white-space: nowrap;
  transition: transform .25s var(--pop);
}
.btn:active { transform: scale(.96); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-ic { width: 56px; padding: 0; }
.btn-ic .ic { width: 26px; height: 26px; }
.btn[disabled] { opacity: .35; cursor: default; }

.tile { position: relative; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; }

/* ПЕРВЫЙ ЭКРАН ======================================== */
.hero {
  position: relative; min-height: 100svh;
  padding: 12px var(--gut) 92px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
}
.hero-row { display: flex; align-items: center; gap: 10px; position: relative; z-index: 3; }
.logo { width: 54px; height: 54px; border-radius: 18px; background: #fff; overflow: hidden; flex: none; box-shadow: 0 0 0 1.5px var(--paper) inset; }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
a.logo-txt { width: auto; height: 46px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border-radius: 16px; box-shadow: none; overflow: visible; font: 800 19px/1 var(--f-disp); letter-spacing: -.03em; white-space: nowrap; flex: none; }
.foot a.logo-txt { height: 54px; font-size: 22px; }
.hero-city { font-size: 12.5px; line-height: 1.3; color: var(--ink-2); font-weight: 500; min-width: 0; }
.rate-chip {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--sun); flex: none;
  font: 600 13px/1 var(--f-text);
}
.rate-chip b { font: 800 15px/1 var(--f-disp); }
.rate-chip span { display: none; }
.rate-chip .ic { width: 16px; height: 16px; }

.hero-photo { position: relative; border-radius: var(--r-xl); overflow: visible; min-height: 240px; z-index: 1; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-xl); }
.hero-text { position: relative; z-index: 2; order: 3; display: grid; gap: 14px; }

.h1 { display: grid; justify-items: start; gap: 4px; }
.band { display: inline-block; padding: .14em .32em .18em; border-radius: 14px; white-space: nowrap; }
.band > span { display: inline-block; }
.b-sun { background: var(--sun); transform: rotate(-2deg); }
.b-blue { background: var(--blue); color: #fff; transform: rotate(1.2deg); margin-left: .25em; }
.b-pink { background: var(--pink); color: #fff; transform: rotate(-1deg); }
.hero-lead { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 36ch; }
.hero-cta { display: flex; gap: 10px; }
.hero-cta .btn-ink { flex: 1; }
.hero-stats { display: none; }

.stk {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-content: center; text-align: center;
  font: 600 12px/1 var(--f-text); transform: rotate(-12deg);
}
.stk b { display: block; font: 800 26px/1 var(--f-disp); letter-spacing: -.04em; margin-bottom: 2px; }
.sp-h1 { width: 120px; height: 120px; left: -34px; top: -34px; fill: var(--pink); z-index: 2; }
.sp-h2 { width: 90px; height: 90px; right: 64px; bottom: -40px; fill: var(--leaf); z-index: 2; }

/* кляксы от касаний по первому экрану */
.blots { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.blot { position: absolute; width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 0; transform: scale(.2) rotate(var(--r, 0deg)); transition: transform .45s var(--pop), opacity .35s ease; }
.blot.is-in { opacity: .92; transform: scale(1) rotate(var(--r, 0deg)); }
.blot.is-out { opacity: 0; transform: scale(1.08) rotate(var(--r, 0deg)); transition: opacity .9s ease, transform .9s ease; }

/* вход первого экрана: двойной rAF ставит html.is-ready */
.js .band { opacity: 0; transform: translateY(26px) rotate(0deg) scale(.96); transition: transform .8s var(--pop), opacity .4s ease; }
.js .b-blue { transition-delay: .1s; }
.js .b-pink { transition-delay: .2s; }
.is-ready .b-sun { opacity: 1; transform: rotate(-2deg); }
.is-ready .b-blue { opacity: 1; transform: rotate(1.2deg); }
.is-ready .b-pink { opacity: 1; transform: rotate(-1deg); }
.js .hero-photo img { opacity: 0; transform: scale(1.06); transition: transform 1.2s var(--ease), opacity .6s ease; }
.is-ready .hero-photo img { opacity: 1; transform: none; }
.js .hero .sp, .js .stk { opacity: 0; transform: scale(.3) rotate(-30deg); transition: transform .7s var(--pop) .45s, opacity .3s ease .45s; }
.is-ready .hero .sp { opacity: 1; transform: none; }
.is-ready .stk { opacity: 1; transform: rotate(-12deg); }
.js .hero-lead, .js .hero-cta, .js .hero-stats, .js .hero-row { opacity: 0; transform: translateY(14px); transition: transform .7s var(--ease) .3s, opacity .5s ease .3s; }
.is-ready .hero-lead, .is-ready .hero-cta, .is-ready .hero-stats, .is-ready .hero-row { opacity: 1; transform: none; }
.js .hero-row { transition-delay: 0s; }

/* бегущая лента */
.ribbon-wrap { overflow: hidden; padding: max(18px, 3vw) 0; }   /* 22.10: наклонную ленту не резать сверху и снизу */
.ribbon { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.4deg); margin: 0 -6vw; }   /* 22.10: шире экрана, чтобы наклонные края не обрывались */
.ribbon-track { display: flex; align-items: center; gap: 22px; width: max-content; animation: run 38s linear infinite; }
.ribbon span { font: 700 17px/1 var(--f-disp); letter-spacing: -.02em; white-space: nowrap; }
.ribbon i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.ribbon i:nth-of-type(5n+1) { background: var(--pink); }
.ribbon i:nth-of-type(5n+2) { background: var(--sun); }
.ribbon i:nth-of-type(5n+3) { background: var(--leaf); }
.ribbon i:nth-of-type(5n+4) { background: var(--orange); }
.ribbon i:nth-of-type(5n) { background: var(--lime); }
@keyframes run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* СЕКЦИИ ============================================== */
.sec { padding: 56px var(--gut) 0; position: relative; }
.sec-head { display: grid; gap: 10px; margin-bottom: 20px; }
.sec-head p, .ex-head p { color: var(--ink-2); max-width: 46ch; font-size: 15.5px; }

/* появление по блоку (доигрывает до конца) */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: transform .8s var(--ease), opacity .6s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* программы */
.pr-grid { display: grid; gap: var(--gut); }
.pr { display: grid; color: var(--ink); }
.pr-paint { background: var(--pink); color: #fff; }
.pr-neon { background: var(--ink); color: #fff; }
.pr-grad { background: var(--blue); color: #fff; }
.pr-photo { background: var(--orange); color: #fff; }
.pr-other { background: var(--sun); }
.pr-ph { position: relative; margin: 8px 8px 0; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; aspect-ratio: 16 / 10; }
.pr-ph img { width: 100%; height: 100%; object-fit: cover; }
.pr-paint .pr-ph { aspect-ratio: 4 / 3; }
.pr-paint .pr-ph img { object-position: 50% 40%; }
.pr-neon .pr-ph img { object-position: 50% 62%; }
.tag { position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 999px; font: 700 13px/1 var(--f-text); }
.tag-sun { background: var(--sun); color: var(--ink); transform: rotate(-4deg); }
.tag-lime { background: var(--lime); color: var(--ink); transform: rotate(-4deg); }
.pr-body { padding: 18px 18px 18px; display: grid; gap: 12px; align-content: start; position: relative; z-index: 1; }
.pr .h3 { font-size: 22px; max-width: 18ch; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 13.5px; font-weight: 500; line-height: 1.15; }
.pr-neon .facts li { background: rgba(214,255,61,.16); color: var(--lime); }
.pr-other .facts li { background: rgba(29,20,66,.09); }
.pr-note { font-size: 14.5px; line-height: 1.45; opacity: .92; max-width: 44ch; }
.price { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-end; padding-top: 2px; }
.price div { display: grid; gap: 3px; }
.price b { font: 800 24px/1 var(--f-disp); letter-spacing: -.03em; }
.price span { font-size: 13px; opacity: .85; }
.pr-other .price b { font-size: 18px; line-height: 1.15; }
.add {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px 0 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px;
  transition: transform .3s var(--pop);
}
.add .ic { width: 20px; height: 20px; transition: transform .35s var(--pop); }
.add:active { transform: scale(.94); }
.add[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pr-neon .add[aria-pressed="true"], .pr-other .add { background: var(--ink); color: #fff; }
.pr-neon .add { background: var(--lime); color: var(--ink); }
.pr-other .add[aria-pressed="true"] { background: #fff; color: var(--ink); }
.sp-t { width: 120px; height: 120px; right: -30px; top: -30px; fill: var(--sun); z-index: 2; }
.sp-o { width: 170px; height: 170px; right: -50px; bottom: -60px; fill: var(--orange); z-index: 0; opacity: .9; }

/* дополнения */
.ex-head { display: grid; gap: 8px; margin: 34px 0 16px; }
.ex-head .h3 { font-size: 24px; }
.ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ex {
  position: relative; text-align: left; border-radius: var(--r-l);
  padding: 14px 14px 14px; min-height: 118px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 4px; align-content: start;
  transition: transform .3s var(--pop), opacity .6s ease;
}
.ex:active { transform: scale(.96); }
.ex > * { min-width: 0; }
.ex b { font: 700 15px/1.15 var(--f-disp); letter-spacing: -.02em; overflow-wrap: anywhere; }
.ex span { font-size: 13px; opacity: .85; line-height: 1.25; overflow-wrap: anywhere; }
.ex em { font: 600 13px/1.2 var(--f-text); font-style: normal; letter-spacing: 0; opacity: .9; margin-top: 8px; padding-right: 40px; align-self: end; overflow-wrap: anywhere; }
.ex-plus { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--pop); }
.ex-plus .ic { width: 18px; height: 18px; }
.ex[aria-pressed="true"] .ex-plus { background: var(--ink); color: #fff; transform: rotate(360deg); }
.ex[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--ink); pointer-events: none; }
.c-pink { background: var(--pink); color: #fff; }
.c-sun { background: var(--sun); }
.c-blue { background: var(--blue); color: #fff; }
.c-uv { background: var(--uv); color: #fff; }
.c-orange { background: var(--orange); color: #fff; }
.c-leaf { background: var(--leaf); color: #fff; }
.c-white { background: var(--paper); }
.c-white .ex-plus { background: #fff; }
.ex[data-ex="animator"] { grid-column: span 2; min-height: 0; }
.ex[data-ex="animator"] em { font: 600 14px/1.2 var(--f-text); }

/* БРОНЬ =============================================== */
.bk-wrap { display: grid; gap: var(--gut); }
.wz { background: var(--paper); padding: 20px 16px 16px; display: grid; gap: 16px; border-radius: var(--r-xl); }
.wz-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.wz-top .h2 { font-size: clamp(26px, 7vw, 44px); }
.wz-count { font: 700 14px/1 var(--f-text); background: var(--ink); color: #fff; padding: 9px 13px; border-radius: 999px; white-space: nowrap; }
.wz-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.wz-bar i { height: 8px; border-radius: 99px; background: rgba(29,20,66,.1); position: relative; overflow: hidden; }
.wz-bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.wz-bar i:nth-child(1)::after { background: var(--pink); }
.wz-bar i:nth-child(2)::after { background: var(--sun); }
.wz-bar i:nth-child(3)::after { background: var(--blue); }
.wz-bar i:nth-child(4)::after { background: var(--leaf); }
.wz-bar i:nth-child(5)::after { background: var(--orange); }
.wz-bar i:nth-child(6)::after { background: var(--uv); }
.wz-bar i.on::after { transform: scaleX(1); }

.wz-stage { position: relative; min-height: 396px; }
.step { display: grid; gap: 14px; align-content: start; }
.step.is-enter { opacity: 0; transform: translateX(28px); }
.step.is-leave { opacity: 0; transform: translateX(-28px); }
.step { transition: transform .45s var(--ease), opacity .3s ease; }
.step-q { font: 800 22px/1.12 var(--f-disp); letter-spacing: -.03em; }
.step-s { font-size: 14.5px; color: var(--ink-2); margin-top: -6px; }

.opts { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  min-height: 62px; padding: 10px 14px 10px 10px; border-radius: var(--r-m); background: #fff;
  transition: transform .3s var(--pop);
}
.opt:active { transform: scale(.98); }
.opt-dot { width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center; color: #fff; }
.opt-dot .ic { width: 20px; height: 20px; opacity: 0; transform: scale(.4); transition: transform .35s var(--pop), opacity .2s; }
.opt b { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.opt small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.opt[aria-pressed="true"] .opt-dot .ic, .opt[aria-checked="true"] .opt-dot .ic { opacity: 1; transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 16px; line-height: 1.2; text-align: left; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14.5px; transition: transform .3s var(--pop); }
.chip:active { transform: scale(.95); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip-p { font-weight: 500; opacity: .6; margin-left: 4px; white-space: nowrap; }
.lbl { font-weight: 700; font-size: 14px; margin-bottom: -4px; }

.stepper { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-m); padding: 10px; justify-content: space-between; }
.stepper button { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); font: 800 26px/1 var(--f-disp); display: grid; place-items: center; transition: transform .3s var(--pop); }
.stepper button:active { transform: scale(.9); }
.stepper button:last-child { background: var(--pink); color: #fff; }
.stepper output { font: 800 40px/1 var(--f-disp); letter-spacing: -.04em; text-align: center; }
.stepper output small { display: block; font: 500 13px/1.2 var(--f-text); color: var(--ink-2); letter-spacing: 0; margin-top: 4px; }
.warn { font-size: 13.5px; background: var(--lime); padding: 9px 12px; border-radius: 12px; justify-self: start; font-weight: 600; }

.dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.date { aspect-ratio: 1 / 1.18; border-radius: 14px; background: #fff; display: grid; place-content: center; text-align: center; transition: transform .3s var(--pop); }
.date:active { transform: scale(.92); }
.date small { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.date b { font: 800 17px/1 var(--f-disp); }
.date.we small { color: var(--pink); }
.date[aria-checked="true"] { background: var(--ink); color: #fff; }
.date[aria-checked="true"] small { color: #fff; }
.month { font-weight: 700; font-size: 14px; }

.field { display: grid; gap: 6px; }
.field span { font-weight: 700; font-size: 14px; }
.field input {
  height: 58px; border-radius: var(--r-m); border: 0; background: #fff; padding: 0 16px;
  font: 600 17px/1 var(--f-text); color: var(--ink); width: 100%; box-shadow: inset 0 0 0 2px transparent;
}
.field input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--blue); }
.note { font-size: 13px; color: var(--ink-2); }

.sum { display: grid; gap: 0; background: #fff; border-radius: var(--r-m); padding: 4px 14px; }
.sum div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed rgba(29,20,66,.14); font-size: 14.5px; line-height: 1.35; }
.sum div:last-child { border-bottom: 0; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 600; }
.sum-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sum-tot b { font: 800 28px/1 var(--f-disp); letter-spacing: -.03em; }
.sum-tot span { font-size: 13px; color: var(--ink-2); }
.btn-wa { width: 100%; height: 62px; background: var(--leaf); color: #fff; font-size: 17px; }
.btn-wa .ic { width: 26px; height: 26px; }

.wz-foot { display: flex; align-items: center; gap: 10px; }
.wz-back { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; transition: opacity .25s, transform .3s var(--pop); }
.wz-back[hidden] { display: grid; opacity: 0; pointer-events: none; }
.wz-est { flex: 1; font-size: 13px; line-height: 1.25; color: var(--ink-2); min-width: 0; }
.wz-est b { display: block; font: 800 18px/1.1 var(--f-disp); color: var(--ink); letter-spacing: -.02em; }
.wz-next { padding: 0 30px; }
.wz.is-last .wz-next, .wz.is-last .wz-est { display: none; }
.wz.is-last .wz-foot { justify-content: flex-start; }

.bk-side { display: none; }

/* ЧТО ВХОДИТ ========================================== */
.in-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.in-main { grid-column: 1 / -1; background: #12AE62; color: #fff; padding: 24px 18px; display: flex; flex-direction: column; }   /* 22.10: сочный, но не кислотный зелёный */
.in-sub { margin: 10px 0 18px; font-size: 16px; font-weight: 600; }
.in-list { display: flex; flex-wrap: wrap; gap: 6px; }
.in-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.2; }   /* 22.10: тёмный текст на белом, читается */
.in-list li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); flex: none; }
.in-list li:nth-child(3n+2)::before { background: var(--pink); }
.in-list li:nth-child(3n)::before { background: var(--blue, #2F4BFF); }
.in-n { padding: 18px 16px; display: grid; align-content: space-between; gap: 18px; min-height: 150px; }
.in-n b { font: 800 30px/1 var(--f-disp); letter-spacing: -.04em; }
.in-n span { font-size: 14px; line-height: 1.3; font-weight: 500; }
.in-pink { background: var(--pink); color: #fff; }
.in-sun { background: var(--sun); }
.in-blue { background: var(--blue); color: #fff; grid-column: 1 / -1; min-height: 0; }
.in-blue { display: flex; align-items: center; gap: 16px; }
.in-ph { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.in-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ФОТО ================================================ */
.ga-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; grid-auto-flow: dense; gap: 8px; }
.ga { border-radius: var(--r-l); overflow: hidden; position: relative; }
.ga img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ga:active img { transform: scale(1.04); }
.g1 { grid-row: span 3; } .g2 { grid-row: span 2; } .g3 { grid-row: span 2; } .g4 { grid-row: span 2; }
.g5 { grid-row: span 2; } .g6 { grid-row: span 3; } .g7 { grid-row: span 2; } .g8 { grid-row: span 2; }

/* ОТЗЫВЫ ============================================== */
.rv-grid { display: grid; gap: 10px; }
.rv-row { display: grid; grid-template-columns: repeat(4, 84%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
.rv-row::-webkit-scrollbar { display: none; }
.rv-row > * { scroll-snap-align: start; }
.rv-score { background: var(--sun); padding: 22px 20px; display: grid; gap: 4px; align-content: end; }
.rv-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.nw { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.rv-stars .ic { width: 22px; height: 22px; }
.rv-n { font: 900 108px/.86 var(--f-disp); letter-spacing: -.06em; padding-bottom: .16em; }   /* 22.10: запятая не налезает на подпись */
.rv-t { font: 800 22px/1.1 var(--f-disp); letter-spacing: -.02em; }
.rv-s { font-size: 14px; font-weight: 500; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.rv-s .ic { width: 18px; height: 18px; }
.sp-r { width: 190px; height: 190px; right: -40px; top: -50px; fill: var(--pink); z-index: -1; }
.q { padding: 22px 20px 20px; display: grid; gap: 16px; align-content: space-between; }
.q p { font: 600 16px/1.42 var(--f-text); }
.q p::before { content: "“"; display: block; font: 900 52px/.6 var(--f-disp); margin: 14px 0 0; }
.q footer { font-size: 14px; font-weight: 600; opacity: .85; }
.q-pink { background: var(--pink); color: #fff; }
.q-blue { background: var(--blue); color: #fff; }
.q-leaf { background: var(--leaf); color: #fff; }
.q-orange { background: var(--orange); color: #fff; }

/* ВОПРОСЫ ============================================= */
.fq-grid { display: grid; gap: 22px; }
.fq-head { display: grid; gap: 12px; justify-items: start; }
.fq-head p { color: var(--ink-2); }
.acc { display: grid; gap: 8px; }
.acc-it { background: var(--paper); border-radius: var(--r-l); position: relative; }
.acc-it:nth-child(1).is-open { background: var(--sun); }
.acc-it:nth-child(2).is-open { background: #FFD6E8; }
.acc-it:nth-child(3).is-open { background: #D9E0FF; }
.acc-it:nth-child(4).is-open { background: #CFF5E1; }
.acc-it:nth-child(5).is-open { background: #FFE0CC; }
.acc-it:nth-child(6).is-open { background: #E4DAFF; }
.acc-it h3 button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left;
  padding: 18px 16px 18px 18px; font: 700 16.5px/1.25 var(--f-disp); letter-spacing: -.02em;
}
.acc-it h3 i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); flex: none; position: relative; transition: transform .4s var(--pop); }
.acc-it h3 i::before, .acc-it h3 i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.6px; margin: -1.3px 0 0 -7px; background: #fff; border-radius: 2px; }
.acc-it h3 i::after { transform: rotate(90deg); }
.acc-it.is-open h3 i { transform: rotate(45deg); }
.acc-a { padding: 0 18px 20px; }
.acc-a p { font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.acc-a.is-fade { opacity: 0; transform: translateY(-6px); }
.acc-a { transition: opacity .35s ease .08s, transform .4s var(--ease) .08s; }
.flip { transition: transform .42s var(--ease) !important; }

/* АДРЕС =============================================== */
.visit { padding-bottom: 12px; }
.vi-grid { display: grid; gap: var(--gut); }
.vi-addr { background: var(--blue); color: #fff; display: grid; grid-template-rows: auto 1fr; }
.vi-addr img { width: calc(100% - 16px); height: 280px; margin: 8px 8px 0; object-fit: cover; object-position: 50% 30%; border-radius: calc(var(--r-xl) - 8px); }
.vi-addr-in { padding: 22px 18px; display: grid; gap: 10px; justify-items: start; }
.vi-addr .h2 { font-size: clamp(28px, 8vw, 48px); }
.vi-talk { background: var(--paper); padding: 20px 14px 14px; display: grid; gap: 8px; align-content: start; }
.vi-talk .h3 { padding: 0 4px 6px; font-size: 22px; }
.row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-m); padding: 10px 14px 10px 10px; font-weight: 700; transition: transform .3s var(--pop); }
.row:active { transform: scale(.98); }
.row small { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.row-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.row-ic .ic { width: 22px; height: 22px; }
.r-leaf { background: var(--leaf); color: #fff; } .r-sun { background: var(--sun); } .r-blue { background: var(--blue); color: #fff; } .r-pink { background: var(--pink); color: #fff; }

.foot { padding: 40px var(--gut) 110px; display: grid; gap: 14px; justify-items: start; }
.foot p { font-size: 14px; color: var(--ink-2); }
.foot-s { font: 800 20px/1.15 var(--f-disp) !important; color: var(--ink) !important; letter-spacing: -.03em; max-width: 22ch; }

/* ДОК ================================================= */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; gap: 8px; transition: transform .45s var(--ease), opacity .3s ease;
}
.dock.is-hid { transform: translateY(130%); opacity: 0; pointer-events: none; }
.dk { height: 62px; border-radius: 22px; display: grid; place-items: center; flex: none; transition: transform .3s var(--pop); }
.dk:active { transform: scale(.94); }
.dk-menu { width: 62px; background: var(--ink); color: #fff; position: relative; }
.dots { display: grid; grid-template-columns: 9px 9px; gap: 5px; transition: transform .4s var(--pop), opacity .2s; }
.dots i { width: 9px; height: 9px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--pink); } .dots i:nth-child(2) { background: var(--sun); }
.dots i:nth-child(3) { background: var(--leaf); } .dots i:nth-child(4) { background: var(--blue); }
.dk-x { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; opacity: 0; transform: rotate(-90deg) scale(.5); transition: transform .4s var(--pop), opacity .2s; }
.dk-menu[aria-expanded="true"] .dots { opacity: 0; transform: rotate(90deg) scale(.5); }
.dk-menu[aria-expanded="true"] .dk-x { opacity: 1; transform: none; }
.dk-book { flex: 1; background: var(--pink); color: #fff; font: 800 16px/1 var(--f-disp); letter-spacing: -.02em; display: flex; justify-content: center; align-items: center; gap: 10px; }
.dk-n { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: #fff; color: var(--ink); font: 800 14px/28px var(--f-disp); text-align: center; transform: scale(0); transition: transform .4s var(--pop); }
.dk-n.has { transform: scale(1); }
.dk-n.bump { animation: bump .5s var(--pop); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.dk-wa { width: 62px; background: var(--leaf); color: #fff; }
.dk-wa .ic { width: 28px; height: 28px; }

/* панель-приборка */
.dash { position: fixed; inset: 0; z-index: 45; padding: 12px 10px 84px; display: grid; align-content: end; }
.dash[hidden] { display: none; }
.dash-bg { position: absolute; inset: 0; background: rgba(29,20,66,.95); opacity: 0; transition: opacity .35s ease; }
.dash.is-in .dash-bg { opacity: 1; }
.dash-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.dash-grid::-webkit-scrollbar { display: none; }
.dt {
  position: relative; overflow: hidden; border-radius: var(--r-l); padding: 14px 14px; min-height: 96px;
  display: grid; align-content: end; gap: 3px;
  opacity: 0; transform: translateY(26px) scale(.94);
  transition: transform .5s var(--pop), opacity .3s ease; transition-delay: calc(var(--i) * 35ms);
}
.dash.is-in .dt { opacity: 1; transform: none; }
.dt b { font: 800 17px/1.1 var(--f-disp); letter-spacing: -.02em; position: relative; }
.dt span { font-size: 12px; line-height: 1.25; opacity: .9; position: relative; }
.dt-book { grid-column: 1 / -1; background: var(--pink); color: #fff; min-height: 130px; padding: 18px 16px; }
.dt-book b { font-size: 24px; }
.dt-book span { font-size: 14px; max-width: 30ch; }
.dt-book .sp { width: 150px; height: 150px; right: -30px; top: -40px; fill: var(--sun); }
.dt-pr { background: var(--sun); color: var(--ink); }
.dt-ex { background: var(--blue); color: #fff; }
.dt-in { background: var(--leaf); color: #fff; }
.dt-ph { color: #fff; }
.dt-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dt-ph::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent); }
.dt-ph b { z-index: 1; }
.dt-rv { background: #fff; color: var(--ink); }
.dt-rv b { font-size: 24px; }
.dt-fq { background: var(--orange); color: #fff; }
.dt-vi { background: var(--uv); color: #fff; }
.dt-tel { background: var(--lime); color: var(--ink); align-content: space-between; }
.dt-tel .ic { width: 24px; height: 24px; }

/* просмотр фото */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(29,20,66,.95); display: grid; place-items: center; padding: 64px 10px 90px; opacity: 0; transition: opacity .3s ease; }
.lb[hidden] { display: none; }
.lb.is-in { opacity: 1; }
.lb img { max-width: 100%; max-height: 100%; border-radius: var(--r-l); transform: scale(.94); transition: transform .45s var(--pop), opacity .25s ease; }
.lb.is-in img { transform: none; }
.lb-b { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.lb-x { top: 10px; right: 10px; }
.lb-p { bottom: 22px; left: calc(50% - 60px); }
.lb-n { bottom: 22px; left: calc(50% + 8px); }

/* ПЛАНШЕТ ============================================= */
@media (min-width: 640px) {
  :root { --gut: 16px; }
  .rate-chip span { display: inline; }
  .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .in-grid { grid-template-columns: repeat(4, 1fr); }
  .in-n { grid-column: span 2; }
  .in-blue { grid-column: span 4; }
  .ga-grid { grid-template-columns: repeat(3, 1fr); }
  .rv-row { grid-template-columns: repeat(4, 46%); }
}

/* ДЕСКТОП ============================================= */
@media (min-width: 1024px) {
  :root { --gut: 16px; }
  .d-only { display: inline; }
  .h3 { font-size: 24px; }
  .hero {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    column-gap: 16px; row-gap: 0; padding: 16px 16px 16px; height: 100svh; min-height: 680px; max-height: 1080px;
  }
  .hero-row { grid-column: 1; grid-row: 1; }
  .hero-text { grid-column: 1; grid-row: 2; order: 0; align-content: center; gap: 26px; padding: 12px 24px 92px 8px; }
  .hero-photo { grid-column: 2; grid-row: 1 / span 2; min-height: 0; }
  .logo { width: 64px; height: 64px; border-radius: 20px; }
  .hero-city { font-size: 14px; }
  .rate-chip { height: 46px; font-size: 14px; padding: 0 18px 0 14px; margin-right: 8px; }
  .h1 { font-size: clamp(36px, 3.55vw, 72px); gap: 8px; }
  .b-blue { margin-left: .5em; }
  .band { border-radius: 20px; }
  .hero-lead { font-size: 18px; max-width: 40ch; }
  .hero-cta .btn-ink { flex: none; padding: 0 34px; }
  .btn-ic { width: auto; padding: 0 26px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
  .st { border-radius: var(--r-l); padding: 16px 16px 14px; display: grid; gap: 8px; }
  .st b { font: 800 30px/1 var(--f-disp); letter-spacing: -.04em; }
  .st span { font-size: 13.5px; line-height: 1.25; font-weight: 500; }
  .st-pink { background: var(--pink); color: #fff; transform: rotate(-1.5deg); }
  .st-sun { background: var(--sun); transform: rotate(1deg); }
  .st-leaf { background: var(--leaf); color: #fff; transform: rotate(-.5deg); }
  .stk { width: 120px; height: 120px; right: 24px; bottom: 24px; font-size: 15px; }
  .stk b { font-size: 38px; }
  .sp-h1 { width: 190px; height: 190px; left: -70px; top: 30%; }
  .sp-h2 { width: 130px; height: 130px; right: 150px; bottom: -36px; }

  .ribbon { padding: 18px 0; }
  .ribbon span { font-size: 22px; }

  .sec { padding: 96px 16px 0; max-width: 1600px; margin: 0 auto; }
  .sec-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px; margin-bottom: 28px; }
  .sec-head p { font-size: 17px; }
  .h2 { font-size: clamp(44px, 4.4vw, 72px); }

  .pr-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
  .pr-paint { grid-column: span 2; grid-row: span 2; }
  .pr-paint { grid-template-rows: 1fr auto; }
  .pr-paint .pr-ph { aspect-ratio: auto; min-height: 320px; }
  .pr-paint .pr-ph img, .pr-neon .pr-ph img { position: absolute; inset: 0; }
  .pr-paint .h3 { font-size: 32px; max-width: 16ch; }
  .pr-paint .price b { font-size: 34px; }
  .pr-neon { grid-column: span 2; grid-template-columns: 0.9fr 1fr; }
  .pr-neon .pr-ph { aspect-ratio: auto; margin: 8px 0 8px 8px; }
  .pr-grad, .pr-photo { grid-template-rows: auto 1fr; }
  .pr-grad .pr-ph, .pr-photo .pr-ph { aspect-ratio: 4 / 3; }
  .pr-photo .pr-ph img { object-position: 50% 30%; }
  .pr-other { grid-column: 1 / -1; }
  .pr-other .pr-body { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; padding: 24px; }
  .pr-other .h3 { white-space: nowrap; }
  .pr-other .price b { font-size: 20px; max-width: 13ch; }
  .add { align-self: end; }

  .ex-head { grid-template-columns: 1fr minmax(0, 420px); align-items: end; margin: 48px 0 18px; }
  .ex-head .h3 { font-size: 32px; }
  .ex-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .ex { min-height: 168px; padding: 18px; }
  .ex b { font-size: 16px; }
  .ex em { font-size: 19px; }

  .bk-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
  .wz { padding: 32px 32px 24px; gap: 20px; }
  .wz-stage { min-height: 420px; }
  .step-q { font-size: 30px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opt { min-height: 78px; }
  .dates { gap: 8px; }
  .date { aspect-ratio: 1 / .72; }
  .date b { font-size: 20px; }
  .bk-side { display: grid; align-content: end; color: #fff; background: var(--ink); min-height: 100%; }
  .bk-side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .bk-side::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,20,66,.96) 0%, rgba(29,20,66,.9) 32%, rgba(29,20,66,0) 58%); z-index: -1; }   /* 22.10: фото светлое, затемнён только низ под текстом */
  .bk-side-in { padding: 28px; display: grid; gap: 14px; }
  .bk-side-t { font: 800 28px/1 var(--f-disp); letter-spacing: -.03em; }
  .bk-list { display: grid; gap: 8px; }
  .bk-list li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-bottom: 8px; border-bottom: 1.5px dashed rgba(255,255,255,.2); }
  .bk-list li span:last-child { font-weight: 700; white-space: nowrap; }
  .bk-list .empty { opacity: .7; border: 0; }
  .bk-sum { font: 800 34px/1 var(--f-disp); letter-spacing: -.03em; color: var(--lime); }
  .bk-sum small { display: block; font: 500 13px/1.3 var(--f-text); color: #fff; opacity: .75; letter-spacing: 0; margin-top: 6px; }
  .bk-hint { font-size: 13.5px; opacity: .75; }
  .sp-s { width: 170px; height: 170px; right: -40px; top: -40px; fill: var(--pink); }

  .in-grid { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto auto; }
  .in-main { grid-column: 1; grid-row: 1 / span 3; padding: 36px 32px; }
  .in-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .in-n { grid-column: auto; min-height: 190px; padding: 24px; }
  .in-n b { font-size: 60px; }
  .in-n span { font-size: 17px; }
  .in-blue { grid-column: 2 / span 2; }
  .in-blue b { font-size: 60px; }
  .in-blue span { font-size: 18px; max-width: 24ch; }
  .in-ph { grid-column: 2 / span 2; aspect-ratio: auto; min-height: 260px; }
  .in-ph { min-height: 380px; }
  .in-ph img { object-position: 50% 48%; }   /* 22.10: лицо целиком в рамке */
  .in-list li { font-size: 15px; padding: 9px 14px 9px 10px; }

  .ga-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; }

  .rv-grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .rv-row { display: contents; }
  .rv-score { grid-row: span 2; min-height: 520px; padding: 32px; }
  .rv-n { font-size: 220px; }
  .rv-t { font-size: 30px; }
  .q { padding: 28px; }
  .q p { font-size: 18px; }

  .fq-grid { grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
  .fq-head { position: sticky; top: 24px; }
  .acc-it h3 button { padding: 22px 20px 22px 24px; font-size: 19px; }
  .acc-a { padding: 0 24px 24px; }

  .vi-grid { grid-template-columns: 1.4fr 1fr; }
  .vi-addr { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .vi-addr img { margin: 8px 0 8px 8px; width: calc(100% - 8px); height: calc(100% - 16px); min-height: 380px; }
  .vi-addr-in { align-content: end; }
  .vi-addr-in { padding: 32px; }
  .vi-talk { padding: 28px 20px 20px; grid-template-rows: auto repeat(4, 1fr); align-content: stretch; }   /* 22.10 разработчик: «растяни по высоте» */
  .vi-talk .row { height: 100%; }

  .foot { max-width: 1600px; margin: 0 auto; padding: 56px 16px 120px; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .foot-s { font-size: 26px !important; text-align: right; }

  .dock { left: 50%; right: auto; width: 480px; margin-left: -240px; bottom: 18px; }
  .dash { padding: 24px 24px 100px; justify-items: center; }
  .dash-grid { width: min(980px, 100%); grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .dt { min-height: 150px; padding: 18px; }
  .dt b { font-size: 19px; }
  .dt span { font-size: 13.5px; }
  .dt-book { grid-column: span 2; grid-row: span 2; }
  .dt-book b { font-size: 34px; }
  .dt-rv b { font-size: 34px; }

  .lb { padding: 40px 100px; }
  .lb-p { left: 24px; top: 50%; bottom: auto; margin-top: -26px; }
  .lb-n { left: auto; right: 24px; top: 50%; bottom: auto; margin-top: -26px; }
  .lb-x { top: 24px; right: 24px; }

  .btn:hover, .add:hover, .ex:hover, .dk:hover, .opt:hover, .chip:hover, .row:hover { transform: translateY(-2px); }
  .ex:hover .ex-plus { transform: rotate(90deg); }
  .ga:hover img { transform: scale(1.05); }
}

@media (min-width: 1600px) {
  .hero { padding: 20px; }
  .hero-text { gap: 34px; }
  .hero-lead { font-size: 21px; }
  .hero-stats { max-width: 760px; gap: 12px; }
  .st { padding: 20px 20px 18px; }
  .st b { font-size: 40px; }
  .st span { font-size: 15px; }
  .sec { padding-left: 20px; padding-right: 20px; }
}

/* 22.10 разработчик: кнопки «Связаться» крупнее и в стиле страницы: цветные плитки */
.vi-talk .row { gap: 16px; padding: 18px 20px; border-radius: var(--r-l, 22px); font: 800 clamp(20px, 2.2vw, 28px)/1.05 var(--f-disp); letter-spacing: -.02em; }
.vi-talk .row small { font: 600 14px/1.3 var(--f-text, inherit); letter-spacing: 0; margin-top: 6px; opacity: .85; color: inherit; }
.vi-talk .row .row-ic { width: 56px; height: 56px; border-radius: 16px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.22); }
.vi-talk .row .row-ic .ic { width: 28px; height: 28px; }
.vi-talk .row:nth-of-type(1) { background: var(--leaf); color: #fff; }
.vi-talk .row:nth-of-type(2) { background: #FF6A1A; color: #fff; }   /* 22.10: белый текст, как у остальных; на жёлтом белый не читается, поэтому апельсин */
.vi-talk .row:nth-of-type(2) .row-ic { background: rgba(255,255,255,.22); }
.vi-talk .row:nth-of-type(3) { background: var(--blue); color: #fff; }
.vi-talk .row:nth-of-type(4) { background: var(--pink); color: #fff; }

/* 22.10: «Всё уже входит» без пустоты внизу: пункты крупнее и распределены по высоте */
@media (min-width: 900px) {
  .in-main .in-list { flex: 1; align-content: space-evenly; gap: 10px 8px; }
  .in-main .in-list li { font-size: 16px; padding: 11px 16px 11px 12px; }
  .in-main .in-list li::before { width: 14px; height: 14px; }
}

/* 22.10 разработчик: «как у Камилы в инфраструктуре, чтобы не было пустых мест»: пилюли растягиваются и закрывают строку целиком */
.in-list li { flex: 1 1 auto; justify-content: flex-start; }

/* 22.10 v2: пилюли в одну строку текста (без переносов), растягиваются и закрывают строку целиком */
.in-main .in-list { display: flex; flex-wrap: wrap; gap: 8px; }
.in-main .in-list li { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 1199px) { .in-main .in-list li { white-space: normal; } }

/* 22.10 v3: растянутая пилюля с текстом слева оставляла белый хвост справа; содержимое по центру, пилюля читается целиком */
.in-main .in-list li { justify-content: center; text-align: center; }
.in-main .in-list li > span { text-align: left; }   /* перенос в две строки: текст держится рядом с точкой */

/* 22.10 разработчик: «пилюли не нравятся, переделай концепцию»: пункты разложены по четырём белым карточкам-группам с галочками */
.in-gs { display: grid; gap: 10px; flex: 1; }
.in-g { background: #fff; color: var(--ink); border-radius: 20px; padding: 18px 18px 8px; display: flex; flex-direction: column; }
.in-gt { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 800 19px/1.1 var(--f-disp); letter-spacing: -.02em; }
.in-gn { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 15px/1 var(--f-disp); flex: none; }
.in-g ul { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.in-g li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; font-size: 15px; font-weight: 600; line-height: 1.3; border-top: 1.5px solid rgba(29,20,66,.08); }
.in-g li:first-child { border-top: 0; }
.in-g li svg { width: 20px; height: 20px; flex: none; margin-top: -1px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.in-g-sun .in-gn { background: var(--sun); color: var(--ink); }   .in-g-sun li svg { stroke: #E0A800; }
.in-g-pink .in-gn { background: var(--pink); color: #fff; }       .in-g-pink li svg { stroke: var(--pink); }
.in-g-blue .in-gn { background: var(--blue); color: #fff; }       .in-g-blue li svg { stroke: var(--blue); }
.in-g-leaf .in-gn { background: var(--leaf); color: #fff; }       .in-g-leaf li svg { stroke: var(--leaf); }
@media (min-width: 640px) { .in-gs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) {
  .in-gs { gap: 12px; }
  .in-g { padding: 22px 22px 10px; }
  .in-gt { font-size: 21px; }
  .in-g li { font-size: 16px; }
}
.in-gn { width: 14px; height: 14px; border-radius: 50%; }
@media (min-width: 1200px) {
  .in-grid { grid-template-columns: 2fr 1fr 1fr; }
  .in-g li { font-size: 15.5px; }
}
.in-gs > * { min-width: 0; }
@media (min-width: 640px) { .in-gs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 1024–1199: узкая колонка не вмещает карточки, панель на всю ширину, плитки ниже */
@media (min-width: 1024px) and (max-width: 1199px) {
  .in-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; }
  .in-main { grid-column: 1 / -1; grid-row: auto; }
  .in-gs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .in-n { grid-column: span 2; }
  .in-blue { grid-column: span 4; }
  .in-ph { grid-column: 1 / -1; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (min-width: 1200px) { .in-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }

/* 22.10 разработчик: у ленты отзывов был невидимый вертикальный скролл: ещё не показанные карточки сдвинуты вниз на 28px и вылезали из ленты */
.rv-row { overflow-y: hidden; }
.rv-row > [data-rv] { transform: none !important; }

/* 22.10 разработчик: «фотографии неправильно обрезаны»: кадр по лицам */
.pr-neon .pr-ph { aspect-ratio: 4 / 5; }
.pr-neon .pr-ph img { object-position: 50% 32%; }
.pr-grad .pr-ph img { object-position: 50% 4%; }
.pr-photo .pr-ph { aspect-ratio: 4 / 5; }
.pr-photo .pr-ph img { object-position: 50% 42%; }
@media (min-width: 1024px) {
  .pr-neon .pr-ph { aspect-ratio: auto; }
  .pr-photo .pr-ph { aspect-ratio: 4 / 3; }
  .pr-grad .pr-ph img { object-position: 50% 8%; }
}

/* 22.10 разработчик: на мобилке последняя фотка лишняя (висела одна под сеткой) */
@media (max-width: 639px) { .g8 { display: none; } }

/* 22.10 разработчик: в «Другом поводе» бейджи не нравятся: обычный текст строкой через точки */
.pr-other .facts { display: block; font: 600 16px/1.55 var(--f-text); color: var(--ink); }
.pr-other .facts li { display: inline; background: none; padding: 0; border-radius: 0; font: inherit; }
.pr-other .facts li:not(:last-child)::after { content: "\00a0·"; color: rgba(29,20,66,.45); }
.pr-other .facts li { white-space: nowrap; }   /* повод целиком на одной строке */


/* 22.10 разработчик: «при загрузке дубляж кнопок»: док скрыт, пока видны кнопки первого экрана */
.dock.is-hero { transform: translateY(130%); opacity: 0; pointer-events: none; }