/* Шарен свят — демонстрационен макет на сегмент "детски аниматори".
   Самостоятелна визуална система, не споделя токени с основния сайт на
   МастерСайт: тук е сайтът на измисления клиент, не на нас. */

@font-face {
  font-family: 'CD Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../../assets/fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'CD Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'CD Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'CD Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'CD PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/ptserif-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'CD PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/ptserif-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'CD PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/ptserif-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'CD PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/ptserif-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FFF9F0;
  --yellow: #FFD84D;
  --coral: #FF6B6B;
  --pink: #FF9BC8;
  --blue: #65C7F7;
  --violet: #9B7BFF;
  --mint: #72D6B0;
  --ink: #252238;
  --ink-soft: rgba(37, 34, 56, 0.68);
  --ink-faint: rgba(37, 34, 56, 0.46);
  --surface: #FFFFFF;

  --font-display: 'CD Montserrat', system-ui, sans-serif;
  --font-body: 'CD Manrope', system-ui, sans-serif;
  --font-serif: 'CD PT Serif', Georgia, serif;

  --container: 1220px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-card: 0 18px 40px rgba(37, 34, 56, 0.10);
  --shadow-card-hover: 0 26px 54px rgba(37, 34, 56, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Sticky хедърът е ~85px и полупрозрачен — без това всеки анкор-преход
   (навигация, "Разгледайте програмите" и т.н.) кацаше със заглавието наполовина
   скрито под него. Намерено визуално при проверка на секция "Шоу". */
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: rgba(37, 34, 56, 0.06);
  color: var(--ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }

/* isolation: isolate — задължително тук, не козметика. position:relative
   без собствен z-index НЕ създава stacking context: децата с z-index:-1
   (звезди, фойерверки, дъга, кляксите) без него "изтичат" до кореновия
   stacking context и се рисуват ПОД фона на собствената си секция, а не
   само под нейния текст. При плътен фон (.shows) това ги правеше напълно
   невидими — намерено при обратна връзка на потребителя. */
.section { position: relative; isolation: isolate; padding: 5.5rem 0; overflow: hidden; }
.section--tight { padding: 4rem 0; }
.section-head { max-width: 640px; margin: 0 0 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 3rem); line-height: 1.08; }
.section-lead { margin: 1rem 0 0; font-size: 1.08rem; color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px rgba(255, 107, 107, 0.38); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 107, 107, 0.44); }
.btn--ghost { background: transparent; border-color: rgba(37, 34, 56, 0.22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--on-dark { border-color: rgba(255, 249, 240, 0.4); color: var(--cream); }
.btn--on-dark:hover { border-color: var(--cream); }
.btn--block { width: 100%; }

/* ---------- decorative blobs (shared symbols, reused via <use>) ---------- */
.blob-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
}
.blob--soft { filter: blur(30px); opacity: 0.55; }
.blob--softer { filter: blur(46px); opacity: 0.45; }

/* Именувани позиции на клякси — по едно приложение всяка, но изнесени тук,
   защото CSP (site/_headers) забранява style-src извън собствени файлове. */
.blob--hero-1 { width: 520px; height: 520px; left: -160px; top: -80px; color: var(--violet); }
.blob--hero-2 { width: 360px; height: 360px; right: -100px; bottom: -60px; color: var(--coral); }
.blob--idea { width: 300px; height: 300px; left: 60%; top: -40px; color: var(--mint); }
.blob--process { width: 280px; height: 280px; right: 5%; top: 10%; color: var(--blue); }
.blob--cta-1 { width: 420px; height: 420px; left: -100px; top: -80px; color: var(--pink); }
.blob--cta-2 { width: 380px; height: 380px; right: -90px; bottom: -100px; color: var(--yellow); }
.blob--cta-3 { width: 300px; height: 300px; left: 38%; bottom: -140px; color: var(--violet); }

/* Цветови акценти за карти-героини, шоу и кейсове — общ комплект от шест
   класа вместо инлайн `--card-accent`, преизползван от трите компонента. */
.accent-yellow { --card-accent: var(--yellow); }
.accent-coral { --card-accent: var(--coral); }
.accent-pink { --card-accent: var(--pink); }
.accent-blue { --card-accent: var(--blue); }
.accent-violet { --card-accent: var(--violet); }
.accent-mint { --card-accent: var(--mint); }

.testimonial-splash {
  position: absolute;
  width: 640px;
  right: -140px;
  top: -60px;
  opacity: 0.28;
  filter: blur(18px);
  z-index: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 240, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 34, 56, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 24px rgba(37, 34, 56, 0.08); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  transition: padding 0.25s ease;
}
.site-header.is-scrolled .site-header__bar { padding: 0.7rem 0; }

.site-header__brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }

