/* ============================================================
   СЕДМИЦИ В КЛЕТКА — Невидими животни
   Mobile-first. Палитра, извлечена от ключовия визуал:
   черно / жълто #FFEC1B / бяло
   ============================================================ */

/* ---------- Локални шрифтове ----------
   И двата се сервират от нашия сървър. Няма заявка към Google:
   така нищо чуждо не блокира първото рисуване на страницата.
   Montserrat е орязан до латиница и кирилица, по около 21 KB на
   тегло. */
@font-face {
  font-family: "Bebas Neue Cyrillic";
  src: url("../assets/fonts/bebas-neue-cyrillic-v2.woff2") format("woff2"),
       url("../assets/fonts/bebas-neue-cyrillic-v2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #FFEC1B;
  --black: #000000;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --line: #2a2a2a;
  --white: #ffffff;
  --muted: #c7c7c7;
  --font-display: "Bebas Neue Cyrillic", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 1100px;
  --narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--yellow); }
a:hover { color: var(--white); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 800; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: var(--narrow); }

/* ---------- Highlight block (жълт маркер като във визуала) ---------- */
.hl {
  color: var(--black);
  /* Шрифтът е с изравнени вертикални метрики (виж assets/fonts): кутията
     на реда е 1.092em, главните букви заемат от 0.19em до 0.898em от
     горния ѝ ръб. Лентата се рисува вътре в кутията, така че резултатът е
     един и същ на Windows, macOS и Linux.
     Дава по 0.15em жълто над главните и под базовата линия. */
  padding: 0 0.25em;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 1.008em;
  background-position: 0 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

.section__title {
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 0.8em;
  line-height: 1.22;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  /* само леко заоблени ъгли; сменя се на едно място */
  border-radius: 6px;
  font-size: clamp(1.2rem, 3.6vw, 1.45rem);
  padding: 0.73em 1.5em;
  line-height: 1.15;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 0 0 0 rgba(255, 236, 27, 0.4);
}
.btn--primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 236, 27, 0.25);
}
.btn--big { font-size: clamp(1.4rem, 4.4vw, 1.8rem); padding: 0.75em 1.7em; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.hero__photo {
  position: absolute;
  inset: 0 0 auto 0;
  height: 56svh;
  background-image: url("../assets/hero-mobile.jpg");
  background-size: cover;
  background-position: center 22%;
}
/* плавен преход от снимката към черното */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 38%, rgba(0,0,0,0.55) 72%, #000 97%);
}

.hero__logo {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 104px;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 34svh;
  padding-bottom: 28px;
}

.hero__kicker {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--yellow);
  margin-bottom: 17px;
  /* кикерът лежи върху снимката: сянка за четимост */
  text-shadow: 0 2px 14px rgba(0,0,0,0.95), 0 0 5px rgba(0,0,0,0.9);
}

.hero__title {
  font-size: clamp(3.6rem, 16vw, 8.5rem);
  font-weight: 400;
  /* под 1: жълтите ленти на двата реда се застъпват и четат като един блок */
  line-height: 0.9;
  margin-bottom: 0.3em;
}
/* само хоризонталният padding е различен тук; вертикалният в .hl е 0 */
.hero__title .hl {
  padding-left: 0.18em;
  padding-right: 0.18em;
}
/* „В КЛЕТКА“ е с 1.6% по-тясно от „СЕДМИЦА“ при еднакъв размер, затова го
   увеличаваме точно с толкова: двете жълти ленти стават еднакво широки и
   образуват един правоъгълник. Множителят е отношение на ширините, тоест
   е верен при всеки размер на шрифта. */
.hero__title-fit { font-size: 1.016em; }

/* Двата реда се застъпват, а вторият се рисува след първия, затова жълтата
   му лента минаваше върху опашките на Д и Ц от „СЕДМИЦА“ (те слизат 0.08em
   под базовата линия, а лентата на втория ред започва 0.04em по-високо).
   Вдигаме първия ред отгоре по ред на рисуване, вместо да разреждаме
   междуредието, за да не се разпадне жълтият правоъгълник. */
.hero__title-over {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 4.8vw, 1.95rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__cta { margin-top: 0; }

/* ---------- Лек пулс на главните бутони ---------- */
@keyframes svk-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
.hero__cta,
.stickycta__btn {
  animation: svk-pulse 2.4s ease-in-out infinite;
}
/* при посочване спираме пулса, за да сработи hover ефектът */
.hero__cta:hover,
.hero__cta:focus-visible,
.stickycta__btn:hover,
.stickycta__btn:focus-visible {
  animation: none;
}

.hero__hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- ред за поканените посетители ----------
   Скрит по подразбиране; показва се само когато скриптът в <head> е
   разпознал utm_source=share_… и е сложил клас invited на <html>. */
.hero__invited { display: none; }
html.invited .hero__invited {
  display: block;
  margin: 0 auto 16px;
  max-width: 24em;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 3.4vw, 1.15rem);
  line-height: 1.25;
  color: var(--yellow);
}

