/* =========================================================
   VYBE — стилове
   Цветовете и шрифтовете са най-горе. Смени ги само тук.
   ========================================================= */

:root {
  /* Цветове на бранда */
  --plum:  #4B1D6B;  /* Слива */
  --lilac: #CDB8E3;  /* Люляк */
  --pearl: #F4F1EC;  /* Перла */
  --night: #141014;  /* Нощ */
  --smoke: #6B5E73;  /* Дим */
  --line:  #DCD3E4;  /* Линии */

  /* Шрифтове */
  --f-logo:  "Bodoni Moda", "Playfair", Didot, serif;          /* само логото (латиница) */
  --f-serif: "Playfair", "Bodoni Moda", Didot, Georgia, serif; /* заглавия (има кирилица) */
  --f-sans:  "Onest", system-ui, sans-serif;
  --f-mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Размери */
  --gutter: 20px;
  --nav-h: 60px;
  --section: 104px;   /* разстояние между секциите (телефон) */
  --gap: 24px;        /* разстояние между колоните (компютър) */
  --col: calc((100% - 11 * var(--gap)) / 12);  /* ширина на една колона */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 48px; --nav-h: 72px; --section: 192px; }
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--pearl);
  color: var(--night);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Класическа форма на буквите (д, к, т). Изтрий реда за „българска“ кирилица. */
  font-feature-settings: "locl" 0;
}

/* Хартиена текстура (едва видима) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

/* Видимо очертание при навигация с клавиатура */
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.media:focus-visible { outline: 1px solid var(--plum); outline-offset: 5px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--night); color: var(--pearl); padding: 10px 14px;
  font-family: var(--f-mono); font-size: 12px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Типография ---------- */
.display {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(44px, 11.6vw, 128px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--plum);
}

.label,
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--smoke);
}

/* Точката REC */
.rec {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--plum);
  flex: none;
}

/* ---------- 1. Меню ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--pearl);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--plum);
}
.logo__word {
  font-family: var(--f-logo);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .08em;
  line-height: 1;
  padding-top: 2px;
}
.logo .rec { animation: rec 2.8s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }

.nav__links { display: none; }
.nav__toggle,
.menu__close {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 14px 0 14px 20px;   /* по-голяма зона за пръста */
}

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
  }
  .nav__links a { position: relative; padding: 6px 0; }
  .nav__links a::after {
    content: "";
    position: absolute; left: 0; bottom: 2px;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
  }
  .nav__links a:hover::after { transform: scaleX(1); }
}

/* Меню на цял екран (телефон) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--pearl);
  display: flex;
  flex-direction: column;
}
.menu__top {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--f-serif);
  font-size: clamp(40px, 12vw, 64px);
  line-height: 1.15;
  letter-spacing: -.02em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.menu__links a:first-child { border-top: 1px solid var(--line); }
.menu__links .mono { color: var(--smoke); min-width: 2.4em; }
.menu__foot { color: var(--smoke); padding-bottom: max(24px, env(safe-area-inset-bottom)); }

/* ---------- Общи за секциите ---------- */
.section { padding: var(--section) 0; }

/* Етикет вляво, заглавие вдясно — като в списание */
.head {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}
.head .label { align-self: start; }

@media (min-width: 900px) {
  .head {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    margin-bottom: 112px;
  }
  .head .label { grid-column: 1 / 4; padding-top: 1.4em; }
  .head .display { grid-column: 4 / 13; }
}

/* ---------- 2. Начало ---------- */
.hero { padding: 20px 0 64px; }
.hero__grid { display: grid; }

