/* Травертин — студия ухода. Демо Pelican. */
:root {
  --bg: #F4EDE7;
  --surface: #FBF8F5;
  --surface-2: #E8DCD2;
  --dark: #231816;
  --text: #2A1D1A;
  --muted: #6C5D56;
  --line: #E0D3C9;
  --accent: #8A2C44;
  --accent-hover: #76253A;
  --accent-ink: #FFFFFF;
  --accent-on-dark: #D98BA0;
  --on-dark: #E8DCD2;
  --on-dark-muted: #B9A89E;
  --on-dark-line: rgba(232, 220, 210, .22);
  --serif: "Oranienbaum", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 80px;
  --gut: 48px;
  --sec: 160px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 767px) {
  :root { --hdr: 56px; --gut: 16px; --sec: 88px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (max-width: 767px) {
  body { font-size: 16px; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }
.cert-sec :focus-visible, .ftr :focus-visible { outline-color: var(--surface); }
.js .nojs-only { display: none !important; }
html:not(.js) .js-only { display: none !important; }

.wrap { width: 100%; max-width: calc(1280px + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* Типографика */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 500 12px/1.3 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; flex: none; }
.h1, .h2, .dir__t, .mrow__n, .brand__name, .modal__h, .qz-title, .sum__price, .ct-total__v {
  font-family: var(--serif); font-weight: 400; font-synthesis: none;
}
.h1 { font-size: clamp(52px, 9.72vw, 140px); line-height: .92; letter-spacing: -.02em; }
.h2 { font-size: clamp(44px, 6.12vw, 88px); line-height: 1; letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; }
.acc { color: var(--accent); }
.lead { font-size: 20px; font-weight: 300; line-height: 1.55; }
.sec-sub { margin-top: 28px; max-width: 40ch; color: var(--muted); font-size: 18px; line-height: 1.55; }
.cap { font: 400 13px/1.45 var(--sans); color: var(--muted); letter-spacing: .01em; }
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .2s; }
.tlink:hover { text-decoration-color: currentColor; }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-left: 6px; }

.sec { padding: var(--sec) 0; }
.sec-head { margin-bottom: 80px; }
@media (min-width: 1024px) {
  .sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
  .sec-head .h2 { grid-column: 1 / 9; max-width: 15ch; }
  .sec-head .sec-sub { grid-column: 9 / 13; margin: 0 0 .5em; }
}
@media (max-width: 767px) {
  .lead { font-size: 17px; }
  .sec-head { margin-bottom: 48px; }
  .sec-sub { font-size: 16px; margin-top: 20px; }
}

/* Появление заголовков по строкам */
.ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.ln > span { display: inline-block; }
.rv-lines .ln > span { transition: transform .7s var(--ease); }
.rv-lines .ln:nth-child(2) > span { transition-delay: 80ms; }
.rv-lines .ln:nth-child(3) > span { transition-delay: 160ms; }
.rv-lines .ln:nth-child(4) > span { transition-delay: 240ms; }
.rv-lines .ln:nth-child(5) > span { transition-delay: 320ms; }
.js .rv-init.rv-lines:not(.in) .ln > span, .rv-lines.pre .ln > span { transform: translateY(110%); }
.rv-lines.pre .ln > span { transition: none; }
/* Фото */
.ph { position: relative; overflow: hidden; background: var(--surface-2); }
.ph > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, transform .9s var(--ease); }
.js .ph.rv-init:not(.in) > img, .ph.pre > img { opacity: 0; transform: scale(1.03); }
.ph.pre > img { transition: none; }
.r34 { aspect-ratio: 3 / 4; }
.r45 { aspect-ratio: 4 / 5; }
.rv-all .rv-init .ln > span, .rv-all .rv-init > img { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; transition-delay: 0s !important; }
  .js .rv-init .ln > span, .js .rv-init > img { transform: none !important; opacity: 1 !important; }
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--acc { background: var(--accent); color: var(--accent-ink); }
.btn--acc:hover { background: var(--accent-hover); }
.btn--line { background: transparent; border-color: var(--text); color: var(--text); }
.btn--line:hover { background: var(--surface-2); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border-color: transparent; cursor: not-allowed; }
.btn--text { background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; font: 500 15px var(--sans); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-size: 28px; letter-spacing: -.01em; }
.brand__sub { font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { height: 2px; background: var(--accent); transform: none; }
.hdr__act { display: flex; align-items: center; gap: 20px; }
.hdr__tel { font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn--hdr { min-height: 44px; padding: 0 22px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; margin-right: -10px; }
@media (max-width: 1180px) { .hdr__tel { display: none; } .nav { gap: 22px; } }
@media (max-width: 1023px) {
  .nav { display: none; }
  .hdr__act { margin-left: auto; gap: 8px; }
  .burger { display: inline-flex; }
}
@media (max-width: 767px) {
  .brand__name { font-size: 26px; }
  .brand__sub { font-size: 9px; margin-top: 3px; }
  .btn--hdr { min-height: 44px; padding: 0 18px; font-size: 14px; }
}

/* Лента горящих окон */
.hot { height: 44px; display: flex; align-items: stretch; background: var(--surface-2); border-bottom: 1px solid var(--line); font: 500 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }
.hot__label { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 var(--gut); background: var(--surface-2); position: relative; white-space: nowrap; }
.hot__label::after { content: ""; position: absolute; right: -24px; top: 0; bottom: 0; width: 24px; background: linear-gradient(90deg, var(--surface-2), transparent); pointer-events: none; }
@media (min-width: 1377px) { .hot__label { padding-left: calc((100vw - 1280px) / 2); } }
.hot__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hot__track { flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hot__track::-webkit-scrollbar { display: none; }
.hot__row { display: flex; width: max-content; height: 100%; }
.hot__item { display: flex; align-items: center; height: 100%; padding: 0 24px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text); }
.hot__item:hover { text-decoration: underline; text-underline-offset: 4px; }
.hot__item:focus-visible { outline-offset: -4px; }
.hot__sep { display: flex; align-items: center; color: var(--muted); }
@media (max-width: 479px) {
  .hot__long { display: none; }
  .hot__label { padding-right: 12px; gap: 8px; }
  .hot { font-size: 12px; }
}

/* Первый экран */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; grid-template-rows: 32px repeat(5, auto) 1fr; }
.hero__ph { grid-column: 7 / 13; grid-row: 1 / -1; background: transparent; overflow: visible; }
.hero__ph > img { aspect-ratio: 4 / 5; height: auto; }
.hero__ph .cap { text-align: right; margin-top: 14px; }
.hero__eb { grid-column: 1 / 7; grid-row: 2; }
.hero .h1 { grid-column: 1 / -1; grid-row: 3; position: relative; z-index: 2; pointer-events: none; }
.hero .ln--2 { padding-left: .8em; } /* «плану,» заканчивается до края фото, без столкновения */
.hero__lead { grid-column: 1 / 7; grid-row: 4; margin-top: 30px; max-width: 34em; }
.hero__btns { grid-column: 1 / 7; grid-row: 5; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__trust { grid-column: 1 / 7; grid-row: 6; margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) and (min-width: 768px) {
  /* планшет: заголовок на всю ширину, под ним — текст слева и фото справа */
  .hero { padding-top: 32px; }
  .hero__grid { grid-template-rows: none; align-items: start; }
  .hero__eb { grid-column: 1 / -1; grid-row: 1; }
  .hero .h1 { grid-row: 2; font-size: min(13vw, 124px); }
  .hero .ln--2 { padding-left: 1.62em; }
  .hero__ph { grid-column: 7 / 13; grid-row: 3 / 7; margin-top: 36px; }
  .hero__lead { grid-column: 1 / 7; grid-row: 3; margin-top: 36px; font-size: 18px; }
  .hero__btns { grid-column: 1 / 7; grid-row: 4; }
  .hero__trust { grid-column: 1 / 7; grid-row: 5; }
  .hero__ph .cap { text-align: left; }
}
@media (max-width: 767px) {
  .hero { padding: 12px 0 72px; }
  .hero__grid { display: flex; flex-direction: column; }
  .hero__eb { order: 1; margin-bottom: 14px; }
  .hero__ph { order: 2; margin: 0 calc(var(--gut) * -1); overflow: hidden; }
  .hero__ph > img { aspect-ratio: auto; height: 280px; object-position: 50% 28%; }
  .hero__ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to bottom, rgba(244,237,231,0), var(--bg)); pointer-events: none; }
  .hero__ph .cap { display: none; }
  .hero .h1 { order: 3; margin-top: -44px; }
  .hero .ln--2 { padding-left: 0; }
  .hero__lead { order: 4; margin-top: 18px; }
  .hero__btns { order: 5; flex-direction: column; margin-top: 18px; gap: 10px; }
  .hero__btns .btn { width: 100%; }
  .hero__btns .btn--acc { display: none; } /* запись — в шапке и нижней панели */
  .hero__trust { order: 6; margin-top: 16px; font-size: 13px; }
}

/* Направления */
.dirs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 120px; align-items: start; }
.dir { position: relative; }
.dir--face { grid-column: 1 / 6; }
.dir--brows { grid-column: 7 / 12; margin-top: 120px; }
.dir--nails { grid-column: 2 / 7; }
.dir--hair { grid-column: 8 / 13; margin-top: 80px; }
.dir__t { position: relative; z-index: 2; font-size: 64px; line-height: 1; letter-spacing: -.02em; margin: -.52em 0 22px -.04em; width: fit-content; max-width: 100%; padding: .06em .24em 0 .04em; background: var(--bg); }
.dir--brows .dir__t, .dir--hair .dir__t { margin-left: -14%; }
.dir > p:not(.cap) { max-width: 40ch; }
.dir .cap { margin-top: 18px; }
.dir .tlink { display: inline-block; margin-top: 10px; padding: 10px 0; font-weight: 500; font-size: 15px; }
@media (max-width: 767px) {
  .dirs__grid { display: flex; flex-direction: column; gap: 56px; }
  .dir { margin: 0 !important; }
  .dir:nth-child(even) { width: 86%; align-self: flex-end; }
  .dir .dir__ph { aspect-ratio: 4 / 3; }
  .dir__t { font-size: 40px; margin: -.5em 0 14px 0 !important; }
  .dir:nth-child(even) .dir__t { margin-left: -12% !important; }
}