/* ---------- Countdown ---------- */
.countdown { margin-inline: auto; max-width: 460px; margin-top: 26px; }

.countdown__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.countdown__label strong { color: var(--yellow); }

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown__cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  line-height: 1;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.countdown__unit {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro { padding-top: 24px; }

.intro__lead {
  font-size: 1.1rem;
  font-weight: 600;
}

.intro__slogan {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 6.4vw, 2.7rem);
  line-height: 1.15;
  margin-top: 1.4em;
  text-align: center;
}

/* ============================================================
   КООРДИНАТОР (под ЧЗВ)
   ============================================================ */
.coord {
  margin: 40px auto 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.coord__photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}
.coord__text p { margin: 0; }
.coord__lead {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 6px !important;
}
.coord__who { font-size: 0.92rem; color: var(--muted); line-height: 1.4; }
.coord__phone {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.3;
  margin-top: 2px !important;
}
.coord__phone a { text-decoration: none; letter-spacing: 0.02em; }
.coord__note { font-size: 0.85rem; color: var(--muted); line-height: 1.45; margin-top: 6px !important; }

@media (max-width: 479px) {
  .coord { flex-direction: column; text-align: center; gap: 14px; }
}

/* ============================================================
   НАПРЕДЪК: записани доброволци
   ============================================================ */
.progress {
  margin: 34px auto 0;
  max-width: 460px;
  text-align: center;
}
/* На страницата за споделяне лентата е ПОД бутоните: горе беше 193px
   между човека и бутона и го изместваше под сгъвката на 360x640 и
   375x667. Кое печели повече, конкретното число преди действието или
   бутонът на екрана, не може да се измери при този трафик; сгъвката
   поне е проверима. */
.share + .progress { margin-top: 30px; }

.progress__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.progress__count {
  font-family: var(--font-display);
  line-height: 1;
  margin: 0 0 14px;
}
.progress__count strong {
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  color: var(--yellow);
}
.progress__of {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  color: var(--muted);
  margin-left: 0.35em;
}

.progress__track {
  height: 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  width: 0;
  background: var(--yellow);
  border-radius: 999px;
  /* пълненето се анимира само когато стойността дойде от сървъра */
  transition: width 0.9s cubic-bezier(0.22, 0.8, 0.28, 1);
}

.progress__note {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.progress__note strong { color: var(--white); font-weight: 600; }

/* целта е достигната: „от 204" пада, за да не излиза „260 от 204" */
.progress.is-complete .progress__of { display: none; }
.progress.is-complete .progress__note { color: var(--yellow); }
.progress.is-complete .progress__note strong { color: var(--yellow); }

/* ============================================================
   WHY + pullquote
   ============================================================ */
.why { background: var(--surface); }

.pullquote {
  margin: 2.2em 0 0;
  padding: 1.6em 1.4em;
  border-left: 6px solid var(--yellow);
  background: var(--black);
}
.pullquote p {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.45rem, 5.4vw, 2.15rem);
  line-height: 1.2;
  margin: 0;
}
.pullquote footer {
  margin-top: 1em;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================================
   WHAT — stat cards
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 32px 0;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1;
  color: var(--yellow);
}
.stat__small {
  font-size: 0.45em;
  margin-left: 0.15em;
  letter-spacing: 0.05em;
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.stand {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
}

.stand__title {
  font-size: 1.05rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
}

.ticklist {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}
.ticklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect width='18' height='18' fill='%23FFEC1B'/%3E%3Cpath d='M4 9.5l3.2 3.2L14 6' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
}

.stand__note {
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.2em;
}

/* ============================================================
   ROLE — cards
   ============================================================ */
.role { background: var(--surface); }

.role__intro { margin-bottom: 30px; }

/* Илюстрацията е с прозрачен фон, за да пасне на фона на секцията */
.scene {
  margin: 0 auto 34px;
  /* нарочно дребна: източникът е с ограничено качество и при по-голям
     размер омекотяването на линиите започва да се вижда */
  max-width: 330px;
}
.scene img {
  width: 100%;
  height: auto;
  /* Пропорцията е фиксирана в CSS-а, а не само в атрибутите на <img>.
     Така кутията е вярна още преди файлът да се зареди, а ако някога
     файлът се смени с друг размер, object-fit го вписва вместо да го
     разтегли. */
  aspect-ratio: 1000 / 786;
  object-fit: contain;
}
.scene figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
}