.hero__meta {
  display: flex;
  justify-content: space-between;
  color: var(--smoke);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero__meta > span:first-child { display: inline-flex; align-items: center; gap: 10px; }

.hero__title { margin-top: 44px; font-size: clamp(44px, 12.2vw, 136px); }
.hero__title span { display: block; }

.hero__lead {
  margin-top: 24px;
  max-width: 32ch;
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.6;
}

/* Три малки видеа — колаж вдясно */
.hero__reel {
  justify-self: end;
  width: 72%;
  max-width: 320px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
  padding-bottom: 20px;
}
.hero__reel .media { border-radius: 6px; }
.hero__reel .media:nth-child(2) { transform: translateY(20px); }
.hero__reel .media:nth-child(3) { transform: translateY(-10px); }
.hero__reel .media__ph { font-size: 18px; left: 8px; bottom: 4px; }

.hero__scroll { color: var(--smoke); justify-self: start; margin-top: 24px; }

@media (min-width: 900px) {
  .hero { padding: 32px 0 96px; }
  .hero__grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    align-items: end;
  }
  .hero__meta { grid-column: 1 / -1; }
  .hero__title { grid-column: 1 / 11; margin-top: 96px; }
  .hero__lead { grid-column: 1 / 5; grid-row: 3; margin-top: 48px; font-size: 17px; }
  .hero__reel {
    grid-column: 9 / 13; grid-row: 3 / 5;
    width: 100%; max-width: 400px;
    margin-top: 0;
    gap: 12px;
    padding-bottom: 24px;
  }
  .hero__reel .media:nth-child(2) { transform: translateY(32px); }
  .hero__reel .media:nth-child(3) { transform: translateY(-16px); }
  .hero__reel .media__ph { font-size: 24px; }
  .hero__scroll { grid-column: 1 / 4; grid-row: 4; margin-top: 64px; }
}

/* ---------- Видео плочки (общо) ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: var(--lilac);
  isolation: isolate;
}

/* Празен правоъгълник с номер, докато няма видео */
.media__ph {
  position: absolute;
  left: 12px; bottom: 6px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1;
  color: var(--plum);
  opacity: .5;
  transition: opacity .6s var(--ease);
}

.media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.media.is-ready video { opacity: 1; }
.media.is-ready .media__ph { opacity: 0; }

