/* =========================================================
   MCover — детейлинг-студия. Стили.
   ========================================================= */
:root {
  --bg: #1e1413;            /* фон от заказчика */
  --bg-2: #170f0e;
  --bg-3: #261a18;
  --accent: #b8692f;        /* медь из логотипа */
  --accent-2: #e09a62;
  --accent-3: #f6c79c;
  --copper: linear-gradient(135deg, #f6c79c 0%, #d0894e 35%, #a85a28 70%, #e7a873 100%);
  --text: #f4ebe4;
  --muted: #a8958a;
  --dim: #6f5e56;
  --line: rgba(224, 154, 98, .14);
  --line-2: rgba(224, 154, 98, .28);
  --brand: 'Cinzel', 'Times New Roman', serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(20px, 4vw, 56px);
  --header: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--accent) var(--bg-2); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body::after { /* плёночное зерно поверх всего сайта */
  content: '';
  position: fixed; inset: -50%;
  z-index: 900;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .045;
}
::selection { background: var(--accent); color: #1a0f0b; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
.wrap { width: min(1320px, 100% - var(--pad) * 2); margin-inline: auto; }

/* ---------- Скроллбар ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 50%, #7a3f17);
  border: 3px solid var(--bg-2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.01em;
}
.h2 em, .hero__title em, .scene__h em {
  font-weight: 400;
  background: var(--copper);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.phone { font-variant-numeric: tabular-nums; white-space: nowrap; user-select: text; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px;
  padding: 0 34px;
  border-radius: 100px;
  background: var(--copper);
  background-size: 200% 100%;
  color: #1c0f09;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 40px -10px rgba(184, 105, 47, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-position .8s var(--ease);
}
.btn::after { /* блик */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(224, 154, 98, .7), inset 0 1px 0 rgba(255, 255, 255, .4); background-position: 100% 0; }
.btn:hover::after { transform: translateX(120%); }
.btn--sm { height: 44px; padding: 0 24px; font-size: 11px; }
.btn--full { width: 100%; }

/* =========================================================
   ЭКРАН ЗАГРУЗКИ
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  z-index: 1000;
  background:
    radial-gradient(ellipse 50% 40% at 50% 45%, rgba(184, 105, 47, .16), transparent 70%),
    var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__center { text-align: center; transition: opacity .6s, transform .9s var(--ease); }
.loader.is-done .loader__center { opacity: 0; transform: translateY(-40px) scale(.96); }
.loader__logo { position: relative; width: 112px; margin: 0 auto 26px; animation: loaderIn 1.2s var(--ease) both; }
.loader__sheen, .hero__sheen {
  position: absolute; inset: 0;
  -webkit-mask: url(assets/logo.png) center / contain no-repeat;
          mask: url(assets/logo.png) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 214, .95) 50%, transparent 65%);
  background-size: 300% 100%;
  animation: sheen 2.4s ease-in-out infinite;
  mix-blend-mode: screen;
}
.loader__brand {
  font-family: var(--brand);
  font-size: 22px;
  letter-spacing: .6em;
  margin-right: -.6em;
  color: var(--accent-3);
  animation: loaderIn 1.2s .15s var(--ease) both;
}
.loader__tag {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--dim);
  animation: loaderIn 1.2s .3s var(--ease) both;
}
.loader__bottom {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 34px;
  display: flex; justify-content: space-between; align-items: flex-end;
  transition: opacity .4s;
}
.loader.is-done .loader__bottom { opacity: 0; }
.loader__label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.loader__count {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 120px);
  line-height: .8;
  color: var(--accent-3);
  font-variant-numeric: tabular-nums;
}
.loader__count b { font-weight: 400; }
.loader__count, .hud__pct, .faq__phone, .order__contacts p, .footer__grid p { font-variant-numeric: lining-nums tabular-nums; }
.loader__bar {
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--copper);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .3s linear;
}
.loader__curtain { display: none; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }

/* =========================================================
   ШАПКА
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header);
  padding: 0 var(--pad);
  display: flex; align-items: center; gap: 28px;
  transition: transform .6s var(--ease), background .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(23, 15, 14, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
body.is-loading .header { opacity: 0; }
.header { animation: none; }
body:not(.is-loading) .header { animation: fadeDown 1s .9s var(--ease) backwards; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } }
.header__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.header__brand img { width: 34px; }
.header__brand span { font-family: var(--brand); font-size: 17px; letter-spacing: .3em; color: var(--accent-3); }
.header__nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; }
.header__nav a:not(.btn) {
  position: relative;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(244, 235, 228, .72);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  transition: color .3s;
}
.header__nav a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.header__nav a:not(.btn):hover { color: var(--accent-3); }
.header__nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.header__sep { width: 1px; height: 18px; background: var(--line-2); }
.header__navcta { display: none !important; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 26px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   1. ПЕРВЫЙ ЭКРАН
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid; place-items: center;
  background: var(--bg);
}
.hero__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 62% at 50% -8%, rgba(246, 199, 156, .26), transparent 72%),
    radial-gradient(ellipse 60% 40% at 50% 46%, rgba(184, 105, 47, .14), transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
.hero__rays {
  position: absolute; inset: -10% 0 0;
  background: repeating-linear-gradient(100deg, transparent 0 60px, rgba(246, 199, 156, .035) 60px 62px, transparent 62px 140px);
  -webkit-mask: radial-gradient(ellipse 40% 70% at 50% 0%, #000, transparent 75%);
          mask: radial-gradient(ellipse 40% 70% at 50% 0%, #000, transparent 75%);
  animation: rays 18s linear infinite;
}
.hero__word {
  position: absolute;
  left: 50%; bottom: -3.5vw;
  transform: translateX(-50%);
  font-family: var(--brand);
  font-size: 23vw;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 154, 98, .1);
  background: linear-gradient(180deg, rgba(224, 154, 98, .07), transparent 75%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
  pointer-events: none;
}
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(184, 105, 47, .12), transparent 70%);
}
.hero__center { position: relative; z-index: 2; text-align: center; padding: 0 20px; margin-top: -2vh; }
.hero__logo { position: relative; width: clamp(96px, 11vw, 150px); margin: 0 auto clamp(26px, 3.5vw, 40px); }
.hero__logo img { filter: drop-shadow(0 20px 50px rgba(184, 105, 47, .45)); }
.hero__sheen { animation-duration: 5s; }
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 118px);
  line-height: .95;
  letter-spacing: -.015em;
}
.hero__bottom {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: 30px;
  z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
}
.hero__meta { font-size: 14px; color: var(--text); line-height: 1.5; }
.hero__meta span { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.hero__meta--r { text-align: right; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.scroll-cue__mouse { width: 24px; height: 38px; border: 1.5px solid rgba(244, 235, 228, .5); border-radius: 14px; position: relative; }
.scroll-cue__mouse i { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--accent-2); animation: wheel 1.8s var(--ease) infinite; }
.scroll-cue__text { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.scroll-cue:hover .scroll-cue__text { color: var(--accent-3); }

[data-in] { opacity: 0; }
body:not(.is-loading) [data-in] { animation: heroIn 1.4s var(--d, 0s) var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; } }
@keyframes breathe { 50% { opacity: .75; } }
@keyframes rays { to { background-position: 280px 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   2. СЦЕНА С МАШИНОЙ
   ========================================================= */
.scene { position: relative; height: 560vh; background: var(--bg-2); }
.scene__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, #120b0a 100%);
}
.scene__spot {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 42% 55% at 50% 30%, rgba(246, 199, 156, .16), transparent 70%);
  pointer-events: none;
}
.scene__floor {
  position: absolute; left: 0; right: 0; top: 50%; bottom: 0;
  background:
    radial-gradient(ellipse 45% 30% at 50% 38%, rgba(184, 105, 47, .2), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, .4));
  pointer-events: none;
}
.stage { position: absolute; inset: 0; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.car, .scratch, .shine { display: none; } /* исходники — рисуем на canvas */
.polisher {
  position: absolute; left: 0; top: 0;
  width: 200px; aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.polisher__jitter { width: 100%; height: 100%; }
.polisher.is-on .polisher__jitter { animation: jitter .09s linear infinite; }
.polisher svg { width: 100%; height: 100%; overflow: visible; }
.polisher.is-photo { aspect-ratio: auto; }
.polisher.is-photo .polisher__jitter { position: relative; height: auto; }
.polisher__photo { display: block; width: 100%; height: auto; filter: drop-shadow(14px 22px 26px rgba(0, 0, 0, .6)); }
.polisher__motion { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, .12) 55%, rgba(255, 255, 255, 0) 75%); mix-blend-mode: overlay; opacity: 0; transition: opacity .3s; }
.polisher.is-on .polisher__motion { opacity: 1; animation: spinC .18s linear infinite; }
@keyframes spinC { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.polisher__spin { animation: spin .22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes jitter { 25% { transform: translate(.4px, -.4px); } 50% { transform: translate(-.4px, .3px); } 75% { transform: translate(.3px, .4px); } }

.scene__intro, .scene__final {
  position: absolute;
  left: var(--pad); top: calc(var(--header) + 4vh);
  max-width: 640px;
  z-index: 3;
  opacity: 0;
}
.scene__h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 66px);
  line-height: 1;
}
.scene__final .btn { margin-top: 30px; }

