/* ═══════════════ ШРИФТЫ: свои файлы вместо Google Fonts (SIL OFL 1.1) ═══════════════ */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/inter-cyrillic-v2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* знак рубля отдельным крошечным файлом, чтобы ради него не качать весь latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/inter-rub-v2.woff2) format('woff2');
  unicode-range: U+20BD;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-v2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/serif-italic-cyrillic-v2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/serif-italic-latin-v2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../assets/fonts/source-serif-4-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════
   LIONELLA.SAY — вёрстка по композиции VN Consulting
   Шрифты: Inter + Source Serif 4 (оба SIL OFL 1.1, бесплатны)
   Палитра клиента:
     «сливочный лён»      #FDF6EB — база
     «вулканическая пыль» #A70200 — акценты, красные блоки
     «сахарная лазурь»    #96BADE — секция сессии, блок отзывов
   Монохромные блоки: одна цветовая пара на секцию
   ═══════════════════════════════════════════ */

:root {
  /* палитра исходная:
     «сливочный лен» #FDF6EB — база
     «вулканическая пыль» #A70200 — акценты и красные блоки
     «сахарная лазурь» #96BADE — отзывы и чек сессии */
  --bg: #fffffc;         /* фон как у референса: белый, но не #FFFFFF */
  --bg-2: #f3f3f0;
  --paper-light: #f3f3f0; /* светлые карточки на белом */
  --blue: #96bade;
  --red: #111111;   /* красный выведен из палитры: акценты монохромные */
  --red-deep: #000000;
  --purple: #111111;
  --pink: #fdf6eb;
  --pink-soft: #fdf6eb;
  --ink: #111111;        /* текст как у референса: нейтральный почти-черный */
  --ink-soft: #2e2e2e;
  --muted: #5f5f5f;
  --cream: #fdf6eb;
  --black: #111111;

  /* типографика: весь сайт — Inter (заголовки 500 капсом, проза 400,
     служебный капс с трекингом); в чеках и календаре Inter 700 и 400 */
  --font: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-serif: "Inter", -apple-system, "Segoe UI", Arial, sans-serif; /* исторический токен: проза */
  --text-base: 1rem;
  --text-brand: clamp(3rem, 13.4vw, 12.5rem);
  --text-giant: clamp(2.4rem, 7vw, 6.2rem);
  --text-title: clamp(1.35rem, 1.2rem + 0.8vw, 1.7rem);
  --text-serif-big: clamp(1.25rem, 1.05rem + 1vw, 1.8rem);
  --text-sm: 0.95rem;
  --text-label: 0.72rem;

  /* служебный капс */
  --caps-ls: 0.11em;

  /* ритм: единая шкала вертикальных отступов */
  --space-section: clamp(1.1rem, 0.8rem + 1vw, 1.9rem);
  --gap-lg: clamp(1.5rem, 2.5vw, 2.5rem);   /* заголовок секции → контент */
  --gap-md: 1.2rem;                          /* блоки внутри карточек */
  --gap-sm: 0.7rem;                          /* подпись → заголовок, пункты списка */
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --radius: 0.75rem;
  --radius-btn: 22px;

  /* движение */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 700ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  position: relative;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
/* обертка для WebP не участвует в раскладке: стили картинок работают как раньше */
picture { display: contents; }
a { color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--red); color: var(--cream); }
/* на красных блоках инвертируем, иначе выделение невидимо */


.m-only { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}


:where(.reviews) :where(a, button, [tabindex]):focus-visible {
  outline-color: var(--ink);
}

/* ═══════════════ SKIP LINK ═══════════════ */

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  background: var(--red);
  color: var(--cream);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-btn);
  transform: translateY(-300%);
}
.skip-link:focus-visible { transform: none; }

/* ═══════════════ NAV ═══════════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--pad-x);
  background: rgba(255, 255, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: transform 400ms var(--ease);
}
.nav--hidden { transform: translateY(-100%); }

.nav__logo {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  text-decoration: none;
}
.nav__logo-dot { color: var(--red); }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 200ms, color 200ms;
}
.nav__links a:hover,
.nav__links a:focus-visible { opacity: 1; color: var(--red); }

.nav__btn {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-btn);
  background: var(--red);
  color: var(--cream);
  transition: background 250ms var(--ease), transform 250ms var(--ease);
}
.nav__btn:hover, .nav__btn:focus-visible { background: var(--ink); transform: translateY(-2px); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  margin-left: auto;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 300ms var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: var(--pad-x);
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms var(--ease), visibility 0s 300ms;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 300ms var(--ease);
}
.mobile-menu a {
  font-family: var(--font);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu__cta { color: var(--red); }

/* ═══════════════ HERO: фото во весь экран, текст поверх ═══════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* затемнение сверху (под навигацию) и снизу (под текст) для читаемости */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 52%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

/* кто вы: строка под навигацией, поверх фото */
.hero__line {
  position: absolute;
  top: 5.2rem;
  left: 0;
  right: 0;
  z-index: 2;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  text-align: center;
  color: var(--cream);
  padding-inline: var(--pad-x);
}

