/* Детейлинг-студия — оформление в стиле Mercedes.
   Светлый «бокс»: белый, серебро, глубокий чёрный; засечные заголовки, много воздуха, тонкие линии.
   Моушен спокойный: по заголовкам один раз проходит серебряный блик (как свет по хрому),
   блоки проявляются из лёгкого размытия, страницы сменяются светлой вуалью с тонкой световой линией. */

@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f3f1; --bg-2: #ffffff; --bg-3: #e9e9e6; --bg-dark: #0d0e10;
  --line: rgba(13,14,16,.09); --line-2: rgba(13,14,16,.2);
  --ink: #0d0e10; --ink-2: #3c3f45; --mute: #73777e;
  --silver-1: #f7f7f7; --silver-2: #b9bcc1; --silver-3: #8b8f96;
  --accent: #0078d6; /* только фокус и активные состояния */
  --ok: #1f9d57;
  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Noto Serif', 'Times New Roman', serif;
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --pad: clamp(20px, 4.4vw, 72px);
  --hdr: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
#app { outline: none; min-height: 100vh; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- Типографика ---- */
.display { font-family: var(--serif); font-size: clamp(48px, 7vw, 116px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.h1 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 70px); font-weight: 400; line-height: 1.05; letter-spacing: -.015em; }
.h2 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.6; color: var(--ink-2); font-weight: 400; max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, var(--silver-3), var(--silver-2)); }
.label { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .4s; }
.link:hover { border-color: var(--ink); }
.link .arrow { width: 16px; height: 16px; }
.link-plain { transition: opacity .3s; }
.link-plain:hover { opacity: .65; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; transition: transform .6s var(--ease-out); }
.star { width: 15px; height: 15px; fill: currentColor; }
[data-count], .tile__price, .svc__price, .cta__phone, .hero__stats dt, .score b, .page { font-variant-numeric: tabular-nums lining-nums; }
.stripe { display: block; height: 1px; background: linear-gradient(90deg, var(--silver-3), var(--silver-1)); }

