/*
  VOICE   тихо, дорого, медленно — ар-деко и dark moody photography
  IDEA    кабинет ясновидящей: бархат, карта «Влюблённые», старая библиотека
  PICTURE бордовый бархат со звёздами, кадр с картой, шёлк, книги
  COLOUR  чёрно-винный #0B0506, бордо #6E1420, золото #E6C887, крем #EFE6D6
  TYPE    каллиграфический скрипт (логотип, заголовки), Cormorant SC, Jost
  LINES   вместо прямых золотых линий — волны, пунктир, уголки, звёзды
*/

/* Шрифт бренда — Sloop Script Pro (платный).
   Когда будет лицензия, положите файлы в /fonts и раскомментируйте:
@font-face {
  font-family: "Sloop Script Pro";
  src: url(../fonts/SloopScriptPro.woff2) format("woff2");
  font-display: swap;
}
   Пока используется бесплатная замена Great Vibes (с кириллицей). */

@property --corner { syntax: "<length>"; inherits: false; initial-value: 18px; }

:root {
  --bg: #0B0506;
  --bg-elevated: #160909;
  --wine: #6E1420;
  --wine-deep: #2B080C;
  --wine-glow: rgba(142, 27, 36, .22);
  --rose: #D85C66;
  --gold: #E6C887;
  --gold-light: #F3DDA6;
  --gold-dark: #B8975A;
  --cream: #EFE6D6;
  --white-warm: #F5F0E8;
  --text: rgba(233, 226, 214, .85);
  --text-muted: #A89F92;
  --line: rgba(230, 200, 135, .45);
  --grad-gold: linear-gradient(180deg, #F3DDA6 0%, #D9B877 60%, #B8975A 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --f-script: "Sloop Script Pro", "Great Vibes", "Snell Roundhand", cursive;
  --f-title: "Cormorant SC", "Forum", serif;
  --f-text: "Jost", "Futura PT", "Century Gothic", sans-serif;

  /* декоративные линии */
  --dots: radial-gradient(circle, var(--gold-dark) 1px, transparent 1.5px) 0 50% / 8px 3px repeat-x;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' fill='none' stroke='%23B8975A' stroke-width='1'%3E%3Cpath d='M0 5q10-6 20 0t20 0'/%3E%3C/svg%3E");
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0l1.3 4.7L12 6 7.3 7.3 6 12 4.7 7.3 0 6l4.7-1.3z' fill='%23E6C887'/%3E%3C/svg%3E");

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 13px/1.4 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px dotted var(--gold); outline-offset: 4px; }

/* Плёночное зерно */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .04;
  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");
}