/* Плочката става „кликаема“ само когато има видео */
button.media { cursor: default; }
button.media.is-ready { cursor: pointer; }
@media (hover: hover) {
  button.media.is-ready video { transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
  button.media.is-ready:hover video { transform: scale(1.03); }
}

/* ---------- 3. Лента ---------- */
.ticker {
  background: var(--plum);
  color: var(--pearl);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0 18px;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 80s linear infinite;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -.005em;
}
.ticker__track i {
  display: inline-block;
  width: 5px; height: 5px;
  margin: 0 28px;
  border-radius: 50%;
  background: var(--lilac);
  vertical-align: middle;
}
@media (min-width: 900px) {
  .ticker { padding: 20px 0 22px; }
  .ticker__track { font-size: 30px; }
  .ticker__track i { margin: 0 40px; }
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Кратко представяне ---------- */
.about { padding: var(--section) 0 0; }
.about__grid { display: grid; gap: 20px; }
.about__text {
  font-family: var(--f-serif);
  font-size: clamp(26px, 6.6vw, 50px);
  line-height: 1.22;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.about__text em { font-style: italic; color: var(--plum); }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .about__grid .label { grid-column: 1 / 4; padding-top: 1.2em; align-self: start; }
  .about__text { grid-column: 4 / 12; }
}

/* ---------- Част от нашите клиенти (движеща се лента с логата) ---------- */
.clients { padding-top: calc(var(--section) * .8); }
.clients__head { margin-bottom: 22px; }
.clients__band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.clients__track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.clients__band:hover .clients__track { animation-play-state: paused; }
.clients__group {
  display: flex;
  align-items: center;
  flex: none;
}
.clients__group i {
  flex: none;
  width: 5px; height: 5px;
  margin: 0 40px;
  border-radius: 50%;
  background: var(--plum);
  opacity: .5;
}
.client {
  flex: none;
  width: auto;
  max-width: none;
  filter: grayscale(1);
  opacity: .88;
  transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.client:hover { filter: none; opacity: 1; }
.client--noire { height: 22px; }
.client--cazanova { height: 64px; }

@media (min-width: 900px) {
  .clients__head { margin-bottom: 28px; }
  .clients__band { padding: 40px 0; }
  .clients__track { animation-duration: 48s; }
  .clients__group i { margin: 0 72px; }
  .client--noire { height: 34px; }
  .client--cazanova { height: 96px; }
}

/* ---------- 4. Работа ----------
   Три видеа една до друга (и на телефон, и на компютър). */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: start;
}
.item:nth-child(2) { transform: translateY(28px); }
.item figcaption {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--smoke);
}
.item__meta { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.item figcaption .mono { font-size: 9px; letter-spacing: .12em; }
.item figcaption .mono:first-child { color: var(--plum); }
.item__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.3;
  color: var(--night);
}

.work__note {
  margin-top: 56px;
  max-width: 34ch;
  color: var(--smoke);
  font-size: 14px;
}

@media (min-width: 900px) {
  .work__body {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    align-items: start;
  }
  .work__note {
    grid-column: 1 / 5; grid-row: 1;
    position: sticky; top: calc(var(--nav-h) + 40px);
    margin-top: 0;
    max-width: 28ch;
    font-size: 15px;
  }
  .grid {
    grid-column: 7 / 13; grid-row: 1;
    column-gap: var(--gap);
    padding-bottom: 56px;
  }
  .item:nth-child(2) { transform: translateY(56px); }
  .item figcaption { margin-top: 16px; padding-top: 12px; gap: 8px; }
  .item figcaption .mono { font-size: 10px; letter-spacing: .16em; }
  .item__title { font-size: 17px; }
}

/* ---------- 5. Подход ---------- */
.principles { border-bottom: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 8px;
  row-gap: 12px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}
.principle__num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  color: var(--plum);
}
.principle__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.principle__text {
  grid-column: 2;
  color: var(--smoke);
  max-width: 42ch;
  font-size: 15px;
}

@media (min-width: 900px) {
  .principle {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    padding: 48px 0 52px;
    align-items: baseline;
  }
  .principle__num { grid-column: 1 / 4; font-size: 44px; }
  .principle__title { grid-column: 4 / 9; font-size: 40px; padding-right: 24px; }
  .principle__text { grid-column: 9 / 13; font-size: 16px; }
}

/* ---------- Услуги ---------- */
.services { border-top: 1px solid var(--line); }

.services__list { border-bottom: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 8px;
  row-gap: 14px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}
.service__num { color: var(--plum); padding-top: .9em; font-size: 10px; }
.service__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.service__text {
  grid-column: 2;
  color: var(--smoke);
  font-size: 17px;
  line-height: 1.6;
  max-width: 36ch;
}
.service__plus { color: var(--plum); font-style: italic; font-weight: 300; }

@media (min-width: 900px) {
  .service {
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gap);
    padding: 48px 0 56px;
    align-items: baseline;
  }
  .service__num { grid-column: 1 / 4; padding-top: 0; }
  .service__title { grid-column: 4 / 8; font-size: 40px; padding-right: 24px; }
  .service__text { grid-column: 8 / 13; font-size: 19px; }
}

/* ---------- Воден знак VYBE върху видеата ---------- */
.wm {
  position: absolute;
  top: 9px; left: 10px;
  z-index: 2;
  font-family: var(--f-logo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--pearl);
  opacity: .9;
  text-shadow: 0 0 10px rgba(20, 16, 20, .35);
  pointer-events: none;
}
.media:not(.is-ready) .wm { color: var(--plum); opacity: .55; text-shadow: none; }
.wm--lg { top: 18px; left: 18px; font-size: 16px; }
@media (min-width: 900px) { .wm { top: 12px; left: 14px; font-size: 12px; } }

