/* =========================================================
   Лендінг під ключ — Олена Кулак
   Палітра, шрифти й повторювані значення — у :root
   ========================================================= */

:root {
  /* Палітра: три кольори референсу */
  --c-plum: #5C3268;    /* Deep Plum */
  --c-pistachio: #BCD1C7; /* Pistachio Mist */
  --c-cream: #E8DEDE;     /* Blush Cream */
  --c-text: #171518;      /* чорний для тексту */

  /* Ролі */
  --c-ink: var(--c-plum);
  --c-graphite: var(--c-plum);
  --c-gray: var(--c-plum);
  --c-taupe: var(--c-pistachio);
  --c-mauve: var(--c-pistachio);
  --c-rose: var(--c-pistachio);
  --c-rose-deep: var(--c-plum);
  --c-blush: var(--c-plum);
  --c-blush-light: var(--c-pistachio);
  --c-paper: var(--c-cream);

  /* Текст на темному тлі */
  --c-on-dark: var(--c-text);
  --c-on-dark-soft: var(--c-text);
  --c-on-light-soft: var(--c-text);

  /* Шрифти */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  /* Розміри */
  --container: 1120px;
  --text-width: 760px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 104px);

  --fs-body: clamp(16px, .3vw + 15px, 17.5px);
  --fs-h1: clamp(28px, 2.6vw + 16px, 52px);
  --fs-h2: clamp(25px, 1.6vw + 18px, 42px);
  --fs-h3: clamp(18px, .5vw + 16px, 21px);

  /* Форма */
  --radius-card: 22px;
  --radius-btn: 14px;
  --border-light: 1px solid rgba(92, 50, 104, .1);
  --border-dark: 1px solid rgba(92, 50, 104, .18);
  --shadow-soft: 0 18px 50px -24px rgba(92, 50, 104, .28);
  --shadow-dark: 0 24px 60px -28px rgba(92, 50, 104, .7);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 280ms;

  --sticky-h: 76px;
}

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--c-blush); color: var(--c-text); }

:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--ink :focus-visible,
.section--graphite :focus-visible,
.sticky-cta :focus-visible { outline-color: var(--c-blush); }

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

/* ---------- Розкладка ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: calc(var(--text-width) + var(--gutter) * 2);
  margin-inline: auto;
}
.container .narrow { padding-inline: 0; max-width: var(--text-width); }
.center { text-align: center; }

.section { padding-block: var(--section-y); position: relative; }

.section--paper { background: var(--c-paper); }
.section--blush-light { background: var(--c-blush-light); }
.section--blush { background: var(--c-blush); }
.section--ink { background: var(--c-ink); color: var(--c-on-dark); }
.section--graphite { background: var(--c-graphite); color: var(--c-on-dark); }

/* Стримане рожеве світіння */
.section--glow { overflow: hidden; isolation: isolate; }
.section--glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  left: 50%;
  top: 0;
  transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(188, 209, 199, .2), rgba(188, 209, 199, 0));
  pointer-events: none;
}

/* Двоколонкова редакційна розкладка */
.split {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__aside { position: sticky; top: 48px; }
}

/* ---------- Типографіка ---------- */
.h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.015em;
}
.h2 + p,
.narrow > .h2 + p { margin-top: 20px; }
.center .h2,
.h2.center { margin-inline: auto; }

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.16em;
  letter-spacing: 0;
  line-height: 1;
  color: var(--c-plum);
}
.section--ink .accent,
.section--graphite .accent { color: var(--c-blush); }

.h2__kicker {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-blush);
}

.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.strong { font-weight: 600; }

.narrow > p + p,
.prose p + p,
.gift__text p + p,
.final__text p + p { margin-top: 14px; }

.section--ink p,
.section--graphite p { color: var(--c-on-dark-soft); }

.note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--c-on-light-soft);
}
.section--ink .note { color: var(--c-on-dark-soft); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 32px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease), color var(--t) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--dark {
  background: var(--c-ink);
  color: var(--c-paper);
  box-shadow: 0 14px 30px -16px rgba(92, 50, 104, .7);
}
.btn--dark:hover { background: var(--c-pistachio); color: var(--c-plum); transform: translateY(-2px); }

.btn--blush {
  background: var(--c-blush);
  color: var(--c-text);
}
.btn--blush:hover { background: var(--c-cream); transform: translateY(-2px); }

.btn--sm { min-height: 52px; padding: 12px 24px; font-size: 13.5px; }
.btn--wide { width: 100%; }

.btn.is-disabled {
  background: transparent;
  color: var(--c-text);
  box-shadow: inset 0 0 0 1.5px var(--c-mauve);
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   Біжучий рядок
   ========================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: 12px;
  background: var(--c-ink);
  color: var(--c-blush);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 45s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: "✦";
  font-size: 10px;
  color: var(--c-rose);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { width: auto; justify-content: center; animation: none !important; }
  .ticker__group + .ticker__group,
  .ticker__item:not(:first-child) { display: none; }
  .ticker__item { padding-right: 0; }
  .ticker__item::after { display: none; }
}

/* =========================================================
   БЛОК 1. Перший екран
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(76px, 7vw, 96px) clamp(56px, 7vw, 96px);
  background: var(--c-pistachio);
}
.hero__inner {
  display: grid;
  gap: clamp(44px, 5vw, 64px);
  align-items: center;
}
.hero__content {
  container-type: inline-size;   /* розмір заголовка рахується від ширини колонки */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}