/* нижний блок: кнопка, строка услуг и гигантский бренд у кромки экрана */
.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand {
  font-family: var(--font);
  font-size: clamp(2.9rem, 13.8vw, 15.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  color: var(--cream);
  margin-bottom: -0.06em;
}

.hero__tags {
  font-size: 0.85rem;
  text-transform: lowercase;
  text-align: center;
  color: rgba(253, 246, 235, 0.88);
  margin-bottom: clamp(0.7rem, 1.8vh, 1.2rem);
  padding-inline: var(--pad-x);
}

.hero__cta {
  text-align: center;
  margin-bottom: clamp(0.9rem, 2.2vh, 1.5rem);
  padding-inline: 1.25rem;
}
.hero__cta a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: lowercase;
  text-decoration: none;
  background: var(--red);
  color: var(--cream);
  border-radius: var(--radius-btn);
  padding: 0.85rem 1.8rem;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.hero__cta a:hover { background: var(--ink); }

/* навигация поверх фото: прозрачная, сливочный текст */
.nav--top {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav--top .nav__logo,
.nav--top .nav__links a { color: var(--cream); }
.nav--top .nav__logo-dot { color: var(--cream); }
.nav--top .nav__burger span { background: var(--cream); }

/* ═══════════════ ПОЛОСА ЦИФР ═══════════════ */

.band {
  background: transparent;
  padding: clamp(1.5rem, 2.5vw, 2.2rem) var(--pad-x);
  border-block: 0;
}
.band__list {
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2.5rem;
}
.band__list b {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.band__list span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ═══════════════ СЕКЦИИ ═══════════════ */

.sec { padding: var(--space-section) var(--pad-x); }
.sec > * { max-width: 1180px; margin-inline: auto; }

.sec--tint { background: transparent; }

.sec--dark { background: transparent; color: var(--ink); }

.sec-head {
  text-align: center;
  margin-bottom: 1.1rem;
}
/* шапка без видимого заголовка (только для читалок) места не занимает */
.sec-head:has(.sec-title.visually-hidden) { margin-bottom: 0; }
.sec-head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
}

.sec-title {
  font-family: var(--font);
  font-size: var(--text-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* служебный капс: лейблы держат иерархию трекингом, а не размером */
.sec-label {
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--red);
  margin-top: 0.55rem;
}
.sec--dark .sec-label { color: var(--red); }

/* ═══════════════ ОБО МНЕ: сплит-экран ═══════════════ */

.about { padding: 0; }

.about__grid {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.about__title { margin-bottom: 1.4rem; }

.about__bio {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 620px;
  padding: clamp(2.2rem, 3.5vw, 3.5rem) clamp(2rem, 4vw, 4rem) clamp(2.2rem, 3.5vw, 3.5rem) var(--pad-x);
}

.about__name {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  margin-bottom: 1rem;
  color: var(--red);
}

.about__text {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 46ch;
  margin-bottom: 1.1rem;
}
/* стилизация в духе референса: серифный курсив и подчеркивания внутри прозы */
.about__text em,
.faq__cta-line em,
.row__text em,
.faq__item p em,
.receipt__note em,
.receipt__items span em {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: 0;
}
.about__text u,
.faq__cta-line u,
.row__text u,
.faq__item p u,
.receipt__note u {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.about__text a { color: var(--red); text-underline-offset: 3px; }

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.5rem;
}
.about__links a {
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  transition: color 200ms;
}
.about__links a:hover { color: var(--red); }

/* фото занимает правую половину, до края; абсолютное, чтобы высоту
   секции задавал текст, а фото просто кропилось сверху и снизу */
.about__photo {
  position: relative;
  display: block;
  margin: 0;
}
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.about__photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(124, 1, 0, 0.6), transparent 60%),
    var(--red);
  display: grid;
  place-items: center;
}

.about__photo-placeholder span {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: rgba(253, 246, 235, 0.7);
  text-align: center;
  line-height: 1.8;
}

/* три опоры: стратегия / креатив / команда — обычный контейнер под сплитом */
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding: var(--gap-lg) var(--pad-x) var(--space-section);
}
.about__pillar {
  border-top: 1px solid rgba(17, 17, 17, 0.35);
  padding-top: 1.1rem;
}
.about__pillar h3 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--red);
  margin-bottom: 0.5rem;
}
.about__pillar p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* ═══════════════ РЯДЫ (0N) | категория | текст ═══════════════ */

.rows { border-top: 1px solid rgba(17, 17, 17, 0.14); }

.row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.5fr;
  gap: 1.2rem clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.4rem, 2.5vw, 2.2rem) 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

/* каталожная нумерация: приглушённая, табличные цифры — красный разгружен */
.row__num {
  font-size: 0.82rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  padding-top: 0.3rem;
}

.row__cat {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  padding-top: 0.25rem;
}

.row__text {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* постер — типографика, его нельзя кропать: натуральная пропорция,
   sticky держит его на экране, пока листаются ряды */

/* ряды в узкой колонке: текст переезжает под категорию */


/* ═══════════════ ФОРМАТЫ ═══════════════ */

.formats__grid {
  /* цвет текущего месяца: JS переписывает его на секции, значения ниже — запасные */
  --sh-bg: #e4ec3f;
  --sh-line: 20, 17, 18;
  --sh-acc: #141112;
  --sh-acc-num: #e4ec3f;
  --sh-busy: rgba(20, 17, 18, 0.22);
  --sh-on: #141112;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.formats__grid > * { min-width: 0; }

.tariff {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(17, 17, 17, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  transition: border-color 250ms var(--ease);
}
.tariff:hover { border-color: var(--ink); }
.tariff--flagship {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.tariff--flagship:hover { border-color: var(--red-deep); }

/* дефицит — читаемым кеглем, а не декоративным */
.tariff__slots {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--red);
  margin-bottom: var(--gap-md);
}
.tariff--flagship .tariff__slots { color: rgba(253, 246, 235, 0.85); }

.tariff__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-sm);
}

.tariff__desc {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: var(--gap-md);
}
.tariff--flagship .tariff__desc { color: rgba(253, 246, 235, 0.85); }

.tariff__list { display: grid; gap: 0.55rem; margin-bottom: var(--gap-md); }
.tariff__list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: var(--text-sm);
  line-height: 1.45;
}
.tariff__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--black);
  font-weight: 700;
}
.tariff--flagship .tariff__list li::before { color: var(--cream); }

.tariff__price {
  margin-top: auto;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  padding-top: var(--gap-sm);
}
.tariff__price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.5rem;
}
.tariff--flagship .tariff__price span { color: rgba(253, 246, 235, 0.65); }

.tariff__actions { margin-top: 1rem; }
.tariff__note {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: var(--gap-sm);
}
.tariff--flagship .tariff__note { color: rgba(253, 246, 235, 0.85); }

.btn {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border-radius: var(--radius-btn);
  transition: background 250ms var(--ease), color 250ms var(--ease);
}

/* широкие кнопки тарифов: инверсия без движения, как у референса */
.btn--wide {
  display: block;
  text-align: center;
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  text-transform: lowercase;
}
.btn--wide:hover { background: var(--red); color: var(--cream); }
.btn--wide-invert {
  border-color: var(--red);
  color: var(--red);
}
.btn--wide-invert:hover { background: var(--red); color: var(--paper-light); }