/* "Шарен" = "пъстър/цветен" на български — логото трябваше да е точно
   обратното на скучно черно. Градиент през целия word-mark вместо плосък
   цвят; -webkit-text-fill-color покрива по-старите webkit версии, при
   които само background-clip:text не стига. */
.site-header__logo,
.site-footer__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, var(--coral) 0%, var(--yellow) 25%, var(--mint) 48%, var(--blue) 68%, var(--violet) 88%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.site-header__tagline {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 0.3rem;
  font-weight: 700;
}

.site-nav { display: none; }
.site-nav__link {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.4em 0;
  position: relative;
}
.site-nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-header__cta { display: none; }
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(37, 34, 56, 0.16);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--cream);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(37,34,56,0.16); background: var(--surface); font-size: 1.3rem; cursor: pointer; }
.mobile-menu__links { list-style: none; margin: 2.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu__links a { text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); }
.mobile-menu .btn { margin-top: auto; }

@media (min-width: 900px) {
  .site-nav { display: flex; gap: 2rem; align-items: center; }
  .site-header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 6rem; position: relative; isolation: isolate; overflow: hidden; }
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.4rem, 1.7rem + 3vw, 4.2rem); line-height: 1.03; margin-top: 0.6rem; }
.hero__title em { font-style: normal; color: var(--coral); }
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin: 1.4rem 0 0; }
.hero__sub { font-size: 0.98rem; color: var(--ink-faint); max-width: 48ch; margin: 0.8rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero__visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(37,34,56,0) 40%, rgba(20,10,40,0.55) 100%);
}
.hero__visual-tag {
  position: absolute;
  left: 1.4rem; bottom: 1.4rem; z-index: 2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; gap: 0.6em;
}
.hero__visual-tag::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--yellow); }

/* ---------- пъзел-разкриване на hero снимката ----------
   Чиста CSS анимация (не JS): всяко парче е самата снимка като фон,
   изрязана до 1/16 чрез background-position/size — играе автоматично при
   рендиране, независимо дали JS въобще се е заредил. При
   prefers-reduced-motion глобалният превключвател по-горе вкарва
   animation-duration: 0.001ms и всичко каца директно в крайното
   (разкрито) състояние — без отделна грижа тук. */
