/* =========================================================================
   Elena V — «Свет на бархате»
   Структура и ритм повторяют шаблон Elena Voss (Hyperiux):
   размеры в vw сняты замером оригинала на 1440 / 768 / 390 px.
   Палитра и декор — рождественская тема мастерской «Мягкие объятия».
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Фон всего сайта — красный цвет обёртки конфеты (просьба владелицы 21.11.2026); поверхности — светлее
     оттенками того же красного, чтобы карточки не проваливались в тёмное (ux-dark-theme) */
  --bg: #f5dec0;          /* бежевый — середина конфеты (слово владелицы 21.11.2026) */
  --surface-1: #efd3b0;
  --surface-2: #e8c7a0;
  --surface-3: #e0bb90;

  /* Текст */
  --text: #3b0a12;        /* тёмно-бордовый: на бежевом 13:1, на карточках от 9.4:1 */
  --text-soft: rgba(59, 10, 18, 0.85);
  --on-accent: #fff4e7;   /* светлый текст на бордовых заливках (пилюля, конфета при наведении) */
  --muted: #6a3a32;   /* на бежевом и карточках контраст 5.2:1 и выше */
  --line: rgba(59, 10, 18, 0.22);
  --line-soft: rgba(59, 10, 18, 0.12);

  /* Акценты */
  --crimson-a: #9b1b30;   /* светлый край бархата (контраст текста 7.5:1) */
  --crimson-b: #5b0d1d;   /* глубокий край бархата */
  --velvet: linear-gradient(90deg in oklab, #f6dcbc, #e9c39a);   /* тёплый бежевый бархат карточек */
  --gold: #e7bd75;
  --gold-deep: #c99543;
  --gold-ink: #6b3f0b;    /* «золотые» надписи на бежевом — тёмная бронза, контраст от 4.5:1 */
  --pill: #f2dfbd;
  --pill-ink: #211014;

  /* Шрифты */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Поля и шкала отступов (база 8 px при ширине 1440: 1 шаг = 0.556vw) */
  --gutter: max(4vw, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --s-1: 0.278vw;  /* 4  */
  --s-2: 0.556vw;  /* 8  */
  --s-3: 0.833vw;  /* 12 */
  --s-4: 1.111vw;  /* 16 */
  --s-6: 1.667vw;  /* 24 */
  --s-8: 2.222vw;  /* 32 */
  --s-12: 3.333vw; /* 48 */
  --s-16: 4.444vw; /* 64 */

  --radius-s: max(12px, 0.833vw);
  --radius-m: max(16px, 1.111vw);
  --radius-l: max(24px, 2vw);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-roll: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-swell: cubic-bezier(0.785, 0.135, 0.15, 0.86);

  --fs-body: max(16px, 1.25vw);
  --fs-title: 5.5vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--pill-ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--pill); color: var(--pill-ink);
  padding: 12px 20px; border-radius: 999px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: max(16px, env(safe-area-inset-top)); }

.sec-title {
  font-family: var(--font-display);
  font-size: calc(var(--fs-title) * 1.08);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ---------- Кнопки ------------------------------------------------------ */

/* Пилюля: точка разрастается в заливку, буквы «перекатываются» */
.pill-btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.9vw;
  min-height: max(48px, 3.5vw);
  padding: 0 2vw 0 max(18px, 1.8vw);
  border-radius: 999px;
  background: var(--pill); color: var(--pill-ink);
  border: 1px solid var(--line);
  font-size: max(15px, 1.15vw); font-weight: 500;
  overflow: hidden;
  transition: color .6s var(--ease-roll), transform .2s var(--ease-out);
  white-space: nowrap;
}
.pill-btn__dot {
  position: relative; z-index: -1;
  width: max(7px, 0.5vw); height: max(7px, 0.5vw);
  flex: none;
}
.pill-btn__dot > span {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--crimson-a);
  transition: transform .6s var(--ease-swell), background .6s;
}
.pill-btn:focus-visible { color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) { .pill-btn:hover { color: var(--on-accent); } }
.pill-btn:focus-visible .pill-btn__dot > span { transform: scale(70); background: var(--crimson-b); }
@media (hover: hover) and (pointer: fine) { .pill-btn:hover .pill-btn__dot > span { transform: scale(70); background: var(--crimson-b); } }
.pill-btn:active { transform: scale(0.97); }
.pill-btn:focus-visible { outline-offset: 4px; }

[data-roll] { display: inline-block; height: 1.3em; line-height: 1.3; overflow: hidden; }
[data-roll] .ch {
  display: inline-block; position: relative;
  text-shadow: 0 1.3em currentColor;
  transition: transform .6s var(--ease-roll);
  will-change: transform;
}
.pill-btn:focus-visible [data-roll] .ch { transform: translateY(-1.3em); }
@media (hover: hover) and (pointer: fine) { .pill-btn:hover [data-roll] .ch { transform: translateY(-1.3em); } }

.btn-gold {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 max(24px, 1.9vw);
  border-radius: 999px;
  background: var(--gold); color: #1a0b0f;
  font-weight: 600; font-size: max(15px, 1.11vw);
  transition: transform .2s var(--ease-out);
}
/* Слой состояния цвета подписи: наведение 8 %, фокус и нажатие 10 % (ux-button-states) */
.btn-gold::before, .round-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: currentColor; opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) { .btn-gold:hover::before, .round-btn:hover::before { opacity: .08; } }
.btn-gold:focus-visible::before, .btn-gold:active::before,
.round-btn:focus-visible::before, .round-btn:active::before { opacity: .10; }
.btn-gold:active { transform: scale(0.97); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px;
  font-size: max(15px, 1.11vw); font-weight: 500;
  color: var(--text);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px; background-position: 0 calc(50% + 0.8em); background-repeat: no-repeat;
  transition: background-size .45s var(--ease-out), color .2s;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:focus-visible { background-size: 100% 1px; color: var(--gold-ink); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { background-size: 100% 1px; color: var(--gold-ink); } }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(4px); } }

.round-btn {
  position: relative;
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: border-color .2s, transform .2s var(--ease-out);
}
.round-btn svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) and (pointer: fine) { .round-btn:hover { border-color: var(--gold-ink); } }
.round-btn:active { transform: scale(0.94); }

/* ---------- Логотип ----------------------------------------------------- */
.logo {
  display: inline-flex; align-items: center; gap: 0.06em;
  min-height: 44px;
  font-size: max(22px, 2.1vw); line-height: 1; letter-spacing: 0.01em;
}
/* табличка ELENA V в шапке — по высоте конфеты «Смотреть коллекции» */
.logo--plaque { border-radius: 12px; transition: filter .2s var(--ease-out); }
.logo--plaque img { display: block; height: clamp(64px, 6.6vw, 104px); width: auto;
  filter: drop-shadow(0 0 4px rgba(225, 240, 255, .95)) drop-shadow(0 0 12px rgba(140, 190, 255, .75)) drop-shadow(0 6px 10px rgba(20, 2, 6, .45)); }
/* наведение — подсветка, без сдвига: логотип стоит на месте (01.12.2026) */
@media (hover: hover) and (pointer: fine) { .logo--plaque:hover { filter: brightness(1.1); } }
.logo--plaque:active { filter: brightness(.94); }
.logo--plaque:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.logo__main { font-weight: 500; color: var(--text); }
.logo__v {
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  color: var(--gold-ink); font-size: 1.18em; margin-left: 0.12em;
}

/* ---------- Шапка ------------------------------------------------------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 99;
  display: flex; align-items: center; justify-content: flex-end; /* логотип справа — просьба владелицы 21.11.2026 */
  padding: max(1.5vw, env(safe-area-inset-top)) var(--gutter) 1.5vw;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.js .site-header { opacity: 0; }