/* ═══════════════ ЧЕКИ ФОРМАТОВ: ресейл-эстетика ═══════════════ */

.receipt {
  --paper: #fdf6eb;
  --print: #111111;
  position: relative;
  min-width: 0;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
}
.receipt--session { --paper: #96bade; }

.receipt__body {
  background: var(--paper);
  color: var(--print);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.2rem, 2vw, 1.8rem) 1.2rem;
}

/* рваные края */
.receipt__edge {
  height: 9px;
  background: var(--paper);
  clip-path: polygon(0 100%, 2.5% 0, 5% 100%, 7.5% 0, 10% 100%, 12.5% 0, 15% 100%, 17.5% 0, 20% 100%, 22.5% 0, 25% 100%, 27.5% 0, 30% 100%, 32.5% 0, 35% 100%, 37.5% 0, 40% 100%, 42.5% 0, 45% 100%, 47.5% 0, 50% 100%, 52.5% 0, 55% 100%, 57.5% 0, 60% 100%, 62.5% 0, 65% 100%, 67.5% 0, 70% 100%, 72.5% 0, 75% 100%, 77.5% 0, 80% 100%, 82.5% 0, 85% 100%, 87.5% 0, 90% 100%, 92.5% 0, 95% 100%, 97.5% 0, 100% 100%);
}
.receipt__edge--bottom { transform: scaleY(-1); }