.hud {
  position: absolute; left: 0; top: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}
.hud__ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.hud__ring ellipse { fill: none; stroke: var(--accent-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(224, 154, 98, .6)); }
.hud__label {
  position: absolute;
  left: 50%; bottom: calc(100% + 70px);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 14px;
  white-space: nowrap;
  background: rgba(23, 15, 14, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  transform: translateX(-50%);
}
.hud__label::after { /* линия-выноска */
  content: '';
  position: absolute; left: 50%; top: 100%;
  width: 1px; height: 70px;
  background: linear-gradient(var(--accent-2), transparent);
}
.hud__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(224, 154, 98, .2); animation: pulse 1.6s ease-in-out infinite; }
.hud__title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.hud__sub { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.hud__pct { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--accent-3); min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.hud.is-done .hud__dot { background: #7fd19b; box-shadow: 0 0 0 4px rgba(127, 209, 155, .2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(224, 154, 98, 0); } }

.steps {
  position: absolute;
  left: var(--pad); top: 50%;
  transform: translateY(-50%);
  list-style: none;
  z-index: 3;
  display: grid; gap: 22px;
  opacity: 0;
}
.steps li { display: flex; align-items: center; gap: 14px; color: var(--dim); transition: color .5s; }
.steps b { font-family: var(--serif); font-weight: 500; font-size: 15px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: all .5s var(--ease); }
.steps span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.steps li.is-active { color: var(--text); }
.steps li.is-active b { background: var(--copper); color: #1c0f09; border-color: transparent; box-shadow: 0 0 24px rgba(224, 154, 98, .5); }
.steps li.is-past { color: var(--muted); }
.steps li.is-past b { border-color: var(--accent); color: var(--accent-2); }

/* =========================================================
   3. УСЛУГИ
   ========================================================= */
.services { position: relative; padding: clamp(100px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); background: var(--bg); }
.services .section-head { margin-bottom: 40px; }
.tabs {
  position: relative;
  display: flex; gap: 6px;
  padding: 6px;
  margin-bottom: 44px;
  width: max-content; max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, .015);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative; z-index: 1;
  height: 46px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--muted);
  white-space: nowrap;
  transition: color .4s;
}
.tabs button:hover { color: var(--text); }
.tabs button.is-active { color: #1c0f09; }
.tabs__ink {
  position: absolute; top: 6px; left: 0;
  height: 46px;
  border-radius: 100px;
  background: var(--copper);
  box-shadow: 0 8px 30px -8px rgba(224, 154, 98, .6);
  transition: transform .6s var(--ease), width .6s var(--ease);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  position: relative;
  min-height: 440px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: var(--bg-3);
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  animation: cardIn .9s var(--d, 0s) var(--ease) forwards;
}
.svc--wide { grid-column: span 2; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.svc__img {
  position: absolute; inset: 0; z-index: -2;
  background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat, radial-gradient(ellipse at 60% 40%, #3a2722, #140c0b 70%);
  filter: var(--fx, none);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}
.svc::before { /* затемнение под текст */
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 15, 14, 0) 25%, rgba(23, 15, 14, .7) 60%, rgba(23, 15, 14, .97) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(184, 105, 47, .14), transparent 70%);
}
.svc::after { /* медная рамка при наведении */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--copper);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
}
.svc:hover .svc__img { transform: scale(1.08); }
.svc:hover::after { opacity: 1; }
.svc__body { padding: 30px 30px 32px; }
.svc__n { font-family: var(--serif); font-size: 15px; color: var(--accent-2); letter-spacing: .1em; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.05; margin: 10px 0 12px; }
.svc p { font-size: 14.5px; color: rgba(244, 235, 228, .7); max-width: 46ch; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li { font-size: 11.5px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--accent-3); background: rgba(23, 15, 14, .4); }
.svc__go {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease);
}
.svc__go svg { width: 18px; fill: none; stroke: var(--accent-3); stroke-width: 1.6; transition: stroke .4s; }
.svc:hover .svc__go { background: var(--copper); border-color: transparent; transform: rotate(-45deg); }
.svc:hover .svc__go svg { stroke: #1c0f09; }

/* =========================================================
   4. INSTAGRAM
   ========================================================= */
.works { padding: clamp(90px, 11vw, 160px) 0 clamp(60px, 8vw, 110px); background: var(--bg-2); overflow: hidden; }
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.ig-head .section-head { margin-bottom: 0; }
.ig-profile {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, .02);
}
.ig-profile__ava {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 210deg, #f6c79c, #b8692f, #7a3f17, #e09a62, #f6c79c);
}
.ig-profile__ava img { width: 100%; height: 100%; border-radius: 50%; background: var(--bg); padding: 9px; object-fit: contain; }
.ig-profile__info { display: grid; line-height: 1.35; margin-right: 10px; min-width: 0; }
.ig-profile .btn { flex-shrink: 0; }
.ig-profile__info b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-profile__info span { font-size: 12px; color: var(--muted); }