/* ---------- 2. Первый экран -------------------------------------------- */
.hero { position: relative; height: 300vh; }
.hero__sticky {
  position: sticky; top: 0; z-index: 2;
  height: 100vh; height: 100svh;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(231, 189, 117, 0.28), transparent 60%),
    radial-gradient(40% 50% at 12% 85%, rgba(231, 189, 117, 0.10), transparent 70%),
    linear-gradient(100deg in oklab, var(--crimson-a) 0%, #7a1426 45%, var(--crimson-b) 100%); /* первый экран бордовый — слово владелицы 21.11.2026 */
}
/* Фото владелицы показывается целиком (object-fit: contain), без обрезки — просьба владелицы 20.11.2026 */
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content {
  /* ширина фото: вся высота экрана в пропорции снимка 1024×1280 (новое фото 21.11.2026), но не больше половины ширины */
  --photo-w: min(50vw, calc(100svh * 0.8));
  --hero-k: .9;   /* размер заголовка: было ×0.75, владелица попросила крупнее (21.11.2026) */
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 var(--gutter);
}
.hero__text {
  /* размер заголовка уменьшен на четверть (×0.75) — просьба владелицы 21.11.2026 */
  --hero-fs: calc(min(7.4vw, calc((100vw - var(--photo-w) - 2 * var(--gutter) - var(--s-6)) / 7.2), 14svh) * var(--hero-k));
  position: relative; z-index: 2; width: calc(100% - var(--photo-w)); padding-right: var(--s-6);
}
.hero__media {
  position: absolute; z-index: 1; top: 0; right: 0; bottom: 0;
  width: var(--photo-w); margin: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
}
/* слои над фото — та же подгонка, что у фото, во весь блок */
.hero__media .hero__layer { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
/* ореолы за фигурами: мягкий тёплый свет, три группы пульсируют по очереди */
.hero__glow { mix-blend-mode: screen; opacity: .45; animation: hero-glow 3.6s ease-in-out infinite; }
.hero__glow--b { animation-delay: -1.2s; }
.hero__glow--c { animation-delay: -2.4s; }
@keyframes hero-glow { 0%, 100% { opacity: .3; } 50% { opacity: .95; } }
.hero__title {
  /* шрифт как на постерах; «в каждой детали» ≈ 7.0em у Cormorant — заголовок не заходит на фото */
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--hero-fs);
  line-height: 1.0; letter-spacing: -0.005em;
  color: var(--on-accent);
  text-shadow: 0 0 18px rgba(255, 214, 160, .28), 0 2px 26px rgba(40, 4, 12, 0.45);
}
.hero__line { display: block; white-space: nowrap; }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__title .cm { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ch { display: inline-block; will-change: transform; }


/* Конфета «Сказка сначала» внизу сайта: на треть меньше прежней, под ней разноцветное свечение */
.candy-wrap { position: relative; display: inline-block; }
.footer__candy { margin-top: var(--s-6); }
.candy-wrap .candy-btn--small { --candy-w: calc(max(250px, 17vw) * 2 / 3); z-index: 1; }
.hero__titlerow { position: relative; }

/* Подсказка «ведите пальцем вверх» (21.11.2026): полупрозрачный объёмный отпечаток со стрелкой на фото слева */
.swipe-hint {
  display: none; position: absolute; z-index: 3; left: 3%; top: 40%;
  width: clamp(48px, 13vw, 72px); height: auto; pointer-events: none;
  opacity: .8; filter: drop-shadow(0 6px 10px rgba(20, 2, 6, .5));
  animation: swipe-hint 2.4s ease-in-out infinite;
}
@media (max-width: 767px), (pointer: coarse) { .swipe-hint { display: block; } }
@keyframes swipe-hint {
  0%   { transform: translateY(36px); opacity: 0; }
  18%  { opacity: .82; }
  70%  { transform: translateY(-30px); opacity: .82; }
  100% { transform: translateY(-44px); opacity: 0; }
}
.swipe-hint.is-gone { animation: none; opacity: 0; transition: opacity .4s; }
/* на экранах «Направления» и подиума — ещё прозрачнее, поверх карточек и игрушек */
.swipe-hint--soft { z-index: 600; left: 4%; top: 46%; opacity: .45; animation-name: swipe-hint-soft; }
@keyframes swipe-hint-soft {
  0%   { transform: translateY(36px); opacity: 0; }
  18%  { opacity: .45; }
  70%  { transform: translateY(-30px); opacity: .45; }
  100% { transform: translateY(-44px); opacity: 0; }
}
.candy-btn .candy-btn__label--two {
  transform: translate(1.5%, -1%);
  white-space: normal; text-align: center; line-height: 1;
  font-size: max(11px, calc(var(--candy-w) * .072));
}
.candy-glow {
  position: absolute; z-index: 0; left: -4%; right: -4%; top: 30%; bottom: -42%;
  pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(closest-side at 14% 50%, #ff3d6e, transparent),
    radial-gradient(closest-side at 32% 58%, #ffc233, transparent),
    radial-gradient(closest-side at 50% 50%, #4dff9a, transparent),
    radial-gradient(closest-side at 68% 58%, #3fc8ff, transparent),
    radial-gradient(closest-side at 86% 50%, #c77dff, transparent);
  filter: blur(10px) saturate(1.4); opacity: .95;
  animation: candy-glow 3.6s ease-in-out infinite;
}
@keyframes candy-glow {
  0%, 100% { opacity: .75; transform: scale(.94);  filter: blur(10px) saturate(1.4) hue-rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.06); filter: blur(12px) saturate(1.6) hue-rotate(140deg); }
}

/* ---------- Конфета «Смотреть коллекции» и надписи в рамках ---------------
   Оформление — картинки в стиле постеров мастерской, сгенерированы ChatGPT
   (assets/img/decor: candy, ribbon, plaque). Текст лежит поверх, в пустой середине. */
.candy-btn {
  --candy-w: max(250px, 17vw);
  position: relative; display: inline-grid; place-items: center;
  width: var(--candy-w); aspect-ratio: 900 / 285;
  background: url("../img/decor/candy.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 14px rgba(20, 2, 6, .45));
  animation: candy-sway 4.2s ease-in-out infinite;
  transition: scale .35s cubic-bezier(.34, 1.56, .64, 1), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.candy-btn::before { content: ""; position: absolute; inset: -8px 0; } /* зона нажатия чуть больше картинки */
@keyframes candy-sway { 0%, 100% { rotate: -1.6deg; } 50% { rotate: 1.6deg; } }
.candy-btn__fill {
  position: absolute; left: 20.6%; right: 20.2%; top: 24.9%; bottom: 26.8%; /* внутри золотой рамки */
  border-radius: 999px; overflow: hidden; pointer-events: none;
}
.candy-btn__fill > span {
  position: absolute; left: 10%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--crimson-a);
  transform: scale(0);
  transition: transform .6s var(--ease-swell), background .6s;
}
.candy-btn__label {
  position: relative; z-index: 1;
  transform: translate(1.5%, -2%);
  color: #5b0d1d; font-weight: 600; white-space: nowrap;
  font-size: calc(var(--candy-w) * .056);
  transition: color .6s var(--ease-roll);
}
.candy-btn:focus-visible { scale: 1.05; filter: drop-shadow(0 14px 18px rgba(20, 2, 6, .5)) brightness(1.05); }
@media (hover: hover) and (pointer: fine) { .candy-btn:hover { scale: 1.05; filter: drop-shadow(0 14px 18px rgba(20, 2, 6, .5)) brightness(1.05); } }
.candy-btn:focus-visible .candy-btn__fill > span { transform: scale(46); background: var(--crimson-b); }
@media (hover: hover) and (pointer: fine) { .candy-btn:hover .candy-btn__fill > span { transform: scale(46); background: var(--crimson-b); } }
.candy-btn:focus-visible .candy-btn__label { color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) { .candy-btn:hover .candy-btn__label { color: var(--on-accent); } }
.candy-btn:focus-visible [data-roll] .ch { transform: translateY(-1.3em); }
@media (hover: hover) and (pointer: fine) { .candy-btn:hover [data-roll] .ch { transform: translateY(-1.3em); } }
.candy-btn:active { scale: .96; }
.candy-btn.is-flash { animation: candy-sway 4.2s ease-in-out infinite, candy-flash .5s ease-out; }
@keyframes candy-flash {
  0%   { filter: drop-shadow(0 10px 14px rgba(20, 2, 6, .45)) brightness(1); }
  25%  { filter: drop-shadow(0 0 10px rgba(255, 244, 214, .95)) drop-shadow(0 0 26px rgba(255, 196, 96, .9)) brightness(1.45); }
  100% { filter: drop-shadow(0 10px 14px rgba(20, 2, 6, .45)) brightness(1); }
}
.candy-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 999px; }

.line-mask { display: block; overflow: clip; }
.line { display: block; }

.hero__marquee { position: absolute; inset: 0; background: var(--bg); }
.js .hero__marquee { opacity: .35; filter: blur(24px); }
.hero__marquee-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; gap: 2.5vw; padding: 0 var(--gutter);
}
.mq-col { width: 50%; }
.mq-track { display: flex; flex-direction: column; gap: 2.5vw; will-change: transform; }
.mq-track img { width: 100%; height: 27vw; object-fit: cover; border-radius: 6px; }

/* ---------- 3. Коллекции ------------------------------------------------ */
.collections { position: relative; height: 360vh; padding-top: max(8vw, calc(36vh + 16px)); color: var(--text); }
.collections__dome {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 100%; height: 66vh;
  background: var(--velvet);
  clip-path: ellipse(74% 100% at 50% 100%);
  transform: translateY(-16vh);
  will-change: transform, clip-path;
}
/* Девочка-игрушка (место 1) и рамка «Авторские ватные ёлочные игрушки» (место 2) на куполе
   над «Коллекциями сезона» — картинки от ChatGPT в стиле постеров (просьба владелицы 21.11.2026) */
/* Девочка крупнее, рамка крупнее и заходит за девочку (девочка впереди) — просьба владелицы 21.11.2026 */
.dome-deco {
  --deco-h: clamp(240px, 48vh, 560px);
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(5vh + 10px + var(--deco-h));
  display: flex; justify-content: center; align-items: flex-start;
  padding: calc(5vh + 10px) var(--gutter) 0; pointer-events: none;
}
/* Девочка висит на краю купола: середина петельки (4,7 % высоты картинки) — ровно на дуге.
   --hang считает main.js по текущей форме купола; без скрипта — у верхнего края. */
.dome-deco__girl {
  position: relative; z-index: 2; flex: none;
  margin-top: calc(-5vh - 10px);
  height: var(--deco-h); width: auto;
  translate: 0 var(--hang, calc(3vh - var(--deco-h) * 0.047));
  filter: drop-shadow(0 12px 18px rgba(20, 2, 6, .45));
  transform-origin: 50% 4.7%; animation: deco-swing 5s ease-in-out infinite; /* качается на петельке */
}
/* рамка — выше и крупнее (просьба владелицы 21.11.2026): ближе к плечам девочки, а не у её ног */
.dome-deco__plaque {
  position: relative; z-index: 1; flex: none;
  left: calc(var(--gutter) * .6);                      /* правее и выше — просьба владелицы 21.11.2026 */
  margin-top: calc(var(--deco-h) * .10);
  margin-left: calc(var(--deco-h) * -.06);           /* левый край рамки чуть заходит за девочку, надпись видна целиком */
  /* не выше купола вместе с рамками 1 и 2 под ней (21.11.2026) */
  width: min(620px, var(--deco-h), calc(100vw - 2 * var(--gutter) - var(--deco-h) * .412));
  height: auto;
  /* яркое свечение по краю рамки с лёгкой пульсацией (просьба владелицы 21.11.2026) */
  /* неоновое свечение по контуру с мягкой пульсацией (просьба владелицы 21.11.2026) */
  filter: drop-shadow(0 0 2px #effdff) drop-shadow(0 0 6px rgba(53, 224, 255, .85)) drop-shadow(0 0 14px rgba(53, 224, 255, .55));
  animation: plaque-glow 3s ease-in-out infinite;
}
@keyframes plaque-glow {
  0%, 100% { filter: drop-shadow(0 0 1px #effdff) drop-shadow(0 0 4px rgba(53, 224, 255, .7)) drop-shadow(0 0 9px rgba(53, 224, 255, .35)); }
  50%      { filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 8px rgba(53, 224, 255, 1))  drop-shadow(0 0 20px rgba(53, 224, 255, .75)); }
}
@keyframes deco-swing { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
/* Правая колонка купола: «Авторские ватные…», под ней — «Уникальные коллекции» (1) и «Подарочная упаковка» (2)
   (просьба владелицы 21.11.2026). Сдвиг колонки — прежний сдвиг рамки. */
.dome-deco__side {
  position: relative; z-index: 1; flex: none;
  display: flex; flex-direction: column; align-items: center;
  /* ширина колонки = ширина рамки «Авторские…»: рамки 1 и 2 считаются от неё и не выходят за экран */
  width: min(620px, var(--deco-h), calc(100vw - 2 * var(--gutter) - var(--deco-h) * .412));
  left: calc(var(--gutter) * .6);
  margin-top: calc(var(--deco-h) * .10);
  margin-left: calc(var(--deco-h) * -.06);
}
.dome-deco__side .dome-deco__plaque { left: 0; margin: 0; width: 100%; }
.dome-deco__badge {
  /* крупнее прежнего примерно на 17 % (просьба владелицы 21.11.2026): 78 % колонки, на узком телефоне не меньше 170 px */
  display: block; width: max(78%, min(100%, 170px)); height: auto; margin-top: calc(var(--deco-h) * .04);
  filter: drop-shadow(0 6px 10px rgba(30, 2, 8, .35));
}
/* Рамка «Ручная работа» — место 3 под девочкой и рамками 1 и 2, по центру купола (просьба владелицы 21.11.2026) */
.dome-deco__ruchnaya {
  position: absolute; z-index: 3; left: 50%; translate: -50% 0;
  /* сразу под подставкой девочки (низ девочки = --deco-h + --hang) с зазором 12 */
  top: calc(var(--deco-h) + var(--hang, calc(3vh - var(--deco-h) * 0.047)) + 12px);
  width: min(calc(100vw - 2 * var(--gutter)), 460px, calc(var(--deco-h) * .9)); height: auto;
  filter: drop-shadow(0 6px 10px rgba(30, 2, 8, .35));
}
/* стоймя (телефон, планшет): колонка рамок не выше девочки — тогда под ними хватает места для рамки 3 */
@media (max-aspect-ratio: 1/1) {
  .dome-deco__side { width: min(620px, calc(var(--deco-h) * .8), calc(100vw - 2 * var(--gutter) - var(--deco-h) * .412)); }
}
/* планшет стоймя: колонка уже, чем была, поэтому рамки 1 и 2 — шире доля колонки, чтобы остались крупнее прежнего */
@media (max-aspect-ratio: 1/1) and (min-width: 600px) { .dome-deco__badge { width: 86%; } }
/* экран шире высоты: под девочкой места в куполе нет — рамка 3 слева от девочки, низом на уровне её подставки */
@media (min-aspect-ratio: 1001/1000) {
  .dome-deco__ruchnaya {
    position: relative; left: auto; top: auto; order: -1; flex: none; align-self: flex-end;
    margin: 0 16px calc(5vh + 10px) 0;
    translate: 0 var(--hang, calc(3vh - var(--deco-h) * 0.047));
    width: min(400px, calc(var(--deco-h) * .8),
               calc(100vw - 2 * var(--gutter) - var(--deco-h) * .412 - var(--gutter) * .6 - 16px
                    - min(620px, var(--deco-h), calc(100vw - 2 * var(--gutter) - var(--deco-h) * .412))));
  }
}
.collections__sticky {
  position: sticky; top: 0; z-index: 3;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5vw; padding: 0 var(--gutter);
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 15% 20%, rgba(231, 189, 117, 0.14), transparent 70%),
    var(--velvet);
}
.collections .sec-title { text-align: center; line-height: 1.5; }
.collections__body { width: 100%; display: flex; align-items: center; gap: 4vw; }
.col-list-wrap { position: relative; width: 32%; flex: none; }
.col-track, .col-progress {
  position: absolute; left: 4px; top: 2.5vw; width: 1px; height: 21vw;
}
.col-track { background: var(--line); }
.col-progress { background: var(--gold); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 10px rgba(231, 189, 117, .5); }
.col-list { display: flex; flex-direction: column; }
.col-item {
  position: relative; min-height: 7vw;
  display: flex; align-items: center; gap: 1.2vw;
  transition: opacity .4s;
}
.col-item__t { color: var(--text-soft); transition: color .4s; }
.col-item.is-active .col-item__t, .col-item.is-done .col-item__t { color: var(--text); }
.col-dot {
  width: 10px; height: 10px; flex: none; margin-top: -1.5vw;
  border-radius: 999px; border: 1px solid var(--gold);
  background: rgba(231, 189, 117, 0.25);
  transition: background .4s, box-shadow .4s, transform .4s;
}
.col-item.is-done .col-dot { background: var(--gold); }
.col-item.is-active .col-dot {
  background: var(--gold); transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(231, 189, 117, .18), 0 0 16px 2px rgba(231, 189, 117, .55);
}
.col-item__t { font-size: 1.5vw; font-weight: 400; line-height: 1.5; }
.col-item p { font-size: max(13px, 1vw); line-height: 1.5; color: var(--muted); }

.col-stack {
  position: relative; flex: 1; height: 38vw;
  border-radius: var(--radius-s); overflow: hidden;
  background: var(--surface-2);
}
.col-card {
  position: absolute; inset: 0;
  display: flex;
  background: var(--surface-2);
  border-radius: var(--radius-s); overflow: hidden;
  will-change: transform, filter;
}
.col-card__media { position: relative; width: 63%; height: 100%; flex: none; overflow: hidden; }
/* Фото, гифка и видео показываются целиком, в своих пропорциях (просьбы владелицы 20 и 21.11.2026);
   поля вокруг — размытая копия того же кадра */
.col-card__media { background: var(--surface-1); }
.col-card__media picture { display: contents; }
.col-card__media img, .col-card__media video { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.col-card__media > .col-card__bg {
  max-width: none;
  position: absolute; left: -20px; top: -20px; width: calc(100% + 40px); height: calc(100% + 40px);
  object-fit: cover; filter: blur(18px) brightness(.5) saturate(1.1);
}
/* «Конфетки-подвески»: два видео в ряд одной высоты, каждое целиком (просьба владелицы 21.11.2026) */
.col-card__videos {
  container-type: size; position: relative; height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.col-card__media .col-card__videos video {
  /* высота — чтобы оба (сумма пропорций 0,625 + 0,625) вошли по ширине и по высоте */
  --h: min(calc(100cqh - 12px), calc((100cqw - 18px) / 1.25));
  flex: none; width: calc(var(--h) * var(--ar, .625)); height: var(--h);
  border-radius: 8px; background: transparent;
  box-shadow: 0 0 0 1px rgba(231, 189, 117, .25), 0 8px 24px rgba(0, 0, 0, .45);
}
.col-card__info {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-4);
  padding: var(--s-8);
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(231, 189, 117, 0.12), transparent 70%),
    var(--surface-2);
}
/* иней на уголке карточки */
.col-card__info::after {
  content: ""; position: absolute; right: 0; top: 0; width: 38%; height: 26%;
  background: radial-gradient(100% 100% at 100% 0%, rgba(255, 244, 231, 0.10), transparent 70%);
  pointer-events: none;
}
.col-card__kicker { font-size: max(13px, 0.9vw); color: var(--gold-ink); letter-spacing: .02em; }
.col-card__info h3 { font-size: 2.2vw; font-weight: 400; line-height: 1.15; }
.col-card__info p:not(.col-card__kicker) { font-size: max(14px, 1.05vw); line-height: 1.55; color: var(--muted); }
.col-card__info .link-arrow { align-self: flex-start; }
.bow { width: 64px; height: 40px; color: var(--gold-ink); opacity: .9; }

.collections__glow {
  position: absolute; left: 0; bottom: -10%; width: 100%; height: 60vh; overflow: hidden; pointer-events: none;
}
.collections__glow > div {
  position: absolute; left: -7.5%; bottom: 35%; z-index: 2;
  width: 115%; height: 40vh;
  background: var(--velvet);
  filter: blur(40px);
}

/* ---------- 4. Почему ---------------------------------------------------- */
.why { position: relative; background: var(--bg); padding: 25vw 0 10vw; }
.why__head { text-align: center; margin-bottom: 5vw; padding: 0 var(--gutter); }
.why__sub { font-size: max(16px, 1.25vw); margin-top: 1.5vw; color: var(--text-soft); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-card {
  position: relative;
  padding: 2vw var(--gutter) 3vw;
  min-height: 32vw;
  display: flex; flex-direction: column; justify-content: space-between;
}
/* украшения с листа владелицы вместо значков (21.11.2026): по 2–3 на блок, в один ряд */
.why-card__deco { display: flex; align-items: flex-end; gap: 8px; height: clamp(84px, 8vw, 128px); margin-bottom: 2.5vw; }
.why-card__deco img { height: 100%; width: auto; max-width: 46%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
/* корзинка в карточке «Ватные куколки» — без рамки и тени-подложки, это вырезка */
.svc-card__pic img[src*="basket-dolls"] { border-radius: 0; box-shadow: none; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.why-card__deco img[src*="basket-dolls"] { max-width: 70%; }

/* Ножницы и катушка: мягкая пульсация с тёплым отсветом (движение при прокрутке — в main.js), просьба владелицы 21.11.2026 */
.why-card__deco img[src*="scissors"], .why-card__deco img[src*="spool"] { animation: deco-pulse 2.6s ease-in-out infinite; }
.why-card__deco img[src*="spool"] { animation-delay: -1.3s; }
.why-card__deco img[src*="scissors"], .why-card__deco img[src*="spool"],
.why-card__deco .lantern-fire, .why-card__deco .neon-ribbon { translate: var(--mx, 0px) 0; rotate: var(--mr, 0deg); }
@keyframes deco-pulse {
  0%, 100% { scale: 1;    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 0 rgba(255, 200, 110, 0)); }
  50%      { scale: 1.06; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 12px rgba(255, 200, 110, .75)); }
}
/* Лента: по контуру бегут три маленькие неоновые точки, за каждой — неоновый хвост (просьба владелицы 21.11.2026).
   Контур снят с прозрачности картинки; pathLength=300 и шаг штриха 100 дают ровно три «кометы» */
.neon-ribbon, .lantern-fire { position: relative; display: inline-flex; height: 100%; max-width: 46%; }
.why-card__deco .neon-ribbon img, .why-card__deco .lantern-fire img { max-width: 100%; }
/* фонарь крупнее — по размеру ленты (просьба владелицы 21.11.2026): блок с фонарём выше в 1,7 раза */
.why-card__deco:has(.lantern-fire) { height: calc(clamp(84px, 8vw, 128px) * 1.7); }
.why-card__deco .lantern-fire { max-width: 60%; transform-origin: 50% 0; }
.neon-ribbon__svg {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
  filter: drop-shadow(0 0 2px #e9fdff) drop-shadow(0 0 5px #35e0ff) drop-shadow(0 0 11px rgba(53, 224, 255, .85));
}
.neon-ribbon__svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* толщины — в единицах картинки 584×220 (на экране лента в 3–4 раза меньше): хвост ~2 px, голова ~5 px */
.nr-tail { stroke: rgba(70, 225, 255, .5); stroke-width: 7;  stroke-dasharray: 16 84;     animation: nr-tail 4.8s linear infinite; }
.nr-mid  { stroke: rgba(175, 246, 255, .9); stroke-width: 9; stroke-dasharray: 6 94;      animation: nr-mid 4.8s linear infinite; }
.nr-head { stroke: #f4feff;                stroke-width: 17; stroke-dasharray: .01 99.99; animation: nr-head 4.8s linear infinite; }
@keyframes nr-tail { from { stroke-dashoffset: 0; }   to { stroke-dashoffset: -300; } }
@keyframes nr-mid  { from { stroke-dashoffset: -10; } to { stroke-dashoffset: -310; } }
@keyframes nr-head { from { stroke-dashoffset: -16; } to { stroke-dashoffset: -316; } }

/* Фонарь: пламя пульсирует неровно, как живой огонь, и подсвечивает фонарь (просьба владелицы 21.11.2026) */
.why-card__deco .lantern-fire img { animation: lantern-light 2.3s ease-in-out infinite; }
.lantern-fire__glow {
  position: absolute; left: 50%; top: 58%; width: 48%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 244, 200, .95) 0%, rgba(255, 196, 86, .78) 28%, rgba(255, 126, 32, .38) 55%, transparent 72%);
  filter: blur(3px);
  animation: flame-flicker 1.7s infinite;
}
@keyframes flame-flicker {
  0%   { opacity: .72; scale: .92; }
  12%  { opacity: 1;   scale: 1.05; }
  24%  { opacity: .8;  scale: .96; }
  37%  { opacity: .97; scale: 1.08; }
  50%  { opacity: .7;  scale: .9; }
  63%  { opacity: 1;   scale: 1.03; }
  76%  { opacity: .82; scale: .97; }
  88%  { opacity: .95; scale: 1.06; }
  100% { opacity: .72; scale: .92; }
}
@keyframes lantern-light {
  0%, 100% { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 6px rgba(255, 190, 90, .35)); }
  50%      { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(255, 190, 90, .8)); }
}
.why-card h3 { font-size: 2vw; font-weight: 400; line-height: 1.5; margin-bottom: 2.5vw; }
.why-card p { font-size: max(16px, 1.25vw); line-height: 1.5; color: var(--muted); }
.why-card__line { position: relative; display: block; margin-top: 3vw; height: 1px; width: 100%; background: var(--line); }
.why-card__line > span {
  position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .why-card:hover .why-card__line > span { transform: scaleX(1); } }

/* ---------- 5. Направления --------------------------------------------- */
.services { position: relative; background: var(--bg); height: 275vh; }
.services__head { position: relative; padding: 6vw var(--gutter) 0; width: 62%; }
.services__text { width: 75%; margin-top: 1.5vw; font-size: max(16px, 1.25vw); color: var(--text-soft); }
.services { --card-h: min(36vw, 58svh); }
.services__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.services__row { display: flex; gap: 1.6vw; padding: 0 var(--gutter); will-change: transform; }
.svc-card {
  position: relative; isolation: isolate;
  width: 27vw; height: var(--card-h); flex: none;
  border-radius: var(--radius-m);
  padding: 1.6vw;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 16px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s;
}
.svc-card__fill {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(231, 189, 117, 0.22), transparent 70%),
    var(--velvet);
  clip-path: circle(0% at var(--mx, 50%) var(--my, 50%));
  transition: clip-path .7s var(--ease-swell);
}
.svc-card.is-featured .svc-card__fill, .svc-card:focus-visible .svc-card__fill { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
@media (hover: hover) and (pointer: fine) { .svc-card:hover .svc-card__fill { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); } }
.svc-card:focus-visible { border-color: rgba(231, 189, 117, .5); }
@media (hover: hover) and (pointer: fine) { .svc-card:hover { border-color: rgba(231, 189, 117, .5); } }
.svc-card:active { transform: scale(.99); }
.svc-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Фото направления — целиком, без обрезки; появляется, когда карточка въезжает в экран */
.svc-card__pic { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.svc-card__pic img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(231, 189, 117, .3), 0 10px 26px rgba(0, 0, 0, .45);
}
.js:not(.rm) .svc-card__pic img { opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js:not(.rm) .svc-card.is-in .svc-card__pic img { opacity: 1; transform: none; }

/* Широкий, но низкий экран (1920×540 и т. п.): декору не хватает места — карточке вся высота */
@media (min-width: 1025px) and (max-height: 700px) {
  .services { --card-h: min(36vw, 84svh); }
  .services .svc-deco { display: none; }
  .svc-card__title { font-size: min(2.5vw, 5.6svh); margin-bottom: .5vw; }
  .svc-card__list > span { font-size: max(14px, min(1.25vw, 2.9svh)); }
}
/* Коробка с конфетами над рядом и 4 конфеты под рядом (просьба владелицы 21.11.2026) */
.svc-deco {
  --deco-h: clamp(72px, calc((100svh - var(--card-h)) / 2 - 40px), 230px);
  flex: none; height: var(--deco-h);
  display: flex; justify-content: center; pointer-events: none;
}
.svc-deco--box img { height: 100%; width: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
/* мягкое фоновое свечение за коробкой с небольшой пульсацией (просьба владелицы 21.11.2026) */
.svc-deco--box { position: relative; isolation: isolate; }
.svc-deco__halo {
  position: absolute; z-index: -1; left: 50%; top: 52%;
  width: calc(var(--deco-h) * 2.3); height: calc(var(--deco-h) * 1.55);
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, #fffef8, rgba(255, 250, 230, .97) 52%, rgba(255, 226, 160, .7) 72%, rgba(240, 196, 120, .3) 86%, transparent);
  filter: blur(6px);
  animation: box-halo 3.2s ease-in-out infinite;
}
@keyframes box-halo { 0%, 100% { opacity: .6; scale: .95; } 50% { opacity: 1; scale: 1.04; } }
.svc-deco--candies { position: relative; isolation: isolate; align-self: stretch; align-items: flex-start; justify-content: space-evenly; gap: 0; padding: 0 var(--gutter); }
.svc-deco--candies img {
  position: relative; height: 92%; width: auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5));
  transform-origin: 50% 3%;              /* висят на петельке */
  animation: candy-swing 2.8s ease-in-out infinite;
}
/* соседние качаются навстречу друг другу: чётные — в противофазе */
.svc-deco--candies img:nth-of-type(even) { animation-delay: -1.4s; }
@keyframes candy-swing { 0%, 100% { rotate: 3deg; } 50% { rotate: -3deg; } }
.svc-deco__glow {
  position: absolute; z-index: -1; left: 50%; bottom: 0; width: 130%; height: 46%;
  translate: -50% 24%;
  background: radial-gradient(closest-side, rgba(255, 214, 140, .7), rgba(231, 189, 117, .26) 55%, transparent);
  filter: blur(6px);
  animation: glow-pulse 2.4s ease-in-out infinite;
}
@keyframes glow-pulse { 0%, 100% { opacity: .5; scale: .9; } 50% { opacity: 1; scale: 1.08; } }
.svc-card__title { display: block; font-size: 2.5vw; line-height: 1.5; margin-bottom: 1vw; }
.svc-card__list { display: flex; flex-direction: column; gap: 0.4vw; padding-left: 0.5vw; }
.svc-card__list > span { position: relative; padding-left: 1em; font-size: max(15px, 1.25vw); line-height: 1.5; color: var(--text-soft); }
.svc-card__list > span::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 99px; background: var(--gold); }

/* ---------- 6. Как заказать -------------------------------------------- */
.steps { position: relative; background: var(--bg); padding: 7vw 0; }
.steps__inner { position: relative; padding: 0 var(--gutter); }
.steps .sec-title { margin-bottom: 4vw; }
.step { position: relative; padding: 32px 0; }
.step h3 { font-size: 1.8vw; font-weight: 400; line-height: 1.5; transition: color .3s, transform .5s var(--ease-out); }
.step p { margin-top: 12px; font-size: max(15px, 1.25vw); letter-spacing: .025em; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .step:hover h3 { color: var(--gold-ink); transform: translateX(10px); } }
.step__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line); transform-origin: left; }
.js .step__line { transform: scaleX(0); }
.steps__preview {
  position: absolute; right: 10%; top: 0; width: 40vw; pointer-events: none;
  opacity: 0; z-index: 3;
}
.steps__frame {
  position: relative; width: 40vw; height: 22vw; border-radius: var(--radius-s); overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(231, 189, 117, .25);
}
.steps__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(0); }
.steps__frame img:first-child { transform: scale(1.05); }