.receipt__brand {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.receipt__brand span {
  font-size: 0.35em;
  font-weight: 400;
  vertical-align: super;
  letter-spacing: 0;
}

.receipt__stars {
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
  text-align: center;
}

.receipt__meta { display: grid; gap: 0.15rem; margin-bottom: 0.9rem; }
.receipt__meta div { display: grid; grid-template-columns: 6.5em 1fr; gap: 0.6rem; }
.receipt__meta dt { white-space: nowrap; font-weight: 400; }

.receipt__note { margin-bottom: 0.9rem; }
.receipt__caps {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}

/* штрихкод: два слоя полос с разным периодом дают нерегулярность */
.receipt__barcode {
  height: 52px;
  margin-bottom: 1rem;
  background:
    repeating-linear-gradient(90deg, var(--print) 0 2px, transparent 2px 5px, var(--print) 5px 6px, transparent 6px 11px, var(--print) 11px 15px, transparent 15px 17px),
    repeating-linear-gradient(90deg, var(--print) 0 1px, transparent 1px 7px, var(--print) 7px 10px, transparent 10px 13px);
}

/* строки чека: текст · точки · номер или сумма */
.receipt__items { display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.receipt__items li,
.receipt__total {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.receipt__items i,
.receipt__total i {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(17, 17, 17, 0.55);
  transform: translateY(-3px);
}
.receipt--session .receipt__items i,
.receipt--session .receipt__total i { border-color: rgba(114, 99, 90, 0.5); }
.receipt__items b { font-weight: 400; }

/* веса в чеке: бренд 700, итог 600, остальной текст 400 */
.receipt__total {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}
.receipt__total b { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__usd { font-size: 0.78rem; text-align: right; margin-top: 0.2rem; }

.receipt__thanks {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
}

/* перфорация и отрывной корешок */
.receipt__perf {
  height: 14px;
  background:
    radial-gradient(circle 4px at 11px 7px, var(--bg) 4px, transparent 4.5px) left center / 22px 14px repeat-x,
    var(--paper);
}
.receipt__tearoff {
  display: block;
  background: var(--paper);
  color: var(--print);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  padding: 0.9rem 1rem 1.1rem;
  transition: letter-spacing 250ms var(--ease);
}
.receipt__tearoff:hover { letter-spacing: 0.12em; }



.formats__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: var(--gap-lg);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.formats__foot b { font-weight: 500; }
.formats__foot a { color: var(--red); }
.formats__foot p { max-width: 40ch; }
.formats__foot p:last-child { text-align: right; }

/* ═══════════════ ЗАПИСЬ НА СЕССИЮ: календарь-стикеры (внутри «Форматов») ═══════════════ */

/* ссылка из карточки сессии к календарю */
.tariff__cal-link {
  align-self: flex-start;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: lowercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 3px;
  padding-top: 1rem;
  transition: color 200ms;
}
.tariff__cal-link:hover { color: var(--red); }

/* правая колонка сетки форматов: лист календаря + панель сессии */
.formats__booking {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

/* календарь-лист: каждый месяц в своем цвете, как листы стикеров.
   Тему задает JS через переменные; по умолчанию лен */
.booking__cal {
  background: var(--sh-bg, #fdf6eb);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 2.2rem);
  transition: background 400ms var(--ease);
}
.booking__cal :where(button):focus-visible { outline-color: var(--sh-acc); }

.booking__month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.booking__month-name {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: rgb(var(--sh-line));
}
.booking__nav {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(var(--sh-line), 0.4);
  border-radius: 50%;
  background: transparent;
  font-size: 1rem;
  color: rgb(var(--sh-line));
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), opacity 200ms;
}
.booking__nav:hover:not(:disabled) { background: var(--sh-acc); border-color: var(--sh-acc); color: var(--sh-acc-num); }
.booking__nav:disabled { opacity: 0.25; cursor: default; }

.booking__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.4rem;
}
.booking__weekdays span {
  text-align: center;
  font-size: var(--text-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: rgba(var(--sh-line), 0.65);
}

.booking__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.15rem;
}

/* день-звезда */
.bday {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.bday svg { width: 100%; height: 100%; display: block; }
.bday svg path {
  fill: none;
  stroke: rgba(var(--sh-line), 0.45);
  stroke-width: 1.2;
  transition: fill 180ms var(--ease), stroke 180ms var(--ease);
}
.bday span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: rgb(var(--sh-line));
  transition: color 180ms var(--ease);
}
.bday:hover:not(:disabled):not(.bday--busy) svg path { stroke: var(--sh-acc); stroke-width: 2; }
.bday:hover:not(:disabled):not(.bday--busy) span { color: var(--sh-acc); }

/* выбранный: залитая звезда, контрастное число */
.bday--picked svg path { fill: var(--sh-acc); stroke: var(--sh-acc); }
.bday--picked span,
.bday--picked:hover span { color: var(--sh-acc-num); }
.bday--picked:hover svg path { stroke: var(--sh-acc); }

/* занято: залитая звезда-стикер без числа */
.bday--busy { cursor: default; }
.bday--busy svg path { fill: var(--sh-busy); stroke: transparent; }
.bday--busy span { display: none; }

/* прошедшие и вне месяца */
.bday:disabled:not(.bday--busy) { cursor: default; }
.bday:disabled:not(.bday--busy) svg path { stroke: rgba(var(--sh-line), 0.14); }
.bday:disabled:not(.bday--busy) span { color: rgba(var(--sh-line), 0.3); font-weight: 400; }
.bday--empty { visibility: hidden; }

.booking__legend {
  display: grid;
  gap: 0.15rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(var(--sh-line), 0.7);
}

/* правая колонка: выбранное и слоты */
.booking__side {
  background: var(--paper-light);
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.booking__picked-label {
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--red);
}
.booking__picked {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  letter-spacing: -0.01em;
  min-height: 1.4em;
}
.booking__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 44px;
}
.bslot {
  border: 1px solid rgba(17, 17, 17, 0.35);
  border-radius: var(--radius-btn);
  background: transparent;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.bslot:hover { border-color: var(--ink); }
.bslot--picked { background: var(--sh-bg, var(--ink)); border-color: var(--sh-bg, var(--ink)); color: var(--sh-on, #ffffff); }
.bslot:disabled { opacity: 0.3; cursor: default; text-decoration: line-through; }
/* пока день не выбран, в слотах только подпись: высота под кнопки не резервируется */
.booking__slots:has(.booking__slots-empty) { min-height: 0; margin-bottom: -0.5rem; }
.booking__slots-empty { font-size: 0.88rem; color: var(--muted); align-self: flex-start; }
.booking__tz { font-size: 0.78rem; color: var(--muted); }
.booking__btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.booking__hint {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}
.booking__hint b { font-weight: 500; color: var(--ink); }

/* ═══════════════ ПРИМЕРЫ: РИЛСЫ ═══════════════ */

.reels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.reel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
}

/* окно-кроп 9:16: показываем только само видео, без шапки, подвала
   и черных полос эмбеда. Медиазона эмбеда 4:5, видео 9:16 вписано по высоте,
   поэтому рамку расширяем до 142.2% и центрируем: полосы уходят за край */
.reel__crop {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.reel__crop iframe {
  position: absolute;
  top: -55px;
  left: -21.1%;
  width: 142.2%;
  height: calc(100% + 420px);
  border: 0;
}

.reel__cap { text-align: center; }
.reel__cap a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: lowercase;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: color 200ms;
}
.reel__cap a:hover { color: var(--red); }

/* «Примеры» и «Что вы получите» стоят на одном фоне:
   без этого правила их паддинги складываются в двойную пустоту */
.reels { padding-bottom: var(--gap-lg); }
.results { padding-top: clamp(1rem, 1.8vw, 1.6rem); }

/* ═══════════════ ОТЗЫВЫ: голубой блок, сливочные карточки ═══════════════ */

.reviews { background: transparent; }


.reviews__hint {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--muted);
}

/* full-bleed: лента уходит под край экрана, первая карточка стоит по сетке.
   Ширина считается от секции (100% + её паддинги), а не от 100vw —
   иначе лента вылезает на ширину скроллбара */
.reviews__track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.35) transparent;
  max-width: none;
  width: calc(100% + 2 * var(--pad-x));
  margin-left: calc(-1 * var(--pad-x));
  padding-inline: max(var(--pad-x), calc((100% + 2 * var(--pad-x) - 1180px) / 2));
  scroll-padding-inline: max(var(--pad-x), calc((100% - 1180px) / 2));
}
.reviews__track:active { cursor: grabbing; }
.reviews__track.is-dragging { scroll-snap-type: none; user-select: none; }
.reviews__track:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.review {
  flex: 0 0 clamp(280px, 36vw, 440px);
  scroll-snap-align: start;
  background: var(--paper-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.review p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.review footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.review__ava {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review__who { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.review__name { font-size: 0.95rem; line-height: 1.35; }
.review__name b { font-weight: 500; color: var(--ink); }
.review__name a {
  color: var(--red);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
}
.review__name a:hover { text-decoration: underline; }
.review__who span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ═══════════════ FAQ + ФИНАЛЬНЫЙ CTA (вулканическая пыль) ═══════════════ */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq__list { display: grid; gap: 1.6rem; }

.faq__item h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}
.faq__item p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}
/* многоабзацный ответ: абзацы не слипаются */
.faq__item p + p { margin-top: 0.6rem; }

.faq__cta {
  margin-top: var(--gap-lg);
  padding-top: var(--gap-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.faq__cta-line {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.faq__cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.faq__cta-actions .btn--wide { display: inline-block; }

/* ═══════════════ FOOTER (вулканическая пыль) ═══════════════ */

.footer {
  background: transparent;
  color: var(--cream);
  border-top: 1px solid rgba(253, 246, 235, 0.3);
  padding: 2.5rem var(--pad-x) 2rem;
}
.footer > * { max-width: 1180px; margin-inline: auto; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(253, 246, 235, 0.8);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.footer__docs { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__docs a { color: rgba(253, 246, 235, 0.85); }
.footer__docs a:hover { color: #ffffff; }

.footer__giant {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__col--right { text-align: right; }
.footer__cap {
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: rgba(253, 246, 235, 0.75);
}
.footer__giant a {
  font-family: var(--font);
  font-size: var(--text-giant);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  text-decoration: none;
  line-height: 1.05;
  color: var(--cream);
  transition: opacity 250ms var(--ease);
}
.footer__giant a:hover { opacity: 0.72; }


.footer__disclaimer {
  margin-top: 1.4rem;
  font-size: 0.75rem;
  color: rgba(253, 246, 235, 0.7);
}
.footer__disclaimer + .footer__disclaimer { margin-top: 0.4rem; }
.footer__disclaimer a { color: inherit; text-underline-offset: 2px; }

/* ═══════════════ STICKY CTA (мобильный) ═══════════════ */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  display: none;
  background: var(--red);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(253, 246, 235, 0.65);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 350ms var(--ease), opacity 350ms var(--ease);
}
/* двухцветное фокус-кольцо: видно и на льне, и на красных блоках */
.sticky-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--cream),
    0 0 0 5px var(--ink),
    0 10px 30px -10px rgba(17, 17, 17, 0.45);
}
@media (max-width: 860px) {
  .sticky-cta { display: block; }
  .sticky-cta.show {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}


/* числа на листах календаря: полужирные, как печать на стикерах */
.bday span { font-weight: 700; }
.booking__month-name { font-weight: 700; }


/* ═══════════════ REVEAL ═══════════════ */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.visible { opacity: 1; transform: none; }
/* первый экран виден сразу: остается только движение снизу вверх,
   иначе браузер считает главную надпись незагруженной до срабатывания скрипта */
.js .hero .reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */


@media (max-width: 860px) {
  .nav__links, .nav__btn { display: none; }
  .nav__burger { display: flex; }

  /* гигант на всю ширину экрана: строка lionella.say = 4.34em */
  .hero__brand { font-size: 22.5vw; }

  .band__list { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }

  /* опоры — свайп-лента, как отзывы */
  .about__pillars {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.35) transparent;
  }
  .about__pillar {
    flex: 0 0 72vw;
    scroll-snap-align: start;
    max-width: 340px;
  }

  /* мобильная верстка: одна просторная колонка, как у референса */
  .about__grid { grid-template-columns: 1fr; min-height: 0; }
  .about__bio { padding: 2.4rem var(--pad-x); max-width: none; }
  .about__photo { min-height: 420px; }
  .about__links { gap: 0.9rem; margin-top: 1.2rem; }

  
  
  

  
  
  

  
  

  .booking__grid { gap: 0.1rem; }

  /* мобильная типографика без мелкоты: крупные левые заголовки, читаемые кегли */
  .sec-head { text-align: left; }
  .sec-title { font-size: clamp(2rem, 7.6vw, 2.6rem); }
  .sec-label { font-size: 0.8rem; margin-top: 0.5rem; }

  .row__cat { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; }
  .row__text { font-size: 1.05rem; }

  .band__list span { font-size: 0.95rem; }
  .about__pillar h3 { font-size: 0.95rem; }
  .about__pillar p { font-size: 1.05rem; }

  .hero__line { font-size: 0.85rem; }
  .hero__tags { font-size: 0.9rem; }
  .hero__cta a { font-size: 1rem; }
  .btn { font-size: 1rem; }
  .bslot { font-size: 1rem; padding: 0.65rem 1.2rem; }

  .review p { font-size: 1.05rem; }
  .review__who span { font-size: 0.88rem; }

  .booking__picked-label { font-size: 0.78rem; }
  .booking__tz { font-size: 0.85rem; }
  .booking__hint { font-size: 0.95rem; }
  .booking__legend { font-size: 0.85rem; }

  .receipt__body { font-size: 0.9rem; }
  
  
  .receipt__caps { font-size: 0.82rem; }

  .faq__item h3 { font-size: 1.15rem; }
  .faq__item p { font-size: 1.05rem; }
  .formats__foot { font-size: 1rem; }
  .reel__cap a { font-size: 0.9rem; }
  .footer__docs { font-size: 0.9rem; }
  .footer__cap { font-size: 0.78rem; }

  /* примеры: горизонтальная лента со свайпом, как отзывы */
  .reels__grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.8rem;
    width: calc(100% + 2 * var(--pad-x));
    margin-left: calc(-1 * var(--pad-x));
    padding-inline: var(--pad-x);
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.35) transparent;
  }
  .reel { flex: 0 0 58vw; scroll-snap-align: start; }

  .row {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.8rem 1.2rem;
  }
  .row__text { grid-column: 2; }


  .formats__grid { grid-template-columns: 1fr; }
  .formats__foot p:last-child { text-align: left; }


  .faq__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__col--right { text-align: left; }
}

@media (max-width: 560px) {
  /* номер и категория в одну строку, текст на всю ширину */
  .row {
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.9rem;
  }
  .row__num, .row__cat { padding-top: 0; }
  .row__text { grid-column: 1 / -1; max-width: none; }

  /* цифры: компактнее, чтобы «1 000 000+» не упиралось в ячейку */
  .band__list { gap: 1.2rem 1.2rem; }
  .band__list b { font-size: 1.6rem; }

  .review { flex-basis: 82vw; }

  /* карточка ленты шире на совсем узких экранах */
  .reel { flex: 0 0 68vw; }

  

  .faq__cta-actions { width: 100%; flex-direction: column; }
  .faq__cta-actions .btn--wide { display: block; width: 100%; }

  .footer__giant { flex-direction: column; align-items: flex-start; }
}

/* тач-устройства: свайп ленты примеров работает поверх эмбедов,
   открыть ролик можно по подписи под карточкой */
@media (hover: none) and (max-width: 860px) {
  .reel__crop iframe { pointer-events: none; }
}


/* ═══════════════ МОБИЛЬНАЯ ВЕРСИЯ: редакционная верстка ═══════════════
   Узкий антиква-заголовок во всю ширину, над ним линия и подпись по центру;
   крупные строки и черная кнопка слева, мелкий абзац справа; фото во всю ширину
   со скруглением между текстовыми блоками; круглые кнопки-иконки */

@media (max-width: 860px) {
  :root { --m-radius: 22px; --m-line: rgba(17, 17, 17, 0.35); }

  /* заголовок секции: линия во всю ширину → подпись по центру → антиква */
  .sec-head,
  .faq__title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding-top: 1.6rem;
    margin-bottom: 1.8rem;
  }
  .sec-head::before,
  .faq__title::before,
  .about__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * var(--pad-x));
    right: calc(-1 * var(--pad-x));
    height: 1px;
    background: var(--m-line);
  }
  .sec-head .sec-label,
  .faq__title .sec-label,
  .sec-head--row .reviews__hint {
    order: -1;
    align-self: flex-start;
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .sec-title {
    font-family: var(--font);
    font-weight: 500;
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ink);
    text-wrap: balance;
  }

  /* цифры: крупные строки столбиком, справа круглые кнопки соцсетей */
  .band {
    position: relative;
    border-block: 0;
    padding: 2.2rem var(--pad-x) 2.4rem;
  }
  .band__list {
    display: block;
    max-width: 72%;
    margin-inline: 0;
  }
  .band__list li { margin-bottom: 0.95rem; }
  .band__list li:last-child { margin-bottom: 0; }
  .band__list b {
    display: block;
    font-size: clamp(1.8rem, 8.2vw, 2.3rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: var(--ink);
  }
  .band .band__list span { font-size: 0.9rem; line-height: 1.35; color: var(--muted); }
  
  
  

  /* обо мне: заголовок → строки + кнопка | абзацы → фото → текст → опоры */
  .about { padding: var(--space-section) 0 0; }
  .about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding-inline: var(--pad-x);
    min-height: 0;
  }
  .about__bio { display: contents; }
  .about__title {
    grid-column: 1 / -1;
    order: 0;
    position: relative;
    padding-top: 1.6rem;
    margin-bottom: 1.8rem;
  }
  .about__name { display: none; }
  .about__meta {
    display: block;
    grid-column: 1;
    grid-row: span 2;
    order: 1;
  }
  .about__meta-lines {
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
  }
  .about__text {
    grid-column: 1 / -1;
    order: 3;
    max-width: none;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 0;
  }
  .about__text--lead {
    grid-column: 2;
    order: 1;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 5 2 2;
    margin-bottom: 0.8rem;
  }
  .about__photo {
    grid-column: 1 / -1;
    order: 2;
    margin: 1.6rem calc(-1 * var(--pad-x)) 1.8rem;
    aspect-ratio: 4 / 5;
    min-height: 0;
    border-radius: var(--m-radius);
    overflow: hidden;
  }

  .about__pillars {
    display: block;
    overflow: visible;
    padding: 2rem var(--pad-x) 0;
  }
  .about__pillar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    flex: none;
    max-width: none;
    padding: 1.1rem 0 1.2rem;
    border-top: 1px solid var(--m-line);
  }
  .about__pillar h3 {
    margin: 0;
    font-size: clamp(1.35rem, 6vw, 1.6rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: none;
    color: var(--ink);
  }
  .about__pillar p { font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); max-width: none; }
  /* у последней опоры нижнее поле лишнее: следующая линия и так в шаге списка */
  .about__pillar:last-child { padding-bottom: 0; }

  /* ряды запросов и результатов: крупное название слева, мелкий абзац справа */
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.3rem;
    align-items: start;
    padding: 1.2rem 0 1.3rem;
  }
  .row__num {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
    font-size: 0.78rem;
  }
  .row__cat {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
    font-size: clamp(1.05rem, 4.9vw, 1.45rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-transform: none;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  .row__text {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: none;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 5 2 2;
  }

  /* постеры и фото-вставки: во всю ширину экрана со скруглением */
  
  
  
  
  

  .m-plate { display: block; margin: 0; }
  .m-plate img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--m-radius);
  }
  .sec > .m-plate--inset { max-width: none; margin: 2.6rem calc(-1 * var(--pad-x)) 0; }

  .review { border-radius: var(--m-radius); background: var(--paper-light); }

  /* кнопки: черная пилюля с капсом, как SUBSCRIBE */
  .m-pill,
  .btn--wide,
  .btn--wide-invert,
  .booking__btn,
  .sticky-cta,
  .hero__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.8rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
  }
  .m-pill { padding: 0.75rem 1.35rem; }
  .m-pill:hover,
  .btn--wide:hover,
  .btn--wide-invert:hover { background: var(--ink-soft); color: var(--bg); }
  .hero__cta a { background: var(--bg); color: var(--ink); }
  .hero__cta a:hover { background: var(--bg-2); }
  .booking__btn { display: flex; width: 100%; }

  /* FAQ и финал: крупные вопросы, фото, большая строка и пилюли */
  .faq__list { gap: 1.5rem; }
  .faq__item h3 {
    font-size: clamp(1.2rem, 5.4vw, 1.4rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
  }
  .faq__item p { font-size: 0.95rem; line-height: 1.5; }
  .faq__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    margin-top: 2rem;
    padding-top: 0;
    border-top: 0;
  }
  .faq__cta-line {
    font-size: clamp(1.9rem, 8.4vw, 2.3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .footer__giant a { color: var(--cream); }

  /* ритм секций: одна линия-разделитель и сразу текст, без двойных линий и пустоты.
     Отступ от последнего пункта до следующей линии равен шагу внутри списка (1.3rem) */
  .sec { padding-top: 0; padding-bottom: 1.3rem; }
  .about { padding: 0 0 1.3rem; }
  .rows .row:last-child { border-bottom: 0; padding-bottom: 0; }
  main > .m-plate { margin-bottom: 1.3rem; }
  .faq__grid { gap: 0; }
  /* шапка без видимого текста: остается только линия-разделитель */
  .sec-head:not(:has(.sec-label, .reviews__hint)) { padding-top: 1.4rem; margin-bottom: 0; }

  /* бренд чека помещается одной строкой */
  .receipt__brand { font-size: clamp(1.5rem, 8.4vw, 3.6rem); overflow-wrap: normal; }

  /* монохром референса: служебные подписи и ссылки без красного */
  .tariff__slots,
  .booking__picked-label,
  .review__name a,
  .formats__foot a { color: var(--ink); }
  .formats__foot a { text-decoration: underline; text-underline-offset: 3px; }
  .reel__cap a { border-bottom-color: var(--ink); }
}

/* ═══════════════ СЕССИЯ: белый чек, календарь на иллюстрации, стеклянные звезды ═══════════════ */

/* белая бумага, печать цветами текста сайта */
.receipt--session { --paper: #ffffff; --print: var(--ink); }
.receipt__brand { text-align: center; }
/* дырки перфорации на белой бумаге: чуть темнее, иначе не видны */
.receipt--session .receipt__perf {
  background:
    radial-gradient(circle 4px at 11px 7px, var(--bg) 4px, transparent 4.5px) left center / 22px 14px repeat-x,
    var(--paper);
}

/* календарь-лист: плоский цвет месяца, печать в контрастном цвете (рисунков нет) */
.booking__cal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* нажатие на день */
.bday { transition: transform 160ms var(--ease); }
.bday:not(:disabled):active { transform: scale(0.93); }

/* панель «ваша сессия» и кнопка записи: белые */
.booking__side { background: #ffffff; }
.booking__btn,
.booking__btn[aria-disabled="true"] {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  opacity: 1;
}
.booking__btn:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

/* ═══════════════ ОТЗЫВЫ: плоский цвет на карточку, текст в контрастном цвете ═══════════════ */

/* у каждой карточки своя пара «фон + печать»: цвет держит карточку целиком,
   текст, имя и ссылка берут один и тот же --card-ink */
.reviews__track .review {
  background: var(--card-bg);
  color: var(--card-ink);
  padding: 1.5rem 1.4rem 1.3rem;
  gap: var(--gap-md);
}
.reviews__track .review--sveta { --card-bg: #e4ec3f; --card-ink: #e789a2; }
.reviews__track .review--field { --card-bg: #5f66b4; --card-ink: #f06685; }
.reviews__track .review--lina  { --card-bg: #b0a089; --card-ink: #d8ed4a; }
.reviews__track .review--jan   { --card-bg: #b4c9ce; --card-ink: #e24d48; }

.reviews__track .review__plate {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.reviews__track .review__plate footer { margin-top: auto; }

.reviews__track .review p,
.reviews__track .review__name,
.reviews__track .review__name b,
.reviews__track .review__name a { color: var(--card-ink); }
.reviews__track .review__who span { color: var(--card-ink); }
.reviews__track .review footer {
  padding-top: 1.05rem;
  border-top: 1px solid color-mix(in srgb, var(--card-ink) 30%, var(--card-bg));
}
.reviews__track .review__ava {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--card-ink) 35%, var(--card-bg));
}

/* кнопки по умолчанию берут системный шрифт браузера (Arial): возвращаем Inter */
button, input, select, textarea { font-family: inherit; }

/* веса в блоке форматов: 700 заголовки, 600 акценты, 400 текст */
.booking__cal .booking__weekdays span { font-weight: 400; }
.booking__picked-label { font-weight: 600; }
.booking__hint b { font-weight: 600; }
.bslot { font-weight: 400; }
.formats__foot b { font-weight: 600; }

/* ═══════════════ ЧЕК: типографика по правилам сайта ═══════════════
   основной текст 16px #111, как отзывы и ряды запросов; подписи и номера серым,
   служебный капс 500 с разрядкой, как подписи секций; сумма 600 */
.receipt--session { --print-soft: var(--muted); }
.receipt--session .receipt__body { font-size: 1rem; line-height: 1.5; }
/* бренд и сумма тем же начертанием, что заголовки разделов: 500, трекинг -0.02em */
.receipt--session .receipt__brand { font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.receipt--session .receipt__stars { font-size: 0.75rem; color: var(--print-soft); }
.receipt--session .receipt__meta { gap: 0.25rem; margin-bottom: 1rem; }
.receipt--session .receipt__meta div { grid-template-columns: 6em 1fr; }
.receipt--session .receipt__meta dt { font-weight: 400; color: var(--print-soft); }
.receipt--session .receipt__note { margin-bottom: 1rem; }
.receipt--session .receipt__items { gap: 0.55rem; }
/* точки и номер встают на последнюю строку пункта, а не на первую */
.receipt--session .receipt__items li { align-items: flex-end; align-items: last baseline; }
.receipt--session .receipt__items b { font-size: 0.82rem; font-weight: 500; color: var(--print-soft); font-variant-numeric: tabular-nums; }
.receipt--session .receipt__items i,
.receipt--session .receipt__total i { border-color: rgba(17, 17, 17, 0.3); }
.receipt--session .receipt__total { margin-top: 0.8rem; }
.receipt--session .receipt__total span { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.11em; }
.receipt--session .receipt__total b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.receipt--session .receipt__usd { font-size: 0.82rem; color: var(--print-soft); }
.receipt--session .receipt__thanks { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; color: var(--print-soft); }
.receipt--session .receipt__tearoff { font-size: 0.95rem; font-weight: 500; text-transform: lowercase; letter-spacing: 0; }
.receipt--session .receipt__tearoff:hover { letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .receipt--session .receipt__body { font-size: 0.95rem; }
}

/* пункты чека без точек: номер прижат вправо; точки остаются только в строке «Итого» */
.receipt--session .receipt__items i { display: none; }
.receipt--session .receipt__items b { margin-left: auto; }
/* дырки перфорации светло-серые, иначе на белой бумаге их не видно */
.receipt--session .receipt__perf {
  background:
    radial-gradient(circle 4px at 11px 7px, #e6e5e0 4px, transparent 4.5px) left center / 22px 14px repeat-x,
    var(--paper);
}
/* в подвале форматов осталась одна строка про оплату */
.formats__foot { justify-content: flex-end; }

/* мобильный: чек, календарь и панель идут во всю ширину экрана, без полей по бокам */
@media (max-width: 860px) {
  .sec > .formats__grid {
    max-width: none;
    width: calc(100% + 2 * var(--pad-x));
    margin-inline: calc(-1 * var(--pad-x));
    gap: 0;
  }
  .formats__booking { gap: 1.1rem; }
  .booking__cal,
  .booking__side {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  /* линии перед блоком форматов и перед «Примерами» рвали градиент — их нет */
  .formats .sec-head::before,
  .reels .sec-head::before { display: none; }
  /* зато строка про оплату отделяется от панели записи */
  .formats__foot {
    border-top: 1px solid var(--m-line);
    padding-top: 0.55rem;
    margin-top: 0.35rem;
  }
  .formats__booking { gap: 0; }
  .booking__side { border: 0; }
  .booking__cal { padding-inline: var(--pad-x); }
  .booking__side { padding-inline: var(--pad-x); padding-bottom: 0.5rem; }
  .receipt__body { padding-inline: var(--pad-x); }
  .receipt { filter: none; }
  .receipt__tearoff { padding-inline: var(--pad-x); }
  /* просветы между зубцами показывают лист календаря, а не фон страницы */
  .receipt--session::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 9px;
    background: var(--sh-bg);
    z-index: -1;
  }
  .booking__loading { left: var(--pad-x); right: var(--pad-x); }
}

/* запись: пока сайт ждет расписание из API, на месте легенды тихая подпись (ставит JS) */
.booking__cal--loading .booking__legend:not(.booking__loading) { visibility: hidden; }
.booking__loading {
  position: absolute;
  left: clamp(1.3rem, 2.5vw, 2.2rem);
  right: clamp(1.3rem, 2.5vw, 2.2rem);
  bottom: clamp(1.3rem, 2.5vw, 2.2rem);
  margin: 0;
}

/* ═══════════════ ЖЕЛТОЕ СВЕЧЕНИЕ ФОНА ═══════════════ */

/* шкала с упаковки: вверху белый, ниже крем, персик и золото, а последние
   проценты уходят в оранжевый и кирпичный, поэтому футер темнеет сам собой */
.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(246, 235, 227, 0) 0%,
    rgba(244, 213, 180, 0.08) 7%,
    rgba(242, 205, 165, 0.16) 14%,
    rgba(239, 193, 133, 0.24) 22%,
    rgba(236, 184, 99, 0.3) 32%,
    rgba(235, 193, 81, 0.35) 42%,
    rgba(235, 193, 81, 0.4) 54%,
    rgba(224, 186, 32, 0.45) 66%,
    rgba(223, 160, 42, 0.5) 78%,
    rgba(214, 122, 26, 0.56) 88%,
    rgba(205, 95, 20, 0.64) 93%,
    rgba(186, 62, 12, 0.86) 96.5%,
    rgba(165, 40, 6, 0.94) 98.2%,
    rgba(157, 29, 2, 1) 100%
  );
}

/* панель «ваша сессия» слегка пропускает фон, чтобы не резать его белым прямоугольником */
.booking__side { background: transparent; border-color: rgba(17, 17, 17, 0.14); }

/* ═══════════════ КНОПКИ: черная пилюля с капсом на всех ширинах ═══════════════ */

.m-pill,
.btn--wide,
.btn--wide-invert,
.booking__btn,
.booking__btn[aria-disabled="true"],
.hero__cta a,
.nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 1;
}
.m-pill:hover,
.btn--wide:hover,
.btn--wide-invert:hover,
.booking__btn:hover,
.nav__btn:hover,
.nav__btn:focus-visible {
  background: var(--ink-soft);
  color: var(--bg);
  transform: none;
}
/* кнопка на фотографии первого экрана — светлая */
.hero__cta a { background: var(--bg); color: var(--ink); }
.hero__cta a:hover { background: var(--bg-2); }

/* ═══════════════ ЦВЕТНЫЕ ОБРАЗЦЫ С МАТЕРИАЛАМИ (в блоке «Обо мне») ═══════════════ */

/* два квадрата-образца, как в палитре: плоский цвет, крупное имя, слегка повернуты */
.swatch__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: start;
  gap: clamp(0.7rem, 2.4vw, 2rem);
  align-items: start;
  padding-block: clamp(0.4rem, 1.4vw, 1.2rem);
}
/* правый образец сдвинут вниз, как разложенные веером карточки палитры */
.swatch--poppy { margin-top: clamp(0.8rem, 3.5vw, 2.4rem); }
.swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  aspect-ratio: 1;
  padding: clamp(0.85rem, 2vw, 1.6rem);
  border-radius: 2px;
  text-decoration: none;
  color: #1c1208;
  box-shadow: 0 14px 30px rgba(30, 22, 16, 0.2);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.swatch--wattle { background: #a6b8a0; color: #c11941; transform: rotate(-2.5deg); }
.swatch--poppy { background: #8b729c; color: #a6b8a0; transform: rotate(2deg); }
.swatch:hover,
.swatch:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 20px 38px rgba(30, 22, 16, 0.3);
}
.swatch__tag {
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
}
.swatch__name {
  font-family: var(--font);
  font-size: clamp(1.22rem, 0.7rem + 2.3vw, 1.95rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.swatch__go {
  margin-top: auto;
  font-size: clamp(0.76rem, 2vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .swatch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    order: 2;
    gap: 0.7rem;
    padding-block: 1.2rem 0.4rem;
  }
  /* фотография и длинный текст уезжают под образцы, вводные абзацы остаются выше */
  .about__photo { order: 3; }
  .about__text:not(.about__text--lead) { order: 4; }
  .swatch { aspect-ratio: 0.88; gap: 0.4rem; padding: 0.85rem 0.8rem; }
  .swatch__tag { font-size: 0.62rem; }
  .swatch--wattle { transform: rotate(-1.5deg); }
  .swatch--poppy { transform: rotate(1.5deg); margin-top: 1rem; }
}

/* ═══════════════ ЮРИДИЧЕСКИЕ СТРАНИЦЫ (оферта, политика) ═══════════════ */

.legal-page { background: var(--bg); }

/* документ открывается поверх сайта: отдельных страниц нет, ссылка ведет внутрь */
.legal-doc {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
}
.legal-doc[hidden] { display: none; }
.legal__close {
  position: sticky;
  top: 0;
  z-index: 1;
  margin-left: auto;
  display: block;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.legal__close:hover { background: var(--ink-soft); }
body.legal-open { overflow: hidden; }
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(1.6rem, 4vw, 3.5rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
}
.legal__back a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--caps-ls);
  color: var(--ink);
  text-decoration: none;
}
.legal__back a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal__back--bottom { margin-top: 2.6rem; }
.legal__title {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 1.6rem 0 0.5rem;
}
.legal__date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
}
.legal__sec { margin-bottom: 1.8rem; }
.legal__sec h2 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
}
.legal__sec p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.legal__sec p:last-child { margin-bottom: 0; }
.legal__sec b { font-weight: 500; color: var(--ink); }
.legal__sec a { color: var(--ink); text-underline-offset: 3px; }