/* серебряный блик: светлая полоса один раз проходит по тексту, как свет по хромированной детали */
.hero__title .ln > span, .page-head__title, .hero__stats dt, .score b, .svc__price, .cta__title {
  background: linear-gradient(100deg, currentColor 0 42%, var(--sheen, #c7cbd1) 50%, currentColor 58% 100%);
  background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.is-ready .hero__title .ln > span, .is-ready .page-head__title, .is-ready .svc__price { animation: sheen 2.4s 1s var(--ease) both; }
.is-ready .hero__stats dt { animation: sheen 2.2s 1.5s var(--ease) both; }
.in .score b, .score.in b, .cta__title.in { animation: sheen 2.2s .5s var(--ease) both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.cta__title { --sheen: #9aa0a8; }

/* ---- Кнопки ---- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 32px; font-size: 14px; font-weight: 600; letter-spacing: .04em; border: 1px solid transparent; border-radius: 2px; overflow: hidden; isolation: isolate; transition: background-color .4s, border-color .4s, color .4s; white-space: nowrap; }
.btn--sm { height: 42px; padding: 0 22px; font-size: 13px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-120%); }
.btn--primary:hover { background: #24262a; }
.btn--primary:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; transition: opacity .3s; }
.icon-btn svg, .search__icon, .search__close svg, .modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.icon-btn:hover { opacity: .6; }

/* ---- Логотип ---- */
.logo { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 19px; letter-spacing: .3em; line-height: 1; text-transform: uppercase; }
.logo b { font-weight: 400; }
.logo span { font-family: var(--font); font-size: .58em; font-weight: 600; letter-spacing: .42em; color: var(--mute); }
.logo__stripe { display: none; }
.logo--lg { font-size: 30px; justify-self: start; align-self: start; color: #fff; }
.logo--lg span { color: var(--silver-3); }

/* ---- Шапка ---- */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 0 var(--pad); transition: transform .7s var(--ease-out), background-color .5s, border-color .5s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(243,243,241,.84); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__logo { justify-self: start; }
.hdr__menu { display: flex; gap: 4px; }
.hdr__right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.hdr__phone { font-size: 14px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; transition: opacity .3s; }
.hdr__phone:hover { opacity: .6; }

.dd { position: relative; }
.dd__link { position: relative; display: block; padding: 12px 16px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); transition: color .3s; }
.dd__link::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s var(--ease-out); }
.dd__link:hover, .dd.is-open .dd__link, .dd__link.is-on { color: var(--ink); }
.dd.is-open .dd__link::after, .dd__link.is-on::after { opacity: 1; transform: none; }
.dd__panel { position: absolute; top: calc(100% + 12px); left: 50%; width: 340px; margin-left: -170px; padding: 24px 26px 22px; background: #fff; border-radius: 2px; box-shadow: 0 1px 0 var(--line), 0 30px 70px -24px rgba(13,14,16,.28); font-size: 14px; color: var(--ink-2);
  visibility: hidden; opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .35s, transform .5s var(--ease-out), filter .4s, visibility 0s .5s; }
.dd__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd.is-open .dd__panel { visibility: visible; opacity: 1; transform: none; filter: none; transition: opacity .35s, transform .5s var(--ease-out), filter .4s, visibility 0s; }
.dd__panel--wide { width: 460px; margin-left: -230px; }
.dd__panel--end { left: auto; right: 0; margin-left: 0; }
.dd__plain li { padding: 5px 0; line-height: 1.45; }
.dd__svc li a { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.dd__svc li a:hover { color: var(--ink); }
.dd__svc b { flex: none; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.dd__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--ink); }
.dd__all:hover .arrow, .more-link:hover .arrow, .tile__more:hover .arrow { transform: translateX(6px); }
.dd__score { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-bottom: 12px; }
.dd__score b { grid-row: span 2; font-family: var(--serif); font-size: 44px; font-weight: 400; color: var(--ink); }
.dd__score .review__stars { color: var(--ink); }
.dd__score span { font-size: 12px; color: var(--mute); }
.dd__review { padding: 12px 0; border-top: 1px solid var(--line); }
.dd__review blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; font-style: italic; font-family: var(--serif); font-size: 15px; }
.dd__review figcaption { margin-top: 6px; font-size: 12px; color: var(--mute); }
.dd__foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dd__foto img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.dd__phone { display: block; font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.dd__panel p { margin-bottom: 4px; }
.dd__panel .btn { margin-top: 14px; }

.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease-out), top .6s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---- Меню телефона ---- */
.menu { position: fixed; z-index: 45; inset: 0; padding: calc(var(--hdr) + 16px) var(--pad) 40px; background: var(--bg); overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .5s var(--ease), visibility 0s; }
.mdd { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); filter: blur(3px); transition: opacity .5s, transform .7s var(--ease-out), filter .5s; }
.menu-open .mdd { opacity: 1; transform: none; filter: none; }
.menu-open .mdd:nth-child(2) { transition-delay: .06s; } .menu-open .mdd:nth-child(3) { transition-delay: .12s; }
.menu-open .mdd:nth-child(4) { transition-delay: .18s; } .menu-open .mdd:nth-child(5) { transition-delay: .24s; }
.mdd__row { display: flex; align-items: center; }
.mdd__toggle { flex: 1; text-align: left; padding: 18px 0; font-family: var(--serif); font-size: 32px; }
.mdd.is-on .mdd__toggle { font-style: italic; }
.mdd__go { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; }
.mdd__panel { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.mdd__panel .dd__svc li a { padding: 11px 0; }
.menu__foot { color: var(--mute); font-size: 14px; }
.menu__phone { display: block; font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 8px; }

/* ---- Появления: из лёгкого размытия, как фокус объектива ---- */
[data-intro] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-out), filter 1.2s var(--ease); }
.is-ready [data-intro] { opacity: 1; transform: none; filter: none; }
.is-ready [data-intro="1"] { transition-delay: .3s; } .is-ready [data-intro="2"] { transition-delay: .4s; }
.is-ready [data-intro="3"] { transition-delay: .75s; } .is-ready [data-intro="4"] { transition-delay: .9s; }
.is-ready [data-intro="5"] { transition-delay: 1.1s; }
.hero__title[data-intro] { opacity: 1; transform: none; filter: none; }
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: block; opacity: 0; transform: translateY(60%); transition: opacity 1.2s var(--ease), transform 1.5s var(--ease-out); }
.is-ready .ln > span { opacity: 1; transform: none; }
.is-ready .ln:nth-child(1) > span { transition-delay: .35s; } .is-ready .ln:nth-child(2) > span { transition-delay: .5s; } .is-ready .ln:nth-child(3) > span { transition-delay: .65s; }