/* ---------- 7. Оферти ---------- */
.offers__list { display: grid; gap: 0; }
.offer {
  display: flex;
  flex-direction: column;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.offer__num { color: var(--plum); }
.offer__name {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.offer__desc { margin-top: 12px; color: var(--smoke); max-width: 34ch; }
.offer__incl { margin-top: 24px; }
.offer__incl li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.offer__incl li:last-child { border-bottom: 1px solid var(--line); }
.offer__price { margin-top: 24px; color: var(--night); }

@media (min-width: 900px) {
  .offers__list {
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--gap);
    margin-left: calc(var(--col) * 3 + var(--gap) * 3);
  }
  .offer { padding-right: 16px; }
  .offer__name { margin-top: 48px; font-size: 40px; }
  .offer__price { margin-top: auto; padding-top: 40px; }
}

/* ---------- 8. Процес (люляк) ---------- */
.process { border-top: 1px solid var(--line); }
.process .label { color: var(--smoke); }

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 8px;
  row-gap: 8px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--night);
}
.step .mono { color: var(--plum); padding-top: .8em; font-size: 10px; }
.step h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}
.step p { grid-column: 2; max-width: 36ch; font-size: 15px; color: var(--smoke); }

@media (min-width: 900px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: var(--gap);
  }
  .step {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 22px 24px 0 0;
  }
  .step .mono { padding-top: 0; margin-bottom: 80px; }
  .step h3 { font-size: 32px; margin-bottom: 16px; }
  .step p { grid-column: 1; font-size: 16px; }
}

/* ---------- 9. Контакт (слива) ---------- */
.contact {
  background: var(--plum);
  color: var(--pearl);
}
.contact .label { color: var(--lilac); }
.contact .label .rec { background: var(--lilac); }
.contact__title {
  margin-top: 24px;
  max-width: 14ch;
  font-size: clamp(48px, 12.4vw, 160px);
}
.contact .display em { color: var(--lilac); }

.contact__links {
  margin-top: 56px;
  display: grid;
  gap: 28px;
}
.biglink {
  position: relative;
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  justify-self: start;
}
.biglink .mono { color: var(--lilac); font-size: 10px; }
.biglink__text {
  font-family: var(--f-serif);
  font-size: clamp(26px, 7vw, 52px);
  line-height: 1.15;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.biglink::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--lilac);
  transform: scaleX(.16);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.biglink:hover::after,
.biglink:focus-visible::after { transform: scaleX(1); }

.contact__note {
  margin-top: 48px;
  max-width: 34ch;
  color: rgba(244, 241, 236, .76);
  font-size: 15px;
}

@media (min-width: 900px) {
  .contact__links,
  .contact__note { margin-left: calc(var(--col) * 5 + var(--gap) * 5); }
  .contact__links { margin-top: 104px; gap: 40px; }
  .contact__note { margin-top: 72px; font-size: 16px; }
}

/* ---------- 10. Футър ---------- */
.footer {
  background: var(--night);
  color: rgba(244, 241, 236, .6);
  overflow: hidden;
  padding-top: 48px;
}
.footer__mark {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: 34vw;
  line-height: .78;
  letter-spacing: .02em;
  text-align: center;
  color: rgba(244, 241, 236, .05);
  user-select: none;
  white-space: nowrap;
  margin-bottom: 24px;
}
.footer__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 20px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(244, 241, 236, .12);
  font-size: 10px;
}
.footer__line a:hover { color: var(--pearl); }

/* ---------- Голям изглед на видео ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--night);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 16px max(20px, env(safe-area-inset-bottom));
  animation: fade .4s var(--ease);
}
.lightbox__frame {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
}
.lightbox__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: var(--night);
}
@media (min-width: 900px) { .lightbox__frame { height: 86vh; } }
.lightbox__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--pearl);
}
@keyframes fade { from { opacity: 0; } }

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

/* Без анимации за хора, които са ги изключили */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ПРЕМИУМ ДЕТАЙЛИ
   ========================================================= */