.hero__eyebrow {
  max-width: 640px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--c-on-light-soft);
}
.hero__tag {
  display: inline-block;
  margin-right: 4px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text);
}
.hero__title {
  max-width: 920px;
  margin-top: 22px;
  /* розмір підібраний так, щоб «Готовий до запуску лендінг» завжди був в один рядок */
  /* --key-ratio рахує збірка з довжини першого рядка заголовка (адмін-панель) */
  font-size: min(var(--fs-h1), calc((100vw - var(--gutter) * 2) / var(--key-ratio, 15)));
  font-size: min(var(--fs-h1), 100cqi / var(--key-ratio, 15));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero__key { white-space: nowrap; color: var(--c-plum); }
.hero__title .accent { color: var(--c-text); }
.hero__title--wrap .hero__key { white-space: normal; }   /* довгий перший рядок — переноситься */
.hero__lead {
  max-width: 700px;
  margin-top: 22px;
  font-size: clamp(16px, .4vw + 15px, 19px);
  font-weight: 500;
  color: var(--c-text);
}
.hero__days {   /* «3 дні» — більшими великими літерами, насиченим рожевим */
  font-size: 1.3em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-plum);
  background: var(--c-cream);
  padding: 0 .22em;
  border-radius: 6px;
}
@media (max-width: 959px) {   /* на телефоні під текстом фото — легке світле світіння навколо літер */
  .hero__lead,
  .hero__eyebrow { text-shadow: 0 0 10px rgba(188, 209, 199, .9), 0 0 2px rgba(188, 209, 199, .9); }
}

.hero__offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  margin-top: 32px;
  padding: 26px clamp(20px, 4vw, 36px) 24px;
  border-radius: var(--radius-card);
  background: rgba(232, 222, 222, .72);
  border: 1px solid rgba(188, 209, 199, .7);
  box-shadow: var(--shadow-soft);
}
.hero__includes {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
}
.hero__offer .btn { margin-top: 20px; width: 100%; max-width: 360px; }
.hero__limit {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.hero__offer .note { margin-top: 10px; }

/* Фото — підкладка першого екрана */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;   /* обличчя по центру кадру на телефоні */
}
.hero__bg::after {   /* світла вуаль, щоб текст добре читався */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(188, 209, 199, .74) 0%, rgba(188, 209, 199, .8) 55%, rgba(188, 209, 199, .92) 100%);
}

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
  .hero__content { align-items: flex-start; text-align: left; }
  .hero__offer { align-items: flex-start; }
  .hero__offer .price { justify-content: flex-start; }

  /* фото праворуч на всю висоту, ліворуч — м’яка розтушовка під текст */
  .hero__bg-img {
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    object-position: 50% 22%;
  }
  .hero__bg::after {
    background: linear-gradient(90deg,
      var(--c-pistachio) 0%, var(--c-pistachio) 43%,
      rgba(188, 209, 199, .82) 51%,
      rgba(188, 209, 199, 0) 62%);
  }
}

/* Широкий екран: фото не росте далі 820px і стоїть біля картки.
   Вуаль прибрана, щоб не вицвітав піджак; краї фото м'яко зливаються з тлом. */
@media (min-width: 1280px) {
  .hero__bg-img {
    width: min(60%, 820px);
    right: max(0px, calc(50% - 820px));
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 96%, transparent 100%);
  }
  .hero__bg::after { display: none; }
}

/* Ціна */
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 10px;
  row-gap: 2px;
  line-height: 1.2;
}
.price__label { font-size: 16px; font-weight: 700; }
.price__row { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.price__now {
  font-size: clamp(26px, 1.6vw + 20px, 38px);
  font-weight: 900;
  letter-spacing: -.02em;
}
.price__instead { font-size: 15px; font-weight: 500; color: var(--c-on-light-soft); }
.price__old {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--c-ink);
}

/* =========================================================
   БЛОК 2. Досить
   ========================================================= */
.enough-list li {
  padding-block: 22px;
  border-top: var(--border-dark);
  font-size: clamp(17px, .4vw + 16px, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-on-dark);
}
.enough-list li:last-child { border-bottom: var(--border-dark); }
.enough-list__word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35em;
  line-height: 1;
  color: var(--c-blush);
}

/* =========================================================
   БЛОК 3. Подарунок
   ========================================================= */
.gift {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .gift { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.gift__text .h2 { margin-bottom: 20px; }
.gift__text p { color: var(--c-text); }

.bonus-card {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-card);
  background: var(--c-ink);
  color: var(--c-on-dark);
  box-shadow: var(--shadow-dark);
}
.bonus-card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--c-blush);
  color: var(--c-text);
}
.bonus-card .label { color: var(--c-blush); }
.bonus-card__title {
  margin: 10px 0 14px;
  font-size: clamp(20px, .8vw + 17px, 25px);
  font-weight: 800;
  line-height: 1.25;
}
.bonus-card p:last-child { color: var(--c-on-dark-soft); }
.bonus-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.bonus-list li {
  position: relative;
  padding-left: 30px;
  color: var(--c-on-dark);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
}
@media (max-width: 600px) { .bonus-list li { font-size: 15px; } }
.bonus-card p.bonus-note {   /* «можна навіть із телефона» */
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: var(--border-dark);
  color: var(--c-blush);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}