/* ───────── Типографика ───────── */
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo {
  margin: 0;
  padding: 0 .2em .08em;            /* у скрипта длинные росчерки — не обрезаем */
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(64px, 8.4vw, 132px);
  line-height: 1.05;
  white-space: nowrap;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title {
  margin: 0 0 56px;
  padding: 0 .15em;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.15;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* орнамент под заголовком: волна — звезда — волна */
.title::after {
  content: "";
  display: block;
  width: 168px; height: 14px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='14' fill='none' stroke='%23B8975A' stroke-width='1'%3E%3Cpath d='M0 7q9-6 18 0t18 0 18 0 14 0M100 7q9-6 18 0t18 0 18 0 14 0'/%3E%3Cpath d='M84 0l1.8 5.2L91 7l-5.2 1.8L84 14l-1.8-5.2L77 7l5.2-1.8z' fill='%23E6C887' stroke='none'/%3E%3C/svg%3E") no-repeat;
}
.title--center { text-align: center; }
.title--center::after { margin-inline: auto; }

/* ───────── Монограмма «O» в двойном круге ───────── */
.mono {
  --d: 72px;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--d); height: var(--d);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  flex: none;
}
.mono::after {
  content: "";
  position: absolute; inset: 4px;
  border: 1px dotted var(--line);
  border-radius: 50%;
}
.mono span {
  font-family: var(--f-script);
  font-size: calc(var(--d) * .6);
  line-height: 1;
  padding: 0 .12em;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  transform: translateY(.04em);
}
.mono--menu { --d: 60px; }
.mono--footer { --d: 52px; }

/* ───────── Кнопки ───────── */
.btns { display: flex; justify-content: center; gap: 14px; }
.btn {
  display: inline-grid; place-items: center;
  width: 162px; height: 32px;
  border-radius: 0;
  font: 400 13px/1 var(--f-text);
  letter-spacing: .04em;
  transition: background-color .6s var(--ease), border-color .6s var(--ease), color .6s var(--ease);
}
.btn--fill { background: var(--cream); color: #1A1410; }
.btn--fill:hover { background: #FFF6DD; }
.btn--line { border: 1px solid rgba(245, 240, 232, .6); color: var(--text); }
.btn--line:hover { background: var(--wine-glow); border-color: var(--gold); color: var(--gold-light); }

/* ───────── HERO ───────── */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .contacts__bg, .menu__bg, .reviews__bg {
  position: absolute; inset: -12% 0 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero__bg { will-change: transform; }
.hero__bg { background-image: url(../img/velvet-wide.webp); filter: brightness(.55) saturate(.9); }
.hero__photo {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 46%;
  z-index: -2;
  background: url(../img/hero-main.webp) center 62% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  filter: brightness(.8);
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(11,5,6,.55) 0%, rgba(11,5,6,0) 100%),
    radial-gradient(ellipse 80% 75% at 50% 50%, rgba(11,5,6,0) 40%, rgba(11,5,6,.6) 80%, #0B0506 100%),
    linear-gradient(180deg, rgba(11,5,6,.6) 0%, rgba(11,5,6,0) 22%, rgba(11,5,6,0) 70%, #0B0506 97%);
}

.nav {
  position: absolute; top: 0; left: 0; right: 0;
  height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 72px;
  padding: 0 64px;
  z-index: 5;
}
.nav__side { display: flex; justify-content: space-between; gap: 48px; }
.nav__side:first-child { justify-self: end; width: min(100%, 360px); }
.nav__side:nth-child(3) { justify-self: start; width: min(100%, 250px); }
.nav__side a {
  position: relative;
  font-size: 13px; font-weight: 300; letter-spacing: .03em;
  color: var(--text);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .5s var(--ease);
}
/* при наведении снизу загорается звёздочка */
.nav__side a::after, .footer a::after {
  content: "";
  position: absolute; left: 50%; bottom: -10px;
  width: 9px; height: 9px; margin-left: -4.5px;
  background: var(--star) center / contain no-repeat;
  opacity: 0;
  transform: scale(.3) rotate(-45deg);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.nav__side a:hover { color: var(--gold); }
.nav__side a:hover::after, .footer a:hover::after { opacity: 1; transform: none; }
.burger { display: none; }

.hero__content {
  position: absolute; left: 0; right: 0;
  top: 54%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 24px;
}
.hero__title { margin: 0; font-weight: 400; }
.hero__title .logo { display: block; }
.hero__eyebrow { display: block; margin-bottom: 6px; font: 400 12px/1 var(--f-text); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); }
.hero__tagline {
  display: block;
  margin: 12px 0 96px;
  font-size: 14px; letter-spacing: .06em;
  color: var(--text-muted);
}
.hero__down {
  position: absolute; left: 50%; bottom: 28px;
  margin-left: -7px;
  color: var(--text-muted);
  animation: sway 2s ease-in-out infinite;
  display: none;
}
@keyframes sway { 50% { transform: translateY(6px); } }

/* ───────── Секции ───────── */
.section { padding: 140px 64px; }

/* Обо мне */
.about__inner { max-width: 1240px; margin: 0 auto; }
/* три колонки на всю ширину: портрет · текст · видео */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: stretch;
}
.about figure { margin: 0; position: relative; }
.about__main img, .about__mood video {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bg-elevated);
}
.about__main img { min-height: 520px; object-position: 50% 30%; }
.about__mood video { min-height: 440px; }
/* лёгкая рамка-уголки вокруг фото и видео */
.about__main::after, .about__mood::after {
  content: ""; position: absolute; inset: -10px; pointer-events: none;
  --c: var(--gold-dark);
  background:
    linear-gradient(var(--c), var(--c)) left top / 26px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 26px,
    linear-gradient(var(--c), var(--c)) right bottom / 26px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 26px;
  background-repeat: no-repeat;
}
.about__mood { margin-top: 72px !important; }    /* видео чуть ниже — живой ритм колонок */
.about__body { display: flex; flex-direction: column; padding-top: 8px; }
.about__body .title { margin-bottom: 32px; }
.about__text { font-size: 16px; line-height: 1.7; color: var(--text); }
.about__text p { margin: 0; }
.about__text p + p { margin-top: 14px; }
.facts { margin-top: auto; padding-top: 28px; }

/* Чем я занимаюсь + принцип */
.practice {
  margin-top: 88px;
}
.practice__title {
  margin: 0 0 20px;
  font-family: var(--f-script); font-weight: 400;
  font-size: 44px; line-height: 1.1; color: var(--gold);
}
.practice__list { columns: 3; column-gap: clamp(28px, 3.5vw, 56px); }
.practice__list li {
  break-inside: avoid;
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15px; line-height: 1.4; color: var(--text);
  background: var(--dots); background-position: 0 100%;
}
.practice__list li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 9px; height: 9px;
  background: var(--star) center / contain no-repeat;
}
.principle {
  margin: 28px 0 0;
  position: relative;
  padding: 38px 24px 22px;
  background: linear-gradient(160deg, var(--wine-deep), var(--bg-elevated));
  text-align: center;
}
.principle::before {
  content: ""; position: absolute; top: 18px; left: 50%; width: 168px; margin-left: -84px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='14' fill='none' stroke='%23B8975A' stroke-width='1'%3E%3Cpath d='M0 7q9-6 18 0t18 0 18 0 14 0M100 7q9-6 18 0t18 0 18 0 14 0'/%3E%3Cpath d='M84 0l1.8 5.2L91 7l-5.2 1.8L84 14l-1.8-5.2L77 7l5.2-1.8z' fill='%23E6C887' stroke='none'/%3E%3C/svg%3E") no-repeat;
}
.principle::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --c: var(--gold-dark);
  background:
    linear-gradient(var(--c), var(--c)) left top / 18px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 18px,
    linear-gradient(var(--c), var(--c)) right top / 18px 1px, linear-gradient(var(--c), var(--c)) right top / 1px 18px,
    linear-gradient(var(--c), var(--c)) left bottom / 18px 1px, linear-gradient(var(--c), var(--c)) left bottom / 1px 18px,
    linear-gradient(var(--c), var(--c)) right bottom / 18px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 18px;
  background-repeat: no-repeat;
}
.principle p {
  margin: 12px 0 0;
  font-family: var(--f-title); font-size: 14px; line-height: 1.5; letter-spacing: .03em;
  color: var(--cream);
  text-wrap: balance;
}
.facts li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0;
  background: var(--dots); background-position: 0 100%;
  font-size: 12px; color: var(--text); text-align: right;
}
.facts span { color: var(--gold-dark); text-align: left; flex: none; }