.puzzle { position: absolute; inset: 0; z-index: 1; }
.puzzle__piece {
  position: absolute;
  width: 25%; height: 25%;
  background-image: url('img/fireworks-color.jpeg');
  background-size: 400% 400%;
  outline: 2px solid var(--cream);
  animation: puzzle-reveal 2.4s ease-out both;
}
@keyframes puzzle-reveal {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.7) rotate(var(--piece-rot, 10deg)); }
}
.puzzle__piece:nth-child(1)  { left: 0%;  top: 0%;  background-position: 0% 0%;         --piece-rot: -8deg;  animation-delay: 0.92s; }
.puzzle__piece:nth-child(2)  { left: 25%; top: 0%;  background-position: 33.333% 0%;     --piece-rot: 9deg;   animation-delay: 0.23s; }
.puzzle__piece:nth-child(3)  { left: 50%; top: 0%;  background-position: 66.667% 0%;     --piece-rot: -11deg; animation-delay: 1.61s; }
.puzzle__piece:nth-child(4)  { left: 75%; top: 0%;  background-position: 100% 0%;        --piece-rot: 7deg;   animation-delay: 0.69s; }
.puzzle__piece:nth-child(5)  { left: 0%;  top: 25%; background-position: 0% 33.333%;     --piece-rot: 10deg;  animation-delay: 1.38s; }
.puzzle__piece:nth-child(6)  { left: 25%; top: 25%; background-position: 33.333% 33.333%; --piece-rot: -7deg; animation-delay: 0.46s; }
.puzzle__piece:nth-child(7)  { left: 50%; top: 25%; background-position: 66.667% 33.333%; --piece-rot: 12deg; animation-delay: 1.84s; }
.puzzle__piece:nth-child(8)  { left: 75%; top: 25%; background-position: 100% 33.333%;    --piece-rot: -9deg; animation-delay: 0s; }
.puzzle__piece:nth-child(9)  { left: 0%;  top: 50%; background-position: 0% 66.667%;      --piece-rot: -10deg; animation-delay: 1.15s; }
.puzzle__piece:nth-child(10) { left: 25%; top: 50%; background-position: 33.333% 66.667%; --piece-rot: 8deg;  animation-delay: 2.07s; }
.puzzle__piece:nth-child(11) { left: 50%; top: 50%; background-position: 66.667% 66.667%; --piece-rot: -12deg; animation-delay: 0.37s; }
.puzzle__piece:nth-child(12) { left: 75%; top: 50%; background-position: 100% 66.667%;    --piece-rot: 6deg;  animation-delay: 1.52s; }
.puzzle__piece:nth-child(13) { left: 0%;  top: 75%; background-position: 0% 100%;         --piece-rot: 9deg;  animation-delay: 0.83s; }
.puzzle__piece:nth-child(14) { left: 25%; top: 75%; background-position: 33.333% 100%;    --piece-rot: -6deg; animation-delay: 2.21s; }
.puzzle__piece:nth-child(15) { left: 50%; top: 75%; background-position: 66.667% 100%;    --piece-rot: 11deg; animation-delay: 1.29s; }
.puzzle__piece:nth-child(16) { left: 75%; top: 75%; background-position: 100% 100%;       --piece-rot: -8deg; animation-delay: 0.55s; }

@media (min-width: 860px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- steps (idea → surprise) ---------- */
.steps__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative;
  z-index: 1;
}
.step-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.step-card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--mint);
  letter-spacing: 0.06em;
}
.step-card__title { font-size: 1.2rem; margin-top: 0.6rem; }
.step-card__text { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- advantages ---------- */
.advantages__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative; z-index: 1;
}
.advantage {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(37, 34, 56, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.advantage:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.advantage__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 107, 107, 0.14); color: var(--coral);
  margin-bottom: 1.1rem;
}
.advantage__icon svg { width: 26px; height: 26px; }
.advantage h3 { font-size: 1.12rem; }
.advantage p { margin: 0.55rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- occasion cards ---------- */
.occasions__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  position: relative; z-index: 1;
}
.occasion-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.occasion-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-card-hover); }
.occasion-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.occasion-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(37,34,56,0) 35%, rgba(20,14,36,0.82) 100%);
  z-index: 1;
}
.occasion-card__body { position: relative; z-index: 2; padding: 1.6rem; color: #fff; }
.occasion-card__title { font-size: 1.3rem; color: #fff; }
.occasion-card__text { margin: 0.5rem 0 0; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.occasion-card__link {
  display: inline-flex; align-items: center; gap: 0.4em;
  margin-top: 1rem; font-weight: 800; font-size: 0.88rem; color: var(--yellow);
}

/* ---------- character cast cards (signature) ---------- */
.cast { background: var(--surface); }
.cast__grid {
  display: grid;
  gap: 2.6rem 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative; z-index: 1;
}
.cast-card {
  position: relative;
  background: var(--cream);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 2.2rem 1.6rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 0 rgba(37,34,56,0.03);
}
.cast-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 16px;
  background-image: radial-gradient(circle at 12px 0, var(--surface) 10px, transparent 10.5px);
  background-size: 24px 16px;
  background-repeat: repeat-x;
  background-position: center top;
}
.cast-card::after {
  content: "";
  position: absolute; top: 16px; left: 0; right: 0; bottom: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 20px 40px rgba(37,34,56,0.12);
  z-index: -1;
}
.cast-card:nth-child(odd) { transform: rotate(-1.1deg); }
.cast-card:nth-child(even) { transform: rotate(1.1deg); }
.cast-card:hover { transform: translateY(-6px) rotate(0deg); }

.cast-card__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-accent, var(--coral));
  margin-bottom: 0.7rem;
}
.cast-card__badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-accent, var(--coral));
  color: #fff;
  margin-bottom: 1rem;
}
.cast-card__badge svg { width: 32px; height: 32px; }
.cast-card__name { font-size: 1.3rem; }
.cast-card__bio { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- shows (dark band) ---------- */
.shows {
  background: var(--ink);
  color: var(--cream);
}
.shows .section-title { color: var(--cream); }
.shows .section-lead { color: rgba(255, 249, 240, 0.68); }
.shows .eyebrow { background: rgba(255, 249, 240, 0.12); color: var(--cream); }
.shows__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  position: relative; z-index: 1;
}
.show-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 249, 240, 0.05);
  border: 1px solid rgba(255, 249, 240, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}