.bonus-note svg { flex: none; }
.bonus-list li::before {   /* рожева «галочка» */
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C3268' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* =========================================================
   БЛОК 4. Про мене
   ========================================================= */
.about {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .about__photo { position: sticky; top: 40px; }
}
.about__photo {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: var(--c-blush-light);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.placeholder-note {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(92, 50, 104, .82);
  color: var(--c-paper);
  font-size: 13px;
  font-weight: 600;
}

.about__text .h2 { margin-bottom: 24px; }
.prose { color: var(--c-on-light-soft); }
.prose p:first-child { color: var(--c-text); font-weight: 600; }

.approach {
  margin-top: 32px;
  padding: 26px clamp(22px, 3vw, 32px);
  border-radius: var(--radius-card);
  background: var(--c-blush-light);
}
.approach__list { margin-top: 16px; counter-reset: approach; }
.approach__list li {
  counter-increment: approach;
  position: relative;
  padding-left: 44px;
  font-weight: 500;
}
.approach__list li + li { margin-top: 14px; }
.approach__list li::before {
  content: counter(approach);
  position: absolute;
  left: 0; top: -1px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   БЛОК 5. Кому підходить
   ========================================================= */
.check-list { margin-top: 36px; }
.check-list li {
  position: relative;
  padding: 18px 0 18px 46px;
  border-top: var(--border-dark);
  font-weight: 500;
  color: var(--c-on-dark);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C3268' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* компактний варіант у картці пропозиції */
.check-list--compact { margin-top: 16px; }
.check-list--compact li {
  padding: 9px 0 9px 38px;
  border: 0;
  color: var(--c-text);
  font-size: 15.5px;
  line-height: 1.5;
}
.check-list--compact li::before {
  top: 10px;
  width: 24px; height: 24px;
  background-color: var(--c-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BCD1C7' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 14px;
}

/* =========================================================
   БЛОК 6. Готовий лендінг
   ========================================================= */
.section--blush-light .narrow p { color: var(--c-on-light-soft); }
.section--blush-light .narrow p.strong { color: var(--c-text); }
.can-title { margin-top: clamp(40px, 5vw, 56px); }
.can-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
@media (min-width: 680px) { .can-grid { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; } }
.can-grid li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 24px 26px 26px;
  border-radius: var(--radius-card);
  background: var(--c-cream);
  font-weight: 500;
  line-height: 1.5;
}
.can-grid__num {
  flex: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--c-text);
}

/* =========================================================
   БЛОК 7. Спойлер
   ========================================================= */
.cross-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
@media (min-width: 720px) { .cross-list { grid-template-columns: 1fr 1fr; } }
.cross-list li {
  position: relative;
  padding: 20px 20px 20px 62px;
  border-radius: 18px;
  background: var(--c-graphite);
  border: var(--border-dark);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-on-dark);
}
.cross-list li::before {
  content: "";
  position: absolute;
  left: 20px; top: 20px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--c-rose);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BCD1C7' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.callout {
  margin-top: 32px;
  padding: 22px 26px;
  border-left: 3px solid var(--c-blush);
  border-radius: 4px 18px 18px 4px;
  background: rgba(188, 209, 199, .08);
  font-size: clamp(16px, .3vw + 15px, 18px);
  font-weight: 500;
}
.section--ink .callout { color: var(--c-on-dark); }
.callout--center {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout__icon { flex: none; margin-top: 3px; color: var(--c-blush); }

/* =========================================================
   БЛОК 8. Що ви отримуєте
   ========================================================= */
.parts {
  display: grid;
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}
@media (min-width: 860px) { .parts { grid-template-columns: repeat(2, 1fr); } }
.part {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-card);
  background: var(--c-cream);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.part__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  color: var(--c-text);
}
.part__title {
  margin-top: 8px;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.25;
}
.dash-list { margin-top: 18px; flex: 1; }
.dash-list li {
  position: relative;
  padding-left: 24px;
  color: var(--c-on-light-soft);
  line-height: 1.55;
}
.dash-list li + li { margin-top: 10px; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--c-rose);
}
.part__result {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--c-blush-light);
  font-size: 15.5px;
  line-height: 1.5;
}

/* =========================================================
   БЛОК 9. Чому я
   ========================================================= */
.why-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 18px;
  padding-block: 26px;
  border-top: var(--border-dark);
}
.why-list li:first-child { border-top: 0; padding-top: 0; }
.why-list__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 56px;
  line-height: .9;
  color: var(--c-blush);
}
.why-list h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-on-dark);
}
.why-list p { margin-top: 10px; }

/* =========================================================
   БЛОК 10. Приклади
   ========================================================= */
.work {
  flex: 0 0 min(84%, 400px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--c-paper);
  box-shadow: var(--shadow-soft);
}
.work__media { position: relative; }
.work__img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 22px 24px;
}
.work__title { font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; }
.work__body p { flex: 1; color: var(--c-on-light-soft); font-size: 15.5px; }
.work__body .btn { margin-top: 8px; align-self: flex-start; }
.is-placeholder { color: var(--c-text) !important; }

/* =========================================================
   БЛОК 11. Відгуки
   ========================================================= */
/* Горизонтальна стрічка відгуків і робіт на всіх екранах */
.reviews,
.works {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: clamp(36px, 5vw, 52px) calc(var(--gutter) * -1) 0;
  padding: 6px var(--gutter) 40px;
  overflow-x: auto;
  /* м’яке затухання по краях замість різкого зрізу */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 56px), transparent 100%);
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.reviews::-webkit-scrollbar,
.works::-webkit-scrollbar { display: none; }
.reviews > .tg-shot {
  flex: 0 0 min(84%, 400px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  scroll-snap-align: start;
}
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -12px;
}
.reviews-nav button {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--c-ink);
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.reviews-nav button:hover:not(:disabled) { background: var(--c-ink); color: var(--c-paper); }
.reviews-nav button:disabled { opacity: .3; cursor: default; }
@media (min-width: 1040px) {   /* на комп’ютері — та сама стрічка: 3 відгуки + край наступного */
  .reviews, .works { gap: 20px; }
  .reviews > .tg-shot { flex-basis: 350px; }
  .work { flex-basis: 460px; }   /* 2 роботи + край наступної: скриншоти мають читатися */
}
.reviews.is-dragging, .works.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (hover: hover) and (pointer: fine) { .reviews, .works { cursor: grab; } }
/* «Скриншот» повідомлення з Telegram */
.tg-shot {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 22px 18px 22px 14px;
  border-radius: 22px;
  background-color: var(--c-blush-light);
  background-image: radial-gradient(rgba(92, 50, 104, .07) 1px, transparent 1.6px);
  background-size: 16px 16px;
  box-shadow: var(--shadow-soft);
}
.tg-shot--dark {
  background-color: var(--c-ink);
  background-image: radial-gradient(rgba(188, 209, 199, .09) 1px, transparent 1.6px);
}
.reviews > .tg-shot--photo { justify-content: center; padding: 10px; }
.tg-shot--photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: 14px;
}
.tg-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.tg-avatar {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-rose), var(--c-mauve));
  filter: blur(2.5px);
}
.tg-avatar--2 { background: linear-gradient(135deg, var(--c-pistachio), var(--c-plum)); }
.tg-avatar--3 { background: linear-gradient(135deg, var(--c-blush), var(--c-taupe)); }
.tg-bubble {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 8px 14px 11px;
  border-radius: 16px 16px 16px 0;
  background: var(--c-cream);
  color: var(--c-text);
  box-shadow: 0 1px 2px rgba(92, 50, 104, .12);
  /* системний шрифт — як у справжньому Telegram */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.45;
}
.tg-bubble::before {   /* «хвостик» бульбашки */
  content: "";
  position: absolute;
  left: -7px; bottom: 0;
  width: 8px; height: 12px;
  background: inherit;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.tg-name {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-text);
  filter: blur(4px);
  user-select: none;
  -webkit-user-select: none;
}
.tg-shot--dark .tg-bubble {
  background: rgba(232, 222, 222, .12);
  color: var(--c-paper);
  box-shadow: none;
}
.tg-shot--dark .tg-name { color: var(--c-blush); }
.section--paper .tg-shot--dark p,
.tg-shot--dark .tg-bubble p { color: var(--c-paper); }