/* Услуги */
.services { background: radial-gradient(ellipse 60% 40% at 50% 0%, var(--wine-glow), transparent 70%); }
.services__sub { margin: -28px auto 48px; max-width: 560px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px; margin: 0 auto;
}
/* Карточка без сплошной рамки: только ар-деко уголки, которые растут при наведении */
.card {
  --c: var(--gold-dark);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  padding: 32px;
  transition: transform .5s var(--ease), background-color .5s var(--ease), opacity .8s var(--ease);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--corner) 1px,
    linear-gradient(var(--c), var(--c)) left top / 1px var(--corner),
    linear-gradient(var(--c), var(--c)) right top / var(--corner) 1px,
    linear-gradient(var(--c), var(--c)) right top / 1px var(--corner),
    linear-gradient(var(--c), var(--c)) left bottom / var(--corner) 1px,
    linear-gradient(var(--c), var(--c)) left bottom / 1px var(--corner),
    linear-gradient(var(--c), var(--c)) right bottom / var(--corner) 1px,
    linear-gradient(var(--c), var(--c)) right bottom / 1px var(--corner);
  background-repeat: no-repeat;
  transition: --corner .6s var(--ease);
}
.card:hover { transform: translateY(-4px); background-color: var(--wine-deep); }
.card:hover::before { --corner: 44px; }
.card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; margin-bottom: 24px; }
/* винный тон поверх фото — сводит фиолетовые и бежевые кадры к общей гамме */
.card__img::after { content: ""; position: absolute; inset: 0; background: var(--wine); mix-blend-mode: color; opacity: .35; pointer-events: none; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) contrast(1.08); transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__num { font-family: var(--f-title); font-size: 14px; color: var(--gold-dark); letter-spacing: .08em; }
.card__name {
  margin: 2px 0 10px;
  font-family: var(--f-script); font-weight: 400;
  font-size: 34px; line-height: 1.15;
  color: var(--gold);
}
.card__desc { display: block; margin: 0 0 24px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.card__foot {
  margin-top: auto; padding-top: 16px;
  background: var(--dots); background-position: 0 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text); white-space: nowrap;
}
.card__foot svg { color: var(--gold); transition: transform .5s var(--ease); }
.card:hover .card__foot svg { transform: translateX(4px); }