/* ---------- 7. Пролёт --------------------------------------------------- */
/* 24 фото целиком, без обрезки, вдвое крупнее прежних (просьба владелицы 21.11.2026).
   Без анимации (нет JS или «меньше движения») — обычная галерея;
   с анимацией каждое фото вылетает из глубины в своём месте экрана (места задаёт main.js). */
.fly { position: relative; z-index: 2; background: var(--bg); text-align: center; padding: 8vw 0; }
.fly__title-wrap { display: flex; align-items: center; justify-content: center; padding-bottom: 4vw; }
.fly__title { width: 60%; }
.fly__stage { position: relative; width: 100%; }
.fly__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-3); padding: 0 var(--gutter); }
.fly-item {
  /* было 14vw — стало 28vw; высокие постеры ограничены высотой экрана */
  width: min(28vw, calc(62svh * var(--ar, .75)));
  flex: none; border-radius: 10px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(231, 189, 117, .25), 0 10px 40px rgba(0, 0, 0, .5);
}
.fly-item img { display: block; width: 100%; height: auto; }

.js:not(.rm) .fly { height: 400vh; padding: 0; }
/* надпись поверх фото: фото пролетают сквозь неё и не закрывают (просьба владелицы 21.11.2026) */
.js:not(.rm) .fly__title-wrap { position: sticky; top: 0; z-index: 30; height: 100vh; height: 100svh; padding: 0; pointer-events: none; }
/* бордовые буквы с золотой окантовкой и белой подсветкой по контуру (просьба владелицы 21.11.2026);
   окантовка — тени по восьми сторонам (обводка по краю съела бы тонкие засечки шрифта), под ними белый ореол */