/* План */
.plan { padding-top: 40px; }
.plan__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.plan__head { grid-column: 1 / 10; grid-row: 1; position: relative; z-index: 2; padding-top: 56px; pointer-events: none; }
.plan__h2 { max-width: none; }
.plan__ph { grid-column: 7 / 13; grid-row: 1 / 3; }
.plan__ph .cap { position: absolute; }
.plan__ph { overflow: visible; background: transparent; }
.plan__ph > img { aspect-ratio: 4 / 3; }
.plan__ph figcaption { position: static !important; margin-top: 14px; text-align: right; }
.plan__steps { grid-column: 1 / 6; grid-row: 2 / 4; margin-top: 56px; }
.step { padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step h3 { font: 500 18px/1.3 var(--sans); margin-bottom: 8px; }
.step p { color: var(--muted); }
.plan__side { grid-column: 8 / 13; grid-row: 3; margin-top: 56px; }
.plan__side .btn { max-width: 100%; white-space: normal; text-align: center; }
.guar { border: 1px solid var(--line); padding: 8px 28px; font-size: 15px; line-height: 1.55; margin-bottom: 28px; }
.guar li { padding: 18px 0; }
.guar li + li { border-top: 1px solid var(--line); }
@media (max-width: 1023px) and (min-width: 768px) {
  .plan__head { grid-column: 1 / -1; padding-top: 0; }
  .plan__ph { grid-column: 1 / -1; grid-row: 2; margin-top: 40px; }
  .plan__steps { grid-column: 1 / 7; grid-row: 3; margin-top: 48px; }
  .plan__side { grid-column: 8 / 13; grid-row: 3; margin-top: 48px; }
  .plan__side .btn { width: 100%; white-space: normal; text-align: center; }
  .guar { padding: 4px 22px; }
}
@media (max-width: 767px) {
  .plan__grid { display: flex; flex-direction: column; }
  .plan__head { padding-top: 0; order: 1; }
  .plan__ph { order: 2; margin-top: 32px; }
  .plan__steps { order: 3; margin-top: 32px; }
  .plan__side { order: 4; margin-top: 40px; }
  .plan__side .btn { width: 100%; white-space: normal; text-align: center; }
  .guar { padding: 4px 20px; }
}

/* Карточки */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }

/* Подбор */
.quiz-sec { background: var(--surface); }
.quiz__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.quiz__intro { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr) + 40px); }
.quiz__intro .h2 { max-width: 12ch; font-size: clamp(44px, 4.6vw, 66px); }
.quiz__intro .tlink { display: inline-block; margin-top: 24px; }
.quiz { grid-column: 6 / 13; background: var(--bg); min-height: 560px; position: relative; overflow: hidden; }
.quiz__bar { height: 2px; background: var(--line); }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--text); transition: width .4s var(--ease); }
.quiz__body { padding: 48px 56px 56px; transition: opacity .25s ease, transform .25s ease; }
.quiz__body.enter { opacity: 0; transform: translateX(24px); }
.quiz__body.enter-back { opacity: 0; transform: translateX(-24px); }
.qz-q { font-family: var(--serif); font-size: 44px; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 32px; outline: none; }
.qz-opts { display: grid; gap: 10px; }
.qz-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 14px 22px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-size: 17px; transition: background-color .2s, border-color .2s; }
.qz-opt:hover { background: var(--surface-2); }
.qz-opt[aria-pressed="true"] { border-color: var(--text); background: var(--surface-2); }
.qz-opt svg { flex: none; opacity: .5; }
.qz-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px; color: var(--muted); }
.qz-back:hover { color: var(--text); }
.qz-title { font-size: 48px; line-height: 1; letter-spacing: -.02em; margin-bottom: 18px; outline: none; }
.qz-text { color: var(--muted); max-width: 52ch; }
.qz-rows { margin-top: 28px; border-top: 1px solid var(--line); }
.qz-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qz-row .nw { white-space: nowrap; color: var(--muted); }
.qz-row > span:last-child { white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; }
.qz-row small { display: block; color: var(--muted); font-size: 14px; }
.qz-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px 0 6px; }
.qz-total__l { font-weight: 500; }
.qz-total__l small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.qz-total__v { text-align: right; }
.qz-total__v b { font: 400 44px/1 var(--serif); color: var(--accent); }
.qz-total__v s { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.qz-notes { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.qz-notes li { padding-left: 18px; position: relative; }
.qz-notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: currentColor; }
.qz-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.qz-disc { margin-top: 20px; font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) {
  .quiz__intro { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .quiz { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .quiz { min-height: 0; margin: 0 calc(var(--gut) * -1); border-left: 0; border-right: 0; border-radius: 0; }
  .quiz__body { padding: 28px 16px 32px; }
  .qz-q { font-size: 32px; margin-bottom: 22px; }
  .qz-opt { min-height: 56px; padding: 12px 16px; font-size: 16px; }
  .qz-title { font-size: 36px; }
  .qz-total__v b { font-size: 38px; }
  .qz-btns .btn { width: 100%; white-space: normal; text-align: center; }
  .qz-row .nw { display: block; }
  .qz-row .qz-sep { display: none; }
  .qz-btns .btn--text { width: auto; }
}

/* Запись */
.book__nojs { max-width: 60ch; }
.book__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.book__pick { grid-column: 1 / 8; min-width: 0; }
.book__sum { grid-column: 8 / 13; position: sticky; top: calc(var(--hdr) + 24px); }
.grp + .grp { margin-top: 48px; }
.grp__t { margin-bottom: 16px; }
.grp__hint { display: inline-block; margin: 14px 0 8px; font-size: 15px; padding: 8px 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 15px; white-space: nowrap; }
.tab:hover { background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 14px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; font-size: 16px; transition: background-color .15s; }
.svc:hover { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.svc__r { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--text); position: relative; }
.svc[aria-checked="true"] .svc__r::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--text); }
.svc__n { flex: 1; min-width: 0; }
.svc__n small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; }
.svc__m { flex: none; color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.svc[aria-checked="true"] .svc__m { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; cursor: pointer; text-align: left; line-height: 1.25; font-size: 15px; font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s; }
.chip small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.chip:hover { border-color: var(--text); }
.chip[aria-checked="true"] { background: var(--text); color: var(--surface); border-color: var(--text); }
.chip[aria-checked="true"] small { color: var(--surface-2); }
.chip:disabled, .chip[aria-disabled="true"] { color: var(--muted); opacity: .5; cursor: not-allowed; border-color: var(--line); background: transparent; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 8px; margin: -2px; scroll-snap-type: x proximity; }
.day { flex: none; width: 76px; min-height: 64px; padding: 8px 4px; text-align: center; scroll-snap-align: start; }
.day b { display: block; font-weight: 500; font-size: 15px; }
.day small { font-size: 12px; }
.tgroup + .tgroup { margin-top: 20px; }
.tgroup__t { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { min-width: 84px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; text-align: center; }
.tchip small { display: inline; margin: 0; font-size: 12px; }
.tchip .hotdot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.tchip[aria-checked="true"] .hotdot { box-shadow: 0 0 0 2px var(--surface); }
.book__none { padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.book__none p { margin-bottom: 16px; }

.sum { padding: 32px; min-height: 280px; }
.sum:focus { outline: none; }
.sum__empty { color: var(--muted); font-size: 16px; display: flex; min-height: 216px; align-items: center; justify-content: center; text-align: center; padding: 0 20px; border: 1px dashed var(--line); border-radius: 4px; }
.sum__svc { font: 400 30px/1.1 var(--serif); letter-spacing: -.01em; }
.sum__meta { margin-top: 12px; color: var(--muted); font-size: 15px; display: grid; gap: 2px; }
.sum__meta span:first-child { color: var(--text); }
.sum__priceRow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.sum__price { font-size: 40px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.sum__old { color: var(--muted); font-size: 16px; }
.sum__badge { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sum__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sum__dep { font-size: 14px; color: var(--muted); margin-top: 8px; padding-left: 14px; border-left: 1px solid var(--text); }
.sum .btn--block { margin-top: 22px; white-space: normal; text-align: center; }
.sum__form { margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
.sum__demo, .demo-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.ok-h { font: 400 40px/1 var(--serif); margin-bottom: 14px; }
.ok-lines { display: grid; gap: 4px; }
.ok-lines p:first-child { font-weight: 500; }
.ok-rules { margin: 20px 0; padding-left: 16px; border-left: 1px solid var(--text); font-size: 14px; color: var(--muted); display: grid; gap: 8px; line-height: 1.5; }
.ok-btns { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
@media (max-width: 1023px) {
  .book__pick, .book__sum { grid-column: 1 / -1; }
  .book__sum { position: static; margin-top: 48px; }
}
@media (max-width: 767px) {
  .tabs, .days { margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .svc__m { max-width: 38%; white-space: normal; }
  .sum { padding: 24px 18px; min-height: 0; }
  .sum__empty { min-height: 140px; }
  .ok-btns .btn { width: 100%; }
}

/* Поля */
.field { position: relative; margin-top: 20px; }
.field label { display: block; font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { display: block; width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; font: 400 17px/1.4 var(--sans); color: inherit; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.is-err input, .field.is-err textarea { border-bottom-color: var(--accent); }
.err { color: var(--accent); font-size: 13px; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.seg-radio { display: flex; gap: 8px; margin-top: 10px; }
.seg-radio label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); }
.seg-radio input { accent-color: var(--text); width: 16px; height: 16px; margin: 0; }
.seg-radio label:has(input:checked) { border-color: var(--text); }
.consent { margin-top: 20px; font-size: 14px; line-height: 1.45; }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; min-height: 44px; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); }
.consent .linkbtn { min-height: 0; }
form .btn--block { margin-top: 24px; }

/* Мастера */
.masters__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.masters__head { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr) + 40px); }
.masters__head .h2 { max-width: 14ch; font-size: clamp(44px, 4.6vw, 66px); }
.masters__lead { margin-top: 28px; max-width: 34ch; color: var(--muted); font-size: 18px; line-height: 1.55; }
.masters__list { grid-column: 6 / 13; }
.mlist { border-top: 1px solid var(--line); }
.mrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mrow__ph { width: 96px; height: 128px; object-fit: cover; object-position: 50% 22%; border-radius: 999px; background: var(--surface-2); }
.mrow__n { font-size: 32px; line-height: 1.05; letter-spacing: -.01em; }
.mrow__meta { font-size: 14px; color: var(--muted); margin-top: 6px; }
.mrow__bio { margin-top: 10px; font-size: 16px; max-width: 42ch; }
.mrow__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; min-width: 190px; align-self: stretch; }
.mrow__win { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mrow__win b { display: block; font-weight: 500; color: var(--text); font-size: 15px; }
.mrow__win:empty { display: none; }
.mrow__side .tlink { font-weight: 500; font-size: 15px; padding: 10px 0; }
.masters__note { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 52ch; }
.works { margin-top: 120px; }
.works__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.works__head .eyebrow { margin-bottom: 0; }
.works__sub { font-size: 15px; color: var(--muted); max-width: 46ch; }
.works__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.work { display: block; text-decoration: none; }
.work figure { overflow: hidden; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.03); }
.work figcaption { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.work figcaption b { font-weight: 500; color: var(--text); }
.work:hover figcaption b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: reduce) { .work img { transition: none; } .work:hover img { transform: none; } }
@media (max-width: 1023px) {
  .masters__head { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .masters__list { grid-column: 1 / -1; }
  .works__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 767px) {
  .masters__head { margin-bottom: 36px; }
  .masters__lead { font-size: 16px; margin-top: 20px; }
  .mrow { grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; padding: 24px 0; }
  .mrow__ph { width: 72px; height: 96px; }
  .mrow__side { grid-column: 1 / -1; }
  .mrow__n { font-size: 28px; }
  .mrow__side { text-align: left; align-items: flex-start; min-width: 0; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 6px; }
  .mrow__win b { display: inline; }
  .works { margin-top: 72px; }
  .works__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding-left: var(--gut); scrollbar-width: none; }
  .works__row::-webkit-scrollbar { display: none; }
  .works__row li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Отзывы */
.reviews { background: var(--surface-2); }
.rev__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; margin-bottom: 96px; }
.rev__head { grid-column: 1 / 6; }
.rev__head .h2 { max-width: 11ch; font-size: clamp(44px, 4.6vw, 66px); }
.rev--lead { grid-column: 7 / 13; margin-top: 36px; }
.rev.rev--lead blockquote { font: 400 clamp(26px, 2.5vw, 36px)/1.25 var(--serif); letter-spacing: -.005em; text-wrap: pretty; }
.rev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 48px; }
.rev blockquote { margin: 0; font: 400 18px/1.65 var(--sans); }
.rev { padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--text) 25%, transparent); }
.rev figcaption { margin-top: 20px; font: 400 13px/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rev figcaption b { font-weight: 500; color: var(--text); }
@media (max-width: 1023px) {
  .rev__head, .rev--lead { grid-column: 1 / -1; }
  .rev__top { margin-bottom: 48px; }
  .rev__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .rev--lead { margin-top: 12px; }
  .rev.rev--lead blockquote { font-size: 25px; }
  .rev__grid { display: flex; flex-direction: column; gap: 48px; }
  .rev__grid .rev:nth-child(even) { margin-left: 14%; }
  .rev blockquote { font-size: 17px; }
}

/* Сертификат */
.cert-sec { background: var(--dark); color: var(--on-dark); }
.cert-sec .h2 { color: #FBF8F5; }
.cert-sec .eyebrow, .cert-sec .sec-sub { color: var(--on-dark-muted); }
.cert-sec a { color: #FBF8F5; }
.cert { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.cert__prev { grid-column: 1 / 7; position: sticky; top: calc(var(--hdr) + 40px); }
.cert__ctl { grid-column: 8 / 13; }
.cert__facts { margin-top: 40px; max-width: 520px; border-top: 1px solid var(--on-dark-line); }
.cert__facts li { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--on-dark-line); font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); }
.cert__facts b { font: 400 22px/1.2 var(--serif); color: #FBF8F5; }
.cc-wrap { container-type: inline-size; max-width: 520px; perspective: 1200px; }
.cc { position: relative; aspect-ratio: 1.6; border-radius: 6px; padding: 6.2cqw 6.6cqw 5.4cqw; display: flex; flex-direction: column; justify-content: space-between; color: var(--text); background: #EDE3D8; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform-origin: 50% 50%; will-change: transform; overflow: hidden; }
.cc--travertin { background:
  radial-gradient(120% 80% at 20% 10%, rgba(255,255,255,.35), transparent 60%),
  repeating-linear-gradient(177deg, transparent 0 18px, rgba(150,118,92,.10) 18px 19px, transparent 19px 31px, rgba(150,118,92,.06) 31px 33px, transparent 33px 52px),
  repeating-linear-gradient(182deg, transparent 0 40px, rgba(150,118,92,.07) 40px 41px, transparent 41px 77px),
  #EDE3D8; }
.cc--powder { background: #F4EDE7; }
.cc--powder::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--accent); border-radius: 3px; pointer-events: none; }
.cc--night { background: #3A2622; color: #FBF8F5; }
.cc--night::before { content: ""; position: absolute; left: 6.6cqw; right: 6.6cqw; top: 15.5cqw; height: 1px; background: #C9A878; opacity: .7; }
.cc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; position: relative; }
.cc__mark { font-family: var(--serif); font-size: max(13px, 3.6cqw); letter-spacing: .2em; text-transform: uppercase; }
.cc__kind { font: 500 max(9px, 1.9cqw)/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .75; text-align: right; }
.cc--night .cc__kind, .cc--night .cc__mark, .cc--night .cc__bot { color: #C9A878; opacity: 1; }
.cc__mid { position: relative; }
.cc__for { font: 400 7.7cqw/1 var(--serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.cc__val { font: 400 10.8cqw/1.02 var(--serif); margin-top: 1.2cqw; font-variant-numeric: tabular-nums; }
.cc__val.is-svc { font-size: 5.4cqw; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2cqw; max-width: 92%; }
.cc__wish { font: 300 max(11px, 2.7cqw)/1.4 var(--sans); margin-top: 2.2cqw; max-width: 88%; overflow-wrap: anywhere; }
.cc__bot { display: flex; justify-content: space-between; gap: 10px; font: 400 max(9px, 2.1cqw)/1.3 var(--sans); letter-spacing: .04em; opacity: .8; position: relative; font-variant-numeric: tabular-nums; }
.cc__bot span:empty { display: none; }
.cc__bot span:nth-child(2) { margin-left: auto; }
.cert__ctl .eyebrow { color: var(--on-dark-muted); margin-bottom: 14px; }
.ct-block { margin-top: 32px; }
.ct-block:first-of-type { margin-top: 0; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--on-dark-line); border-radius: 999px; margin-bottom: 28px; }
.seg button { min-height: 44px; padding: 0 22px; border-radius: 999px; background: none; border: 0; cursor: pointer; color: var(--on-dark); font-size: 15px; }
.seg button[aria-checked="true"] { background: #FBF8F5; color: var(--text); }
.chips--dark .chip, .svc-list--dark .svc, .radios label { color: var(--on-dark); }
.chips--dark .chip { background: transparent; border-color: var(--on-dark-line); padding: 8px 14px; }
.chips--dark { gap: 6px; }
.chips--dark .chip:hover { border-color: var(--on-dark); }
.chips--dark .chip[aria-checked="true"] { background: #FBF8F5; color: var(--text); border-color: #FBF8F5; }
.svc-list--dark { border-top-color: var(--on-dark-line); }
.svc-list--dark .svc { border-bottom-color: var(--on-dark-line); }
.svc-list--dark .svc:hover { background: rgba(255,255,255,.04); }
.svc-list--dark .svc__r { border-color: var(--on-dark); }
.svc-list--dark .svc[aria-checked="true"] .svc__r::after { background: var(--on-dark); }
.svc-list--dark .svc__m { color: var(--on-dark-muted); }
.svc-list--dark .svc[aria-checked="true"] .svc__m { color: var(--on-dark); }
.ct-fits { margin-top: 14px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.5; }
.ct-fits b { color: var(--on-dark); font-weight: 500; }
.field--dark label, .field--dark .opt { color: var(--on-dark-muted); }
.field--dark input { border-bottom-color: var(--on-dark-muted); color: #FBF8F5; }
.field--dark input:focus { border-bottom-color: #FBF8F5; }
.field--dark input::placeholder { color: var(--on-dark-muted); opacity: .7; }
.field--dark.is-err input { border-bottom-color: var(--accent-on-dark); }
.cert-sec .err { color: var(--accent-on-dark); }
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ct-fields .field:first-child, .ct-fields .field:nth-child(2) { margin-top: 0; }
.field--wide { grid-column: 1 / -1; }
.field label .opt { float: right; }
.swatches { display: flex; gap: 20px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--on-dark-muted); font-size: 13px; padding: 0; min-width: 56px; }
.sw i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--on-dark-line); box-shadow: 0 0 0 0 transparent; transition: box-shadow .2s; }
.sw[aria-checked="true"] { color: #FBF8F5; }
.sw[aria-checked="true"] i { box-shadow: 0 0 0 2px var(--dark), 0 0 0 3px #FBF8F5; }
.sw--travertin i { background: repeating-linear-gradient(170deg, #EDE3D8 0 5px, #E0D2C3 5px 6px); }
.sw--powder i { background: #F4EDE7; box-shadow: inset 0 0 0 4px #F4EDE7, inset 0 0 0 5px var(--accent); }
.sw--powder[aria-checked="true"] i { box-shadow: inset 0 0 0 4px #F4EDE7, inset 0 0 0 5px var(--accent), 0 0 0 2px var(--dark), 0 0 0 3px #FBF8F5; }
.sw--night i { background: #3A2622; border-color: #C9A878; }
.radios { display: grid; gap: 4px; }
.radios label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 15px; line-height: 1.35; }
.radios input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #FBF8F5; }
.radios .price { margin-left: auto; color: var(--on-dark-muted); white-space: nowrap; padding-left: 12px; }
.ct-total { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--on-dark-line); }
.ct-total > div { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.ct-total__l { font-size: 15px; color: var(--on-dark-muted); }
.ct-total__v { font-size: 44px; line-height: 1; color: var(--accent-on-dark); font-variant-numeric: tabular-nums; }
.cert-sec .btn--acc:disabled { background: rgba(255,255,255,.08); color: var(--on-dark-muted); }
.ct-form { margin-top: 12px; }
.consent--dark { color: var(--on-dark); }
.consent--dark input { accent-color: #FBF8F5; }
.ct-ok { margin-top: 28px; padding: 28px; border: 1px solid var(--on-dark-line); border-radius: 4px; outline: none; }
.ct-ok h3 { font: 400 34px/1.1 var(--serif); color: #FBF8F5; margin-bottom: 12px; }
.ct-ok p { color: var(--on-dark); }
.ct-ok .demo-note { color: var(--on-dark-muted); }
.ct-ok .btn--text { color: #FBF8F5; margin-top: 10px; }
.cert__nojs { color: var(--on-dark); }
@media (max-width: 1023px) {
  .cert__prev { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .cert__facts { display: none; }
  .cert__ctl { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .cc-wrap { max-width: none; }
  .ct-fields { grid-template-columns: 1fr; }
  .ct-fields .field:nth-child(2) { margin-top: 20px; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 0 10px; }
  .ct-total__v { font-size: 38px; }
  .ct-total .btn { white-space: normal; }
}

/* Вопросы */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.faq__head { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr) + 40px); }
.faq__head .h2 { max-width: 12ch; font-size: clamp(44px, 4.6vw, 66px); }
.faq__list { grid-column: 7 / 13; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 18px 0; cursor: pointer; font-size: 19px; font-weight: 500; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: var(--text); transition: transform .3s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 1023px) {
  .faq__head { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  /* планшет: заголовки секций на всю строку, без столбика в 5–6 строк */
  .quiz__intro .h2, .masters__head .h2, .rev__head .h2, .faq__head .h2 { max-width: 18ch; }
}
@media (max-width: 767px) {
  .faq summary { font-size: 17px; min-height: 64px; }
  .faq details p { padding-right: 0; }
}

/* Контакты */
.contacts { background: var(--surface); }
.contacts__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.contacts__ph { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.contacts__info { grid-column: 9 / 13; }
.contacts__info .h2 { font-size: clamp(44px, 4.5vw, 64px); }
.cinfo { margin: 36px 0 0; display: grid; gap: 22px; }
.cinfo div { display: grid; gap: 4px; }
.cinfo dt { font: 500 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo dd { margin: 0; font-size: 17px; }
.cinfo dd a:not(.tlink) { text-decoration: none; display: inline-block; padding: 10px 0; }
.cinfo .tlink { display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 500; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
@media (max-width: 1023px) {
  .contacts__ph { grid-column: 1 / -1; margin-bottom: 40px; aspect-ratio: 16 / 9; }
  .contacts__info { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .contacts__ph { margin: 0 calc(var(--gut) * -1) 32px; aspect-ratio: 4 / 3; }
  .btnrow .btn { width: 100%; }
}

/* Подвал */
.ftr { background: var(--dark); color: var(--on-dark); padding: 88px 0 32px; font-size: 15px; line-height: 1.6; }
.ftr a { text-decoration: none; }
.ftr a:hover, .ftr .linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr .linkbtn { text-decoration: none; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; }
.ftr__grid p { color: var(--on-dark-muted); }
.ftr__grid a, .ftr__grid .linkbtn { color: var(--on-dark); }
.brand--ftr { color: #FBF8F5; margin-bottom: 18px; }
.brand--ftr .brand__sub { color: var(--on-dark-muted); }
.ftr nav li { padding: 2px 0; }
.ftr nav a, .ftr nav .linkbtn { display: inline-block; padding: 8px 0; }
.ftr__grid p a[href^="tel"], .ftr__grid p a[href^="mailto"] { display: inline-block; padding: 10px 0; }
.ftr__copy { position: relative; margin-top: 64px; padding-top: 24px; color: var(--on-dark-muted); font-size: 13px; }
.ftr__copy::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--on-dark-line); }
@media (max-width: 1023px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ftr { padding: 64px 0 24px; } .ftr__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Мобильная панель */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
  .mbar .btn { min-height: 56px; padding: 0 12px; font-size: 15px; }
  .mbar.is-hidden { transform: translateY(110%); }
}

/* Мобильное меню */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.menu__top { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex: none; }
.xbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: inherit; border-radius: 50%; }
.xbtn:hover { background: var(--surface-2); }
.menu__nav { display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 24px; }
.menu__nav a { font: 400 40px/1.15 var(--serif); text-decoration: none; padding: 8px 0; letter-spacing: -.01em; }
.menu__nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu__foot { margin-top: auto; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.menu__tel { font-size: 20px; font-weight: 500; text-decoration: none; }
.menu__foot p { color: var(--muted); font-size: 15px; }

/* Модалки */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__bg { position: absolute; inset: 0; background: rgba(35, 24, 22, .55); }
.modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border-radius: 4px; padding: 40px 40px 36px; animation: mIn .3s var(--ease); }
@keyframes mIn { from { opacity: 0; transform: translateY(12px); } }
.modal__x { position: absolute; top: 10px; right: 10px; }
.modal__h { font-size: 40px; line-height: 1.05; margin-bottom: 12px; padding-right: 40px; }
.modal__p { color: var(--muted); font-size: 16px; }
.okbox { outline: none; }
.okbox p { font-size: 18px; }
@media (max-width: 767px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { max-width: none; border-radius: 12px 12px 0 0; padding: 32px 16px calc(24px + env(safe-area-inset-bottom)); max-height: 92vh; max-height: 92dvh; }
  .modal__h { font-size: 34px; }
}

/* ===== uslugi.html ===== */
.pr-head { padding: 72px 0 56px; }
.pr-head .h1 { font-size: clamp(56px, 8.4vw, 120px); }
.pr-head .lead { max-width: 46ch; margin-top: 28px; color: var(--muted); font-size: 19px; }
.anchors { position: sticky; top: var(--hdr); z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.anchors__in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.anchors__in::-webkit-scrollbar { display: none; }
.anchors a { flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; text-decoration: none; font-size: 15px; white-space: nowrap; position: relative; }
.anchors a:first-child { padding-left: 0; }
.anchors a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.anchors a:first-child::after { left: 0; }
.anchors a:hover::after, .anchors a.is-on::after { transform: none; }
.pr-sec { padding: 120px 0 0; scroll-margin-top: calc(var(--hdr) + 60px); }
.pr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.pr-top { grid-column: 1 / 9; grid-row: 1; position: relative; z-index: 2; padding-top: 40px; }
.pr-top .h2 { font-size: clamp(44px, 4.45vw, 64px); max-width: none; }
.pr-top p { margin-top: 18px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.pr-ph { grid-column: 10 / 13; grid-row: 1 / 3; }
.pr-ph .ph { aspect-ratio: 3 / 4; }
.pr-ph .cap { margin-top: 12px; }
.pr-table { grid-column: 1 / 9; grid-row: 2; margin-top: 40px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th { font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 0 0 14px 16px; border-bottom: 1px solid var(--text); white-space: nowrap; }
.ptable th:first-child { text-align: left; padding-left: 0; }
.ptable td { padding: 18px 0 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.ptable .pn { font-weight: 500; display: block; }
.ptable .pd { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 2px; max-width: 48ch; }
.ptable .pp { font-weight: 500; }
.ptable .pm { display: none; }
.ptable .pl a { font-size: 14px; font-weight: 500; display: inline-block; padding: 0; }
.ptable td.pl { padding-top: 16px; }
.ptable .dash { color: var(--muted); }
.pr-certs { padding: 120px 0 0; }
.pr-certs .h2 { font-size: clamp(44px, 4.45vw, 64px); max-width: none; }
.pr-certs p.sub { margin-top: 18px; color: var(--muted); max-width: 52ch; font-size: 18px; }
.clist { margin-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.clist li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.clist li span:last-child { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-certs .btn { margin-top: 32px; }
.pr-end { margin-top: 140px; background: var(--surface-2); padding: 96px 0; }
.pr-end .h2 { font-size: clamp(40px, 4.45vw, 64px); max-width: none; }
.pr-end p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.pr-end .btnrow { margin-top: 28px; }
@media (max-width: 1023px) {
  .pr-top { grid-column: 1 / 9; }
  .pr-ph { grid-column: 9 / 13; }
  .pr-table { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 767px) {
  .pr-head { padding: 40px 0 36px; }
  .pr-head .lead { font-size: 16px; }
  .anchors a { min-height: 48px; }
  .pr-sec { padding-top: 72px; }
  .pr-grid { display: flex; flex-direction: column; }
  .pr-ph { order: 1; width: 72%; align-self: flex-end; }
  .pr-ph .ph { aspect-ratio: 4 / 3; }
  .pr-top { order: 2; padding-top: 0; margin-top: -.45em; }
  .pr-top .h2 { font-size: 44px; }
  .pr-top p { font-size: 16px; }
  .pr-ph .cap { display: none; }
  .pr-table { order: 3; margin-top: 24px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ptable td { border: 0; padding: 0; text-align: left; white-space: normal; }
  .ptable td.pt, .ptable td.pp, .ptable td.pp2 { display: none; }
  .ptable .pm { display: block; margin-top: 8px; font-weight: 500; font-size: 15px; }
  .ptable td.pl { padding-top: 4px; }
  .ptable .pl a { padding: 10px 0; font-size: 15px; }
  .pr-certs { padding-top: 72px; }
  .pr-end { margin-top: 88px; padding: 64px 0; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn--dark { background: var(--text); color: var(--surface); }
.btn--dark:hover { background: #45322D; }
@media (min-width: 768px) {
  .ptable td.pt { width: 110px; }
  .ptable td.pp, .ptable td.pp2 { width: 132px; }
  .ptable td.pl { width: 128px; }
  .ptable td.pp2 .pp { color: var(--muted); }
  .pr-ph { position: sticky; top: calc(var(--hdr) + 80px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* планшет: фото над таблицей не липнет (иначе наезжает на цены), колонки таблицы уже */
  .pr-ph { position: static; }
  .ptable td.pt { width: 76px; }
  .ptable td.pp, .ptable td.pp2 { width: 96px; }
  .ptable td.pl { width: 112px; }
}