/* ───────── Как мы к этому придём ───────── */
.path { padding-top: 40px; }
.path__sub { margin: -36px auto 48px; text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.path__map {
  position: relative;
  max-width: 1000px; margin: 0 auto;
  aspect-ratio: 1000 / 600;
}
.path__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.path__line .trail {
  fill: none; stroke: rgba(239, 230, 214, .7); stroke-width: 1;
  stroke-dasharray: 2 7; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.path__line .draw { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; }
.path__map.is-in .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.8s cubic-bezier(.45,.1,.3,1) .2s; }

.step { position: absolute; left: var(--x); top: var(--y); }
.step__dot {
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--wine);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 4px rgba(216, 92, 102, .18);
  transform: scale(0);
  transition: transform .6s var(--ease);
}
.step p {
  position: absolute; left: 0; top: 22px;
  width: 220px; margin: 0;
  transform: translateX(calc(-50% + var(--tx, 0px)));
  text-align: center;
  font-size: 13px; line-height: 1.45; font-weight: 400;
  color: var(--text);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.step--above p { top: auto; bottom: 22px; }
.step p em { font-style: normal; color: var(--rose); }
.path__map.is-in .step__dot { transform: none; }
.path__map.is-in .step p { opacity: 1; }
.path__map.is-in .step:nth-child(1) * { transition-delay: .3s; }
.path__map.is-in .step:nth-child(2) * { transition-delay: .7s; }
.path__map.is-in .step:nth-child(3) * { transition-delay: 1.1s; }
.path__map.is-in .step:nth-child(4) * { transition-delay: 1.6s; }
.path__map.is-in .step:nth-child(5) * { transition-delay: 2.0s; }
.path__map.is-in .step:nth-child(6) * { transition-delay: 2.4s; }
.path__map.is-in .step:nth-child(7) * { transition-delay: 2.9s; }
.step--end .step__dot { background: var(--gold); }

.path__result {
  max-width: 760px; margin: 24px auto 0;
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; align-items: center;
}
.path__result img {
  width: 200px; height: 250px; object-fit: cover; object-position: 50% 62%;
  border-radius: 100px 100px 0 0;          /* арка */
}
.path__result h3 {
  margin: 0 0 12px;
  font-family: var(--f-script); font-weight: 400;
  font-size: clamp(38px, 4vw, 54px); line-height: 1.1;
  color: var(--rose);
}
.path__result p { margin: 0; max-width: 420px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ───────── Выбери карту ───────── */
.pick { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.pick__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 45% at 50% 60%, rgba(110, 20, 32, .45), transparent 70%),
    url(../img/velvet-wide.webp) center / cover;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.pick__sub { margin: -28px 0 48px; font-size: 14px; color: var(--text); }
.pick__cards {
  display: flex; justify-content: center; gap: clamp(14px, 3vw, 40px);
  perspective: 1200px;
}
.pcard {
  width: clamp(96px, 16vw, 180px);
  aspect-ratio: 3 / 5;
  border-radius: 10px;
  transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease);
}
.pcard:nth-child(1) { transform: rotate(-4deg) translateY(8px); }
.pcard:nth-child(3) { transform: rotate(4deg) translateY(8px); }
.pcard:not(:disabled):hover { transform: translateY(-12px); }
.pcard:focus-visible { outline-offset: 8px; }
.pcard__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.pcard.is-flipped .pcard__inner { transform: rotateY(180deg); }
.pcard__back, .pcard__front {
  position: absolute; inset: 0;
  border-radius: 10px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.85);
}
.pcard__back { background: linear-gradient(160deg, #2E0B10, #150607); }
.pcard__back svg { width: 100%; height: 100%; fill: none; stroke: var(--gold-dark); stroke-width: 1; }
.pcard__back .fill { fill: var(--gold); stroke: none; }
.pcard__front {
  transform: rotateY(180deg);
  background: var(--cream);
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--wine);
}
.pcard__front::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(110, 20, 32, .5); border-radius: 6px;
}
.pcard__front svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.pcard__name { font-family: var(--f-script); font-size: clamp(22px, 2.6vw, 32px); line-height: 1; }
.pick__cards.is-picked .pcard:not(.is-flipped) { opacity: .25; filter: grayscale(.6); transform: scale(.92); }
.pick__cards.is-picked .pcard.is-flipped { transform: translateY(-10px) scale(1.04); }