[data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out), filter 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
/* кадры проявляются из света: от белого и чуть крупнее */
[data-reveal="imgs"] { opacity: 1; transform: none; filter: none; }
[data-reveal="imgs"] > * { opacity: 0; transition: opacity 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal="imgs"].in > * { opacity: 1; }
[data-reveal="imgs"] img { transform: scale(1.06); filter: brightness(1.25) saturate(.6); transition: transform 2.2s var(--ease-out), filter 1.8s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
[data-reveal="imgs"].in img { transform: none; filter: none; }
.no-anim [data-intro], .no-anim [data-reveal], .no-anim [data-reveal] > *, .no-anim [data-reveal] img, .no-anim .ln > span, .no-anim [data-hero-media] img { transition: none !important; }

/* ---- Первый экран ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.8s var(--ease), transform 4.5s var(--ease-out); }
.is-ready .hero__media img, .hero-static .hero__media img { opacity: 1; transform: none; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243,243,241,.9) 0, rgba(243,243,241,0) 170px), linear-gradient(90deg, rgba(243,243,241,.94) 0%, rgba(243,243,241,.78) 34%, rgba(243,243,241,0) 62%), linear-gradient(0deg, rgba(243,243,241,.9) 0%, rgba(243,243,241,0) 30%); }
.hero__scan { display: none; }
.hero__content { position: relative; padding-top: calc(var(--hdr) + clamp(50px, 9vh, 120px)); }
.hero__title { margin: 26px 0 28px; }
.hero__lead { max-width: 30em; font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); margin-bottom: 36px; }
.rating { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); font-size: 13px; color: var(--ink-2); transition: background-color .3s; }
.rating:hover { background: #fff; }
.rating b { color: var(--ink); font-size: 15px; font-weight: 700; }
.hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 40px; padding-bottom: 36px; }
.hero__stats > div { padding: 22px 26px 0 0; border-top: 1px solid var(--line-2); margin-right: 26px; }
.hero__stats dt { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 38px); font-weight: 400; }
.hero__stats dd { margin-top: 4px; font-size: 13px; color: var(--mute); }

/* ---- Витрины главной ---- */
.show { padding-top: clamp(100px, 12vw, 190px); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 30px; margin-bottom: clamp(40px, 4.5vw, 70px); }
.sec-head__num { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .26em; color: var(--mute); }
.sec-head__num .stripe { width: 46px; }
.more-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 12px 22px; border: 1px solid var(--line-2); border-radius: 999px; transition: background-color .4s, border-color .4s, color .4s; }
.more-link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.show__about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 7vw, 130px); align-items: start; }
.show__about .lead { font-family: var(--serif); font-size: clamp(22px, 2.1vw, 34px); color: var(--ink); line-height: 1.4; }
.index-list li { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list span { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--silver-3); }
.show--reviews { background: #fff; margin-top: clamp(100px, 12vw, 190px); padding: clamp(80px, 9vw, 140px) 0; }
.show--reviews .wrap:first-child { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; }
.show--reviews .sec-head { margin-bottom: 0; }
.show--reviews .reviews { margin-top: clamp(40px, 4.5vw, 70px); }
.show--reviews + .show { padding-top: clamp(80px, 9vw, 140px); }
.show--reviews .review { background: var(--bg); }
.show__contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.show__contacts > div { padding-top: 24px; border-top: 1px solid var(--line-2); }
.show__contacts p:not(.label) { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); }

/* ---- Плитки ---- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 28px; }
.tile { position: relative; display: flex; flex-direction: column; }
.tile__link { display: block; }
.tile__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
/* по кадру проходит мягкий отблеск, как свет ламп по кузову */
.tile__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-100%); pointer-events: none; }
.tile:hover .tile__media img { transform: scale(1.04); }
.tile:hover .tile__media::after { transform: translateX(100%); transition: transform 1.3s var(--ease); }
.tile__cat { display: block; margin-top: 20px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__name { margin-top: 10px; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.3; }
.tile__price { margin-top: 12px; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.tile__desc { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }
.tile__more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.tile--anim { animation: tileIn 1s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }

/* ---- Отзывы ---- */
.score { display: flex; align-items: center; gap: 20px; }
.score b { font-family: var(--serif); font-size: clamp(70px, 7.4vw, 120px); font-weight: 400; line-height: .9; }
.score span { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); }
.review__stars { display: flex; gap: 3px; color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 20px; padding: 34px 30px; background: #fff; border-radius: 2px; box-shadow: 0 1px 0 var(--line); transition: box-shadow .6s var(--ease), transform .7s var(--ease-out); }
.review:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13,14,16,.3); }
.review blockquote { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink); }
.review figcaption { margin-top: auto; display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.review figcaption b { color: var(--ink); font-size: 14px; font-weight: 600; }
.reviews--all { margin-top: 50px; }

/* ---- Фото ---- */
.foto__grid { display: grid; gap: 16px; }
.foto__item { overflow: hidden; background: var(--bg-3); }
.foto__item img { width: 100%; height: 100%; object-fit: cover; }
.foto__grid--show { grid-template-columns: 1fr 1.5fr 1fr; height: clamp(320px, 36vw, 560px); }
.foto__grid--show .foto__item:nth-child(2) { margin-top: 60px; }
.foto__grid--all { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 250px); grid-auto-flow: row dense; }
.foto__grid--all .foto__item { grid-column: span 2; }
.foto__grid--all .foto__item:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
.foto__grid--all .foto__item:nth-child(5), .foto__grid--all .foto__item:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.foto__grid--all .foto__item:nth-child(10) { grid-column: 1 / -1; grid-row: span 2; }
.foto__note { margin-top: 18px; font-size: 13px; color: var(--mute); }

