/* Главная сайта Никиты Лушникова — по принятому макету №617 (телефон 390, компьютер 1440).
   Общие вещи (цвета, кнопки, шапка, подвал, блок заявки) — в site.css.
   Переломы: 640 — плитки и цифры в два столбца; 900 — блоки в две колонки;
   1100 — первый экран «текст слева, фото справа». */

/* Фото внутри рамок заполняют рамку целиком. */
.home-hero__mask img, .tile__img img, .home-about__pic img, .shots img, .scard__pic img {
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}

.home-sec { padding: 54px 0; }
.home-title { margin-top: 14px; font-size: 30px; line-height: 1.08; }
.home-title em, .home-hero__title em { font-style: normal; color: var(--blue); }
.home-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.home-actions { margin-top: 22px; }

/* ── Первый экран ───────────────────────────────────── */

.home-hero {
  padding: 16px 0 0;
  background:
    radial-gradient(520px 360px at 8% 0, #fff, rgba(255, 255, 255, 0) 72%),
    radial-gradient(460px 320px at 100% 34%, rgba(23, 99, 246, .08), rgba(23, 99, 246, 0) 72%);
}
.home-hero__stage { position: relative; display: flex; flex-direction: column; }
.home-hero__text { display: contents; }

.home-hero__eyebrow { order: 1; align-self: flex-start; font-size: 10px; letter-spacing: .06em; }
.home-hero__title { order: 2; margin-top: 14px; font-size: clamp(40px, 12.8vw, 50px); line-height: 1; letter-spacing: -.025em; text-wrap: initial; }
.uline { position: relative; display: inline-block; }
.uline svg { position: absolute; left: -3%; bottom: -.17em; width: 106%; height: .2em; overflow: visible; }
.uline path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .55; }
.uline path + path { stroke-width: 2.5; opacity: .4; }

.home-hero__pic { order: 3; position: relative; aspect-ratio: 16 / 9; margin: 8px calc(var(--gutter) * -1) 0; overflow: hidden; }
.home-hero__mask {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 9%, #000 24%);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 9%, #000 24%);
}
/* Кадр: Никита в костюме (IMG_0639), обе руки в кадре. */
.home-hero__mask img { transform: scale(1.16); transform-origin: 50% 62%; }
.home-hero__say { display: none; }
.home-hero__video {
  position: absolute; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px;
  color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.25; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.home-hero__video span { display: grid; place-items: center; width: 36px; height: 36px; padding-left: 3px; border: 2px solid #fff; border-radius: 50%; background: rgba(13, 27, 46, .28); }

.home-hero__lead { order: 4; margin: 18px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.home-hero__btns { order: 5; display: grid; gap: 10px; margin-top: 18px; }

.home-hero__people { order: 6; position: relative; display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-bottom: 30px; }
.faces { display: flex; flex: none; }
.faces img, .faces__more { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff; background: var(--sky); }
.faces img:first-child { margin-left: 0; }
.faces__more { display: grid; place-items: center; font-size: 17px; line-height: 1; color: var(--ink-3); background: #EEF2F8; }
.home-hero__proof { margin: 0; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.home-hero__proof b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.hand { position: absolute; right: 2px; top: 46px; font: 700 23px/.9 var(--font-hand); color: var(--blue); transform: rotate(-7deg); text-align: center; white-space: nowrap; }
.hand svg { position: absolute; right: 100%; top: -10px; width: 50px; height: 25px; margin-right: 2px; transform: scaleY(-1) rotate(-4deg); overflow: visible; }
.hand path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 359px) {
  .home-hero__eyebrow { letter-spacing: .02em; padding: 6px 10px; }
  .hand { font-size: 20px; }
}

/* ── Цифры под первым экраном ───────────────────────── */

.home-facts { list-style: none; display: grid; margin: 8px 0 0; padding: 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.home-facts li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.home-facts li + li::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: var(--line); }
.home-facts__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.home-facts__ico svg { width: 23px; height: 23px; }
.home-facts p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--ink-3); text-wrap: balance; }
.home-facts b { display: block; margin-bottom: 3px; font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); }

/* ── Четыре плитки-входа ────────────────────────────── */

.home-tiles { display: grid; gap: 10px; margin-top: 12px; }
.tile {
  position: relative; display: block; min-height: 146px; padding: 14px 16px 18px; overflow: hidden; /* №833: высота по самой длинной подписи, у всех плиток в ряду одинаковая, снизу всегда отступ */
  border-radius: 20px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
}
.tile__img { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; }
.tile__img img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 22%, #000 46%);
}
.tile--stories img { object-position: 50% 26%; }
.tile--camp img { object-position: 62% 50%; }
.tile--family img { object-position: 78% 10%; }
.tile--vd img { object-position: 58% 30%; } /* №839: кадр с флажком IBA от клиента (16:9), лицо по центру плитки; утверждено Антоном 14.10 (Берлога №1404) */
/* У светлых плиток длинный заголовок («Антинаркотический», «и родственников») доходит до фото.
   Фото здесь проявляется позже, чтобы буквы стояли на белом, а не на людях (№432). */