.show-card:hover { transform: translateY(-4px); background: rgba(255, 249, 240, 0.09); }
.show-card__title { font-size: 1.12rem; color: var(--cream); display: flex; align-items: center; gap: 0.6em; }
.show-card__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--card-accent, var(--yellow)); flex: none; }
.show-card__text { margin: 0.7rem 0 0; font-size: 0.93rem; color: rgba(255, 249, 240, 0.62); }

/* ---------- workshops ---------- */
.workshops__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative; z-index: 1;
}
.workshop-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border-top: 5px solid var(--pink);
}
.workshop-card h3 { font-size: 1.08rem; }
.workshop-card p { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- concepts ---------- */
.concepts__grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  position: relative; z-index: 1;
}
.concept-card {
  padding: 1.5rem 1.5rem 1.7rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(155,123,255,0.08), rgba(255,155,200,0.08));
  border: 1px solid rgba(37,34,56,0.08);
}
.concept-card h3 { font-size: 1.08rem; }
.concept-card p { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.concept-card--cta {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  background: var(--violet); color: #fff;
}
.concept-card--cta p { color: rgba(255,255,255,0.82); }
.concept-card--cta .btn { margin-top: 1.1rem; }

/* ---------- services ---------- */
.services__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  position: relative; z-index: 1;
}
.service-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid rgba(37,34,56,0.07);
}
.service-item__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(101, 199, 247, 0.16); color: var(--blue);
}
.service-item__icon svg { width: 20px; height: 20px; }
.service-item span:last-child { font-weight: 700; font-size: 0.92rem; }

/* ---------- locations ---------- */
.locations__grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  position: relative; z-index: 1;
}
.location-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.location-card__icon { color: var(--mint); margin-bottom: 0.8rem; }
.location-card__icon svg { width: 28px; height: 28px; }
.location-card h3 { font-size: 1.02rem; }
.location-card p { margin: 0.5rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- gallery ---------- */
.gallery { background: var(--surface); }
.gallery__grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  position: relative; z-index: 1;
}
.gallery__caption--a { background: rgba(255, 216, 77, 0.28); }
.gallery__caption--b { background: rgba(255, 155, 200, 0.28); }
.gallery__caption--c { background: rgba(101, 199, 247, 0.28); }
.gallery__caption--d { background: rgba(114, 214, 176, 0.28); }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__caption {
  position: relative;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem;
  color: var(--ink);
}
@media (max-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item--wide { grid-column: span 2; }
}