/* ---- Страницы ---- */
.pg-first { padding-top: calc(var(--hdr) + clamp(50px, 7vw, 110px)); }
.pg-first--flush { padding-top: var(--hdr); }
.page-head { margin-bottom: clamp(44px, 5vw, 80px); }
.page-head__title { margin-top: 22px; }
.page-head__meta { margin-top: 16px; font-size: 15px; color: var(--mute); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 130px); padding-bottom: clamp(100px, 11vw, 160px); }
.about__grid .lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); color: var(--ink); line-height: 1.45; }
.index-list--full { margin-bottom: 48px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 var(--line); font-size: 14px; color: var(--ink-2); }
.catalog, .reviews-page, .foto { padding-bottom: clamp(100px, 11vw, 160px); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 50px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background-color .4s, border-color .4s, color .4s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pages { display: flex; gap: 10px; margin-top: 70px; justify-content: center; }
.page { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--serif); font-size: 16px; color: var(--ink-2); transition: border-color .4s, background-color .4s, color .4s; }
.page:hover { border-color: var(--ink); color: var(--ink); }
.page.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Карточка услуги ---- */
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.back .arrow { transform: rotate(180deg); }
.back:hover { color: var(--ink); }
.back:hover .arrow { transform: rotate(180deg) translateX(6px); }
.svc__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img { width: 100%; height: 100%; object-fit: cover; }
.svc__title { margin: 20px 0 24px; font-family: var(--serif); font-size: clamp(32px, 3.2vw, 52px); font-weight: 400; line-height: 1.12; }
.svc__price { display: inline-block; font-family: var(--serif); font-size: clamp(32px, 3vw, 46px); margin-bottom: 32px; }
.svc__facts { margin-top: 40px; }
.svc__facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.svc__facts dt { color: var(--mute); }
.svc__desc { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: clamp(90px, 10vw, 150px); }
.rich { max-width: 760px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 16px; }
.rich li { position: relative; padding-left: 26px; margin: 8px 0; }
.rich li::before { content: ''; position: absolute; left: 0; top: .82em; width: 14px; height: 1px; background: var(--silver-3); }

.more { padding-top: clamp(90px, 10vw, 150px); }
.more__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.more__nav { display: flex; gap: 8px; }
.more__nav button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .4s, background-color .4s, color .4s; }
.more__nav button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.more__nav button:first-child .arrow { transform: rotate(180deg); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad) 10px; scroll-padding: 0 var(--pad); }
.rail::-webkit-scrollbar { display: none; }
.rail .tile { scroll-snap-align: start; }
@media (min-width: 1440px) { .rail { padding-left: calc((100vw - 1440px) / 2 + var(--pad)); scroll-padding-left: calc((100vw - 1440px) / 2 + var(--pad)); } }

/* ---- Контакты: вечерний фасад, светлый текст ---- */
.cta { position: relative; margin-top: clamp(100px, 12vw, 190px); padding: clamp(110px, 13vw, 200px) 0 clamp(70px, 8vw, 120px); overflow: hidden; background: var(--bg-dark); color: #fff; }
.pg-first--flush .cta { margin-top: 0; }
.cta__media { position: absolute; inset: -8% 0; will-change: transform; }
.cta__media picture, .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,14,16,.9) 0%, rgba(13,14,16,.66) 50%, rgba(13,14,16,.25) 100%), linear-gradient(0deg, rgba(13,14,16,.85), transparent 55%); }
.cta__inner { position: relative; }
.cta .eyebrow, .cta .label, .cta .status { color: var(--silver-2); }
.cta__title { margin: 26px 0 10px; max-width: 11ch; color: #fff; }
.cta__phone { display: inline-block; margin: 22px 0 36px; font-family: var(--serif); font-size: clamp(36px, 5vw, 84px); line-height: 1; white-space: nowrap; transition: opacity .4s; }
.cta__phone:hover { opacity: .7; }
.cta .btn--primary { background: #fff; color: var(--ink); }
.cta .btn--primary:hover { background: var(--silver-1); }
.cta .btn--primary::after { background: linear-gradient(105deg, transparent 35%, rgba(13,14,16,.08) 50%, transparent 65%); }
.cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.cta .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cta .link { border-color: rgba(255,255,255,.35); }
.cta .link:hover { border-color: #fff; }
.cta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(60px, 7vw, 110px); padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.cta__grid p:not(.label) { font-size: 17px; }
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 13px; color: var(--mute); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--silver-3); }
.status.is-open i { background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,87,.16); }