.tile--camp .tile__img img, .tile--family .tile__img img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .08) 24%, #000 56%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .08) 24%, #000 56%);
}
.tile__tag, .tile__title, .tile__sub { position: relative; z-index: 1; }
.tile__tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--blue-d); font-size: 10.5px; font-weight: 700; line-height: 1.5; }
.tile__title { display: block; margin-top: 10px; font-size: 19px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 0 10px #fff, 0 0 4px #fff, 0 0 2px #fff; }
.tile__sub { display: block; max-width: 52%; margin-top: 6px; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.tile__go { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(13, 27, 46, .22); transition: transform .15s ease; }
.tile__go .ico { width: 15px; height: 15px; }
.tile:hover .tile__go { transform: translateX(3px); }
.tile--dark { background: #101E33; color: #fff; }
.tile--blue { background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: #fff; }
.tile--dark .tile__title, .tile--blue .tile__title { text-shadow: none; }
.tile--dark .tile__sub, .tile--blue .tile__sub { color: rgba(255, 255, 255, .76); }
.tile--vd { padding-bottom: 24px; }
.tile--vd .tile__sub { max-width: 60%; } /* №823: подпись длинная, название в одну строку */
.tile--dark .tile__tag, .tile--blue .tile__tag { background: rgba(255, 255, 255, .93); color: var(--ink); }

/* ── О Никите ───────────────────────────────────────── */

.home-about__pic { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.home-about__pic img { position: absolute; inset: 0; object-position: 50% 18%; }
.home-about__text { margin-top: 24px; }
.checks { list-style: none; display: grid; gap: 12px; margin: 18px 0 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.is-review .checks li::after { grid-column: 1 / -1; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.3' fill='none' stroke='%231763F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Второе дыхание ─────────────────────────────────── */

.home-vd { background: linear-gradient(180deg, var(--sky), #F3F8FF); }
.home-vd .eyebrow { background: #fff; }
.home-vd__sub { margin: 10px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.home-quote { margin: 24px 0 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--blue); font-size: 17px; line-height: 1.45; font-weight: 600; }
.home-vd__how { margin: 26px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hsteps { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; counter-reset: hstep; }
.hsteps li { counter-increment: hstep; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.hsteps li::before { content: counter(hstep); flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 19px; font-weight: 800; }
.hsteps span { font-size: 16px; font-weight: 600; line-height: 1.3; }
.home-vd__pic { margin: 18px 0 0; } /* №842: кадр клиента с флажком IBA целиком, без обрезки по лицу */
.home-vd__pic img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.home-vd__pic figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.home-vd__btns { display: grid; gap: 10px; margin-top: 24px; }

/* ── Лагерь ─────────────────────────────────────────── */

.nums { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; padding: 0; }
.nums li { padding: 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.nums b { display: block; margin-bottom: 6px; white-space: nowrap; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.nums__wide { display: none; }
.shots { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; margin-top: 22px; }
.shots div { aspect-ratio: 16 / 9; } /* №834: кадры 16:9 показываем целиком, лица не режем */
.shots div { overflow: hidden; border-radius: 18px; }
.shots div:first-child { grid-column: span 2; }
.guests { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.guests b { display: block; font-size: 16px; }
.guests p { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }
.guests .guests__bless { margin-top: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.home-camp__more { width: 100%; }

/* ── Родственникам ──────────────────────────────────── */

.home-fam, .home-stories { padding-top: 0; }
.home-fam__box { padding: 26px 20px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.home-fam__head .home-title { margin-top: 14px; }
.signs { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; counter-reset: sign; }
.signs li { counter-increment: sign; position: relative; padding: 14px 16px 14px 52px; border-radius: 16px; background: var(--paper); font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.signs li::before { content: counter(sign); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky-2); color: var(--blue); font-weight: 800; font-size: 13px; }
.home-fam__help { margin: 22px 0 0; font-size: 17px; font-weight: 600; line-height: 1.45; }

/* ── Истории ────────────────────────────────────────── */

.scards { display: grid; gap: 12px; margin-top: 22px; }
.scard { position: relative; display: grid; grid-template-columns: 124px 1fr; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.scard__pic { position: relative; min-height: 166px; background: linear-gradient(135deg, #CFE0FF, var(--sky)); }
.scard__pic img { position: absolute; inset: 0; object-position: 50% 30%; }
/* Кадры из роликов (16:9) в высокой рамке: держим в кадре человека, а не середину картинки (№432). */
.scard__pic--ivan img { object-position: 32% 50%; }
.scard__pic--maksim img { object-position: 56% 50%; }
.scard__play { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding-left: 3px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 6px 16px rgba(13, 27, 46, .25); }
.scard__text { padding: 14px 14px 16px; }
.scard h3 { font-size: 17px; line-height: 1.2; letter-spacing: 0; }
.scard__link { text-decoration: none; }
.scard__link::after { content: ""; position: absolute; inset: 0; }
.scard p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.scard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.scard__more .ico { width: 14px; height: 14px; }
.scard:hover { box-shadow: var(--shadow), inset 0 0 0 1.5px var(--blue); }
.home-stories__all { width: 100%; margin-top: 22px; }

/* ── Планшет: плитки и цифры в два столбца ──────────── */

@media (min-width: 640px) {
  .home-facts { grid-template-columns: 1fr 1fr; }
  .home-facts li:nth-child(2)::before { left: 0; right: auto; top: 24%; bottom: 24%; width: 1px; height: auto; }
  .home-facts li:nth-child(4)::after { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
  .home-tiles { grid-template-columns: 1fr 1fr; }
  .home-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .home-vd__btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .home-camp__more, .home-stories__all { width: auto; }
  .hand { right: auto; left: 300px; }
  /* планшет: портрет рядом с текстом, иначе он занимает весь экран */
  .home-about__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .home-about__text { margin-top: 0; }
}

/* ── Компьютер: блоки в две колонки ─────────────────── */

@media (min-width: 900px) {
  .home-sec { padding: 92px 0; }
  .home-fam, .home-stories { padding-top: 0; }
  .home-title { font-size: 46px; }
  .home-lead { font-size: 19px; max-width: 520px; }

  .home-about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 70px; align-items: center; }
  .home-about__pic { aspect-ratio: 4 / 4.7; }
  .home-about__text { margin-top: 0; }
  .checks li { font-size: 17px; }

  /* Слева текст и кнопки, справа шаги; на телефоне кнопки стоят после шагов. */
  .home-vd__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 70px; grid-template-areas: "text steps" "btns steps"; }
  .home-vd__text { grid-area: text; align-self: end; }
  .home-vd__steps { grid-area: steps; align-self: center; }
  .home-vd__btns { grid-area: btns; align-self: start; margin-top: 30px; }
  .home-vd__sub { font-size: 22px; }
  .home-vd__how { display: none; }
  .home-quote { font-size: 19px; max-width: 520px; }
  .hsteps { gap: 14px; }
  .hsteps li { padding: 24px 26px; border-radius: 22px; }
  .hsteps li::before { width: 56px; height: 56px; font-size: 23px; }
  .hsteps span { font-size: 20px; }

  /* Слева текст, цифры и гости, справа фото; на телефоне фото стоят между цифрами и гостями. */
  .home-camp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); column-gap: 70px; grid-template-areas: "head shots" "tail shots"; }
  .home-camp__head { grid-area: head; align-self: end; }
  .home-camp__tail { grid-area: tail; align-self: start; }
  .shots { grid-area: shots; align-self: center; grid-template-rows: auto; gap: 14px; margin-top: 0; }
  .shots div { border-radius: 24px; }
  .nums { grid-template-columns: .8fr 1.35fr 1fr; gap: 14px; margin-top: 28px; }
  .nums b { font-size: 40px; }
  .nums__wide { display: block; }

  .home-fam__box { padding: 56px; border-radius: 36px; }
  .home-fam__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding-top: 14px; }
  .home-fam__head .home-lead { margin-top: 0; }
  .signs { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
  .signs li { padding: 56px 22px 22px; border-radius: 20px; font-size: 16.5px; }
  .signs li::before { left: 22px; top: 20px; }
  .home-fam__end { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 34px; }
  .home-fam__help { margin-top: 0; max-width: 640px; font-size: 20px; }
  .home-fam__end .btn { white-space: nowrap; }

  /* Кнопка «Все истории» — справа от заголовка; на телефоне она под карточками. */
  .home-stories__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 30px; grid-template-areas: "head all" "cards cards"; align-items: end; }
  .home-stories__head { grid-area: head; }
  .home-stories__all { grid-area: all; margin-top: 0; }
  .scards { grid-area: cards; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
  .scard { display: flex; flex-direction: column; }
  .scard__pic { aspect-ratio: 4 / 5; min-height: 0; }
  .scard__play { left: 14px; bottom: 14px; width: 48px; height: 48px; }
  .scard__play .ico { width: 13px; height: 13px; }
  .scard__text { padding: 18px 18px 20px; }
  .scard h3 { font-size: 19px; }
  .scard p { font-size: 15.5px; }
}

/* ── Широкий экран: первый экран как в макете — текст слева, фото справа ── */

@media (min-width: 1100px) {
  .home-hero {
    padding: 8px 0 0;
    background:
      radial-gradient(760px 520px at 6% 4%, #fff, rgba(255, 255, 255, 0) 70%),
      radial-gradient(620px 420px at 38% 62%, rgba(23, 99, 246, .07), rgba(23, 99, 246, 0) 70%);
  }
  .home-hero__stage { display: block; min-height: 470px; }
  .home-hero__text { display: block; position: relative; z-index: 2; max-width: 452px; padding-top: 8px; }
  .home-hero__eyebrow { font-size: 11.5px; letter-spacing: .14em; white-space: nowrap; }
  .home-hero__title { margin-top: 10px; font-size: 64px; line-height: .99; }
  /* Текст клиента (№661) длиннее прежнего: четыре строки вместо трёх. Чтобы первый экран не вырос, строка шире и чуть мельче, отступы вокруг плотнее. */
  .home-hero__lead { margin-top: 10px; width: 486px; max-width: none; font-size: 16px; line-height: 1.45; text-wrap: pretty; }
  .home-hero__btns { flex-wrap: nowrap; gap: 12px; margin-top: 13px; }
  .home-hero__btns .btn { min-height: 52px; padding: 6px 22px; font-size: 15.5px; white-space: nowrap; }

  /* Фото шириной 836 на полном экране; на экране уже — подрезается справа, Никита остаётся в кадре. */
  .home-hero__pic { position: absolute; top: 0; left: 404px; right: -40px; height: 470px; aspect-ratio: auto; margin: 0; border-radius: 30px; }
  .home-hero__mask {
    -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .3) 11%, #000 23%), radial-gradient(ellipse 44% 58% at 0 100%, transparent 0, transparent 34%, rgba(0, 0, 0, .5) 68%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .3) 11%, #000 23%), radial-gradient(ellipse 44% 58% at 0 100%, transparent 0, transparent 34%, rgba(0, 0, 0, .5) 68%, #000 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .home-hero__mask img { object-position: 0 50%; transform: scale(1.08); transform-origin: 22% 62%; }
  .home-hero__say {
    display: block; position: absolute; right: 24px; top: 24px; width: 228px; margin: 0; padding: 14px 18px 15px;
    border-radius: 18px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(13, 27, 46, .14); font-size: 14.5px; line-height: 1.42; font-weight: 600;
  }
  .home-hero__say::before { content: "“"; display: block; height: 17px; font-size: 36px; line-height: .7; font-weight: 800; color: var(--blue); }
  .home-hero__say small { display: block; margin-top: 6px; text-align: right; font-size: 12px; font-weight: 500; color: var(--ink-2); }
  .home-hero__video { right: 28px; bottom: 26px; gap: 12px; font-size: 13.5px; }
  .home-hero__video span { width: 48px; height: 48px; }

  .home-hero__people { gap: 14px; margin-top: 18px; padding-bottom: 0; }
  .faces img, .faces__more { width: 42px; height: 42px; }
  .home-hero__proof { font-size: 13px; }
  .home-hero__proof b { font-size: 15.5px; }
  .hand { right: auto; left: 398px; top: -6px; font-size: 27px; }
  .hand svg { right: auto; left: -44px; top: 26px; width: 52px; height: 26px; margin: 0; transform: none; }

  /* Второй счётчик шире остальных: «участников антинаркотического лагеря за эти годы» должно встать в две строки. */
  .home-facts { grid-template-columns: 1fr 1.22fr 1fr 1fr; margin-top: 10px; }
  .home-facts li { gap: 16px; padding: 13px 24px; }
  .home-facts li + li::before { left: 0; right: auto; top: 24%; bottom: 24%; width: 1px; height: auto; }
  .home-facts li:nth-child(4)::after { content: none; }
  .home-facts__ico { width: 50px; height: 50px; }
  .home-facts b { font-size: 25px; }

  .home-tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
  .tile { min-height: 140px; }
  .tile__title { margin-top: 9px; font-size: 17px; }
  .tile--camp .tile__img, .tile--family .tile__img { width: 44%; }
  .tile__sub { font-size: 12px; }
}

/* ── Ролик о проекте (№472): блок появляется, когда ролик вписан в build.py (VIDEOS) ── */
.home-rolik__grid { display: grid; gap: 22px; }
.home-rolik__media { min-width: 0; }
@media (min-width: 900px) {
  .home-rolik__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: center; }
}

/* Узкий экран компьютера (1100–1279): колонки счётчиков уже, поэтому поля и значок меньше — подписи остаются в две-три строки. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .home-facts li { gap: 12px; padding: 13px 16px; }
  .home-facts__ico { width: 42px; height: 42px; }
  .home-facts__ico svg { width: 20px; height: 20px; }
  .home-facts b { font-size: 22px; }
  .tile__title { font-size: 16px; }
  .tile--camp .tile__img { width: 36%; }
  .tile--family .tile__img { width: 42%; }
}

/* ── Английская главная (№471): та же вёрстка, поправки под длину английских строк ── */
html[lang="en"] .tile__go { width: auto; grid-auto-flow: column; gap: 6px; padding: 0 11px 0 13px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; }
@media (min-width: 1100px) { html[lang="en"] .home-hero__lead { width: 432px; } }

.guests__bless--own { margin: 14px 2px 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* Кадр лагеря в блоке «Как понять…» (№834): 16:9 целиком */
.home-fam__pic { margin: 18px 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--sky-2); }
.home-fam__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  /* слева заголовок и под ним строка, справа кадр во всю высоту этих двух строк */
  .home-fam__head { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "t pic" "lead pic"; grid-template-rows: auto auto; column-gap: 56px; row-gap: 20px; align-items: start; padding-top: 14px; }
  .home-fam__head > div { grid-area: t; align-self: end; }
  .home-fam__head .home-lead { grid-area: lead; align-self: start; max-width: 480px; }
  .home-fam__pic { grid-area: pic; align-self: center; margin: 0; border-radius: 22px; }
}