.ig-rail {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(var(--pad), (100vw - 1320px) / 2) 10px;
  scroll-padding-left: max(var(--pad), (100vw - 1320px) / 2);
  scrollbar-width: none;
  cursor: grab;
}
.ig-rail::-webkit-scrollbar { display: none; }
.ig-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.ig-card {
  position: relative;
  flex: 0 0 clamp(240px, 22vw, 310px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #120b0a;
  text-align: left;
  user-select: none;
}
.ig-card__img {
  position: absolute; inset: 0; z-index: -2;
  background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat, radial-gradient(ellipse at 50% 35%, #3b2620, #120b0a 70%);
  filter: var(--fx, none);
  transition: transform 2.4s var(--ease);
}
.ig-card::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 22%, transparent 50%, rgba(18, 11, 10, .95) 100%);
}
.ig-card:hover .ig-card__img { transform: scale(1.1); }
.ig-card__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; pointer-events: none; }
.ig-card.is-preview .ig-card__video { opacity: 1; }
.ig-card.is-preview .ig-card__play { opacity: 0; transform: scale(.8); }
.ig-card__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.ig-card__type { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ig-card__type svg { width: 16px; fill: none; stroke: #fff; stroke-width: 1.7; }
.ig-card__dur { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-variant-numeric: tabular-nums; }
.ig-card__play {
  position: absolute; left: 50%; top: 46%;
  width: 70px; height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .6s var(--ease), background .5s;
}
.ig-card__play::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(224, 154, 98, .45); animation: ring 2.4s ease-out infinite; }
.ig-card__play svg { width: 22px; fill: #fff; margin-left: 3px; }
.ig-card:hover .ig-card__play { transform: scale(1.12); background: var(--accent); }
.ig-card__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.ig-card__cap b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
.ig-card__cap span { font-size: 12.5px; color: rgba(244, 235, 228, .65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.ig-nav { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.ig-nav__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.ig-nav__btn svg { width: 20px; fill: none; stroke: var(--accent-3); stroke-width: 1.6; }
.ig-nav__btn:hover { background: var(--accent); border-color: var(--accent); }
.ig-nav__btn:hover svg { stroke: #1c0f09; }
.ig-nav__track { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ig-nav__track i { display: block; height: 100%; width: 30%; background: var(--copper); border-radius: 2px; transition: transform .2s; }

/* ---------- Плеер ---------- */
.player { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; visibility: hidden; }
.player.is-open { visibility: visible; }
.player__backdrop { position: absolute; inset: 0; background: rgba(10, 6, 5, .8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transition: opacity .5s; }
.player.is-open .player__backdrop { opacity: 1; }
.player__box {
  position: relative;
  display: flex;
  height: min(88vh, 860px);
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition: opacity .5s, transform .7s var(--ease);
}
.player.is-open .player__box { opacity: 1; transform: none; }
.player__media { position: relative; height: 100%; aspect-ratio: 9 / 16; background: #000; overflow: hidden; cursor: pointer; }
.player__media video, .player__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__img { background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat; filter: var(--fx, none); transform-origin: 60% 50%; }
.player__media.is-video .player__img { display: none; }
.player__media:not(.is-video) video { display: none; }
.player__big {
  position: absolute; left: 50%; top: 50%;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(184, 105, 47, .9);
  box-shadow: 0 0 0 10px rgba(184, 105, 47, .2);
  transition: opacity .4s, transform .5s var(--ease);
}
.player__big svg { width: 28px; fill: #1c0f09; margin-left: 4px; }
.player.is-playing .player__big { opacity: 0; transform: scale(.7); pointer-events: none; }
.player__ui {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  transition: opacity .4s;
}
.player.is-playing.is-idle .player__ui { opacity: 0; }
.player__bar { position: relative; height: 18px; cursor: pointer; }
.player__bar::before, .player__bar i { content: ''; position: absolute; left: 0; top: 8px; height: 3px; border-radius: 3px; }
.player__bar::before { right: 0; background: rgba(255, 255, 255, .2); }
.player__bar i { width: 0; }
#playerBuf { background: rgba(255, 255, 255, .3); }
#playerFill { background: var(--copper); }
.player__bar b { position: absolute; top: 3px; left: 0; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 4px rgba(224, 154, 98, .25); transform: scale(0); transition: transform .3s var(--ease); }
.player__bar:hover b, .player__bar.is-drag b { transform: scale(1); }
.player__row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.player__row button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.player__row button:hover { background: rgba(255, 255, 255, .1); }
.player__row svg { width: 22px; fill: #fff; }
.player__row .stroke { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.player__time { font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); margin-left: 4px; }
.player__sp { flex: 1; }
.player .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player .i-mute, .player.is-muted .i-vol { display: none; }
.player.is-muted .i-mute { display: block; }
.player__side { width: 340px; padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; border-left: 1px solid var(--line); overflow-y: auto; }
.player__author { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.player__author img { width: 40px; height: 40px; border-radius: 50%; padding: 6px; background: var(--bg); border: 1px solid var(--line-2); }
.player__author b { font-size: 14px; font-weight: 600; }
.player__side h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; }
.player__side p { font-size: 14.5px; color: rgba(244, 235, 228, .72); }
.player__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.player__tags span { font-size: 12px; color: var(--accent-2); }
.player__side .btn { margin-top: auto; }
.player__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  z-index: 3;
  transition: background .3s, transform .5s var(--ease);
}
.player__close svg { width: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.player__close:hover { background: var(--accent); transform: rotate(90deg); }

/* =========================================================
   5. ВОПРОСЫ
   ========================================================= */
.faq { padding: clamp(100px, 12vw, 170px) 0; background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header) + 40px); }
.faq__lead { margin-top: 28px; color: var(--muted); max-width: 32ch; }
.faq__phone { margin-top: 12px; font-family: var(--serif); font-size: 32px; color: var(--accent-3); }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); transition: background .5s; }
.acc__q {
  width: 100%;
  display: flex; align-items: center; gap: 22px;
  padding: 28px 4px;
  text-align: left;
}
.acc__n { font-family: var(--serif); font-size: 15px; color: var(--dim); width: 28px; flex-shrink: 0; transition: color .4s; }
.acc__q span:not(.acc__n) { flex: 1; font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 28px); line-height: 1.2; transition: color .4s; }
.acc__q:hover span:not(.acc__n) { color: var(--accent-3); }
.acc__icon { position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--accent-3); transition: transform .5s var(--ease), background .4s; }
.acc__icon::after { transform: rotate(90deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 70px 30px 54px; color: rgba(244, 235, 228, .72); max-width: 70ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .1s; }
.acc__item.is-open .acc__n { color: var(--accent-2); }
.acc__item.is-open .acc__q span:not(.acc__n) { color: var(--accent-3); }
.acc__item.is-open .acc__icon { background: var(--copper); border-color: transparent; transform: rotate(180deg); }
.acc__item.is-open .acc__icon::before { background: #1c0f09; }
.acc__item.is-open .acc__icon::after { transform: rotate(0); background: #1c0f09; }

/* =========================================================
   6. ЗАПИСЬ
   ========================================================= */
.order { position: relative; padding: clamp(100px, 12vw, 170px) 0; background: var(--bg-2); overflow: hidden; }
.order__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 105, 47, .18), transparent 65%); pointer-events: none; }
.order__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.order__lead { margin-top: 28px; color: var(--muted); max-width: 44ch; font-size: 17px; }
.order__contacts { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.order__contacts span { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.order__contacts p { font-family: var(--serif); font-size: 26px; color: var(--text); }
.form {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 3.4vw, 46px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.form__inner { display: grid; gap: 14px; transition: opacity .5s, transform .6s var(--ease); }
.field { position: relative; display: block; }
.field input {
  width: 100%;
  height: 64px;
  padding: 22px 20px 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
  color: var(--text);
  font: 500 16px var(--sans);
  outline: none;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.field span { position: absolute; left: 21px; top: 21px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .35s var(--ease), font-size .35s, color .35s; transform-origin: left; }
.field input:focus { border-color: var(--accent); background: rgba(0, 0, 0, .32); box-shadow: 0 0 0 4px rgba(184, 105, 47, .14); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { transform: translateY(-11px); font-size: 11px; color: var(--accent-2); letter-spacing: .06em; }
.field.is-error input { border-color: #d96a5a; box-shadow: 0 0 0 4px rgba(217, 106, 90, .14); }
.form__label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); cursor: pointer; transition: all .35s var(--ease); }
.chips span:hover { color: var(--text); border-color: var(--accent); }
.chips input:checked + span { background: var(--copper); color: #1c0f09; border-color: transparent; font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form__note { font-size: 11.5px; color: var(--dim); text-align: center; }
.form__done { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .6s .2s; }
.form__done h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; }
.form__done p { color: var(--muted); }
.form__check { width: 84px; height: 84px; margin: 0 auto 10px; }
.form__check svg { width: 100%; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.form__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.form.is-sent .form__inner { opacity: 0; transform: scale(.96); pointer-events: none; }
.form.is-sent .form__done { opacity: 1; pointer-events: auto; }
.form.is-sent .form__check circle { animation: draw .9s .3s var(--ease) forwards; }
.form.is-sent .form__check path { animation: draw .5s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.footer { position: relative; padding: 90px 0 30px; background: #120b0a; border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 40px; }
.footer__k { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.footer__grid p { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; text-decoration: none; transition: color .3s; }
.footer__ig svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer__ig svg .fill { fill: currentColor; stroke: none; }
.footer__ig:hover { color: var(--accent-3); }
.footer__top a { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .3s; }
.footer__top svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-2); fill: none; stroke: var(--accent-3); stroke-width: 1.6; transition: background .4s; }
.footer__top a:hover { color: var(--accent-3); }
.footer__top a:hover svg { background: var(--accent); stroke: #1c0f09; }
.footer__word {
  margin: 60px 0 10px;
  padding: .08em 0 0;
  font-family: var(--brand);
  /* слово целиком помещается в ширину блока на любом экране */
  font-size: min(250px, calc((100vw - var(--pad) * 2) / 5.2));
  line-height: 1.05;
  letter-spacing: .04em;
  margin-right: -.04em;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(246, 199, 156, .55), rgba(184, 105, 47, .15) 70%, transparent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__copy { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ---------- Появление при прокрутке ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1240px) {
  .header__nav {
    position: fixed; inset: 0;
    z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px;
    padding: 100px var(--pad) 40px;
    background: rgba(18, 11, 10, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .5s, visibility .5s;
    overflow-y: auto;
  }
  .menu-open .header__nav { opacity: 1; visibility: visible; }
  .header__nav a:not(.btn) { font-family: var(--serif); font-size: clamp(28px, 6vw, 44px); line-height: 1.25; color: var(--text); letter-spacing: 0; transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease), opacity .7s, color .3s; }
  .header__nav a:not(.btn)::after { display: none; }
  .menu-open .header__nav a:not(.btn) { transform: none; opacity: 1; }
  .header__sep { width: 60px; height: 1px; margin: 14px 0; }
  .header__navcta { display: inline-flex !important; margin-top: 24px; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .menu-open .header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .faq__grid, .order__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .player__box { flex-direction: column; height: auto; max-height: 94svh; width: min(440px, 94vw); }
  .player__media { height: auto; width: 100%; max-height: 72svh; }
  .player__side { width: auto; border-left: 0; border-top: 1px solid var(--line); padding: 20px 22px; gap: 10px; }
  .player__side p, .player__tags, .player__author { display: none; }
  .player__side h3 { font-size: 22px; }
}
@media (max-width: 700px) {
  :root { --header: 64px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__bottom { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .scroll-cue { grid-column: 1 / -1; grid-row: 1; }
  .hero__meta { font-size: 13px; }
  .scene__intro, .scene__final { left: var(--pad); right: var(--pad); top: calc(var(--header) + 3vh); text-align: left; }
  .scene__h { font-size: clamp(30px, 8.6vw, 44px); }
  .scene__final .btn { margin-top: 20px; height: 52px; padding: 0 26px; font-size: 11.5px; }
  .steps { left: 50%; right: auto; top: auto; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 18px; }
  .steps li { gap: 8px; }
  .steps span { font-size: 9.5px; letter-spacing: .16em; }
  .steps b { width: 26px; height: 26px; font-size: 13px; }
  .hud__label { padding: 10px 14px 10px 12px; gap: 10px; }
  .hud__title { font-size: 12.5px; }
  .hud__sub { display: none; }
  .hud__pct { font-size: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: auto; }
  .svc { min-height: 380px; }
  .tabs { width: calc(100% + var(--pad)); margin-right: calc(var(--pad) * -1); border-radius: 100px 0 0 100px; border-right: 0; }
  .tabs button { padding: 0 18px; font-size: 12.5px; }
  .ig-card { flex-basis: 72vw; }
  .ig-profile { width: 100%; border-radius: 22px; }
  .ig-profile { gap: 12px; padding: 10px; }
  .ig-profile__info { margin-right: 0; }
  .ig-profile .btn { margin-left: auto; height: 40px; padding: 0 16px; font-size: 10px; letter-spacing: .1em; }
  .acc__q { padding: 22px 0; gap: 14px; }
  .acc__n { display: none; }
  .acc__a p { padding: 0 0 24px; }
  .acc__icon { width: 38px; height: 38px; }
  .order__contacts { gap: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__copy { flex-direction: column; gap: 4px; }
  .player__box { width: 100vw; max-height: 100svh; border-radius: 0; border: 0; }
  .player__media { max-height: 78svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   СТУДИЯ: галерея реальных работ
   ========================================================= */
.studio { padding: clamp(90px, 11vw, 160px) 0; background: var(--bg); }
.studio__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.studio__head .section-head { margin-bottom: 0; }
.studio__lead { max-width: 40ch; color: var(--muted); }
.studio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 19vw, 260px);
  gap: 14px;
}
.ph {
  position: relative;
  grid-row: span 2;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  background: var(--bg-3);
  text-align: left;
  cursor: zoom-in;
}
.ph--big { grid-column: span 2; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.92); }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 11, 10, .9)); opacity: .85; transition: opacity .6s; }
.ph:hover img { transform: scale(1.07); filter: saturate(1.05); }
.ph:hover::after { opacity: 1; }
.ph__cap { position: absolute; left: 20px; right: 60px; bottom: 18px; z-index: 1; display: grid; gap: 4px; transform: translateY(6px); transition: transform .6s var(--ease); }
.ph__cap b { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.1; }
.ph__cap i { font-style: normal; font-size: 12.5px; color: rgba(244, 235, 228, .68); opacity: 0; transition: opacity .5s; }
.ph:hover .ph__cap { transform: none; }
.ph:hover .ph__cap i { opacity: 1; }
.ph__zoom { position: absolute; right: 16px; bottom: 16px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); transition: background .4s; }
.ph__zoom svg { width: 16px; fill: none; stroke: #fff; stroke-width: 1.8; }
.ph:hover .ph__zoom { background: var(--accent); }

/* Просмотр фото */
.lb { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; visibility: hidden; }
.lb.is-open { visibility: visible; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(10, 6, 5, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; transition: opacity .5s; }
.lb.is-open .lb__backdrop { opacity: 1; }
.lb__fig { position: relative; display: grid; justify-items: center; gap: 16px; max-width: min(92vw, 1200px); opacity: 0; transform: scale(.97); transition: opacity .5s, transform .7s var(--ease); }
.lb.is-open .lb__fig { opacity: 1; transform: none; }
.lb__fig img { max-width: 100%; max-height: 78svh; border-radius: 16px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.lb__fig img.is-in { opacity: 1; transform: none; }
.lb__fig figcaption { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center; text-align: center; padding: 0 20px; }
.lb__fig figcaption b { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.lb__fig figcaption span { color: var(--muted); font-size: 14px; }
.lb__fig figcaption i { font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--accent-2); font-variant-numeric: lining-nums tabular-nums; }
.lb__nav, .lb__close { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background .4s, transform .5s var(--ease); }
.lb__nav svg, .lb__close svg { width: 20px; fill: none; stroke: var(--accent-3); stroke-width: 1.7; }
.lb__nav:hover, .lb__close:hover { background: var(--accent); }
.lb__nav:hover svg, .lb__close:hover svg { stroke: #1c0f09; }
.lb__nav--prev { left: var(--pad); top: 50%; margin-top: -26px; }
.lb__nav--next { right: var(--pad); top: 50%; margin-top: -26px; }
.lb__close { top: 20px; right: 20px; }
.lb__close:hover { transform: rotate(90deg); }

@media (max-width: 1000px) {
  .studio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .ph { grid-row: auto; aspect-ratio: 3 / 4; }
  .ph--big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .studio__grid { gap: 10px; }
  .ph { border-radius: 16px; }
  .ph__cap { left: 12px; right: 12px; bottom: 12px; }
  .ph__cap b { font-size: 16px; }
  .ph__cap i, .ph__zoom { display: none; }
  .ph--big .ph__cap b { font-size: 20px; }
  .lb__nav { top: auto; bottom: calc(24px + env(safe-area-inset-bottom)); margin-top: 0; width: 46px; height: 46px; }
  .lb__fig img { max-height: 66svh; }
  .lb__fig figcaption span { display: block; width: 100%; }
}