/* ---- Подвал ---- */
.footer { position: relative; margin-top: clamp(100px, 12vw, 190px); padding: 80px 0 36px; background: var(--bg-dark); color: var(--silver-2); }
.cta + .footer, .pg-first--flush + .footer { margin-top: 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__nav a { width: fit-content; transition: color .3s; }
.footer__nav a:hover, .footer__nav a.is-on { color: #fff; }
.footer__contacts { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.footer__contacts a { font-family: var(--serif); font-size: 24px; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: var(--silver-3); }

/* ---- Поиск ---- */
.search { position: fixed; z-index: 70; inset: 0; visibility: hidden; transition: visibility 0s .6s; }
.search-open .search { visibility: visible; transition: none; }
.search__backdrop { position: absolute; inset: 0; background: rgba(13,14,16,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.search-open .search__backdrop { opacity: 1; }
.search__panel { position: relative; background: #fff; padding: 36px 0 32px; max-height: 88vh; overflow-y: auto; opacity: 0; transform: translateY(-24px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); box-shadow: 0 30px 60px -30px rgba(13,14,16,.3); }
.search-open .search__panel { opacity: 1; transform: none; }
.search__bar { display: flex; align-items: center; gap: 16px; margin-top: 18px; border-bottom: 1px solid var(--line-2); transition: border-color .4s; }
.search__bar:focus-within { border-color: var(--ink); }
.search__icon { flex: none; color: var(--mute); width: 24px; height: 24px; }
.search__input { flex: 1; min-width: 0; height: 76px; background: none; border: 0; outline: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 38px); }
.search__input::placeholder { color: var(--silver-2); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s; }
.search__close:hover { background: var(--bg); }
.search__hint { margin-top: 18px; font-size: 14px; color: var(--mute); }
.search__list { margin-top: 12px; }
.sres { display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; align-items: baseline; padding: 16px 18px; border-radius: 2px; cursor: pointer; animation: sresIn .5s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes sresIn { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.sres.is-active { background: var(--bg); }
.sres__name { font-size: 17px; font-weight: 500; }
.sres__name mark { background: linear-gradient(transparent 62%, #dfe2e6 62%); color: inherit; }
.sres__meta { font-size: 13px; color: var(--mute); text-align: right; }
.sres--cat .sres__name::before { content: 'Категория'; display: inline-block; margin-right: 10px; padding: 2px 9px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; vertical-align: 3px; }
.search__empty { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; color: var(--ink-2); }

/* ---- Формы ---- */
.modal { position: fixed; z-index: 80; inset: 0; visibility: hidden; transition: visibility 0s .7s; }
.modal-open .modal { visibility: visible; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13,14,16,.36); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .6s; }
.modal-open .modal__backdrop { opacity: 1; }
.modal__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); padding: 60px clamp(24px, 3.6vw, 54px) 40px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .8s var(--ease-io); }
.modal-open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: background-color .3s, transform .6s var(--ease-out); }
.modal__close:hover { background: var(--bg); transform: rotate(90deg); }
.modal__title { margin: 16px 0 12px; font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); font-weight: 400; line-height: 1.1; }
.demo-note { display: inline-block; margin-bottom: 28px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #8a5a00; background: #fff4dc; }
.lead-done .demo-note { margin-bottom: 30px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; outline: 0; font-size: 17px; transition: border-color .4s; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 10px) 50%, calc(100% - 4px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 30px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c4302b; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 20px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check.is-invalid { color: #c4302b; }
.lead__error { margin-bottom: 18px; padding: 12px 16px; border-radius: 2px; background: #fdeeed; color: #9b2420; font-size: 14px; }
.lead__submit { width: 100%; }
.lead.is-sending .lead__submit::before { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(255,255,255,.7); transform-origin: left; animation: sending .7s linear both; }
@keyframes sending { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lead__alt { margin-top: 18px; font-size: 14px; color: var(--mute); }
.lead__alt a { color: var(--ink); font-weight: 600; }
.lead-done { outline: none; }

.dock { display: none; }

/* ---- Переходы ---- */
.fx-clone { position: fixed; z-index: 90; overflow: hidden; pointer-events: none; background: var(--bg-3); }
.fx-clone img { width: 100%; height: 100%; object-fit: cover; }
.fx-curtain { position: fixed; z-index: 95; inset: 0; pointer-events: none; }
.fx-curtain--light { background: var(--bg); opacity: 0; }
.fx-curtain--light i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--silver-3) 30%, var(--ink) 50%, var(--silver-3) 70%, transparent); transform: scaleX(0); }
.fx-curtain--stripes { background: var(--bg); transform: translateX(-112%); }

/* ---- Адаптив ---- */
@media (max-width: 1180px) {
  .hdr { grid-template-columns: auto 1fr; }
  .hdr__menu, .hdr__phone { display: none; }
  .burger { display: block; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .reviews { grid-template-columns: 1fr; }
  .show__about, .about__grid, .svc__grid, .svc__desc { grid-template-columns: 1fr; }
  .svc__desc { gap: 20px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top .logo { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  body { font-size: 15px; }
  .hdr { gap: 10px; }
  .hdr__right { gap: 2px; }
  .hdr__book { display: none; }
  .logo { font-size: 16px; letter-spacing: .24em; gap: 8px; }
  .hero { justify-content: flex-end; }
  .hero__content { padding-top: calc(var(--hdr) + 30px); }
  .hero__shade { background: linear-gradient(0deg, rgba(243,243,241,.97) 0%, rgba(243,243,241,.88) 42%, rgba(243,243,241,.1) 70%, rgba(243,243,241,0) 100%); }
  .hero__title { margin: 18px 0 18px; }
  .hero__stats { padding-top: 26px; padding-bottom: 26px; }
  .hero__stats > div { padding: 14px 12px 0 0; margin-right: 12px; }
  .hero__stats dd { font-size: 12px; }
  .hero .btn-row .btn { flex: 1; padding: 0 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .more-link { justify-self: start; }
  .show--reviews .wrap:first-child { grid-template-columns: 1fr; gap: 26px; }
  .show__contacts, .cta__grid { grid-template-columns: 1fr; }
  .show__contacts > div { padding: 18px 0 0; margin-bottom: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .tile__media { aspect-ratio: 16 / 10; }
  .foto__grid--show { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; height: 128vw; gap: 10px; }
  .foto__grid--show .foto__item:nth-child(2) { margin-top: 0; grid-column: span 2; grid-row: 1; }
  .foto__grid--all { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 10px; }
  .foto__grid--all .foto__item, .foto__grid--all .foto__item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .foto__grid--all .foto__item:nth-child(3n+1) { grid-column: span 2; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 36px; padding: 0 var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .sres { grid-template-columns: 1fr; padding: 13px 12px; }
  .sres__meta { text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
  .cta__phone { font-size: clamp(32px, 10vw, 48px); }
  .rail { grid-auto-columns: 82vw; gap: 16px; }
  .more__nav { display: none; }
  .modal__panel { padding-top: 66px; }
  .dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(160%); transition: transform .7s var(--ease-out); }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; height: 56px; border-radius: 999px; box-shadow: 0 16px 30px -12px rgba(13,14,16,.5); }
  .dock__call { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 16px 30px -12px rgba(13,14,16,.35), 0 0 0 1px var(--line); }
  .dock__call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
}
@media (max-width: 380px) {
  .hero__stats dt { font-size: 22px; }
  .btn { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-intro], [data-reveal], .ln > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__title .ln > span, .page-head__title, .hero__stats dt, .score b, .svc__price, .cta__title { background-position: 0 0; }
}


/* =========================================================
   Детейлинг: блоки страниц (светлая студия)
   ========================================================= */

/* первый экран: машина под чехлом → мягкая полоса света, как лампа в студии, проходит и открывает её */
.hero--unveil { justify-content: flex-end; }
.hero__cover { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
.hero__cover picture, .hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.hero__edge { position: absolute; top: 0; bottom: 0; left: 0; width: 120px; margin-left: -60px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95) 50%, rgba(255,255,255,0)); opacity: 0; pointer-events: none; filter: blur(2px); }
.is-ready .hero__cover { animation: unveil 2.2s .5s var(--ease-io) forwards; }
.is-ready .hero__edge { animation: edge 2.2s .5s var(--ease-io) forwards; }
@keyframes unveil { to { clip-path: inset(0 0 0 100%); } }
@keyframes edge { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(100vw); } }
.no-anim .hero__cover, .no-anim .hero__edge, .hero-static .hero__cover { display: none; }
.hero--unveil .hero__shade { background: linear-gradient(180deg, rgba(243,243,241,.85) 0, rgba(243,243,241,0) 170px), linear-gradient(90deg, rgba(243,243,241,.8) 0%, rgba(243,243,241,0) 50%), linear-gradient(0deg, rgba(243,243,241,.97) 0%, rgba(243,243,241,.82) 30%, rgba(243,243,241,0) 58%); }
.hero--unveil .hero__content { padding-bottom: clamp(50px, 8vh, 90px); }
.hero--unveil .hero__title { max-width: none; }

.intro { padding-top: clamp(100px, 12vw, 190px); text-align: center; }
.intro__text { max-width: 24ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(30px, 3.5vw, 56px); line-height: 1.2; }
.intro__index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(50px, 6vw, 90px); text-align: left; }
.intro__index a { display: grid; gap: 8px; padding: 28px 30px; background: #fff; border-radius: 2px; box-shadow: 0 1px 0 var(--line); font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); transition: box-shadow .6s var(--ease), transform .7s var(--ease-out); }
.intro__index a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13,14,16,.3); }
.intro__index span { font-size: 15px; font-style: italic; color: var(--silver-3); }
.intro__index em { font-family: var(--font); font-style: normal; font-size: 14px; font-weight: 600; color: var(--mute); }

.line { padding-top: clamp(100px, 12vw, 190px); }
.line .sec-head { margin-bottom: 26px; }
.line__meta { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(40px, 4.5vw, 70px); }
.line__from { flex: none; font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); }

.cards { display: grid; gap: 28px; }
.cards--1 { grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--grid { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.cards--2 .card__media { aspect-ratio: 16 / 10; }
.cards--4 .card__media { aspect-ratio: 3 / 4; }
.card__media picture, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media img { transition: transform 1.6s var(--ease-out); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.4) 50%, transparent 60%); transform: translateX(-100%); pointer-events: none; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media::after { transform: translateX(100%); transition: transform 1.3s var(--ease); }
.card__info { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; padding-top: 20px; }
.card__line { grid-column: 1 / -1; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.card__name { font-family: var(--serif); font-size: clamp(22px, 1.7vw, 28px); font-weight: 400; line-height: 1.2; }
.card__price { grid-column: 1; font-size: 15px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card__more { grid-column: 2; grid-row: 2 / 4; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.card:hover .card__more .arrow { transform: translateX(6px); }
.card--anim { animation: tileIn 1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.card--rail { scroll-snap-align: start; }
.card--rail .card__info { grid-template-columns: 1fr; }
.card--rail .card__more { grid-column: 1; grid-row: auto; margin-top: 10px; }

/* полноэкранные блоки: светлые кадры, тёмный текст на светлой дымке */
.feature, .studio, .mood { position: relative; overflow: hidden; background: var(--bg-3); margin-top: clamp(100px, 12vw, 190px); }
.feature, .studio { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; }
.feature__media, .studio__media, .mood__media { position: absolute; inset: -8% 0; will-change: transform; }
.feature__media picture, .feature__media img, .studio__media picture, .studio__media img, .mood__media picture, .mood__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__shade, .studio__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,243,241,.96) 0%, rgba(243,243,241,.82) 40%, rgba(243,243,241,0) 72%), linear-gradient(0deg, rgba(243,243,241,.9), transparent 40%); }
.feature__content, .studio__content { position: relative; padding-top: 140px; padding-bottom: clamp(60px, 8vw, 110px); }
.feature .display, .studio .display { margin: 24px 0 36px; max-width: 12ch; }
.feature__list { display: grid; max-width: 520px; margin-bottom: 30px; }
.feature__list li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 17px; }
.feature__list li:last-child { border-bottom: 1px solid var(--line-2); }
.feature__list span { font-family: var(--serif); font-style: italic; color: var(--silver-3); }
.feature__list--plain { margin: 28px 0 32px; }
.feature__price { display: inline-block; margin-bottom: 32px; font-family: var(--serif); font-size: clamp(44px, 4.6vw, 76px); line-height: 1; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px; margin-bottom: 36px; }
.specs > div { padding-top: 22px; border-top: 1px solid var(--line-2); }
.specs dt { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 36px); font-variant-numeric: tabular-nums lining-nums; }
.specs dd { margin-top: 4px; font-size: 13px; color: var(--mute); }
.specs--bar { margin: 0; padding: 34px 0; border-bottom: 1px solid var(--line); }
.specs--bar > div { border-top: 0; padding-top: 0; }

/* страница услуги */
.s-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-3); }
.s-hero__media { position: absolute; inset: 0; will-change: transform; }
.s-hero__media picture, .s-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.s-hero__media img { opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease), transform 3.6s var(--ease-out); }
.is-ready .s-hero__media img, .hero-static .s-hero__media img { opacity: 1; transform: none; }
.hero-static .s-hero__media img { transition: none; }
.s-hero .hero__shade { background: linear-gradient(180deg, rgba(243,243,241,.85) 0, rgba(243,243,241,0) 170px), linear-gradient(90deg, rgba(243,243,241,.95) 0%, rgba(243,243,241,.75) 40%, rgba(243,243,241,0) 70%), linear-gradient(0deg, rgba(243,243,241,.9), transparent 40%); }
.s-hero__content { position: relative; padding-top: calc(var(--hdr) + 30px); padding-bottom: clamp(50px, 8vh, 90px); }
.s-hero .display { margin: 20px 0 20px; max-width: 14ch; }
.s-hero__price { display: inline-block; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 42px); margin-bottom: 32px; }
.s-hero .back { position: absolute; top: calc(var(--hdr) + 24px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: 13px; color: var(--mute); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 130px); padding-top: clamp(100px, 11vw, 160px); }
.story__body .lead { margin-bottom: 30px; }
.mood { min-height: 80vh; display: flex; align-items: flex-end; }
.mood__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(243,243,241,.92), rgba(243,243,241,0) 55%); }
.mood__line { position: relative; padding-bottom: clamp(50px, 7vw, 100px); font-family: var(--serif); font-size: clamp(32px, 4.4vw, 72px); line-height: 1.1; max-width: 18ch; }