.pick__result { max-width: 560px; margin: 48px auto 0; animation: rise .8s var(--ease); }
.pick__result[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.pick__name { margin: 0 0 10px; font-family: var(--f-script); font-weight: 400; font-size: 44px; line-height: 1.1; color: var(--rose); }
.pick__text { margin: 0 0 32px; font-size: 15px; line-height: 1.6; color: var(--text); }
.pick__btns .btn { width: auto; min-width: 200px; padding: 0 20px; height: 40px; }
.pick__note { margin: 20px 0 0; font-size: 11px; color: var(--text-muted); }

/* ───────── Мнения — телефоны со скриншотами на фоне библиотеки ───────── */
.reviews { position: relative; isolation: isolate; overflow: hidden; }
.reviews__bg { inset: 0; background-image: url(../img/library.webp); background-position: center 45%; filter: brightness(.38) saturate(.95); }
.reviews::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #0B0506 0%, rgba(11,5,6,.5) 18%, rgba(11,5,6,.5) 82%, #0B0506 100%);
}
.slider { margin: 0 -64px; }       /* лента телефонов во всю ширину экрана */
.slider__track {
  --pad: max(64px, calc((100vw - 1120px) / 2));
  display: flex; gap: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 30px var(--pad) 50px;
  scroll-padding-inline: var(--pad);
}
.slider__track::-webkit-scrollbar { display: none; }
.phone {
  flex: 0 0 290px;
  scroll-snap-align: start;
  padding: 10px;
  border-radius: 44px;
  background: #0E0D0F;
  box-shadow:
    0 0 0 1px #2C2A2E,
    0 0 0 3px #0E0D0F,
    0 0 0 4px #3A3639,
    0 30px 60px -20px rgba(0,0,0,.8);
  transform: rotate(var(--r, 0deg));
  transition: transform .6s var(--ease);
  cursor: zoom-in;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone img { width: 100%; height: auto; border-radius: 34px; }
.slider__nav { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.arrow {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold-dark);
  display: grid; place-items: center;
  color: var(--gold);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.arrow:hover { border-color: var(--gold); background: var(--wine-glow); }

/* ───────── Вопрос–ответ: разделители пунктиром ───────── */
.faq__list { max-width: 760px; margin: 0 auto; }
.qa { background: var(--dots); background-position: 0 100%; }
.qa:first-child { box-shadow: none; }
.qa__h { margin: 0; font: inherit; }
.qa__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--f-title); font-size: 19px; line-height: 1.3;
  color: var(--text);
  transition: color .5s var(--ease);
}
.qa__q:hover { color: var(--gold); }
.qa__icon { flex: none; width: 16px; height: 16px; position: relative; color: var(--gold); transition: transform .5s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 40px 28px 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ───────── Контакты — на бордово-кремовом шёлке ───────── */
.contacts {
  position: relative;
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 140px 64px;
  overflow: hidden;
  isolation: isolate;
}
.contacts__bg { inset: 0; background-image: url(../img/silk.webp); background-position: center 30%; filter: brightness(.62) contrast(1.05); }
.contacts__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11,5,6,.8) 0%, rgba(11,5,6,.58) 60%, rgba(11,5,6,.85) 100%),
    linear-gradient(180deg, #0B0506 0%, rgba(11,5,6,0) 22%, rgba(11,5,6,0) 78%, #0B0506 100%);
}
.contacts__inner { max-width: 900px; width: 100%; text-align: center; }
.contacts .title { margin-bottom: 16px; }
.contacts__sub { margin: 0 0 56px; font-size: 13px; color: var(--text); }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.link {
  display: inline-flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 32px;
  border: 1px solid rgba(245,240,232,.5);
  font-size: 19px; color: var(--text);
  white-space: nowrap;
  transition: border-color .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linejoin: round; }
.link:hover { border-color: var(--gold); background: var(--wine-glow); color: var(--gold-light); }
.link--fill { background: var(--cream); border-color: var(--cream); color: #1A1410; }
.link--fill:hover { background: #FFF6DD; color: #1A1410; }

/* Что написать в первом сообщении */
.first {
  margin: 64px auto 0; max-width: 560px;
  padding: 36px 40px 32px;
  background: rgba(11, 5, 6, .55);
  position: relative;
}
.first::before {             /* ар-деко уголки, как у карточек услуг */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --c: var(--gold-dark);
  background:
    linear-gradient(var(--c), var(--c)) left top / 18px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 18px,
    linear-gradient(var(--c), var(--c)) right top / 18px 1px, linear-gradient(var(--c), var(--c)) right top / 1px 18px,
    linear-gradient(var(--c), var(--c)) left bottom / 18px 1px, linear-gradient(var(--c), var(--c)) left bottom / 1px 18px,
    linear-gradient(var(--c), var(--c)) right bottom / 18px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 18px;
  background-repeat: no-repeat;
}
.first__title {
  margin: 0 0 20px;
  font-family: var(--f-script); font-weight: 400;
  font-size: 34px; line-height: 1.15;
  color: var(--gold);
}
.first__list { display: grid; gap: 12px; counter-reset: n; text-align: left; max-width: 300px; margin: 0 auto; }
.first__list li { counter-increment: n; display: flex; gap: 14px; align-items: baseline; font-size: 14px; color: var(--text); }
.first__list li::before {
  content: counter(n, decimal-leading-zero);
  flex: none;
  font-family: var(--f-title); font-size: 14px; color: var(--gold-dark);
}
.first__note {
  margin: 24px 0 0; padding-top: 18px;
  background: var(--dots); background-position: 0 0;
  font-size: 10px; line-height: 1.5; letter-spacing: .02em; color: var(--text-muted);
}

/* ───────── Footer: сверху волна ───────── */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--wine-deep), var(--bg));
  padding: 48px 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  font-size: 12px; color: var(--text-muted);
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 10px;
  background: var(--wave) center / 40px 10px repeat-x;
}
.footer p { margin: 0; justify-self: start; grid-row: 1; grid-column: 1; }
.footer .mono { grid-column: 2; }
.footer ul { grid-column: 3; justify-self: end; display: flex; gap: 28px; }
.footer a, .footer button { position: relative; font-size: 12px; color: inherit; transition: color .5s var(--ease); }
.footer a:hover, .footer button:hover { color: var(--gold); }