/* =========================================================
   БЛОК 12. Етапи
   ========================================================= */
.steps {
  margin-top: clamp(36px, 5vw, 52px);
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 72px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -4px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-blush);
  color: var(--c-text);
  font-weight: 800;
  font-size: 17px;
}
.step::after {
  content: "";
  position: absolute;
  left: 22px; top: 50px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--c-pistachio), rgba(188, 209, 199, .2));
}
.step:last-child::after { display: none; }
.step__title {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-on-dark);
}
.step p { margin-top: 8px; }
.steps + .callout { margin-top: 44px; }

/* =========================================================
   БЛОК 13. FAQ
   ========================================================= */
.faq { margin-top: clamp(32px, 4vw, 48px); }
.faq__item { border-bottom: 1px solid rgba(92, 50, 104, .14); }
.faq__item:first-child { border-top: 1px solid rgba(92, 50, 104, .14); }
.faq__item h3 { font-size: inherit; }
.faq__q {
  position: relative;
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 22px 52px 22px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: clamp(16px, .3vw + 15.5px, 18px);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 34px; height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--c-blush-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C3268' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.faq__q:hover::after { background-color: var(--c-blush); }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); background-color: var(--c-blush); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t) var(--ease);
}
.faq__a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear var(--t);
}
.faq__item.is-open .faq__a > div { visibility: visible; transition-delay: 0s; }
html:not(.js) .faq__a { grid-template-rows: 1fr; }
html:not(.js) .faq__a > div { visibility: visible; }
.faq__a p {
  padding: 0 52px 24px 0;
  color: var(--c-on-light-soft);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* =========================================================
   БЛОК 14. Фінальна пропозиція
   ========================================================= */
.final__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 940px) {
  .final__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
}
.final__text .h2 { margin-bottom: 22px; }
.final__text p { font-size: clamp(16px, .3vw + 15px, 18px); }

.offer-card {
  position: relative;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 26px;
  background: var(--c-paper);
  color: var(--c-text);
  box-shadow: 0 0 0 1px rgba(188, 209, 199, .5), 0 30px 80px -30px rgba(188, 209, 199, .55);
}
.offer-card p { color: var(--c-text); }
.offer-card__gift {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--c-blush-light);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.price--card {
  justify-content: flex-start;
  margin-top: 22px;
  padding-top: 20px;
  border-top: var(--border-light);
}
.offer-card .btn { margin-top: 18px; }
.offer-card .hero__limit { text-align: center; }
.offer-card .note { margin-top: 8px; text-align: center; color: var(--c-on-light-soft); }

/* ---------- Футер ---------- */
.footer {
  background: var(--c-ink);
  color: var(--c-on-dark-soft);
  border-top: var(--border-dark);
  padding: 48px 0 calc(32px + var(--sticky-h) + env(safe-area-inset-bottom));
  font-size: 14px;
}
.footer__inner {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: var(--border-dark);
}
.footer__fop {
  color: var(--c-paper);
  font-size: 14px;
  font-weight: 600;
}
.footer__rights { margin-top: 6px; color: var(--c-on-dark-soft); font-size: 13.5px; }
.footer__disclaimer {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  max-width: 900px;
}
.footer__disclaimer p {
  color: rgba(232, 222, 222, .66);
  font-size: 12.5px;
  line-height: 1.6;
}
.footer__title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blush);
}
.footer__link {
  display: block;
  width: fit-content;
  padding-block: 6px;
  color: var(--c-paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 4px;
}
.footer__link:hover { text-decoration: underline; text-decoration-color: var(--c-blush); }
.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.footer__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-blush);
  color: var(--c-text);
  transition: background-color var(--t) var(--ease);
}
.footer__social:hover .footer__icon { background: var(--c-paper); }
.footer__copy { color: var(--c-on-dark-soft); }

/* ---------- Логотип у лівому верхньому куті ---------- */
.site-logo {
  position: absolute;
  top: 14px;
  left: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 44px;   /* по висоті збігається з перемикачем мови */
}
.site-logo img { display: block; width: clamp(80px, 7vw, 96px); height: auto; }

/* ---------- Перемикач мови ---------- */
.lang-switch {
  position: absolute;
  top: 14px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(232, 222, 222, .8);
  border: 1px solid rgba(92, 50, 104, .12);
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.lang-switch a:hover { color: var(--c-text); background: var(--c-blush-light); }
.lang-switch a[aria-current="page"] { background: var(--c-ink); color: var(--c-paper); }

/* ---------- Сторінки документів ---------- */
.legal-header {
  background: var(--c-paper);
  border-bottom: var(--border-light);
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.legal-header .lang-switch { position: static; }
.legal-header__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.legal-header__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal .label { color: var(--c-text); }
.legal h1 {
  margin-top: 10px;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.legal__meta { margin-top: 10px; color: var(--c-text); font-size: 14.5px; }
.legal h2 {
  margin: 36px 0 12px;
  font-size: clamp(18px, .5vw + 16px, 20px);
  font-weight: 800;
  line-height: 1.3;
}
.legal p,
.legal li { color: var(--c-on-light-soft); overflow-wrap: anywhere; }
.legal p + p { margin-top: 10px; }
.legal ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--c-text); font-weight: 600; text-underline-offset: 3px; }
.ph {   /* дані, які треба заповнити */
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--c-blush-light);
  color: var(--c-text);
  font-weight: 600;
}
.legal-page .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

