/* «Дело Кожи» · внутренние страницы: общие блоки. Палитра и база — base.css.
   Контент собран в колонку до 1360 px (поля — var(--gut)), размеры спокойные: страница читается, а не кричит.
   Блоки: pg-hero, crumbs, sec / sec-head, cards, price, steps, stats, split, band, quote, faq, people, gallery, docs, bk (запись) */
html { background: var(--paper); }
body.page { background:
  radial-gradient(1200px 700px at 85% -10%, rgba(189, 219, 244, 0.5), transparent 60%),
  radial-gradient(900px 600px at -10% 30%, rgba(251, 218, 214, 0.3), transparent 60%) no-repeat, var(--paper); }
main { position: relative; z-index: 2; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }

/* ── первый экран страницы ─────────────────────────── */
.pg-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 4vw; align-items: center; padding: calc(var(--hdr) + 7vh) var(--gut) 4vh; }
.pg-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pg-hero .h1 { max-width: 13em; }
.pg-hero .lead { max-width: 32em; }
.pg-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pg-hero-media { position: relative; height: clamp(320px, 54vh, 540px); }
.pg-hero-media > img, .pg-hero-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 28px 28px 0;
  -webkit-mask: url(../brand/container.svg) 0 0 / 100% 100% no-repeat; mask: url(../brand/container.svg) 0 0 / 100% 100% no-repeat; }
.pg-hero-media > .ph > span { margin-top: 0; }
.pg-hero-tag { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 14px 18px; max-width: 260px; }
.pg-hero-tag b { display: block; font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--blue); }
.pg-hero-tag span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink2); }
/* короткий первый экран без фото (документы, вопросы) */
.pg-hero.slim { grid-template-columns: 1fr; padding-bottom: 2vh; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink3); }
.crumbs a { color: var(--ink2); }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--ink3); }

/* ── секции ────────────────────────────────────────── */
.sec { padding: 8vh var(--gut); position: relative; }
.sec + .sec { padding-top: 3vh; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 4vw; align-items: end; margin-bottom: 36px; }
.sec-head .lead { justify-self: end; }
.sec-head.one { grid-template-columns: 1fr; }
.sec-head.one .lead { justify-self: start; margin-top: 4px; }