.fly__title .sec-title {
  --o: max(1px, .022em);
  color: var(--crimson-a);
  text-shadow:
    var(--o) 0 0 var(--gold-deep), calc(-1 * var(--o)) 0 0 var(--gold-deep),
    0 var(--o) 0 var(--gold-deep), 0 calc(-1 * var(--o)) 0 var(--gold-deep),
    var(--o) var(--o) 0 var(--gold-deep), calc(-1 * var(--o)) var(--o) 0 var(--gold-deep),
    var(--o) calc(-1 * var(--o)) 0 var(--gold-deep), calc(-1 * var(--o)) calc(-1 * var(--o)) 0 var(--gold-deep),
    0 0 4px #fff, 0 0 10px rgba(255, 255, 255, .95), 0 0 22px rgba(255, 255, 255, .75);
}
.js:not(.rm) .fly__stage {
  position: sticky; top: 0; margin-top: -100vh; margin-top: -100svh; z-index: 20;
  height: 100vh; height: 100svh; overflow: hidden; pointer-events: none;
}
.js:not(.rm) .fly__grid { position: relative; display: block; height: 100%; padding: 0; perspective: 350vw; }
.js:not(.rm) .fly-item { position: absolute; left: var(--xw, 50%); top: var(--yw, 50%); opacity: 0; will-change: transform, opacity, filter; }
@media (max-aspect-ratio: 1/1) {
  .js:not(.rm) .fly-item { left: var(--xt, 50%); top: var(--yt, 50%); }
}