/* =========================================================
   Липка панель
   ========================================================= */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(92, 50, 104, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(188, 209, 199, .18);
  color: var(--c-on-dark);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
.sticky-cta.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility 0s;
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
}
.sticky-cta__info { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; min-width: 0; }
.sticky-cta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blush);
}
.sticky-cta__price { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.sticky-cta__now { font-size: 22px; font-weight: 900; }
.sticky-cta__old {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-on-dark-soft);
  text-decoration-color: var(--c-blush);
  text-decoration-thickness: 1.5px;
}
.btn--sticky { min-height: 52px; padding: 10px 26px; font-size: 14px; flex: none; }

@media (max-width: 560px) {
  :root { --sticky-h: 72px; }
  .sticky-cta__info { flex-direction: column; gap: 0; }
  .sticky-cta__label { font-size: 10.5px; letter-spacing: .12em; }
  .sticky-cta__now { font-size: 19px; }
  .sticky-cta__old { font-size: 13px; }
  .btn--sticky { padding: 10px 16px; font-size: 12.5px; letter-spacing: .04em; }
}

/* =========================================================
   Анімація появи
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* ---------- Мобільні уточнення ---------- */
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero__eyebrow { font-size: 13px; }
  .hero__offer .btn { max-width: none; }
  .price__label { flex-basis: 100%; text-align: center; }
  .price--card .price__label { text-align: left; }
  .why-list li { grid-template-columns: 40px 1fr; gap: 6px 12px; }
  .why-list__num { font-size: 44px; }
  .step { padding-left: 62px; }
  .callout { padding: 18px 20px; }
  .faq__a p { padding-right: 0; }
}

/* =========================================================
   Інтерактив і анімації (A–H)
   ========================================================= */

/* E. Плавні переходи між сторінками (UA ↔ RU, документи) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 350ms; }

/* H. Смужка прогресу прокручування */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--c-rose), var(--c-blush));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* F. Відблиск на кнопках */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(.is-disabled)::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(100deg, rgba(232, 222, 222, 0), rgba(232, 222, 222, .3), rgba(232, 222, 222, 0));
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}
.btn:not(.is-disabled):hover::after {
  transform: translateX(340%) skewX(-18deg);
  transition: transform 750ms var(--ease);
}

/* C. Ціна: 7500 закреслюється, потім з’являється 2499 */
.js .price .price__old { position: relative; text-decoration: none; }
.js .price .price__old::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; top: 52%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms var(--ease) 200ms;
}
.js .price .price__now {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease) 650ms, transform 400ms var(--ease) 650ms;
}
.js .price.is-animated .price__old::after { transform: scaleX(1); }
.js .price.is-animated .price__now { opacity: 1; transform: none; }

/* D. Етапи: лінія заповнюється під час прокручування, кружки «загоряються» */
.js .step::before {
  background: var(--c-graphite);
  color: var(--c-blush);
  box-shadow: inset 0 0 0 1.5px var(--c-rose);
  transition: background-color 350ms var(--ease), color 350ms var(--ease), box-shadow 350ms var(--ease);
}
.js .step.is-active::before {
  background: var(--c-blush);
  color: var(--c-text);
  box-shadow: 0 0 0 6px rgba(188, 209, 199, .14);
}
.js .step::after {
  background:
    linear-gradient(var(--c-blush), var(--c-blush)) top / 100% calc(var(--fill, 0) * 100%) no-repeat,
    rgba(188, 209, 199, .45);
}

/* G. М’яке світіння за курсором на темних блоках (лише миша) */
.section > .container { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .section--ink::after,
  .section--graphite::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(188, 209, 199, .11), rgba(188, 209, 199, 0) 65%);
    opacity: 0;
    transition: opacity 400ms var(--ease);
  }
  .section--ink.is-glowing::after,
  .section--graphite.is-glowing::after { opacity: 1; }
}



@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .btn::after { display: none; }
  .js .price .price__now { opacity: 1; transform: none; }
  .js .price .price__old::after { transform: scaleX(1); }
}

/* =========================================================
   Анімація блоків
   ========================================================= */

/* 1. «Скляні екрани» з паралаксом у темних блоках */
.glass-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.glass {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(232, 222, 222, .09), rgba(232, 222, 222, .02));
  border: 1px solid rgba(232, 222, 222, .12);
  box-shadow: 0 30px 60px -30px rgba(92, 50, 104, .7), inset 0 1px 0 rgba(232, 222, 222, .07);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
  will-change: transform;
}
.glass i { display: block; height: 7px; border-radius: 4px; background: rgba(232, 222, 222, .13); }
.glass i:first-child { width: 55%; background: rgba(188, 209, 199, .4); }
.glass i:nth-child(2) { width: 85%; }
.glass i:nth-child(3) { width: 70%; }
.glass b {   /* «кнопка» на екрані */
  display: block;
  width: 42%; height: 18px;
  margin-top: auto;
  border-radius: 6px;
  background: rgba(188, 209, 199, .28);
}
.glass--1 { left: 4%;  top: 44%; width: 170px; height: 300px; --rot: -6deg; }
.glass--2 { left: 20%; top: 60%; width: 140px; height: 250px; --rot: 5deg; }
.glass--3 { right: -30px; top: 8%; width: 150px; height: 270px; --rot: 9deg; opacity: .75; }
/* скриншоти реальних сайтів у «скляних» вікнах */
.glass--shot { padding: 6px; border-radius: 20px; }
.glass--shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  opacity: .78;
}
/* у фінальному блоці текст по центру — екрани над заголовком і під текстом */
#offer .glass--1 { top: 2%; left: 3%; width: 136px; height: 240px; }
#offer .glass--2 { top: 72%; left: 19%; }
@media (max-width: 899px) { .glass-layer { display: none; } }

/* 2. Каскадна поява — затримку виставляє script.js */