/* ---------- process ---------- */
.process__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1.2rem;
  position: relative; z-index: 1;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.process-step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--coral);
}
.process-step h3 { font-size: 1.08rem; }
.process-step p { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 0.94rem; }
@media (min-width: 760px) {
  .process__list { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .process-step { grid-template-columns: none; text-align: left; }
}

/* ---------- cases ---------- */
.cases__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  position: relative; z-index: 1;
}
.case-card {
  padding: 1.9rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--card-accent, var(--violet));
}
.case-card__title { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--card-accent, var(--violet)); }
.case-card p { margin: 0.7rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- testimonials ---------- */
.testimonials { position: relative; overflow: hidden; }
.quotes__grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  position: relative; z-index: 1;
}
.quote {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.18rem; line-height: 1.5; margin: 0; color: var(--ink); }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-weight: 800; font-size: 0.86rem; color: var(--ink-faint); }

/* ---------- trust (calmer) ---------- */
.trust {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(114,214,176,0.10) 20%, rgba(114,214,176,0.10) 80%, transparent 100%);
  padding: 4.2rem 0;
}
.trust__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.trust .section-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.trust p { color: var(--ink-soft); font-size: 1rem; margin: 1rem 0 0; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.faq-item { border-bottom: 1px solid rgba(37,34,56,0.12); }
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; position: relative; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 12px; transition: transform 0.2s ease; }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item__a { margin: 0 0 1.4rem; color: var(--ink-soft); font-size: 0.96rem; max-width: 62ch; }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0;
  text-align: center;
}
.final-cta__inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.final-cta .section-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.final-cta p { color: var(--ink-soft); font-size: 1.05rem; margin: 1.1rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 3.6rem 0 2rem; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.site-footer__tag { margin: 0.6rem 0 0; color: rgba(255,249,240,0.6); font-size: 0.92rem; max-width: 30ch; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; }
.site-footer__nav a { text-decoration: none; color: rgba(255,249,240,0.75); font-weight: 700; font-size: 0.92rem; }
.site-footer__nav a:hover { color: var(--cream); }
.site-footer__bottom {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,249,240,0.14);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,249,240,0.5);
}
.site-footer__services { margin: 0; }
.demo-flag {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.9em; border-radius: 999px;
  background: rgba(255,249,240,0.08);
  color: rgba(255,249,240,0.7);
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 480px) {
  .section { padding: 3.6rem 0; }
  .wrap { padding: 0 1.1rem; }
}

/* ---------- back-to-main-site (плаващо копче, извън хедъра) ----------
   position: fixed спрямо viewport-а — остава на едно и също място при
   скрол на страницата, не се движи с документа. z-index по-висок от
   .mobile-menu (50), за да работи дори при отворено меню. */