/* серебряный блик и по цене комплекса, и по цене услуги */
.feature__price, .s-hero__price { background: linear-gradient(100deg, currentColor 0 42%, #c7cbd1 50%, currentColor 58% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature__price.in { animation: sheen 2.2s .4s var(--ease) both; }
.is-ready .s-hero__price { animation: sheen 2.4s 1.1s var(--ease) both; }

/* разделы */
.page-head .crumbs { margin-bottom: 30px; }
.page-head .lead { margin-top: 22px; }
a.filter { display: inline-flex; align-items: center; gap: 10px; }
a.filter span { font-size: 11px; color: var(--mute); font-variant-numeric: tabular-nums; }
a.filter[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
a.filter[aria-current="page"] span { color: var(--silver-2); }
.catalog { padding-bottom: 0; }
.pg-first + .feature, .pg-first + .studio { margin-top: 0; }
.related { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-top: 60px; }
.missing { padding-bottom: 40px; }
.missing .lead { margin-bottom: 30px; }
.frames { padding-top: clamp(80px, 9vw, 130px); }
.frames .label { margin-bottom: 24px; }

/* запись: блок «Контакты» на светлом кадре с машиной под чехлом */
.cta { background: var(--bg-3); color: var(--ink); }
.cta__shade { background: linear-gradient(90deg, rgba(243,243,241,.96) 0%, rgba(243,243,241,.8) 46%, rgba(243,243,241,.15) 100%), linear-gradient(0deg, rgba(243,243,241,.9), transparent 50%); }
.cta .eyebrow, .cta .label, .cta .status { color: var(--mute); }
.cta__title { color: var(--ink); --sheen: #c7cbd1; }
.cta .btn--primary { background: var(--ink); color: #fff; }
.cta .btn--primary:hover { background: #24262a; }
.cta .btn--primary::after { background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); }
.cta .btn--ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.4); }
.cta .btn--ghost:hover { border-color: var(--ink); background: #fff; }
.cta .link { border-color: var(--line-2); }
.cta .link:hover { border-color: var(--ink); }
.cta__grid { border-top-color: var(--line-2); }

.book-svc { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: baseline; margin: 6px 0 24px; padding: 16px 20px; background: var(--bg); border-radius: 2px; }
.book-svc span { grid-column: 1 / -1; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.book-svc b { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.book-svc em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.book-info { margin-top: 34px; }
.book-info > div { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.book-info dt { color: var(--mute); }
.book-info .status { display: flex; }
.lead-done .h2 { margin: 6px 0 16px; }
.dd__panel .link { margin-top: 8px; }

@media (max-width: 1180px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 .card__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .intro__index, .specs { grid-template-columns: 1fr 1fr; }
  .cards--grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .intro { text-align: left; }
  .intro__text { margin: 0; }
  .intro__index { grid-template-columns: 1fr; gap: 12px; }
  .line__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cards--2, .cards--4, .cards--grid { grid-template-columns: 1fr; gap: 40px; }
  .cards--2 .card__media, .cards--4 .card__media { aspect-ratio: 4 / 3; }
  .hero--unveil .hero__shade, .feature__shade, .studio__shade, .s-hero .hero__shade, .cta__shade { background: linear-gradient(0deg, rgba(243,243,241,.98) 0%, rgba(243,243,241,.86) 48%, rgba(243,243,241,.15) 80%, rgba(243,243,241,.6) 100%); }
  .specs { gap: 0 14px; }
  .s-hero .back { top: calc(var(--hdr) + 14px); }
  .mood { min-height: 64vh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cover, .hero__edge { display: none; }
  .feature__price, .s-hero__price { background-position: 0 0; }
}