/* ───────── Политика конфиденциальности ───────── */
.policy {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(11, 5, 6, .9);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade .4s var(--ease);
}
.policy[hidden] { display: none; }
.policy__box {
  position: relative;
  width: min(760px, 100%); max-height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-elevated);
  padding: 56px 64px 64px;
  scrollbar-width: thin; scrollbar-color: var(--gold-dark) transparent;
}
.policy__close { position: fixed; top: 16px; right: 16px; z-index: 2; background: rgba(22, 9, 9, .9); border-radius: 50%; }
.policy__text .title { font-size: clamp(34px, 4vw, 48px); margin-bottom: 28px; }
.policy__text h3 { margin: 36px 0 12px; font-family: var(--f-title); font-weight: 400; font-size: 21px; color: var(--gold); }
.policy__text p, .policy__text li { font-size: 14px; line-height: 1.65; color: var(--text); }
.policy__text p { margin: 0 0 12px; }
.policy__text ul { margin: 0 0 12px; }
.policy__text li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.policy__text li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--star) center / contain no-repeat; }
.policy__text strong { font-weight: 400; color: var(--cream); }
.policy__lead { font-size: 15px !important; }
.policy__date { color: var(--text-muted) !important; font-size: 12px !important; }

/* ───────── Баннер cookie ───────── */
.cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 65;
  width: min(420px, calc(100% - 48px));
  padding: 24px 26px 22px;
  background: rgba(22, 9, 9, .97);
  box-shadow: 0 24px 60px -20px #000;
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookies::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --c: var(--gold-dark);
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 16px,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px, linear-gradient(var(--c), var(--c)) right top / 1px 16px,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px, linear-gradient(var(--c), var(--c)) left bottom / 1px 16px,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 16px;
  background-repeat: no-repeat;
}
.cookies.is-in { opacity: 1; transform: none; }
.cookies[hidden] { display: none; }
.cookies__title { margin: 0 0 6px; font-family: var(--f-script); font-size: 30px; line-height: 1.1; color: var(--gold); }
.cookies__text { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--text); }
.cookies__text a { color: var(--gold); text-decoration: underline dotted; text-underline-offset: 3px; }
.cookies__prefs { display: grid; gap: 12px; margin: 4px 0 18px; }
.cookies__prefs[hidden] { display: none; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookies__btns .btn { width: auto; flex: 1 1 120px; height: 40px; }
.cookies__btns [hidden] { display: none; }
.cookies__more { font-size: 12px; color: var(--text-muted); text-decoration: underline dotted; text-underline-offset: 3px; padding: 8px 4px; }
.cookies__more:hover { color: var(--gold); }
.toggle { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span {
  flex: none; position: relative;
  width: 36px; height: 20px; border-radius: 20px;
  border: 1px solid var(--gold-dark);
  transition: background-color .3s var(--ease);
}
.toggle span::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-dark);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.toggle input:checked + span { background: var(--wine); }
.toggle input:checked + span::after { transform: translateX(16px); background: var(--gold-light); }
.toggle input:disabled + span { opacity: .55; }
.toggle input:focus-visible + span { outline: 1px dotted var(--gold); outline-offset: 3px; }

/* ───────── Плавающая кнопка WhatsApp ───────── */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wine);
  color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold-dark), 0 0 0 5px rgba(11,5,6,.6), 0 14px 30px -10px #000;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::after {                      /* мягкая пульсация */
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: waPulse 2.8s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px); background: #8A1A28; }
.has-cookies .wa-float { opacity: 0; pointer-events: none; }