/* ---------- 8. Подиум «Знакомьтесь — герои коллекции» -------------------
   Перенос Runway Lookbook: липкая сцена с рядами глубины и лента деталей справа.
   Цвета и шрифты — сайта; положение фигур, размытие и ленту считает main.js (runway).
   Мелкий текст оригинала (8–9 px) увеличен до 12–13 px — его должно быть видно на телефоне. */
.rwl-track {
  position: relative; background: var(--bg); color: var(--text);
  height: calc(100vh * var(--rwl-len, 3.75)); height: calc(100svh * var(--rwl-len, 3.75));
}
.rwl-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; overflow: hidden; background: var(--bg);
  padding-top: clamp(76px, 10.5vh, 100px); /* место шапки сайта — как полоса бренда и меню в оригинале */
}
.rwl-cap { text-transform: uppercase; }
.rwl-body { position: relative; flex: 1; min-height: 0; display: flex; border-top: 1px solid var(--line-soft); }
.rwl-stage {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  background: linear-gradient(90deg, var(--surface-1), var(--surface-2) 62%, color-mix(in oklab, var(--surface-1) 50%, var(--surface-2)));
}
.rwl-fig { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform, filter, opacity; transform-origin: 0 0; }
.rwl-fig > img { position: absolute; bottom: 0; left: 0; width: auto; max-width: none; transform: translateX(-50%); pointer-events: none; user-select: none; }
/* игрушки — прямоугольные кадры с постеров в золотой рамке (просьба владелицы 21.11.2026) */
.rwl-fig > img {
  border: 4px solid #e7bd75; border-radius: 10px;
  box-shadow: 0 0 0 1px #7a4a14, 0 0 0 7px rgba(231, 189, 117, .28), 0 0 26px rgba(255, 214, 140, .25), 0 22px 36px rgba(0, 0, 0, .55);
}
.rwl-fig > i {
  position: absolute; left: 0; bottom: -1px; transform: translate(-50%, 50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent);
}
/* кнопка — для клавиатуры и экранного диктора; мышь и палец ловит силуэт (main.js, figAt) */
.rwl-hit { position: absolute; bottom: 0; left: 0; transform: translateX(-50%); background: none; border: 0; padding: 0; cursor: pointer; border-radius: 4px; pointer-events: none; }
.rwl-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.rwl-copy { position: absolute; left: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-left, 0px)); top: clamp(20px, 4.5vh, 44px); z-index: 500; max-width: min(440px, 52%); pointer-events: none; }
.rwl-title { margin: 0 0 16px; font-size: clamp(15px, 1.5vw, 22px); font-weight: 400; letter-spacing: .08em; line-height: 1.2; }
/* невидимый «обтекатель»: справа, по форме — только ниже верха рамки, поэтому строки над рамкой идут во всю ширину */
.rwl-wrap { float: right; width: var(--wrap-w, 0px); height: var(--wrap-h, 0px); shape-outside: inset(var(--wrap-t, 0px) 0 0 0); pointer-events: none; }
.rwl-blurb { margin: 0; max-width: 300px; font-size: clamp(13px, .9vw, 14px); line-height: 1.65; color: var(--muted); }
/* нижние строки могут лечь на размытое фото позади — мягкая бежевая подложка держит их читаемыми */
.rwl-blurb, .rwl-title { text-shadow: 0 0 4px var(--bg), 0 0 10px var(--bg), 0 0 18px rgba(245, 222, 192, .85); }
.rwl-foot { position: absolute; left: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-left, 0px)); bottom: clamp(20px, 4.5vh, 40px); z-index: 500; }
.rwl-look { margin: 0; display: flex; align-items: flex-end; gap: .55em; font-size: clamp(18px, 2vw, 30px); font-weight: 400; letter-spacing: .1em; line-height: 1; }
.rwl-look > span:first-child { line-height: 1.15em; }
.rwl-num { display: flex; font-variant-numeric: tabular-nums; }
.rwl-dg { display: block; overflow: hidden; height: 1.15em; line-height: 1.15em; }
.rwl-dg > span { display: block; }
.rwl-shop {
  margin-top: 4px; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gold-ink);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: color .25s;
}
@media (hover: hover) and (pointer: fine) { .rwl-shop:hover { color: var(--text); } }
.rwl-shop:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rwl-rail { position: relative; flex: none; width: 24%; min-width: 200px; max-width: 340px; overflow: hidden; background: var(--bg); border-left: 1px solid var(--line-soft); }
.rwl-card { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; padding: 14px 16px; will-change: transform; background: var(--bg); }
.rwl-card[data-tint] { background: var(--surface-1); }
.rwl-pic { position: relative; flex: 1; min-height: 0; overflow: hidden; margin: 6px 16% 14px; }
.rwl-pic > img { position: absolute; left: 50%; max-width: none; width: auto; pointer-events: none; user-select: none; }
.rwl-pic { border: 2px solid rgba(231, 189, 117, .7); border-radius: 8px; }
.rwl-meta { display: grid; grid-template-columns: 1fr; gap: 4px; }
.rwl-pname { font-size: 12px; font-weight: 600; letter-spacing: .05em; line-height: 1.4; }
.rwl-price { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.rwl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rwl-track[data-narrow] .rwl-rail { display: none; }
.rwl-track[data-narrow] .rwl-copy { max-width: 62%; }
/* без JavaScript — обычный ряд игрушек */
html:not(.js) .rwl-track { height: auto; }
html:not(.js) .rwl-pin { position: relative; height: auto; }
html:not(.js) .rwl-stage { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 24px; padding: 150px 16px 130px; }
html:not(.js) .rwl-fig { position: relative; width: auto; height: auto; }
html:not(.js) .rwl-fig > img { position: static; transform: none; height: auto; max-height: 40vh; max-width: calc(100vw - 32px); }
html:not(.js) .rwl-look { display: none; }
html:not(.js) .rwl-fig > i, html:not(.js) .rwl-hit, html:not(.js) .rwl-rail { display: none; }

/* ---------- 9. FAQ ------------------------------------------------------ */
.faq { position: relative; background: var(--bg); padding: 6vw 10vw 10vw; }
/* Баннер мастерской между вопросами и подвалом — картинка целиком, без обрезки */
.banner { position: relative; background: var(--bg); padding: 0 var(--gutter); }
.banner__frame {
  margin: 0 auto; max-width: 1200px;
  border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(231, 189, 117, .25), 0 24px 60px rgba(0, 0, 0, .6);
}
.banner__frame img { display: block; width: 100%; height: auto; }
.faq .sec-title { text-align: center; margin-bottom: 6vw; line-height: 1.5; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item h3 { font-weight: 400; }
.faq-q {
  width: 100%; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px 0; text-align: left;
  font-size: max(17px, 1.5vw); line-height: 1.5;
}
.faq-q:focus-visible { outline-offset: 0; }
.faq-icon {
  position: relative; flex: none;
  width: 56px; height: 56px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.faq-icon__fill {
  position: absolute; inset: 0; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f2d39a, var(--gold) 55%, var(--gold-deep));
  transform: scale(0); transition: transform .3s var(--ease-swell);
}
.faq-icon__h, .faq-icon__v { position: absolute; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, background .3s; }
.faq-icon__v { transform: rotate(90deg); }
.faq-q:focus-visible .faq-icon__fill, .faq-item.is-open .faq-icon__fill { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { .faq-q:hover .faq-icon__fill { transform: scale(1); } }
.faq-q:focus-visible .faq-icon__h, .faq-q:focus-visible .faq-icon__v, .faq-item.is-open .faq-icon__h, .faq-item.is-open .faq-icon__v { background: #1a0b0f; }
@media (hover: hover) and (pointer: fine) { .faq-q:hover .faq-icon__h, .faq-q:hover .faq-icon__v { background: #1a0b0f; } }
.faq-item.is-open .faq-icon__v { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 6vw 32px 0; max-width: 61vw; font-size: max(16px, 1.25vw); line-height: 1.6; color: var(--muted); }

/* ---------- 10. Подвал ------------------------------------------------- */
.footer { position: relative; overflow: hidden; padding: 10vw var(--gutter) max(24px, env(safe-area-inset-bottom)); background: var(--bg); }
.footer__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 100%, rgba(231, 189, 117, 0.28), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, rgba(231, 189, 117, .45), transparent 72%),
    radial-gradient(60% 40% at 15% 100%, rgba(91, 13, 29, 0.9), transparent 70%);
}
.snow--footer { z-index: 1; }
.footer__card {
  position: relative; z-index: 2;
  border: 1px solid rgba(107, 63, 11, .3);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(239, 211, 176, 0.95), rgba(232, 199, 160, 0.75));
  padding: 2.5vw 2vw 2vw;
  display: flex; flex-direction: column; gap: var(--s-12);
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-8); }
.logo-plaque { display: inline-block; border-radius: 12px; transition: transform .3s var(--ease-out); }
.logo-plaque img { display: block; width: clamp(170px, 15vw, 240px); height: auto; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
@media (hover: hover) and (pointer: fine) { .logo-plaque:hover { transform: translateY(-2px); } }
.logo-plaque:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-4); text-align: right; }
.footer__cta-title { font-family: var(--font-display); font-weight: 500; font-size: 3.8vw; line-height: 1.1; max-width: 22ch; }

/* QR-коды и 3D-кнопки-логотипы (Telegram, ВКонтакте, MAX, телефон) */
.socials { display: flex; flex-direction: column; gap: var(--s-6); }
.socials__title { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: max(24px, 2.2vw); color: var(--gold-ink); line-height: 1.1; }
.socials__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.socials__hint { font-size: max(14px, 1vw); color: var(--muted); }
.soc-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 16px;
  padding: 16px; border-radius: var(--radius-m);
  background: linear-gradient(180deg, #f2d8b8, #e8c7a0);
  border: 1px solid rgba(107, 63, 11, .35);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.soc-card:focus-visible { border-color: var(--gold-ink); transform: translateY(-3px); }
@media (hover: hover) and (pointer: fine) { .soc-card:hover { border-color: var(--gold-ink); transform: translateY(-3px); } }
.soc-card__qr { display: block; width: 100%; aspect-ratio: 1; padding: 8%; border-radius: 12px; background: #fff7ea;
  /* золотая рамка + белое свечение по её краю (просьба владелицы 21.11.2026) */
  box-shadow: inset 0 0 0 1.5px #c99543, 0 0 0 1px rgba(255, 255, 255, .55), 0 0 10px 1px rgba(255, 255, 255, .45); }
.soc-card__qr img { width: 100%; height: 100%; }
.soc-card__row { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.soc-card__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; font-size: max(14px, .95vw); }
.soc-card__text b { font-weight: 600; color: var(--gold-ink); font-size: 1.1em; }
.soc-card__text span { color: var(--muted); overflow-wrap: anywhere; }

/* 3D-кнопки-логотипы — картинки в стиле постеров, сгенерированы ChatGPT (assets/img/decor/btn-*.webp) */
.logo3d {
  width: 64px; height: 64px; flex: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55));
  transform: perspective(300px) rotateX(0deg) translateY(0);
  transition: transform .3s var(--ease-out), filter .3s var(--ease-out);
  animation: logo-neon 2.4s ease-in-out infinite;   /* небольшое неоновое золотое свечение, пульсирует */
}
/* неон в цвете каждой сети — заметный, мягко пульсирует (просьба владелицы 21.11.2026) */
.logo3d { --neon: 255, 196, 92; }
.logo3d[src*="telegram"] { --neon: 57, 194, 255; }
.logo3d[src*="vk"]       { --neon: 79, 140, 255; }
.logo3d[src*="max"]      { --neon: 164, 107, 255; }
.logo3d[src*="phone"]    { --neon: 62, 224, 122; }
@keyframes logo-neon {
  0%, 100% { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)) drop-shadow(0 0 3px rgba(var(--neon), .9)) drop-shadow(0 0 9px rgba(var(--neon), .55)); }
  50%      { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)) drop-shadow(0 0 6px rgba(var(--neon), 1)) drop-shadow(0 0 18px rgba(var(--neon), .95)) drop-shadow(0 0 30px rgba(var(--neon), .55)); }
}