/* ── карточки ──────────────────────────────────────── */
.cards-g { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.c2 { --cols: 2; } .c4 { --cols: 4; }
.cardp { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 100%; border-radius: 24px; }
.cardp h3 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); }
.cardp p { font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
.cardp .meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); }
.cardp .meta b { font-size: 17px; font-weight: 500; color: var(--blue); }
.cardp .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(39, 93, 167, 0.1); color: var(--blue); font-weight: 600; font-size: 14px; }
a.cardp { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
a.cardp:hover { transform: translateY(-4px); }
a.cardp:hover h3 { color: var(--blue); }
.cardp .go { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 14px; font-weight: 500; }
.cardp.accent { background: var(--blue); color: #fff; border-color: rgba(255, 255, 255, 0.25); overflow: hidden; }
.cardp.accent::after { content: ''; position: absolute; right: -14%; bottom: -16%; width: 72%; aspect-ratio: 1; opacity: 0.12; background: #fff; pointer-events: none;
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.cardp.accent h3, .cardp.accent p, .cardp.accent .go { color: #fff; }
.cardp.accent p { opacity: 0.85; }
.cardp.warm { background: linear-gradient(150deg, rgba(251, 218, 214, 0.85), rgba(255, 255, 255, 0.5)); }
.cardp .ph, .cardp > img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; border-radius: 16px; margin-bottom: 4px; min-height: 0; }
.cardp .ph::before { width: 22%; }
.cardp .ph > span { margin-top: 30%; font-size: 10px; }

/* ── прайс ─────────────────────────────────────────── */
.price { padding: 6px 28px; border-radius: 24px; }
.price-g + .price-g { margin-top: 22px; }
.price-g h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); padding: 20px 0 4px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .n { font-size: 16px; line-height: 1.4; }
.price-row .n a { color: var(--ink); }
.price-row .n a:hover { color: var(--blue); }
.price-row .d { grid-column: 1; font-size: 13px; color: var(--ink2); }
.price-row .v { grid-row: 1; grid-column: 2; font-size: 17px; font-weight: 500; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-row .v.free { color: var(--terra); }
.price-note { margin-top: 16px; font-size: 13px; color: var(--ink2); }

/* ── этапы (настоящая последовательность) ──────────── */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step { position: relative; padding: 22px 22px 24px; border-radius: 22px; }
/* номер — на заголовке: ::before самой карточки занят бликом стекла */
.step h3 { font-size: 18px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.step h3::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--terra); margin-bottom: 22px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink2); }

/* ── цифры ─────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; border-radius: 24px; }
.stat b { display: block; font-size: clamp(40px, 3.4vw, 58px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; color: var(--blue); }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); max-width: 18em; }

/* ── текст + фото ──────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media > img, .split-media > .ph { width: 100%; aspect-ratio: 5 / 4; height: auto; max-height: 520px; object-fit: cover; border-radius: 26px; }
.split-media.wide > img, .split-media.wide > .ph { aspect-ratio: 16 / 10; }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.split-copy .h2 { max-width: 13em; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 13px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks.no li::before { width: 12px; height: 12px; border: 0; transform: none; top: 0.4em;
  background: linear-gradient(45deg, transparent 44%, var(--terra) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--terra) 44% 56%, transparent 56%); }

/* ── синяя полоса с призывом ───────────────────────── */
.band { position: relative; margin: 9vh var(--gut) 0; padding: clamp(32px, 4vw, 60px); border-radius: 32px; background: var(--blue); color: #fff; overflow: hidden; }
.band::before { content: ''; position: absolute; right: -4%; top: -30%; width: 34%; aspect-ratio: 1; opacity: 0.1; background: #fff;
  -webkit-mask: url(../brand/mark.svg) center / contain no-repeat; mask: url(../brand/mark.svg) center / contain no-repeat; }
.band-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4vw; align-items: center; }
.band .h2 { color: #fff; max-width: 15em; }
.band .lead { color: rgba(255, 255, 255, 0.82); margin-top: 12px; }
.band .label { color: rgba(255, 255, 255, 0.85); }

/* ── цитата ────────────────────────────────────────── */
.quote { padding: clamp(28px, 3.4vw, 54px); border-radius: 28px; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2vw, 32px); font-weight: 400; line-height: 1.22; letter-spacing: -0.02em; max-width: 26em; }
.quote blockquote::before { content: '«'; color: var(--terra); }
.quote blockquote::after { content: '»'; color: var(--terra); }
.quote figcaption { margin-top: 20px; font-size: 14px; color: var(--ink2); }

/* ── вопросы ───────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; font-size: 16.5px; font-weight: 500; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background:
  linear-gradient(var(--blue), var(--blue)) center / 11px 1.5px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 1.5px 11px no-repeat, rgba(39, 93, 167, 0.1);
  transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--ink2); max-width: 52em; }
.faq .a p + p { margin-top: 10px; }

/* ── люди ──────────────────────────────────────────── */
.people { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
.person { padding: 8px 8px 20px; border-radius: 24px; }
.person > img, .person > .ph { width: 100%; aspect-ratio: 3 / 3.6; height: auto; object-fit: cover; object-position: 50% 14%; border-radius: 18px; }
.person-t { padding: 14px 10px 0; }
.person h3 { font-size: 19px; font-weight: 500; line-height: 1.1; letter-spacing: -0.012em; }
.person h3 span { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink2); letter-spacing: 0; margin-top: 4px; }
.person .role { margin-top: 9px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.person .bio { margin-top: 9px; font-size: 13px; line-height: 1.5; color: var(--ink2); }

/* ── галерея ───────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gallery > * { grid-column: span 2; aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: 20px; min-height: 0; }
.gallery > .big { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.gallery > .half { grid-column: span 3; }
.gallery .ph::before { width: 24%; }
.gallery .ph > span { margin-top: 26%; font-size: 10px; }

/* ── документы ─────────────────────────────────────── */
.docs { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.doc-c { padding: 10px 10px 16px; display: flex; flex-direction: column; gap: 12px; border-radius: 22px; }
.doc-c img, .doc-c .ph { width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: top; border-radius: 14px; background: #fff; }
.doc-c p { padding: 0 8px; font-size: 14.5px; font-weight: 500; }
.doc-c span { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink2); margin-top: 4px; }

/* ── «до/после» на внутренних страницах ────────────── */
.ba-big { max-width: 980px; margin: 0 auto; border: 8px solid rgba(255, 255, 255, 0.7); border-radius: 30px; box-shadow: var(--shadow); }
.cases-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-c { padding: 8px 8px 16px; border-radius: 24px; }
.case-c .ba { border-radius: 18px; }
.case-c p { padding: 12px 10px 0; font-size: 15px; font-weight: 500; }
.case-c p span { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--ink2); }

/* ── видеоотзывы ───────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 12px; }
.review { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 9 / 16; }
.review img, .review .ph { width: 100%; height: 100%; object-fit: cover; }
.review .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.review .play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 14px solid var(--terra); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* ── карта и контакты ──────────────────────────────── */
.map { position: relative; overflow: hidden; border-radius: 26px; min-height: 420px; background: #dfe8ee; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; font-size: 16px; }
.contact-list li span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); padding-top: 4px; }
.contact-list a { color: var(--blue); }

/* ── акция ─────────────────────────────────────────── */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); overflow: hidden; border-radius: 30px; }
.promo-copy { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.promo-copy .h2 { max-width: 12em; }
.promo-media { position: relative; min-height: 320px; }
.promo-media > img, .promo-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  -webkit-mask: url(../brand/container.svg) 0 0 / 100% 100% no-repeat; mask: url(../brand/container.svg) 0 0 / 100% 100% no-repeat; }
.promo.blue { background: var(--blue); color: #fff; }
.promo.blue .h2, .promo.blue .lead, .promo.blue .label { color: #fff; }
.promo.blue .lead { opacity: 0.85; }
.promo.terra { background: var(--terra-l); }
.badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--terra); color: #fff; }

/* ── тест ──────────────────────────────────────────── */
.quiz { max-width: 820px; margin: 0 auto; padding: clamp(24px, 3vw, 44px); border-radius: 28px; }
.quiz-bar { height: 3px; border-radius: 3px; background: rgba(22, 41, 74, 0.1); overflow: hidden; margin-bottom: 26px; }
.quiz-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--blue); transition: width .6s var(--ease); }
.quiz-step[hidden] { display: none; }
.quiz-q { font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 22px; }
.quiz-n { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 12px 18px; border-radius: 16px; border: 1px solid rgba(22, 41, 74, 0.14); background: rgba(255, 255, 255, 0.6); font-size: 15.5px; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.opt input:checked + span { border-color: var(--blue); background: #fff; color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 93, 167, 0.12); }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.scale .opt span { justify-content: center; padding: 0; min-height: 50px; font-weight: 500; }
.scale-l { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--ink2); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }

/* ── юридический текст ─────────────────────────────── */
.prose { max-width: 800px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 23px; font-weight: 500; letter-spacing: -0.012em; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 500; margin: 26px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose .todo { padding: 2px 8px; border-radius: 6px; background: var(--terra-l); color: var(--terra-d); font-size: 0.92em; }

/* ── заметка «уточнить у клиники» (видна только на рабочей версии) ── */
.todo-note { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 12px; background: rgba(225, 83, 54, 0.1); color: var(--terra-d); font-size: 13px; line-height: 1.4; }
.todo-note::before { content: 'Уточнить:'; font-weight: 600; }

/* ── запись внизу каждой страницы ──────────────────── */
.bk { padding: 10vh var(--gut) 0; }
.bk-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); overflow: hidden; border-radius: 32px; background: #fff; box-shadow: 0 40px 100px -50px rgba(22, 41, 74, 0.45), 0 0 0 1px rgba(22, 41, 74, 0.04); }
.bk-media { position: relative; min-height: 460px; background: var(--white); }
.bk-media > .ph, .bk-media > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.bk-media > .ph > span { margin-top: 0; }
.bk-card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -24px rgba(22, 41, 74, 0.5); }
.bk-card-k { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); }
.bk-card-v { margin-top: 4px; font-size: 15px; color: var(--ink); }
.bk-card-tel { display: inline-block; margin-top: 8px; font-size: 22px; font-weight: 500; color: var(--blue); }
.bk-main { padding: clamp(28px, 3.4vw, 52px); }
.bk-title { font-size: clamp(28px, 2.5vw, 42px); font-weight: 500; line-height: 1.06; letter-spacing: -0.028em; max-width: 14em; }
.bk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0 26px; counter-reset: bs; }
.bk-steps li { position: relative; padding-top: 34px; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.bk-steps li::before { counter-increment: bs; content: counter(bs); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); }
.bk-steps b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.bk-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.bk-or { font-size: 13px; line-height: 1.4; color: var(--ink2); }
.bk-or a { font-size: 17px; font-weight: 500; color: var(--ink); }
.bk .form-done { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.bk .form-done[hidden] { display: none; }

/* ── адаптив ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards-g, .people, .docs { --cols: 2; }
  .c4 { --cols: 2; }
  .steps { --n: 2 !important; }
  .reviews { --cols: 3; }
  .cases-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-in { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
}
@media (max-width: 860px) {
  .pg-hero { grid-template-columns: 1fr; padding-top: calc(var(--hdr) + 3vh); gap: 26px; }
  .pg-hero-media { height: 46vh; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 26px; }
  .sec-head .lead { justify-self: start; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.rev > :first-child { order: 0; }
  .band-in { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; }
  .promo-media { min-height: 240px; }
  .bk-in { grid-template-columns: minmax(0, 1fr); }
  .bk-media { min-height: 220px; }
  .bk-card { display: none; }
  .stats { --n: 1 !important; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery > *, .gallery > .big, .gallery > .half { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery > .big { grid-column: span 2; }
  .gallery .ph > span { margin-top: auto; align-self: end; margin-bottom: 10px; }
}
@media (max-width: 600px) {
  .cards-g, .c4, .docs { --cols: 1; }
  .people { --cols: 2; gap: 10px; }
  .person h3 { font-size: 17px; }
  .steps { --n: 1 !important; }
  .reviews { --cols: 2; }
  .cases-g { grid-template-columns: 1fr; }
  .price { padding: 4px 18px; }
  .price-row .n { font-size: 15px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .bk { padding-top: 8vh; }
  .bk-steps { grid-template-columns: 1fr; gap: 10px; }
  .bk-steps li { padding: 0 0 0 36px; }
  .bk .cta-lg { width: 100%; padding: 0 16px; gap: 10px; font-size: 16px; }
  .band { margin-left: var(--pad); margin-right: var(--pad); border-radius: 24px; }
}