/* ---------- Въведение с логото ---------- */
.curtain { display: none; }
.intro .curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--pearl);
  transition: transform 1.1s cubic-bezier(.76, 0, .24, 1);
}
.curtain__mark { display: grid; justify-items: center; gap: 14px; overflow: hidden; }
.curtain__word {
  font-family: var(--f-logo);
  font-weight: 400;
  font-size: clamp(64px, 18vw, 168px);
  letter-spacing: .08em;
  line-height: 1;
  color: var(--plum);
  padding-left: .08em;
  animation: rise 1s cubic-bezier(.2, .7, .2, 1) both .1s;
}
.curtain__sub {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--smoke);
  animation: fadein .8s ease-out both .6s;
}
.intro.is-lifted .curtain { transform: translateY(-100%); }
.intro.is-done .curtain { display: none; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadein { from { opacity: 0; } }

/* ---------- Заглавието излиза ред по ред ---------- */
.hero__title .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.hero__title .ln > span { display: block; }
.js .hero__title .ln > span {
  transform: translateY(108%);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.js .hero__title .ln:nth-child(2) > span { transition-delay: .09s; }
.js .hero__title .ln:nth-child(3) > span { transition-delay: .18s; }
.js .hero.is-on .hero__title .ln > span { transform: none; }

/* ---------- Видеата се „разкриват“ отдолу нагоре ---------- */
.js .media.unveil {
  clip-path: inset(100% 0 0 0 round 8px);
  transition: clip-path 1.3s cubic-bezier(.2, .7, .2, 1);
}
.js .media.unveil.is-in { clip-path: inset(0 0 0 0 round 8px); }

/* ---------- Менюто се скрива при скрол надолу ---------- */
.nav { transition: transform .5s var(--ease), border-color .4s; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-top { border-bottom-color: transparent; }

/* ---------- Кръгчето „Гледай“ ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    left: 0; top: 0;
    z-index: 70;
    width: 92px; height: 92px;
    margin: -46px 0 0 -46px;
    border-radius: 50%;
    background: var(--plum);
    color: var(--pearl);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    scale: .4;
    transition: opacity .3s var(--ease), scale .4s var(--ease);
  }
  .cursor.is-on { opacity: 1; scale: 1; }
  button.media.is-ready { cursor: none; }
}

/* ---------- Футър ---------- */
.footer__line .clock { color: var(--pearl); margin-left: 6px; font-variant-numeric: tabular-nums; }

/* Без анимации */
@media (prefers-reduced-motion: reduce) {
  .js .hero__title .ln > span { transform: none; }
  .js .media.unveil { clip-path: none; }
  .cursor { display: none !important; }
}


/* =========================================================
   ПРОДАЖБЕНА ФУНИЯ — бутони, графика, проблем, система,
   сравнение, въпроси, лента с бутон на телефона
   ========================================================= */

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

/* ---------- Бутон към Instagram ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 26px 17px;
  background: var(--plum);
  color: var(--pearl);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
  transition: background-color .35s var(--ease);
}
.cta:hover { background: var(--night); }
.cta--block { display: flex; width: 100%; }
.textlink {
  color: var(--smoke);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color .3s;
}
.textlink:hover { color: var(--night); }

@media (min-width: 900px) {
  .nav__links .nav__cta {
    margin-left: 8px;
    padding: 11px 16px 10px;
    background: var(--plum);
    color: var(--pearl);
    border-radius: 2px;
    transition: background-color .3s;
  }
  .nav__links .nav__cta::after { display: none; }
  .nav__links .nav__cta:hover { background: var(--night); }
}
.menu__foot .cta { margin-top: 8px; }

/* ---------- Начало + графиката ---------- */
.hero__text { margin-top: 40px; }
.hero__title { margin-top: 0; }
.hero__lead { max-width: 36ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 32px;
}

.engine {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--night);
}
.engine__label { color: var(--smoke); }
.engine__stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  margin-top: 24px;
}
.engine__arrow {
  width: 20px;
  color: var(--plum);
  opacity: .55;
  margin-bottom: 52px;
}
.stage__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-content: end;
}
.stage__tiles i {
  display: block;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--plum);
  border-radius: 2px;
}
.stage__tiles i.is-off { opacity: .2; }
.stage__tiles i.is-win { background: var(--plum); }
.stage .mono { margin-top: 12px; color: var(--plum); font-size: 9px; letter-spacing: .14em; }
.stage__cap { margin-top: 2px; font-family: var(--f-serif); font-size: 15px; line-height: 1.2; }
.engine__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--smoke);
  font-size: 9px;
}
.engine__legend span { display: inline-flex; align-items: center; gap: 8px; }
.engine__legend i { display: inline-block; width: 7px; height: 12px; border-radius: 1px; background: var(--plum); }