.soc-card:focus-visible .logo3d {
  transform: perspective(300px) rotateX(10deg) translateY(-3px);
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .6)) brightness(1.06);
}
@media (hover: hover) and (pointer: fine) { .soc-card:hover .logo3d {
  transform: perspective(300px) rotateX(10deg) translateY(-3px);
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .6)) brightness(1.06);
} }
.soc-card:active .logo3d { transform: perspective(300px) translateY(2px) scale(.95); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); }

.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-8); }
.footer__label { font-size: max(13px, 0.9vw); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.footer__reach ul { display: flex; flex-direction: column; gap: 4px; }
.footer__reach ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: max(16px, 1.25vw); transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .footer__reach ul a:hover { color: var(--gold-ink); } }
.footer__copy {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 0;
  font-size: max(14px, 1.1vw); color: var(--text-soft);
}
.footer__copy a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Появления (только когда работает JS) ----------------------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .why-card { opacity: 0; transform: translateY(46px); }
.js [data-intro] { opacity: 0; transform: translateY(24px); }

/* =========================================================================
   Короткие экраны: карточка коллекций не выше 62 % экрана
   ========================================================================= */
.col-stack { height: min(38vw, 62svh); }
@media (min-width: 1025px) {
  .col-item { min-height: min(7vw, 15svh); }
  .collections__sticky { gap: min(5vw, 4svh); }
  .collections .sec-title { font-size: min(calc(var(--fs-title) * 1.08), 9svh); }
}

/* =========================================================================
   Портретные экраны (телефоны, планшеты вертикально): первый экран — колонкой,
   фото владелицы целиком под текстом, в золотой рамке
   ========================================================================= */