/* ───────── Страница услуги ───────── */
.sp-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px 64px;
}
.sp-bar__back, .sp-bar__write { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); transition: color .4s var(--ease); }
.sp-bar__back:hover, .sp-bar__write:hover { color: var(--gold); }
.sp-bar__back svg { color: var(--gold); }
.sp-bar__write { }
.mono--sp { --d: 56px; }
.sp-hero {
  position: relative; isolation: isolate;
  min-height: min(100vh, 860px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding: 140px 64px 96px;
  max-width: 1240px; margin: 0 auto;
}
.sp-hero__bg {
  position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(11,5,6,.35), #0B0506 85%),
    url(../img/velvet-wide.webp) center / cover;
  opacity: .8;
}
.sp-hero__img { margin: 0; position: relative; }
.sp-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 0 0; filter: brightness(.72) contrast(1.08); }
/* тот же винный тон, что и на карточках услуг */
.sp-hero__img::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 240px 240px 0 0; background: var(--wine); mix-blend-mode: color; opacity: .35; pointer-events: none; }
.sp-hero__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.sp-hero__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
/* Кому подходит / Чем поможет */
.sp-fit { padding-top: 0; }
.sp-fit__grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.sp-fit__col { position: relative; padding: 36px 36px 30px; background: var(--bg-elevated); }
.sp-fit__col--helps { background: linear-gradient(160deg, var(--wine-deep), var(--bg-elevated)); }
.sp-fit__col::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --c: var(--gold-dark);
  background:
    linear-gradient(var(--c), var(--c)) left top / 18px 1px, linear-gradient(var(--c), var(--c)) left top / 1px 18px,
    linear-gradient(var(--c), var(--c)) right bottom / 18px 1px, linear-gradient(var(--c), var(--c)) right bottom / 1px 18px;
  background-repeat: no-repeat;
}
.sp-fit__title { margin: 0 0 18px; font-family: var(--f-script); font-weight: 400; font-size: 38px; line-height: 1.1; color: var(--gold); }
.sp-fit__col li { position: relative; padding: 10px 0 10px 24px; font-size: 15px; line-height: 1.5; color: var(--text); background: var(--dots); background-position: 0 100%; }
.sp-fit__col li:last-child { background: none; }
.sp-fit__col li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; background: var(--star) center / contain no-repeat; }
.sp-hero__img::after { content: ""; position: absolute; inset: -14px; border: 1px solid var(--line); border-radius: 254px 254px 0 0; pointer-events: none; }
.sp-hero__text .title { margin: 8px 0 24px; font-size: clamp(44px, 5vw, 72px); }
.sp-hero__lead { margin: 0 0 36px; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--text); }
.sp-hero__btn { width: 220px; height: 44px; }
.sp-narrow { max-width: 760px; margin: 0 auto; }
.sp-text p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text); }
.sp-how { padding-top: 0; }
.sp-steps { display: grid; gap: 22px; }
.sp-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; padding-bottom: 22px; background: var(--dots); background-position: 0 100%; }
.sp-steps span { font-family: var(--f-title); font-size: 22px; color: var(--gold-dark); }
.sp-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.sp-steps em { font-style: normal; color: var(--rose); }
.sp-contacts { min-height: auto; }
.sp-list { columns: 2; column-gap: 48px; }
.sp-list a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; break-inside: avoid; font-size: 15px; color: var(--text); transition: color .4s var(--ease); }
.sp-list a:hover { color: var(--gold); }
.sp-list span { font-family: var(--f-title); font-size: 14px; color: var(--gold-dark); }

.sp-bar__right { justify-self: end; display: inline-flex; align-items: center; gap: 20px; }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(11,5,6,.94);
  display: grid; place-items: center;
  padding: 48px 16px;
  animation: fade .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; width: auto; border-radius: 24px; }
@keyframes fade { from { opacity: 0; } }