.card__icon {
  width: 52px;
  height: 52px;
  color: var(--yellow);
  margin-bottom: 16px;
}
.card__icon svg { width: 100%; height: 100%; }

.card p { font-size: 0.98rem; }

.team {
  /* container--narrow дава само max-width; без auto полетата блокът
     стоеше долепен вляво в 1100px контейнер и центрираният текст
     изглеждаше изместен */
  margin: 34px auto 0;
  text-align: center;
  font-size: 1.05rem;
}

/* ============================================================
   PROVIDE — icon grid
   ============================================================ */
.provide__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.provide__grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.provide__grid svg {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--yellow);
}

.provide__grid span { font-size: 0.95rem; }

/* ============================================================
   JOIN — steps timeline
   ============================================================ */
.join { background: var(--surface); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.steps__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 0 0 26px;
}
.steps__item:last-child { padding-bottom: 0; }

.steps__num {
  position: relative;
  z-index: 1;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__item p { margin: 8px 0 0; }

.join__cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.15s ease;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary:hover { color: var(--yellow); }

.accordion__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--yellow);
  transition: transform 0.2s ease;
}
.accordion__icon::before {
  left: 0; right: 0; top: 10px; height: 2px;
}
.accordion__icon::after {
  top: 0; bottom: 0; left: 10px; width: 2px;
}
.accordion__item[open] .accordion__icon::after { transform: scaleY(0); }

.accordion__body {
  padding: 0 2px 18px;
  color: var(--muted);
}

/* ============================================================
   WHY ME
   ============================================================ */
.whyme {
  background: var(--surface);
  text-align: center;
}

.whyme__big {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.55rem, 5.4vw, 2.2rem);
  line-height: 1.2;
}

.whyme__slogan {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9.5vw, 4.4rem);
  line-height: 1.16;
  margin-top: 1.2em;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(255, 236, 27, 0.13), transparent 70%),
    var(--black);
}

.final__title {
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 0.8em;
}

.final .btn--big { margin-top: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  background: var(--black);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer__brand {
  display: block;
  margin: 0;
}
.footer__brand img {
  width: 178px;
  height: auto;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.footer__social a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.footer__links a:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--yellow); }

/* ============================================================
   СТРАНИЦА ЗА БЛАГОДАРНОСТ И СПОДЕЛЯНЕ (/share/)
   ============================================================ */
.thanks { padding: 36px 0 30px; text-align: center; }

.thanks__logo {
  width: 104px;
  height: auto;
  margin: 0 auto 28px;
}