/* Анимация: тест → лилавите светват → мащабът се пълни */
.js .engine .stage__tiles i { opacity: 0; transform: translateY(6px); transition: opacity .5s ease-out, transform .5s ease-out, background-color .6s ease-out; }
.js .engine .stage:nth-of-type(2) i.is-win { background: transparent; }
.js .engine.is-on .stage__tiles i { opacity: 1; transform: none; }
.js .engine.is-on .stage__tiles i.is-off { opacity: .2; transition-delay: 1.1s !important; }
.js .engine.is-on .stage:nth-of-type(2) i.is-win { background: var(--plum); transition-delay: 1.1s !important; }

@media (min-width: 900px) {
  .hero__grid { align-items: end; }
  .hero__text { grid-column: 1 / 8; margin-top: 88px; }
  .hero__title { font-size: clamp(64px, 7vw, 116px); }
  .hero__actions { margin-top: 44px; }
  .engine { grid-column: 9 / 13; margin-top: 0; max-width: 400px; justify-self: end; width: 100%; }
  .engine__stages { gap: 14px; }
  .stage__tiles { gap: 5px; }
  .stage__cap { font-size: 17px; }
}

/* ---------- Проблемът (тъмна) ---------- */
.problem { background: var(--night); color: var(--pearl); }
.problem .label { color: var(--lilac); }
.problem .display em { color: var(--lilac); }
.rows { border-bottom: 1px solid rgba(244, 241, 236, .14); }
.row {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 8px;
  row-gap: 12px;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(244, 241, 236, .14);
}
.row__num { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 26px; line-height: 1.1; color: var(--lilac); }
.row__title { font-family: var(--f-serif); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.row__text { grid-column: 2; color: rgba(244, 241, 236, .64); font-size: 15px; max-width: 42ch; }
@media (min-width: 900px) {
  .row { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: 48px 0 52px; align-items: baseline; }
  .row__num { grid-column: 1 / 4; font-size: 44px; }
  .row__title { grid-column: 4 / 9; font-size: 40px; padding-right: 24px; }
  .row__text { grid-column: 9 / 13; font-size: 16px; }
}

/* ---------- Решението (кратко) ---------- */
.about { padding-bottom: 0; }

/* ---------- Системата ---------- */
.steps3 { border-bottom: 1px solid var(--line); }
.step3 {
  display: grid;
  gap: 10px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--night);
}
.step3__num { color: var(--plum); font-size: 10px; }
.step3 h3 { font-family: var(--f-serif); font-weight: 400; font-size: 28px; line-height: 1.12; letter-spacing: -.01em; }
.step3 p { color: var(--smoke); font-size: 15px; max-width: 38ch; }
@media (min-width: 900px) {
  .steps3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--gap);
    margin-left: calc(var(--col) * 3 + var(--gap) * 3);
    border-bottom: 0;
  }
  .step3 { padding: 22px 24px 0 0; gap: 14px; }
  .step3__num { margin-bottom: 64px; }
  .step3 h3 { font-size: 34px; }
  .step3 p { font-size: 16px; }
}