/* ───────── Мобильное меню ───────── */
.menu {
  position: fixed; inset: 0; z-index: 50;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
  isolation: isolate;
}
.menu::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(11,5,6,.25), rgba(11,5,6,.75)); }
.menu__bg { inset: 0; background-image: url(../img/velvet.webp); filter: brightness(.5); }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.menu__close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); }
.lightbox .menu__close { top: 12px; right: 12px; }
.menu__brand { position: absolute; top: 11%; left: 0; right: 0; text-align: center; }
.logo--menu { font-size: 52px; line-height: .95; margin-top: 12px; }
.logo--menu span { display: block; }
.menu__tagline { margin: 4px 0 0; font-size: 10px; letter-spacing: .06em; color: var(--gold-dark); }
.menu__links {
  position: absolute; top: 52%; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-rows: repeat(3, 42px); grid-auto-flow: column; column-gap: 56px;
}
.menu__links a {
  display: inline-block; font-size: 15px; color: var(--text); white-space: nowrap;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s;
}
.menu__links a:hover { color: var(--gold); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(1) a { transition-delay: .20s; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .24s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: .28s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: .32s; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: .36s; }

/* ───────── Появление при скролле ───────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.path__map.reveal { transform: none; opacity: 1; }

/* ───────── Адаптив ───────── */
@media (max-width: 1100px) {
  .nav { gap: 40px; padding: 0 32px; }
  .nav__side { gap: 28px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step p { width: 180px; font-size: 12px; }
  .practice__list { columns: 2; }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about__body { grid-column: 1 / -1; order: -1; }
  .about__mood { margin-top: 0 !important; }
  .about__main img { min-height: 0; aspect-ratio: 3 / 4; }
  .about__mood video { min-height: 0; aspect-ratio: 3 / 4; }
  .practice__list { columns: 2; }

  /* маршрут становится вертикальным: волнистая пунктирная нить слева */
  .path__map { aspect-ratio: auto; max-width: 520px; }
  .path__line { display: none; }
  .path__steps {
    position: relative;
    display: grid; gap: 30px;
    padding-left: 44px;
  }
  .path__steps::before {
    content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='40' fill='none' stroke='%23EFE6D6' stroke-opacity='.6' stroke-width='1' stroke-dasharray='2 5' stroke-linecap='round'%3E%3Cpath d='M6 0q-6 10 0 20t0 20'/%3E%3C/svg%3E") 0 0 / 12px 40px repeat-y;
  }
  .step { position: relative; left: auto; top: auto; }
  .step--end { display: none; }
  .step__dot { left: -35px; top: 9px; }
  .step p, .step--above p { position: static; width: auto; transform: none; text-align: left; font-size: 14px; }
  .path__result { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 24px; margin-top: 48px; }
  .path__result p { margin-inline: auto; }
}

@media (max-width: 760px) {
  .nav { display: flex; justify-content: space-between; height: auto; padding: 24px; }
  .nav__side { display: none; }
  .mono--nav { --d: 36px; }
  .mono--nav::after { inset: 2px; }
  .burger { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center end; }
  .burger span { display: block; width: 22px; height: 1px; background: var(--text); }

  .hero__photo {
    width: 100%;
    background-image: url(../img/hero-main-sm.webp);
    background-position: center 70%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%);
  }
  .hero__bg { background-image: url(../img/velvet.webp); }
  .hero__content { position: static; transform: none; padding: 0; }
  .hero__content .logo { position: absolute; top: 30%; left: 0; right: 0; transform: translateY(-50%); font-size: 64px; line-height: .95; white-space: normal; }
  .hero__content .logo span { display: block; }
  .hero__eyebrow { position: absolute; top: calc(30% - 82px); left: 0; right: 0; font-size: 10px; }
  .hero__tagline { position: absolute; top: calc(30% + 78px); left: 24px; right: 24px; margin: 0; font-size: 12px; color: var(--gold-light); text-shadow: 0 1px 12px #0B0506, 0 0 3px #0B0506; }
  .hero .btns { position: absolute; top: 60%; left: 50px; right: 50px; flex-direction: column; gap: 8px; }
  .hero .btn { width: 100%; height: 30px; }
  .hero .btn--fill { background: var(--white-warm); }
  .hero .btn--line { border-color: rgba(245,240,232,.85); }
  .hero__down { display: block; }

  .section { padding: 88px 24px; }
  .title { margin-bottom: 36px; }
  .about__grid { gap: 20px 14px; }
  .about__text { font-size: 14px; }
  .about__main::after, .about__mood::after { inset: -6px; }
  .practice { margin-top: 56px; gap: 40px; }
  .practice__title { font-size: 36px; }
  .practice__list { columns: 1; }
  .practice__list li { font-size: 14px; }
  .principle { padding: 40px 22px 30px; }
  .principle p { font-size: 14px; }
  .pick__sub { margin-top: -16px; margin-bottom: 36px; }
  .pick__name { font-size: 38px; }
  .pick__btns { flex-direction: column; align-items: stretch; }
  .pick__btns .btn { width: 100%; }
  .policy { padding: 0; }
  .policy__box { padding: 48px 24px 48px; max-height: 100%; height: 100%; }
  .policy__close { top: 8px; right: 8px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .sp-bar { padding: 16px 24px; }
  .sp-bar__back span { display: none; }
  .mono--sp { --d: 44px; }
  .sp-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 96px 24px 64px; min-height: 0; }
  .sp-hero__img { max-width: 300px; margin: 0 auto; }
  .sp-hero__text { text-align: center; }
  .sp-hero__lead { margin-inline: auto; font-size: 15px; }
  .sp-hero__btn { width: 100%; }
  .sp-text p, .sp-steps p { font-size: 15px; }
  .sp-list { columns: 1; }
  .sp-fit__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sp-fit__col { padding: 28px 22px 22px; }
  .sp-fit__title { font-size: 32px; }
  .facts li { font-size: 13px; }

  .services__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 24px; }
  .path { padding-top: 24px; }
  .path__sub { margin-top: -20px; }

  .slider { margin: 0 -24px; }
  .slider__track { --pad: 24px; gap: 28px; padding: 24px var(--pad) 40px; }
  .phone { flex-basis: 240px; border-radius: 38px; padding: 8px; }
  .phone img { border-radius: 30px; }
  .arrow { width: 52px; height: 52px; }

  .qa__q { font-size: 17px; padding: 22px 0; }
  .qa__a p { padding-right: 0; }

  .contacts { padding: 96px 24px; min-height: auto; }
  .links { flex-direction: column; align-items: stretch; }
  .links { gap: 12px; }
  .link { display: flex; justify-content: center; height: 60px; font-size: 18px; }
  .first { margin-top: 48px; padding: 32px 24px 28px; }
  .first__title { font-size: 30px; }

  .footer { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 40px 24px; }
  .footer p, .footer .mono, .footer ul { grid-column: 1; grid-row: auto; justify-self: center; }
  .footer .mono { grid-row: 1; }
  .footer ul { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .path__line .draw { stroke-dashoffset: 0; }
  .step__dot { transform: none; }
  .step p { opacity: 1; }
}