.thanks__tick {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks__tick svg { width: 27px; height: 27px; color: var(--black); }

.thanks__title {
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 0.5em;
}

.thanks__lead { font-size: 1.05rem; }

/* редът над заглавието в режим „не се е записал" */
.thanks__kicker {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 14px;
}

/* абзацът под модула за споделяне */
.friend__lead--after { margin-top: 30px; }

/* ---------- какво следва ---------- */
.next {
  margin: 40px auto 0;
  text-align: left;
  display: grid;
  gap: 10px;
}
.next__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.next__num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.next__item p { margin: 2px 0 0; font-size: 0.95rem; }

/* ---------- следващи стъпки ---------- */
/* ВНИМАНИЕ: класът се казва nextsteps, а не steps, защото .steps вече
   е зает от хронологията „Как да се включиш" на основната страница. */
/* Блокът е под споделянето, затова горният отстъп идва от секцията
   над него. Долният е по-голям, защото страницата няма футър. */
/* Два класа, не един: иначе .section { padding: 100px 0 } в частта за
   десктоп е по-надолу във файла и връща отстъпите обратно. */
.section.nextsteps { padding: 0 0 40px; }
.nextsteps .next { margin-top: 0; }

/* ---------- покана да дойдеш с приятел ---------- */
.section.friend { padding-top: 0; padding-bottom: 72px; }
.friend__lead { text-align: center; }
.friend__title,
.nextsteps__title {
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 0.7em;
  text-align: center;
}

/* ---------- модул за споделяне ---------- */
.share {
  margin: 30px auto 0;
  max-width: 520px;
}

.share__primary {
  display: block;
  width: 100%;
  margin-bottom: 18px;
}
/* ВНИМАНИЕ: display: block по-горе бие вградения стил на атрибута hidden,
   затова скриването се налага изрично. Без този ред бутонът за родния
   панел се вижда и на браузъри, които не го поддържат. */
.share__primary[hidden] { display: none; }

.share__or {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 14px;
  text-align: center;
}

.share__grid {
  display: grid;
  /* 76px дава 4 колони на телефон: седем плочки се подреждат 4 + 3,
     вместо 3 + 3 + 1 с една самотна плочка накрая */
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.share__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.share__app svg { width: 26px; height: 26px; }
/* същият капан като при .share__primary: display: flex бие атрибута hidden */
.share__app[hidden] { display: none; }
.share__app:hover,
.share__app:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* ---------- копиране на връзката ---------- */
.copy {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.copy__field {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  /* 16px: под тази стойност Safari на iPhone увеличава екрана при фокус */
  font-size: 1rem;
  padding: 12px 14px;
}
.copy__field::selection { background: var(--yellow); color: var(--black); }
.copy__btn {
  flex: 0 0 auto;
  /* фиксирана широчина: надписът се сменя на „Копирано" и без това
     полето до него щеше да подскача */
  min-width: 8.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  padding: 0.62em 1.1em 0.5em;
}
.copy__btn:hover { background: var(--white); }

/* ---------- потвърждение, че връзката е копирана ---------- */
.copy__tick { width: 15px; height: 15px; margin-top: -0.12em; }
.copy--done { animation: svk-pop 0.34s ease-out; }
.copy__field--done { border-color: var(--yellow); color: var(--yellow); }

@keyframes svk-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.copy__status {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--yellow);
  min-height: 1.2em;
}

/* ---------- два варианта на страницата за споделяне ----------
   Без клас nr на <html> се вижда вариантът за човек, който току-що
   се е записал. С ?not_registered=true класът се слага и се вижда
   другият вариант. Двата текста стоят в маркъпа, затова смяната е
   мигновена и не мига.
   Ако JavaScript изобщо не работи, остава вариантът за записалия се. */
.only-alt { display: none; }
html.nr .only-reg { display: none; }
html.nr .only-alt { display: block; }

/* ---------- данни на организацията (само на /share/) ---------- */
.orginfo {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.orginfo p { margin: 0; }
.orginfo a { color: var(--muted); }
.orginfo a:hover { color: var(--yellow); }
.orginfo__links { margin-top: 8px; }

/* ---------- дребни второстепенни връзки ---------- */
.also {
  margin: 0 0 64px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
}
.also a { text-decoration: underline; }

@media (min-width: 700px) {
  .thanks { padding: 64px 0 44px; }
  .thanks__logo { width: 132px; margin-bottom: 36px; }
  .next { max-width: 520px; }
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.stickycta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0,0,0,0.95) 60%, transparent);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.stickycta.is-visible { transform: translateY(0); }

.stickycta__btn {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  box-shadow: 0 4px 24px rgba(255, 236, 27, 0.35);
}

/* компенсация, за да не закрива лентата дъното на страницата */
body.has-stickycta .footer__bottom { padding-bottom: 96px; }

/* ============================================================
   Reveal animations
   ============================================================ */
/* ВАЖНО: правилото е под html.js нарочно.
   Класът js се слага от малкия скрипт в <head>. Ако скриптът или
   script.js не се заредят (блокировач, прокси, защитен плъгин, бавна
   мрежа), класът липсва, .reveal остава без opacity: 0 и цялата
   страница се вижда. Без това половината текст изчезваше завинаги. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .stickycta { transition: none; }
  .hero__cta, .stickycta__btn { animation: none; }
  .copy--done { animation: none; }
  .progress__fill { transition: none; }
}

/* ============================================================
   TABLET / DESKTOP
   ============================================================ */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .provide__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 100px 0; }

  .hero__photo {
    background-image: url("../assets/hero-desktop.jpg");
    background-position: center 28%;
    height: 62svh;
  }
  .hero__content { padding-top: 42svh; padding-bottom: 28px; }
  .hero__logo { top: 30px; width: 148px; }
  .hero__kicker { font-size: 1.05rem; letter-spacing: 0.26em; margin-bottom: 30px; }
  .hero__cta { margin-top: 0; }
  .countdown { margin-top: 34px; max-width: 520px; }

  .pullquote { padding: 2.2em 2.4em; }

  /* скриваме мобилната лента на десктоп */
  .stickycta { display: none; }
  body.has-stickycta .footer__bottom { padding-bottom: 24px; }

  .footer__inner { grid-template-columns: 1.2fr 1fr 1fr; }

  .scene { max-width: 480px; }
}

/* Ниски десктоп екрани (лаптопи 720 до 840px): свиваме, за да остане
   бутонът над сгъвката. Броячът остава под нея, което е приемливо. */
@media (min-width: 900px) and (max-height: 840px) {
  .hero__photo { height: 56svh; }
  .hero__content { padding-top: 28svh; }
  .hero__title { font-size: min(15svh, 8.5rem); }
  .hero__kicker { font-size: 0.95rem; margin-bottom: 23px; }
  .hero__tagline { margin-bottom: 20px; }
}

@media (min-width: 1400px) {
  .hero__photo { height: 70svh; }
}