/* ---------- Защо VYBE (сравнение, тъмна) ---------- */
.compare { background: var(--night); color: var(--pearl); }
.compare .label { color: var(--lilac); }
.compare .display em { color: var(--lilac); }
.compare__table { width: 100%; border-collapse: collapse; }
.compare__table th,
.compare__table td {
  padding: 16px 6px;
  border-bottom: 1px solid rgba(244, 241, 236, .12);
  text-align: center;
  vertical-align: middle;
}
.compare__table thead th {
  padding-top: 0;
  padding-bottom: 14px;
  color: rgba(244, 241, 236, .55);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .12em;
  border-bottom-color: rgba(244, 241, 236, .3);
}
.compare__table tbody th {
  text-align: left;
  padding-left: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pearl);
}
.compare__table th:not(:first-child),
.compare__table td { width: 64px; }
.compare__table .is-us { background: var(--plum); }
.compare__table thead .is-us { padding-top: 14px; border-radius: 2px 2px 0 0; }
.compare__logo { font-family: var(--f-logo); font-size: 14px; letter-spacing: .1em; color: var(--pearl); }
.yes {
  display: inline-block;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--lilac);
  border-bottom: 1.5px solid var(--lilac);
  transform: rotate(-45deg) translate(1px, -2px);
}
.is-us .yes { border-color: var(--pearl); }
.no { display: inline-block; width: 12px; height: 1px; background: rgba(244, 241, 236, .3); vertical-align: middle; }
.maybe { font-size: 8px; letter-spacing: .08em; color: rgba(244, 241, 236, .55); }
@media (min-width: 900px) {
  .compare__wrap { margin-left: calc(var(--col) * 3 + var(--gap) * 3); }
  .compare__table th:not(:first-child),
  .compare__table td { width: 140px; }
  .compare__table th, .compare__table td { padding: 22px 12px; }
  .compare__table tbody th { font-size: 17px; padding-left: 0; }
  .compare__table thead th { font-size: 10px; letter-spacing: .18em; }
  .compare__logo { font-size: 18px; }
  .maybe { font-size: 10px; }
}

/* ---------- Въпроси ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__list { border-bottom: 1px solid var(--line); }
.qa { border-top: 1px solid var(--line); }
.qa summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--f-serif);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: 28px;
  color: var(--plum);
  transition: transform .4s var(--ease);
}
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 44px 26px 0; color: var(--smoke); font-size: 15px; max-width: 60ch; }
@media (min-width: 900px) {
  .faq__list { margin-left: calc(var(--col) * 3 + var(--gap) * 3); }
  .qa summary { font-size: 28px; padding: 30px 60px 30px 0; }
  .qa p { font-size: 17px; padding-bottom: 34px; }
}

/* ---------- Контакт: 3 стъпки ---------- */
.contact__steps { margin-top: 48px; max-width: 520px; }
.contact__steps li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 241, 236, .2);
  font-size: 16px;
}
.contact__steps li:last-child { border-bottom: 1px solid rgba(244, 241, 236, .2); }
.contact__steps .mono { color: var(--lilac); font-size: 10px; }
@media (min-width: 900px) {
  .contact__steps { margin-left: calc(var(--col) * 5 + var(--gap) * 5); margin-top: 72px; }
  .contact__steps li { font-size: 17px; padding: 16px 0; }
}

/* ---------- Бутон долу на телефона ---------- */
.mcta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  background: var(--pearl);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.mcta.is-on { transform: none; }
@media (min-width: 900px) { .mcta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .engine .stage__tiles i { opacity: 1; transform: none; }
  .js .engine .stage__tiles i.is-off { opacity: .2; }
  .js .engine .stage:nth-of-type(2) i.is-win { background: var(--plum); }
}