/* 3. «Що ви отримуєте»: частини з’їжджаються, «Результат» заливається */
@media (min-width: 860px) {   /* у дві колонки — з’їжджаються з боків; на телефоні — звичайна поява */
  .js .parts .part.reveal:nth-child(odd)  { transform: translateX(-22px); }
  .js .parts .part.reveal:nth-child(even) { transform: translateX(22px); }
}
.js .parts .part.reveal.is-visible { transform: none; }
.js .parts .part.reveal.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -26px rgba(92, 50, 104, .35);
}
.part { transition: box-shadow var(--t) var(--ease); }
.js .part .part__result {
  background: linear-gradient(var(--c-blush-light), var(--c-blush-light)) left / 0% 100% no-repeat,
              rgba(232, 222, 222, .35);
  transition: background-size 800ms var(--ease) 350ms;
}
.js .part.is-visible .part__result { background-size: 100% 100%; }

@media (prefers-reduced-motion: reduce) {
  .js .parts .part.reveal { transform: none; }
  .js .part .part__result { background-size: 100% 100%; }
}

/* Відгуки: розмита «попередня переписка» над коротким повідомленням */
.tg-history {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  filter: blur(2.5px);
  opacity: .75;
  pointer-events: none;
  user-select: none;
  /* верхній край м’яко розчиняється */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34px);
  mask-image: linear-gradient(to bottom, transparent, #000 34px);
}
.tg-fake {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 72%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--c-cream);
  box-shadow: 0 1px 2px rgba(92, 50, 104, .1);
}
.tg-fake--in { align-self: flex-start; margin-left: 46px; }
.tg-fake--out {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: var(--c-rose);
}
.tg-fake i { display: block; height: 7px; border-radius: 4px; background: rgba(92, 50, 104, .3); }
.tg-shot--dark .tg-fake--in { background: rgba(232, 222, 222, .12); box-shadow: none; }
.tg-shot--dark .tg-fake--out { background: rgba(188, 209, 199, .32); box-shadow: none; }
.tg-shot--dark .tg-fake i { background: rgba(232, 222, 222, .35); }

/* =========================================================
   3D-плашки: ціна на першому екрані, бонус, «Мій підхід»
   ========================================================= */
.card3d {
  position: relative;
  transform-style: preserve-3d;
}
/* нахил за курсором (значення ставить script.js) */
.js .card3d.reveal.is-visible {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 400ms var(--ease), transform 500ms var(--ease);
}
.js .card3d.reveal.is-visible.is-tilting { transition: opacity 400ms var(--ease), transform 120ms linear; }
/* відсвіт, що рухається за курсором */
.card3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(232, 222, 222, .28), rgba(232, 222, 222, 0) 60%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.card3d.is-tilting::after { opacity: 1; }

/* світлі плашки: «товщина» знизу шарами тіні + блік по верхньому краю */
.hero__offer.card3d {
  background: var(--c-cream);
  border: 1px solid rgba(232, 222, 222, .9);
  box-shadow:
    inset 0 1px 0 var(--c-cream),
    inset 0 -1px 0 rgba(188, 209, 199, .45),
    0 5px 0 var(--c-pistachio),
    0 14px 26px -12px rgba(92, 50, 104, .22),
    0 34px 60px -24px rgba(92, 50, 104, .4);
}
.approach.card3d {
  background: var(--c-pistachio);
  border: 1px solid rgba(232, 222, 222, .7);
  box-shadow:
    inset 0 1px 0 rgba(232, 222, 222, .85),
    0 5px 0 var(--c-plum),
    0 14px 26px -12px rgba(92, 50, 104, .2),
    0 30px 54px -24px rgba(92, 50, 104, .36);
}
/* темна плашка бонусу */
.bonus-card.card3d {
  background: var(--c-plum);
  box-shadow:
    inset 0 1px 0 rgba(232, 222, 222, .12),
    inset 0 -1px 0 rgba(92, 50, 104, .6),
    0 5px 0 var(--c-cream),
    0 16px 30px -14px rgba(92, 50, 104, .45),
    0 40px 70px -26px rgba(92, 50, 104, .65);
}
.bonus-card.card3d::after {
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(188, 209, 199, .16), rgba(188, 209, 199, 0) 60%);
}

@media (prefers-reduced-motion: reduce) {
  .js .card3d.reveal.is-visible { transform: none; }
  .card3d::after { display: none; }
}

/* =========================================================
   Баланс кольорів: основний — Blush Cream, додатковий — Pistachio Mist,
   Deep Plum — лише акценти
   ========================================================= */
.section--blush { background: var(--c-pistachio); color: var(--c-text); }
.section--paper + .section--paper { border-top: 1px solid rgba(92, 50, 104, .14); }
/* перший екран фісташковий, тож наступний блок — кремовий, щоб вони не зливалися */
.hero + .section--blush { background: var(--c-paper); }
.hero + .section--blush + .section--paper { border-top: 1px solid rgba(92, 50, 104, .14); }
::selection { background: var(--c-plum); color: var(--c-cream); }

/* Сливові акценти: усередині них текст світлий */
.section--ink, .bonus-card, .ticker, .tg-shot--dark {
  --c-on-dark: var(--c-cream);
  --c-on-dark-soft: rgba(232, 222, 222, .78);
  --c-blush: var(--c-pistachio);
  --border-dark: 1px solid rgba(232, 222, 222, .14);
}
.bonus-card.card3d { box-shadow: 0 5px 0 var(--c-pistachio), 0 16px 30px -14px rgba(92, 50, 104, .45), 0 40px 70px -26px rgba(92, 50, 104, .55); }