@media (max-aspect-ratio: 1/1) {
  .hero__content {
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(max(16px, env(safe-area-inset-top)) + 4px) var(--gutter) max(14px, env(safe-area-inset-bottom));
  }
  .hero__text { width: 100%; padding-right: 0; flex: none; }
  .hero__text { --hero-fs: calc(min(calc((100vw - 2 * var(--gutter)) / 8.6), 7svh) * var(--hero-k)); }
        .hero__media {
    position: relative; inset: auto; width: 100%;
    flex: 1 1 auto; min-height: 0; margin-top: 22px;
    justify-content: center; align-items: flex-end;
  }
  .hero__img {
    width: auto; max-width: 100%; height: 100%;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 10%);
  }
}

/* =========================================================================
   Планшет (≤1024)
   ========================================================================= */
@media (max-width: 1024px) {
  :root { --gutter: max(5vw, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); --fs-title: 7vw; }
  .site-header { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 16px; }
  .logo { font-size: max(22px, 3.4vw); }
  .pill-btn { font-size: max(15px, 2.2vw); gap: 1.5vw; padding: 0 3vw; }
  .pill-btn__dot { width: max(8px, 1.2vw); height: max(8px, 1.2vw); }
  .mq-track img { height: 45vw; }

  /* Коллекции: список с таймлайном сверху, карточка на всю ширину под ним (как в образце) */
  .collections { padding-top: max(30vw, calc(34vh + 24px)); }
  .collections__sticky { justify-content: flex-start; align-items: stretch; gap: 3.5vw; padding-top: calc(max(16px, env(safe-area-inset-top)) + 84px); }
  .collections .sec-title { text-align: left; line-height: 1.2; }
  .collections__body { flex-direction: column; align-items: stretch; gap: 4vw; }
  .col-list-wrap { width: 60%; }
  .col-list { gap: 2.4vw; }
  .col-item { min-height: 0; align-items: flex-start; gap: 3vw; }
  .col-dot { margin-top: calc((3.5vw * 1.5 - 10px) / 2); }
  .col-item__t { font-size: 3.5vw; }
  .col-item p { font-size: max(14px, 2.2vw); }
  .col-stack { width: 100%; flex: none; height: calc(min(52vw, 46svh) + 56px); }
  .col-card { flex-direction: column; }
  .col-card__media { width: 100%; height: auto; flex: 1; min-height: 0; }
  .col-card__info {
    flex: none;
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px;
    padding: 4px 18px;
  }
  .col-card__info::after, .col-card__kicker, .col-card__info p:not(.col-card__kicker), .col-card__info .bow { display: none; }
  .col-card__info h3 { font-size: max(18px, 3vw); }
  .col-card__info .link-arrow { font-size: max(14px, 2vw); }

  .why { padding-top: 65vw; }
  .why__grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; padding: 4vw var(--gutter); }
  .why-card h3 { font-size: 4.2vw; margin-bottom: 2vw; }
  .why-card__deco { margin-bottom: 4vw; }

  .services__head { width: 85%; padding-top: 10vw; }
  .services__text { width: 100%; margin-top: 5vw; }
  .services__row { gap: 2.5vw; }
  .services { --card-h: min(64vw, 54svh); }
  .svc-card { width: 45vw; padding: 3vw; }
  .svc-card__title { font-size: 5vw; }

  .step h3 { font-size: 3.4vw; }
  .steps__preview { display: none; }

  .fly__title { width: 80%; }
  .fly-item { width: min(40vw, calc(58svh * var(--ar, .75))); }


  .faq { padding: 10vw var(--gutter); }
  .faq-q { font-size: max(17px, 2.6vw); }
  .faq-a p { max-width: none; padding-right: 0; }

  .footer__top { flex-direction: column; align-items: center; text-align: center; }
  .footer__cta { align-items: center; text-align: center; }
  .footer__cta-title { font-size: 6vw; }
  .footer__card { padding: 5vw; }
  .socials { align-items: center; text-align: center; }
  .socials__list { width: 100%; text-align: left; }
  .soc-card__row { flex-direction: column; text-align: center; gap: 10px; }
  .soc-card__text { align-items: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__copy { justify-content: center; text-align: center; }
}

/* =========================================================================
   Телефон (≤767)
   ========================================================================= */
@media (max-width: 767px) {
  :root { --fs-title: 9vw; --s-2: 8px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px; }
  .pill-btn { font-size: 15px; gap: 10px; padding: 0 18px; }
  .pill-btn__dot { width: 8px; height: 8px; }
  .logo { font-size: 24px; }

  .hero__text { --hero-fs: calc(min(calc((100vw - 2 * var(--gutter)) / 8.6), 5.6svh) * var(--hero-k)); }
      .candy-btn { --candy-w: 272px; }
    .tag { --tag-w: 236px; }
  .mq-track img { height: 55vw; }

  .collections__sticky { gap: 6vw; padding-top: calc(max(16px, env(safe-area-inset-top)) + 72px); }
  .collections .sec-title { font-size: 9vw; }
  .col-list-wrap { width: 100%; }
  .col-list { gap: 14px; }
  .col-item { gap: 18px; }
  .col-dot { margin-top: 11px; }
  .col-item__t { font-size: 21px; }
  .col-item p { font-size: 15px; }
  .col-stack { height: calc(min(64vw, 40svh) + 52px); border-radius: 12px; }
  .col-card { border-radius: 12px; }
  .col-card__info { padding: 4px 14px; }
  .col-card__info h3 { font-size: 18px; }
  .col-card__info .link-arrow { min-height: 44px; font-size: 14px; }

  .why { padding: 65vw 0 12vw; }
  .why__sub { font-size: 16px; margin-top: 8px; }
  .why-card { padding: 24px var(--gutter); }
  .why-card h3 { font-size: 22px; }
  .why-card p { font-size: 16px; }

  .services { height: 300vh; }
  .services__head { width: 100%; }
  .services__text { font-size: 16px; }
  .services__row { gap: 6vw; }
  .services { --card-h: min(118vw, 54svh); }
  .svc-card { width: 75vw; padding: 20px; border-radius: 16px; }
  .svc-card__title { font-size: 24px; }
  .svc-card__list > span { font-size: 15px; }

  .steps { padding: 12vw 0; }
  .step { padding: 22px 0; }
  .step h3 { font-size: 21px; }
  .step p { font-size: 15px; margin-top: 6px; }

  .js:not(.rm) .fly { height: 380vh; }
  .fly__title { width: 88%; }
  .fly__grid { gap: 8px; }
  .fly-item { width: calc(50vw - var(--gutter) - 4px); }
  .js:not(.rm) .fly-item { width: min(52vw, calc(46svh * var(--ar, .75))); }

  .av-btn { width: 44px; height: 44px; }
  .av-btn[aria-current="true"] { transform: scale(1.4); margin: 0 12px; }

  .faq { padding: 10vw var(--gutter) 16vw; }
  .faq-q { font-size: 17px; padding: 20px 0; gap: 16px; }
  .faq-icon { width: 44px; height: 44px; }
  .faq-a p { font-size: 16px; padding-bottom: 20px; }

  .footer { padding-top: 20vw; }
  .footer__card { padding: 28px 16px 24px; gap: 32px; border-radius: 20px; }
  .footer__cta-title { font-size: 27px; }
  .socials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .soc-card { padding: 12px; gap: 12px; }
  .logo3d { --size: 56px; }
  .soc-card__text { font-size: 14px; }
  .footer__copy { flex-direction: column; align-items: center; gap: 0; font-size: 14px; }
}

/* Конфета в шапке на телефоне и планшете */
@media (max-width: 1024px) {
  .candy-btn { --candy-w: min(244px, calc(100vw - 2 * var(--gutter) - 104px)); }
  .candy-wrap .candy-btn--small { --candy-w: calc(min(244px, calc(100vw - 2 * var(--gutter) - 104px)) * 2 / 3); }
}
@media (orientation: landscape) and (max-height: 520px) {
  .candy-btn { --candy-w: 200px; }
  .candy-wrap .candy-btn--small { --candy-w: calc(200px * 2 / 3); }
}

/* Телефон вертикально: фото владелицы без рамки, от левого края до правого.
   Первый экран выше окна; при прокрутке он уменьшается в карточку и фото видно целиком. */
@media (max-width: 767px) and (max-aspect-ratio: 1/1) {
  /* логотип в шапке крупнее (просьба владелицы 21.11.2026), но не заходит на третью строку заголовка */
  .logo--plaque img { height: clamp(64px, 18vw, 92px); }
  /* Фото владелицы целиком на первом экране (просьба владелицы 21.11.2026): вписывается в высоту под заголовком
     и рамкой; хватает высоты — от края до края экрана, не хватает — чуть уже, по центру */
  .hero__content { padding-top: calc(max(12px, env(safe-area-inset-top)) + 2px); padding-bottom: env(safe-area-inset-bottom); }
  .hero__text { --hero-fs: calc(min(calc((100vw - 2 * var(--gutter)) / 7.3), 7.4svh) * var(--hero-k)); }
  .hero__media { width: auto; margin: -6px calc(-1 * var(--gutter)) 0; }
}