.back-home {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 1em;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.84rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.back-home:hover { background: var(--cream); color: var(--ink); transform: translateY(-1px); }
@media (max-width: 640px) {
  .back-home__label { display: none; }
  .back-home { padding: 0.65em; }
}

/* ---------- поправка: concept-card--cta (бутонът не се побираше в
   картата). Първи опит (stretch) само прикриваше симптома — истинската
   причина е недостатъчна ширина за текст с тази дължина. Решение по
   обратна връзка на потребителя: картата взима две колони от грида, не
   една — с двойна ширина текстът и бутонът се побират естествено. */
.concept-card { min-width: 0; }
.concept-card--cta { grid-column: span 2; }

/* ---------- разнообразие от цветове по позиция, вместо един цвят навсякъде ---------- */
.advantage:nth-child(5n+1) .advantage__icon { background: rgba(255, 107, 107, 0.14); color: var(--coral); }
.advantage:nth-child(5n+2) .advantage__icon { background: rgba(155, 123, 255, 0.14); color: var(--violet); }
.advantage:nth-child(5n+3) .advantage__icon { background: rgba(101, 199, 247, 0.16); color: var(--blue); }
.advantage:nth-child(5n+4) .advantage__icon { background: rgba(114, 214, 176, 0.16); color: var(--mint); }
.advantage:nth-child(5n+5) .advantage__icon { background: rgba(255, 155, 200, 0.16); color: var(--pink); }

.step-card:nth-child(4n+1) .step-card__num { color: var(--coral); }
.step-card:nth-child(4n+2) .step-card__num { color: var(--blue); }
.step-card:nth-child(4n+3) .step-card__num { color: var(--violet); }
.step-card:nth-child(4n+4) .step-card__num { color: var(--mint); }

.workshop-card:nth-child(6n+1) { border-top-color: var(--pink); }
.workshop-card:nth-child(6n+2) { border-top-color: var(--yellow); }
.workshop-card:nth-child(6n+3) { border-top-color: var(--blue); }
.workshop-card:nth-child(6n+4) { border-top-color: var(--coral); }
.workshop-card:nth-child(6n+5) { border-top-color: var(--violet); }
.workshop-card:nth-child(6n+6) { border-top-color: var(--mint); }

.service-item:nth-child(5n+1) .service-item__icon { background: rgba(101, 199, 247, 0.16); color: var(--blue); }
.service-item:nth-child(5n+2) .service-item__icon { background: rgba(255, 107, 107, 0.14); color: var(--coral); }
.service-item:nth-child(5n+3) .service-item__icon { background: rgba(155, 123, 255, 0.14); color: var(--violet); }
.service-item:nth-child(5n+4) .service-item__icon { background: rgba(114, 214, 176, 0.16); color: var(--mint); }
.service-item:nth-child(5n+5) .service-item__icon { background: rgba(255, 155, 200, 0.16); color: var(--pink); }

.location-card:nth-child(5n+1) .location-card__icon { color: var(--mint); }
.location-card:nth-child(5n+2) .location-card__icon { color: var(--coral); }
.location-card:nth-child(5n+3) .location-card__icon { color: var(--blue); }
.location-card:nth-child(5n+4) .location-card__icon { color: var(--violet); }
.location-card:nth-child(5n+5) .location-card__icon { color: var(--pink); }

.concept-card:nth-child(5n+1):not(.concept-card--cta) { background: linear-gradient(160deg, rgba(255,107,107,0.10), rgba(255,216,77,0.10)); }
.concept-card:nth-child(5n+2):not(.concept-card--cta) { background: linear-gradient(160deg, rgba(101,199,247,0.10), rgba(114,214,176,0.10)); }
.concept-card:nth-child(5n+3):not(.concept-card--cta) { background: linear-gradient(160deg, rgba(155,123,255,0.10), rgba(255,155,200,0.10)); }
.concept-card:nth-child(5n+4):not(.concept-card--cta) { background: linear-gradient(160deg, rgba(255,216,77,0.10), rgba(114,214,176,0.10)); }
.concept-card:nth-child(5n+5):not(.concept-card--cta) { background: linear-gradient(160deg, rgba(255,155,200,0.10), rgba(101,199,247,0.10)); }

/* Меки цветни "измивания" по секция. Форма "хълм" (прозрачно → пик в
   средата → прозрачно), не "стена" (плътно от 0% → прозрачно). Стената
   означаваше, че всяка секция стартира на пълен цвят точно на границата
   със съседната, която вече е избледняла до прозрачно — оттам рязкият
   срез, който потребителят видя. С хълм двете страни на всяка граница се
   срещат близо до прозрачно и преходът излиза мек. */
.steps { background: linear-gradient(180deg, transparent 0%, rgba(114,214,176,0.08) 40%, transparent 100%); }
.advantages { background: linear-gradient(180deg, transparent 0%, rgba(255,107,107,0.07) 40%, transparent 100%); }
.workshops { background: linear-gradient(180deg, transparent 0%, rgba(255,155,200,0.09) 40%, transparent 100%); }
.services { background: linear-gradient(180deg, transparent 0%, rgba(101,199,247,0.08) 40%, transparent 100%); }
.locations { background: linear-gradient(180deg, transparent 0%, rgba(114,214,176,0.09) 40%, transparent 100%); }
.concepts { background: linear-gradient(180deg, transparent 0%, rgba(155,123,255,0.07) 40%, transparent 100%); }
#process { background: linear-gradient(180deg, transparent 0%, rgba(255,107,107,0.07) 40%, transparent 100%); }
.cases { background: linear-gradient(180deg, transparent 0%, rgba(255,216,77,0.09) 40%, transparent 100%); }
#faq { background: linear-gradient(180deg, transparent 0%, rgba(255,216,77,0.07) 40%, transparent 100%); }

/* ---------- цветна клякса-лента (splash-ribbon.png / top1.png), остра, не
   размазана — самата клякса, не фон зад цитат. z-index: -1 гарантира, че
   каквото и да прави съдържанието на секцията, декорацията остава зад
   него: отрицателният z-index винаги рисува преди статичния поток в
   същия stacking context, независимо дали конкретен наследник има свой
   z-index. ---------- */
.section-splash { position: absolute; z-index: -1; pointer-events: none; }
.section-splash--advantages { width: 220px; top: -36px; right: 4%; transform: rotate(10deg); opacity: 0.92; }
.section-splash--workshops { width: 200px; bottom: -34px; left: 3%; transform: rotate(-14deg); opacity: 0.85; }
.section-splash--cta { width: 260px; top: -50px; left: 6%; transform: rotate(-8deg); opacity: 0.6; }
@media (max-width: 640px) {
  .section-splash--advantages, .section-splash--workshops { width: 140px; }
}

/* ---------- звезден прах — по едно поле във всяка светла секция ----------
   Пиковата плътност е по-ниска (0.5, не 0.85), защото слоят лежи НАД
   съдържанието (z-index: 3), не скрит зад фона на секцията — на пълна
   плътност би пречил на четенето. */
@keyframes star-twinkle {
  0%, 100% { opacity: 0; transform: translateY(4px) scale(0.6) rotate(0deg); }
  50% { opacity: 0.5; transform: translateY(-6px) scale(1) rotate(20deg); }
}
/* position: absolute спрямо секцията (не fixed спрямо viewport-а) — звездите
   мерцаят само докато конкретната секция е на екрана, не навсякъде
   едновременно. Секцията вече носи position: relative + overflow: hidden
   (базовият .section, или собствени правила за .hero/.final-cta), затова
   полето се позиционира и подрязва спрямо нея без допълнителни промени. */
.stars { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stars__item {
  position: absolute;
  width: 26px; height: 26px;
  fill: currentColor;
  opacity: 0;
  animation: star-twinkle 5s ease-in-out infinite;
}
.stars__item:nth-child(1)  { top: 8%;  left: 4%;  color: var(--coral);  animation-delay: 0s; }
.stars__item:nth-child(2)  { top: 15%; left: 94%; color: var(--blue);   animation-delay: 0.8s; width: 20px; height: 20px; }
.stars__item:nth-child(3)  { top: 35%; left: 2%;  color: var(--yellow); animation-delay: 1.6s; width: 24px; height: 24px; }
.stars__item:nth-child(4)  { top: 42%; left: 96%; color: var(--violet); animation-delay: 2.4s; width: 22px; height: 22px; }
.stars__item:nth-child(5)  { top: 60%; left: 5%;  color: var(--mint);   animation-delay: 3.2s; width: 24px; height: 24px; }
.stars__item:nth-child(6)  { top: 68%; left: 93%; color: var(--pink);   animation-delay: 0.4s; width: 24px; height: 24px; }
.stars__item:nth-child(7)  { top: 80%; left: 3%;  color: var(--coral);  animation-delay: 1.2s; width: 20px; height: 20px; }
.stars__item:nth-child(8)  { top: 88%; left: 95%; color: var(--mint);   animation-delay: 2s;   width: 22px; height: 22px; }
.stars__item:nth-child(9)  { top: 25%; left: 50%; color: var(--yellow); animation-delay: 2.8s; width: 18px; height: 18px; }
.stars__item:nth-child(10) { top: 52%; left: 48%; color: var(--blue);   animation-delay: 3.6s; width: 18px; height: 18px; }
.stars__item:nth-child(11) { top: 10%; left: 62%; color: var(--pink);   animation-delay: 0.6s; width: 20px; height: 20px; }
.stars__item:nth-child(12) { top: 75%; left: 38%; color: var(--violet); animation-delay: 1.9s; width: 20px; height: 20px; }

/* ---------- фойерверки — само в секцията за шоу, тъмния фон им отива най-много ---------- */
@keyframes burst-pulse {
  0% { opacity: 0; transform: scale(0.5); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.2); }
}
.fireworks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fireworks__burst { position: absolute; width: 150px; height: 150px; animation: burst-pulse 3.2s ease-out infinite; }
.fireworks__burst:nth-child(1) { top: 6%; left: 10%; color: var(--yellow); animation-delay: 0s; }
.fireworks__burst:nth-child(2) { top: 58%; left: 78%; color: var(--coral); width: 120px; height: 120px; animation-delay: 1.1s; }
.fireworks__burst:nth-child(3) { top: 24%; left: 86%; color: var(--mint); width: 100px; height: 100px; animation-delay: 2.1s; }
.fireworks__burst:nth-child(4) { top: 74%; left: 4%; color: var(--pink); width: 110px; height: 110px; animation-delay: 1.6s; }

/* ---------- дъга, която се "дорисува" при скрол — окачена над картите
   на "Идея", не в ъгъла. `<use>` НЕ работи тук: браузърът инстанцира
   съдържанието на symbol в отделно "shadow" дърво, което CSS от външен
   селектор (.rainbow path) не вижда — затова дъгата стоеше статична,
   без анимация. Решение: пътищата са директно в маркъпа, не зад <use>. */
/* top: по-нагоре от преди (-46px → -230px) — на -46px дъгата потъваше зад
   картите и понеже те са непрозрачни, я скриваха почти изцяло. z-index: 3
   вместо -1: вместо да разчитаме единствено на точен pixel offset, дъгата
   сега рисува НАД картите там, където все пак се застъпват — така остава
   видима дори ако точната позиция не пасне на всяка ширина на екрана. */
.rainbow {
  position: absolute;
  top: -230px;
  left: 50%;
  transform: translateX(-50%);
  width: 448px;
  z-index: 3;
  opacity: 0.95;
  pointer-events: none;
}
.rainbow path { stroke-dasharray: 460; stroke-dashoffset: 460; transition: stroke-dashoffset 1.6s ease; }
.rainbow.is-visible path { stroke-dashoffset: 0; }
.rainbow path:nth-child(1) { transition-delay: 0s; }
.rainbow path:nth-child(2) { transition-delay: 0.08s; }
.rainbow path:nth-child(3) { transition-delay: 0.16s; }
.rainbow path:nth-child(4) { transition-delay: 0.24s; }
.rainbow path:nth-child(5) { transition-delay: 0.32s; }
.rainbow path:nth-child(6) { transition-delay: 0.4s; }
@media (max-width: 760px) {
  .rainbow { width: 272px; top: -140px; }
}

/* ---------- фейк форма за заявка (виж коментара в HTML — това е "продук-
   тът", показан без бэкенд) ---------- */
.cta-form {
  margin-top: 2.2rem;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cta-form__row { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .cta-form__row { grid-template-columns: 1fr 1fr; }
}
.cta-form__field {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(37, 34, 56, 0.14);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
}
.cta-form__field::placeholder { color: var(--ink-faint); }
.cta-form__field:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.cta-form__field--area { resize: vertical; min-height: 90px; font-family: inherit; }
.final-cta .cta-form__hint { margin: 0; font-size: 0.8rem; color: var(--ink-faint); text-align: center; }

.cta-form__success {
  margin-top: 2.2rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.cta-form__success-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem;
}
.cta-form__success p { margin: 0; color: var(--ink-soft); }