/* Галочки */
.check-list li::before {
  background-color: var(--c-plum);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8DEDE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.dash-list li::before { background: var(--c-plum); }

/* Картки на кремовому */
.can-grid li { background: var(--c-pistachio); }
.cross-list li { background: var(--c-pistachio); border: 0; color: var(--c-plum); }
.cross-list li::before {
  border-color: var(--c-plum);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C3268' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E");
}
.callout { background: rgba(188, 209, 199, .4); }

/* Етапи */
.step::before { background: var(--c-plum); color: var(--c-cream); }
.step::after { background: rgba(92, 50, 104, .2); }
.js .step::before { background: var(--c-cream); color: var(--c-plum); box-shadow: inset 0 0 0 1.5px var(--c-plum); }
.js .step.is-active::before { background: var(--c-plum); color: var(--c-cream); box-shadow: 0 0 0 6px rgba(188, 209, 199, .55); }
.js .step::after {
  background:
    linear-gradient(var(--c-plum), var(--c-plum)) top / 100% calc(var(--fill, 0) * 100%) no-repeat,
    rgba(92, 50, 104, .2);
}

/* FAQ */
.faq__q:hover::after,
.faq__q[aria-expanded="true"]::after { background-color: var(--c-pistachio); }

/* Футер */
.footer { background: var(--c-pistachio); color: var(--c-plum); border-top: 0; }
.footer__fop, .footer__link, .footer__disclaimer p { color: var(--c-text); }
.footer__icon { background: var(--c-plum); color: var(--c-cream); }
.footer__social:hover .footer__icon { background: var(--c-cream); color: var(--c-plum); }

/* Липка панель */
.sticky-cta { background: rgba(232, 222, 222, .96); border-top: 1px solid rgba(92, 50, 104, .18); color: var(--c-text); }
.btn--blush { background: var(--c-plum); color: var(--c-cream); }
.btn--blush:hover { background: var(--c-pistachio); color: var(--c-plum); }
.scroll-progress { background: var(--c-plum); }

/* =========================================================
   Рухома димка на кремових блоках: фісташкова, подекуди сливова.
   Плями не торкаються верху й низу блока, тому на стиках немає різких меж.
   ========================================================= */
.section--paper,
.hero + .section--blush {
  --haze-main: rgba(188, 209, 199, .45);
  isolation: isolate;
  overflow: clip;
}
/* у цих блоках головна пляма сливова */
.section[aria-labelledby="gift-title"],
.section[aria-labelledby="spoiler-title"],
.section[aria-labelledby="reviews-title"],
.section[aria-labelledby="faq-title"] { --haze-main: rgba(92, 50, 104, .1); }

.section--paper::before,
.section--paper::after,
.hero + .section--blush::before,
.hero + .section--blush::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12%;
  height: 76%;
  pointer-events: none;
  border-radius: 50%;
}
.section--paper::before,
.hero + .section--blush::before {
  left: -8%;
  width: 62%;
  background: radial-gradient(closest-side, var(--haze-main), transparent);
  animation: haze-drift-a 24s ease-in-out infinite alternate;
}
.section--paper::after,
.hero + .section--blush::after {
  right: -8%;
  width: 52%;
  background: radial-gradient(closest-side, rgba(188, 209, 199, .35), transparent);
  animation: haze-drift-b 31s ease-in-out infinite alternate;
}
/* щоб блоки не рухалися однаково */
.section--paper:nth-of-type(even)::before { left: auto; right: -8%; animation-delay: -9s; }
.section--paper:nth-of-type(even)::after { right: auto; left: -8%; animation-delay: -14s; }

@keyframes haze-drift-a {
  from { transform: translate(-6%, -9%) scale(1); }
  to   { transform: translate(34%, 9%) scale(1.14); }
}
@keyframes haze-drift-b {
  from { transform: translate(8%, 9%) scale(1.1); }
  to   { transform: translate(-30%, -9%) scale(.94); }
}
@media (max-width: 699px) {   /* на телефоні одна пляма: легше для батареї */
  .section--paper::after,
  .hero + .section--blush::after { display: none; }
  .section--paper::before,
  .hero + .section--blush::before,
  .section--paper:nth-of-type(even)::before { left: -20%; right: auto; width: 110%; }
}
@media (prefers-reduced-motion: reduce) {
  .section--paper::before,
  .section--paper::after,
  .hero + .section--blush::before,
  .hero + .section--blush::after { animation: none; }
}

/* =========================================================
   Преміальні ефекти
   ========================================================= */

/* 1. Вступ: сторінка відкривається крізь замкову щілину */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  animation: intro-fade 1500ms linear forwards;
}
.intro svg { display: block; width: 100%; height: 100%; max-width: none; }
.intro__key { animation: intro-open 1500ms cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes intro-open {
  0%, 30% { transform: translate(50vw, 50vh) scale(1.5); }
  100%    { transform: translate(50vw, 50vh) scale(120); }
}
@keyframes intro-fade {
  0%, 78% { opacity: 1; }
  100%    { opacity: 0; }
}
/* поки щілина закрита, перший екран чекає */
.has-intro .hero .reveal { opacity: 0 !important; transform: translateY(18px) !important; transition: none !important; }

/* 2. Заголовки: слова піднімаються з-під лінії */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* запас, щоб курсив і нижні елементи літер не обрізалися */
  padding: .14em .09em .26em;
  margin: -.14em -.09em -.26em;
}
.wi {
  display: inline-block;
  transform: translateY(125%) rotate(3deg);
  transform-origin: left top;
  transition: transform 950ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.is-words .wi { transform: none; }
.has-intro .wi { transform: translateY(125%) rotate(3deg) !important; transition: none !important; }
.js .h2.reveal.has-words,
.js .hero__title.reveal.has-words { opacity: 1; transform: none; transition: none; }

/* 3. Фото першого екрана: повільний наїзд і паралакс */
.hero__bg-img {
  scale: 1.08;
  translate: var(--hx, 0px) var(--hy, 0px);
  animation: hero-photo-in 2600ms cubic-bezier(.16, 1, .3, 1) both;
}
.has-intro .hero__bg-img { animation-play-state: paused; }
@keyframes hero-photo-in { from { scale: 1.2; } to { scale: 1.08; } }

/* 4. Фото «Хто я»: відкривається, як завіса */
.js .about__photo.will-open {
  clip-path: inset(14% 10% 14% 10% round 28px);
  transition: clip-path 1400ms cubic-bezier(.16, 1, .3, 1);
}
.js .about__photo.will-open img { scale: 1.2; transition: scale 1800ms cubic-bezier(.16, 1, .3, 1); }
.js .about__photo.will-open.is-open { clip-path: inset(-90px); }
.js .about__photo.will-open.is-open img { scale: 1; }

/* 5. Великий рядок, що рухається разом із прокручуванням */
.word-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 26px);
  background: var(--band-bg, var(--c-pistachio));
  color: var(--c-plum);
  user-select: none;
  pointer-events: none;
}
.word-band--cream { --band-bg: var(--c-paper); }
.word-band__track {
  display: flex;
  align-items: center;
  gap: .32em;
  width: max-content;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(52px, 10vw, 148px);
  line-height: 1.15;
  white-space: nowrap;
  translate: var(--bx, 0px) 0;
  will-change: translate;
}
.word-band__key { flex: none; width: .5em; height: .5em; fill: currentColor; }