/* Планшет и телефон боком: коллекции в две колонки, чтобы карточка была видна целиком */
@media (max-width: 1024px) and (orientation: landscape) {
  .collections__sticky { justify-content: center; padding-top: calc(max(10px, env(safe-area-inset-top)) + 72px); }
  .collections .sec-title { text-align: center; font-size: min(7vw, 9svh); }
  .collections__body { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: center; gap: 4vw; }
  .col-list-wrap { width: auto; }
  .col-item__t { font-size: min(3.5vw, 24px); }
  .col-item p { font-size: min(2.2vw, 17px); }
  .col-stack { height: calc(min(38vw, 52svh) + 52px); }
}

/* Невысокие телефоны (Safari с панелями, iPhone SE): компактнее список коллекций */
@media (max-width: 767px) and (max-height: 760px) {
  .col-item p { display: none; }
  .col-item__t { font-size: 19px; }
  .col-list { gap: 10px; }
  .col-dot { margin-top: 9px; }
  .collections .sec-title { font-size: 8vw; }
}

/* Телефон боком: всё по-настольному, но компактнее по высоте */
@media (orientation: landscape) and (max-height: 520px) {
  .hero__content { padding-top: calc(max(10px, env(safe-area-inset-top)) + 74px); }
  .site-header { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: calc(min(50vw, calc(100svh * 0.8)) + max(var(--gutter), env(safe-area-inset-right))); }
  .socials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card { height: auto; max-height: none; min-height: 60svh; }
  .svc-deco { display: none; }
  .svc-card__pic { min-height: 30svh; }
  .hero__text { --hero-fs: calc(min(6vw, 8.6svh) * var(--hero-k)); }
        .collections__sticky { gap: 12px; padding-top: 64px; }
  .collections .sec-title { font-size: 5vw; line-height: 1.2; }
  .col-item { min-height: 0; padding: 4px 0; }
  .col-item p { display: none; }
  .col-item__t { font-size: 2.4vw; }
}

/* =========================================================================
   Снижение движения: всё видно сразу, сцены прокрутки становятся обычными блоками
   ========================================================================= */
.rm .hero { height: auto; }
.rm .hero__sticky { position: relative; }
.rm .hero__marquee { display: none; }
.rm .collections { height: auto; padding-bottom: 8vw; }
.rm .collections__dome { display: none; }
.rm .collections__sticky { position: relative; height: auto; padding-top: 6vw; padding-bottom: 6vw; }
.rm .col-stack { height: auto; background: none; display: grid; gap: 24px; overflow: visible; }
.rm .col-card { position: relative; inset: auto; height: 38vw; }
.rm .services { height: auto; padding-bottom: 6vw; }
.rm .services__sticky { position: relative; height: auto; overflow-x: auto; padding: 4vw 0; }
.rm .reveal, .rm .why-card, .rm .footer__card, .rm [data-intro], .rm .site-header { opacity: 1 !important; transform: none !important; }
.rm .step__line { transform: none; }
.rm .candy-btn { animation: none; }
.rm .candy-glow { animation: none; }
.rm .hero__glow { animation: none; opacity: .6; }
.rm .why-card__deco img[src*="scissors"], .rm .why-card__deco img[src*="spool"] { animation: none; }
.rm .neon-ribbon__svg path, .rm .lantern-fire__glow, .rm .why-card__deco .lantern-fire img { animation: none; }
.rm .swipe-hint { animation: none; opacity: .75; transform: none; }
.rm .swipe-hint--soft { opacity: .45; }
.rm .logo3d { animation: none; }
.rm .svc-deco img, .rm .svc-deco__glow, .rm .svc-deco__halo, .rm .dome-deco__girl, .rm .dome-deco__plaque { animation: none; }
@media (max-width: 1024px) { .rm .col-card { height: auto; } .rm .col-card__media { flex: none; height: 80vw; max-height: 70svh; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .candy-btn, .candy-glow, .dome-deco__plaque, .swipe-hint, .neon-ribbon__svg path, .lantern-fire__glow,
  .why-card__deco .lantern-fire img, .hero__glow,
  .why-card__deco img[src*="scissors"], .why-card__deco img[src*="spool"], .svc-deco__halo { animation: none !important; }
  .hero__glow { opacity: .6; }
  .swipe-hint { opacity: .75; }
  .swipe-hint.swipe-hint--soft { opacity: .45; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* QR-коды спрятаны: кнопка «QR» в стиле сайта (нарисована ChatGPT) выдвигает код со свечением,
   повторное нажатие задвигает обратно — так у всех четырёх (просьба владелицы 21.11.2026) */
.socials__list > li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.socials__list > li > .soc-card { width: 100%; height: auto; }
.qr-btn {
  display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease-out), filter .3s;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5));
}
.qr-btn img { display: block; height: 52px; width: auto; }
@media (hover: hover) and (pointer: fine) { .qr-btn:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)) brightness(1.08); } }
.qr-btn:active { transform: scale(.96); }
.qr-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.qr-btn[aria-expanded="true"] { filter: drop-shadow(0 0 6px rgba(255, 236, 190, .95)) drop-shadow(0 0 16px rgba(255, 200, 110, .7)); }
.qr-pop { display: grid; grid-template-rows: 0fr; width: 100%; opacity: 0; transform: translateY(-8px);
  transition: grid-template-rows .5s var(--ease-out), opacity .35s, transform .5s var(--ease-out); }
.qr-pop__in { overflow: hidden; min-height: 0; padding: 0 4px; }
.qr-pop.is-open { grid-template-rows: 1fr; opacity: 1; transform: none; }
.qr-pop.is-open .soc-card__qr { margin: 6px 0 10px; animation: qr-glow .8s ease-out; }
@keyframes qr-glow { 0% { box-shadow: inset 0 0 0 1.5px #c99543, 0 0 0 1px rgba(255,255,255,.9), 0 0 30px 6px rgba(255,255,255,.9); } 100% { box-shadow: inset 0 0 0 1.5px #c99543, 0 0 0 1px rgba(255,255,255,.55), 0 0 10px 1px rgba(255,255,255,.45); } }
.rm .qr-pop { transition: none; }

/* ===== Адаптация по правилам Apple (apple-adapt-2111, просьба владелицы 21.11.2026): вид и места блоков прежние ===== */
/* касание: без серой вспышки и без задержки 300 мс; подписи кнопок не выделяются долгим нажатием */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, [role="button"], .candy-btn, .soc-card, .qr-btn { touch-action: manipulation; }
button, summary, [role="button"], .candy-btn, .pill-btn, .qr-btn { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* подсказка-отпечаток не прячется под вырез экрана, когда телефон повёрнут боком */
.swipe-hint { margin-left: env(safe-area-inset-left, 0px); }
/* номер телефона в карточке — одной строкой и на iPhone SE */
.soc-card--phone .soc-card__text span { white-space: nowrap; font-size: min(1em, 3.6vw); }
/* Капча «Я не робот» перед номером телефона (просьба владелицы 21.11.2026): окошко → вращение при проверке →
   зелёная галочка и номер; не прошла — красная рамка и «нажмите ещё раз» */
.ph-num { font-variant-numeric: tabular-nums; }
.ph-gate-line { display: inline-flex; align-items: center; gap: 8px; }
.ph-box { flex: none; position: relative; box-sizing: border-box; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 6px; }
[data-state="busy"] .ph-box { border-color: currentColor transparent currentColor currentColor; border-radius: 50%; animation: ph-spin .8s linear infinite; }
[data-state="done"] .ph-box { background: #2e7d4f; border-color: #2e7d4f; }
[data-state="done"] .ph-box::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
[data-state="fail"] .ph-box, [data-state="error"] .ph-box { border-color: var(--crimson-a); border-width: 3px; }
[data-state="busy"] { cursor: progress; }
@keyframes ph-spin { to { rotate: 360deg; } }
.ph-gate-link { gap: 8px; }
/* в узкой карточке после проверки — только номер (галочка остаётся в «На связи»), иначе номер не помещается */
.soc-card--phone[data-state="done"] .ph-box { display: none; }
/* QR телефона появляется после проверки; пока идёт проверка — индикатор, не прошла — текст «нажмите ещё раз» */
.soc-card__qr img[data-ph="qr"]:not(.is-ready) { visibility: hidden; }
.soc-card__qr:has(img[data-ph="qr"]) { position: relative; }
.ph-qr-msg { position: absolute; inset: 8px; display: none; align-items: center; justify-content: center; text-align: center; font-size: 14px; line-height: 1.3; color: var(--text); }
.ph-qr-msg[data-state="fail"], .ph-qr-msg[data-state="error"] { display: flex; }
.ph-qr-msg[data-state="busy"] { display: block; font-size: 0; }
.ph-qr-msg[data-state="busy"]::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border: 3px solid var(--text); border-right-color: transparent; border-radius: 50%; animation: ph-spin .8s linear infinite;
}



/* Меню разделов в подвале (SEO и навигация, 21.11.2026): зона нажатия 44 px, зазор 8 */
/* отдельной строкой во всю ширину над «На связи», чтобы не сжимать контакты */
.footer__bottom:has(.footer__nav) { flex-wrap: wrap; }
.footer__nav { flex: 1 0 100%; margin-bottom: 8px; }
.footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; margin-left: -4px; }
/* до 1024 px подвал выровнен по центру — меню тоже */
@media (max-width: 1024px) { .footer__nav ul { justify-content: center; margin-left: 0; } }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: max(15px, 1.05vw); color: var(--text); text-decoration: underline; text-decoration-color: rgba(59, 10, 18, .3); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { color: var(--gold-ink); text-decoration-color: currentColor; } }
.footer__nav a:focus-visible { outline: 2px solid var(--crimson-a); outline-offset: 2px; border-radius: 4px; }
.footer__nav a:active { color: var(--crimson-a); }