/* 6. Кільце за курсором (лише миша) */
.cursor-ring {
  position: fixed;
  left: 0; top: 0;
  z-index: 120;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid var(--c-plum);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms var(--ease), scale 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
  will-change: transform;
}
.cursor-ring.is-on { opacity: .7; }
.cursor-ring.is-link { scale: 1.7; background: rgba(188, 209, 199, .35); border-color: transparent; }
.cursor-ring.is-light { border-color: var(--c-cream); }

/* 7. Відблиск час від часу пробігає по головних кнопках */
#hero-cta::after,
#final-cta::after { animation: btn-glint 6.5s var(--ease) 2.4s infinite; }
@keyframes btn-glint {
  0%   { transform: translateX(-180%) skewX(-18deg); }
  16%, 100% { transform: translateX(340%) skewX(-18deg); }
}

/* 8. Роботи: скриншот плавно наближається */
.work__media { overflow: hidden; }
.work__img { transition: scale 1100ms cubic-bezier(.16, 1, .3, 1); }
.work { transition: translate 500ms cubic-bezier(.16, 1, .3, 1), box-shadow 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .work:hover { translate: 0 -8px; box-shadow: 0 34px 60px -30px rgba(92, 50, 104, .45); }
  .work:hover .work__img { scale: 1.05; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-img { animation: none; scale: 1; translate: none; }
  .js .about__photo.will-open { clip-path: none; transition: none; }
  .js .about__photo.will-open img { scale: 1; transition: none; }
  #hero-cta::after, #final-cta::after { animation: none; }
  .word-band__track { translate: none; }
}

/* Блок «Досить»: рядки випадають згори по черзі */
.js .enough-list.fall li.reveal { opacity: 0; transform: translateY(-90px) rotate(-3deg); transform-origin: left center; }
.js .enough-list.fall.is-falling li.reveal {
  opacity: 1;
  transform: none;
  animation: enough-fall 950ms cubic-bezier(.3, .7, .4, 1) both;
}
.js .enough-list.fall.is-falling li:nth-child(1) { animation-delay: 100ms; }
.js .enough-list.fall.is-falling li:nth-child(2) { animation-delay: 520ms; }
.js .enough-list.fall.is-falling li:nth-child(3) { animation-delay: 940ms; }
.js .enough-list.fall.is-falling li:nth-child(4) { animation-delay: 1360ms; }
@keyframes enough-fall {
  0%   { opacity: 0; transform: translateY(-90px) rotate(-3deg); }
  55%  { opacity: 1; transform: translateY(7px) rotate(.7deg); }
  78%  { transform: translateY(-3px) rotate(-.2deg); }
  100% { opacity: 1; transform: none; }
}

/* Правий телефон лише там, де збоку від тексту є вільне місце */
@media (max-width: 1359px) { .glass--3 { display: none; } }

/* «Як усе почалося»: історія згорнута, розгортається за кліком */
.story {
  margin-top: 20px;
  border-top: 1px solid rgba(92, 50, 104, .14);
}
.story .faq__q { padding-block: 16px; color: var(--c-plum); }
.story .prose { padding-bottom: 22px; }
.story .prose p { padding: 0; }
.story .prose p:first-child { font-weight: inherit; color: inherit; }

/* Відгуки-скриншоти: рамка за розміром зображення, без порожнього місця */
.reviews > .tg-shot--photo { align-self: center; }

/* Базовий аватар: контрастний до фісташкової картки */
.tg-avatar:not(.tg-avatar--2):not(.tg-avatar--3) { background: linear-gradient(135deg, var(--c-cream), var(--c-plum)); }

/* Відгуки-скриншоти в кольорах сайту: фон зображення зливається з карткою */
.reviews > .tg-shot--photo {
  align-self: center;
  padding: 12px;
  background-image: none;
}
.reviews > .tg-shot--photo img { border-radius: 10px; }

/* Текстові відгуки в тому ж вигляді, що й скриншоти: фон із візерунком і суцільне повідомлення */
.reviews > .tg-shot:not(.tg-shot--photo) {
  align-self: center;
  padding: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23E8DEDE' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 24c-3-5-10-2-8 3 1 3 5 5 8 8 3-3 7-5 8-8 2-5-5-8-8-3Z'/%3E%3Ccircle cx='86' cy='22' r='7'/%3E%3Cpath d='m52 56 3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1Z'/%3E%3Cpath d='M92 62c5-5 10 5 15 0M92 70c5-5 10 5 15 0'/%3E%3Cpath d='m14 84 20 8-20 8 4-8Z'/%3E%3Crect x='70' y='92' width='18' height='14' rx='3'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.reviews > .tg-shot--dark:not(.tg-shot--photo) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23E8DEDE' stroke-opacity='.22' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 24c-3-5-10-2-8 3 1 3 5 5 8 8 3-3 7-5 8-8 2-5-5-8-8-3Z'/%3E%3Ccircle cx='86' cy='22' r='7'/%3E%3Cpath d='m52 56 3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1Z'/%3E%3Cpath d='M92 62c5-5 10 5 15 0M92 70c5-5 10 5 15 0'/%3E%3Cpath d='m14 84 20 8-20 8 4-8Z'/%3E%3Crect x='70' y='92' width='18' height='14' rx='3'/%3E%3C/svg%3E");
}
.reviews .tg-history,
.reviews .tg-avatar,
.reviews .tg-name { display: none; }
.reviews .tg-msg { display: block; }
.reviews .tg-bubble {
  width: 84%;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: none;
  font-size: 14.5px;
  line-height: 1.42;
}
.reviews .tg-bubble::before { display: none; }
.reviews .tg-shot--dark .tg-bubble { background: #785480; }   /* сливовий + 20% кремового, суцільний */
