/* ============================================================
   Гипно-Феникс — лендинг (переверстка pro.gipnofenix.ru 1в1)
   Дизайн оригинала: контейнер 1020px, белые блоки-карточки
   радиус 25px, DIN Pro, оранжевый #ff9900, фон #efeef0.
   Резина 320–1920 + перестройка сеток на мобильных.
   ============================================================ */

/* ---------- Шрифты ---------- */
@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Light'), local('DINPro-Light'),
         url('../fonts/DINPro-Light.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro'), local('DINPro'),
         url('../fonts/DINPro.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Medium'), local('DINPro-Medium'),
         url('../fonts/DINPro-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Bold'), local('DINPro-Bold'),
         url('../fonts/DINPro-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Black'), local('DINPro-Black'),
         url('../fonts/DINPro-Black.woff2') format('woff2');
    font-weight: 900; font-style: normal; font-display: swap;
}

/* Gilroy — шрифт кнопок (из макетов клиента) */
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; border: 0; }
a { color: inherit; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; }

/* ---------- Токены (цвета и метрики оригинала) ---------- */
:root {
    --bg: #efeef0;
    --card: #ffffff;
    --text: #363636;
    --orange: #f99400;
    --orange-bright: #ff9900;
    --icon: #3b3b3b;
    --gray-card: #f6f5f7;
    --radius: 25px;
    --shadow: 0 -17px 33px rgba(0, 0, 0, 0.05);
    /* Единый отступ «иконка → текст» (кнопки, телефоны, лого, «Наверх страницы») */
    --icon-gap: clamp(8px, 1.5vw, 15px);

    /* ============================================================
       РАЗМЕРЫ ТЕКСТА — ДЕСКТОП / РЕЗИНА
       Меняйте значение нужной переменной — размер обновится
       везде, где она используется.
       ============================================================ */

    /* --- Типовые элементы секций (заголовки, текст, кнопки, списки) --- */
    --fs-section-title:      clamp(19px, 6.1vw, 61px);   /* .sec-title */
    --fs-section-title-bold: clamp(15px, 4.2vw, 40px);   /* .sec-title--bold (заголовок «Услуги») */
    --fs-section-lead:       clamp(10px, 3.5vw, 33px);   /* .sec-lead — вводный абзац секции (правка 11.08: 33px) */
    --fs-section-text:       clamp(9px, 3.3vw, 31px);    /* .sec-text — основной текст (правка 11.08: 31px) */
    --fs-subtitle:           clamp(12px, 3.5vw, 33px);   /* .sub-title — подзаголовок (правка 11.08: 33px) */
    --fs-button:             clamp(9px, 3.3vw, 31px);    /* .btn — оранжевые кнопки (правка 11.08: 31px) */
    --fs-checklist:          clamp(9px, 3.3vw, 31px);    /* .checklist li — списки с галочками (31px) */
    --fs-numlist:            clamp(9px, 3.3vw, 31px);    /* .numlist li — нумерованные списки (31px) */
    --fs-dashed-link:        clamp(9px, 3.3vw, 31px);    /* .dashed-link — «Развернуть ещё» и т.п. (31px) */

    /* --- Шапка --- */
    --fs-header-name:        clamp(8px, 3.3vw, 33px);    /* .header__name (правка 11.08: 33px) */

    /* --- Контакт-строка --- */
    --fs-contact-label:      clamp(8px, 3.2vw, 33px);    /* .contact-bar__label (правка 11.08: 33px) */
    --fs-contact-phone:      clamp(16px, 5.8vw, 60px);   /* .contact-bar__phone */

    /* --- Первый экран (hero) --- */
    --fs-hero-title:         clamp(23px, 6.5vw, 66px);   /* .hero__title */
    --fs-hero-subtitle:      clamp(14px, 3.5vw, 33px);   /* .hero__subtitle (правка 11.08: 33px) */
    --fs-hero-card-fact:     clamp(14px, 3.5vw, 33px);   /* .hero__card-fact (правка 11.08: 33px) */
    --fs-hero-card-note:     clamp(14px, 3.5vw, 33px);   /* .hero__card-note (правка 11.08: 33px) */
    --fs-hero-video-label:   clamp(13px, 3.1vw, 31px);   /* .hero__video-label — «Смотреть видео» (31px, как на коллаже) */

    /* --- Цифры и факты (stats) --- */
    --fs-stats-title:        clamp(9px, 3.5vw, 33px);    /* .stats__title (правка 11.08: 33px) */
    --fs-stats-item:         clamp(9px, 3.5vw, 33px);    /* .stats__item p (правка 11.08: 33px) */

    /* --- Услуги --- */
    --fs-service-pill:       clamp(10px, 3.3vw, 31px);   /* .service-pill (правка 11.08: 31px) */

    /* --- С какими проблемами работаю --- */
    --fs-problem-title:      clamp(12px, 3.5vw, 33px);   /* .problem-card h3 (правка 11.08: 33px) */
    --fs-problem-text:       clamp(9px, 3.3vw, 31px);    /* .problem-card p (правка 11.08: 31px) */

    /* --- Видео-отчёт (коллаж) --- */
    --fs-collage-label:      clamp(8px, 3.1vw, 31px);    /* .collage__label — «Смотреть видео» на фото (31px) */

    /* --- Настои --- */
    --fs-nastoi-props:       clamp(9px, 3.3vw, 31px);    /* .nastoi-card__props (31px) */
    --fs-nastoi-text:        clamp(9px, 3.3vw, 31px);    /* .nastoi-card__text (31px) */

    /* --- Четки/браслеты --- */
    --fs-footnote:           clamp(8px, 3.3vw, 31px);    /* .footnote (31px) */

    /* --- Отзывы --- */
    --fs-review-pages:       clamp(10px, 3.5vw, 33px);   /* .review__pages a — пагинация (33px) */
    --fs-review-name:        clamp(11px, 3.5vw, 33px);   /* .review__name (33px) */
    --fs-review-body:        clamp(9px, 3.3vw, 31px);    /* .review__body p (31px) */

    /* --- CTA --- */
    --fs-cta-title:          var(--fs-section-title);    /* .cta__title — единый размер с секционными заголовками (правка 11.08) */
    --fs-cta-note:           clamp(9px, 3.5vw, 33px);    /* .cta__note (правка 11.08: 33px) */
    --fs-cta-phone:          var(--fs-contact-phone);    /* .cta__phone — 1 в 1 с телефоном в шапке */

    /* --- Футер --- */
    --fs-footer-note:        clamp(8px, 3.5vw, 33px);    /* .footer__note (правка 11.08: 33px) */
    --fs-footer-social-title:clamp(10px, 3.5vw, 33px);   /* .footer__social-title (правка 11.08: 33px) */
    --fs-footer-top:         clamp(9px, 3.3vw, 31px);    /* .footer__top — кнопка «Наверх страницы» (31px) */

    /* --- Попап --- */
    --fs-popup-title:        1.5em;   /* #popap .content h2 (относительная единица — не трогаем) */
    --fs-popup-text:         1.05em;  /* #popap .content .text (относительная единица — не трогаем) */
    --fs-popup-btn:          12px;    /* #popap .content .btn */

    /* ============================================================
       РАЗМЕРЫ ТЕКСТА — МОБИЛЬНАЯ ВЕРСИЯ (экран ≤ 640px)
       ============================================================ */
    --fs-header-name-m:        clamp(12px, 5.4vw, 16px);
    --fs-contact-label-m:      clamp(9px, 4.4vw, 13px);
    --fs-contact-phone-m:      clamp(21px, 8.4vw, 29px);
    /* Принцип как на ПК (правка 11.08): основной 16, подзаголовки и
       тексты главного экрана/статистики/подвала 18, кнопки 14 */
    --fs-hero-title-m:         clamp(18px, 7.2vw, 25px);
    --fs-hero-subtitle-m:      clamp(12px, 5vw, 18px);
    --fs-hero-card-fact-m:     clamp(11px, 4.8vw, 16px);  /* «Энергетическая чистка…» — было 15, +1px = основной */
    --fs-hero-card-note-m:     clamp(11px, 4.8vw, 16px);
    --fs-hero-video-label-m:   clamp(11px, 4.8vw, 16px);
    --fs-stats-title-m:        clamp(12px, 5vw, 18px);
    --fs-stats-item-m:         clamp(12px, 5vw, 18px);
    --fs-section-title-m:      clamp(15px, 6.4vw, 22px);
    --fs-problem-title-m:      clamp(12px, 5vw, 18px);
    --fs-problem-text-m:       clamp(11px, 4.8vw, 16px);
    --fs-section-lead-m:       clamp(12px, 5vw, 18px);
    --fs-section-text-m:       clamp(11px, 4.8vw, 16px);
    --fs-subtitle-m:           clamp(12px, 5vw, 18px);
    --fs-checklist-m:          clamp(11px, 4.8vw, 16px);
    --fs-numlist-m:            clamp(11px, 4.8vw, 16px);
    --fs-dashed-link-m:        clamp(11px, 4.8vw, 16px);
    --fs-button-m:             clamp(10px, 4.4vw, 14px);  /* кнопки: было 13, +1px */
    --fs-service-pill-m:       clamp(11px, 4.8vw, 16px);
    --fs-nastoi-name-m:        clamp(17px, 6.9vw, 24px);
    --fs-nastoi-props-text-m:  clamp(11px, 4.8vw, 16px);
    --fs-review-body-m:        clamp(11px, 4.8vw, 16px);
    --fs-review-name-m:        clamp(12px, 5vw, 18px);
    --fs-cta-title-m:          var(--fs-section-title-m); /* единый с секционными заголовками */
    --fs-cta-note-m:           clamp(12px, 5vw, 18px);
    --fs-cta-phone-m:          var(--fs-contact-phone-m); /* 1 в 1 с телефоном в шапке */
    --fs-footer-note-m:        clamp(12px, 5vw, 18px);
    --fs-footer-social-title-m:clamp(12px, 5vw, 18px);
    --fs-footer-top-m:         clamp(10px, 4.4vw, 14px);  /* серая кнопка — в единый стиль с кнопками */

    /* ============================================================
       РАЗМЕРЫ ТЕКСТА — СОВСЕМ УЗКИЕ ЭКРАНЫ (≤ 359px)
       ============================================================ */
    --fs-header-name-xs:   8px;
    --fs-contact-phone-xs: 17px;
}

/* ---------- База ---------- */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DIN Pro', Arial, sans-serif;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

#container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 15px;
}

.block {
    position: relative;
    display: block;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}
#container > .block:first-child { margin-top: 1rem; }
#container > .block:last-child { margin-bottom: 2rem; }

.orange { color: var(--orange-bright); }

/* ---------- Типовые элементы секций ---------- */
.section { padding: 4.2% 4.4% 4.4%; }

.sec-title {
    font-size: var(--fs-section-title);
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}
.sec-title--h3 { margin-top: 5%; }
.sec-title--bold { text-transform: none; font-weight: 700; font-size: var(--fs-section-title-bold); }
.sec-lead {
    margin-top: 1.8%;
    font-size: var(--fs-section-lead);
    line-height: 1.25;
}
.sec-text {
    margin-top: 1.6%;
    font-size: var(--fs-section-text);
    line-height: 1.25;
}
.sub-title {
    margin-top: 4.5%;
    font-size: var(--fs-subtitle);
    font-weight: 700;
    line-height: 1.2;
}
.section__photo {
    display: block;
    width: 100%;
    margin-top: 3.5%;
    border-radius: var(--radius);
}

/* Кнопки-пилюли (по макету Figma: пасив — оранжевый, ховер — тёмный) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--icon-gap);
    background: var(--orange-bright);
    color: #fff;
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-button);
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
    padding: 0.85em 0.7em 0.95em;
    transition: background 0.25s;
}
.btn::before {
    content: "";
    width: 0.85em;
    height: 0.62em;
    flex-shrink: 0;
    background: url("../img/icons/btn-arrow.svg") no-repeat center / contain;
}
.btn:hover { background: #242021; }
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    row-gap: 12px;
    margin-top: 4.5%;
}
.actions--start { justify-content: flex-start; }

/* Чек-листы с оранжевыми галочками (иконка из Figma) */
.checklist li {
    position: relative;
    padding-left: 2em;
    margin-top: 0.9em;
    font-size: var(--fs-checklist);
    line-height: 1.33;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.04em;
    width: 1.35em;
    height: 1.35em;
    background: url("../img/icons/check-solid.svg") no-repeat center / contain;
}
.checklist li[hidden] { display: none; }

/* Серые карточки списка (блок «Очищение») */
.checklist--cards { margin-top: 2.5%; }
.checklist--cards li {
    background: var(--gray-card);
    border-radius: 18px;
    padding: 1em 1.2em 1em 3.1em;
    margin-top: 0.55em;
}
.checklist--cards li::before { left: 0.85em; top: 0.92em; }

/* Нумерованные списки */
.numlist { counter-reset: n; margin-top: 1.5%; }
.numlist li {
    counter-increment: n;
    font-size: var(--fs-numlist);
    line-height: 1.35;
    margin-top: 0.45em;
}
.numlist li::before { content: counter(n) ". "; }

/* Пунктирные ссылки-кнопки как в оригинале.
   Пунктир — явные круглые точки фиксированного размера (px),
   поэтому толщина/шаг одинаковы на всех разрешениях. */
.dashed-link {
    display: inline-block;
    color: var(--orange-bright);
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-dashed-link);
    line-height: 1.2;
    text-decoration: none;
    background-image: radial-gradient(circle, var(--orange-bright) 1.4px, rgba(255, 153, 0, 0) 1.9px);
    background-size: 11px 4px;
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-bottom: 8px;
    transition: color 0.2s;
}
.dashed-link:hover { color: #ffa724; }
/* У кнопок «Развернуть ещё» точки только под текстом, не под стрелкой */
.dashed-link--expand {
    background: none;
    padding-bottom: 0;
}
.dashed-link--expand .dashed-text {
    background-image: radial-gradient(circle, var(--orange-bright) 1.4px, rgba(255, 153, 0, 0) 1.9px);
    background-size: 11px 4px;
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-bottom: 8px;
}
.expand-wrap { text-align: center; margin-top: 3.5%; }
.expand-wrap--left { text-align: left; }
.chevron {
    display: inline-block;
    width: 1.05em;
    height: 0.7em;
    margin-right: 0.20em;
    background: url("../img/icons/chevron-down.svg") no-repeat center / contain;
    transition: transform 0.25s;
}
.dashed-link--expand.open .chevron { transform: rotate(180deg); }
.chevron--up { background-image: url("../img/icons/chevron-up.svg"); }

/* ============================================================
   Шапка
   ============================================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4% 4.4%;
    min-height: 60px;
}
.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.header__logo img {
    width: clamp(42px, 12vw, 129px);
    height: auto;
    flex-shrink: 0;
}
.header__name {
    margin-left: var(--icon-gap);
    font-size: var(--fs-header-name);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
}
.socials {
    display: flex;
    align-items: center;
    gap: clamp(10px, 3.3vw, 34px);
}
.socials a { display: block; line-height: 0; transition: transform 0.25s; }
.socials a:hover { transform: translateY(-2px); }
.social-ic {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}
.social-ic img {
    display: block;
    height: clamp(20px, 5.4vw, 55px);
    width: auto;
}
.social-ic__hover {
    position: absolute;
    left: 0; top: 0;
    opacity: 0;
    transition: opacity 0.25s;
}
.socials a:hover .social-ic__hover { opacity: 1; }

/* ============================================================
   Контакт-строка
   ============================================================ */
.contact-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8% 4.4%;
    text-decoration: none;
}
.contact-bar__label {
    font-size: var(--fs-contact-label);
    font-weight: 500;
    line-height: 1;
}
.contact-bar__phone {
    display: flex;
    align-items: center;
    gap: var(--icon-gap);
    font-size: var(--fs-contact-phone);
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    white-space: nowrap;
}
.contact-bar__wa {
    width: clamp(30px, 6.4vw, 65px);
    height: auto;
    flex-shrink: 0;
}
.contact-bar:hover .contact-bar__phone { color: var(--orange); transition: color 0.25s; }

/* ============================================================
   Первый экран
   ============================================================ */
.hero { padding: 4.3% 4.4% 4.2%; }
.hero > * { position: relative; z-index: 1; }
.hero__title {
    max-width: 87%;
    font-size: var(--fs-hero-title);
    font-weight: 500;
    line-height: 1.02;
    text-transform: uppercase;
}
.hero__subtitle {
    margin-top: 2.4%;
    max-width: 60%;
    font-size: var(--fs-hero-subtitle);
    line-height: 1.25;
}
.hero__subtitle b { font-weight: 500; }
.hero__card {
    margin-top: 2.4%;
    width: 48%;
    background: var(--card);
    border-radius: clamp(12px, 2.3vw, 24px);
    box-shadow: 0 9px 38px rgba(0, 0, 0, 0.12);
    padding: clamp(10px, 2.5vw, 26px) clamp(8px, 1.8vw, 18px) clamp(10px, 2.5vw, 26px) clamp(10px, 2.6vw, 27px);
}
.hero__card-fact {
    font-size: var(--fs-hero-card-fact);
    line-height: 1.2;
}
.hero__card-note {
    margin-top: clamp(6px, 1.9vw, 20px);
    max-width: 60%;
    font-size: var(--fs-hero-card-note);
    line-height: 1.15;
}
.hero__video {
    position: absolute;
    left: 36.7%;
    bottom: 6%;
    width: 34%;
    z-index: 2;
    text-decoration: none;
}
.hero__video-label {
    display: block;
    margin-left: 59%;
    max-width: 45%;
    font-style: italic;
    font-weight: 700;
    font-size: var(--fs-hero-video-label);
    line-height: 1.05;
}
.hero__video-arrow {
    display: block;
    width: 14%;
    margin: -11.5% 0 0 45%;
}
.hero__video-media {
    position: relative;
    display: block;
    width: 44%;
    margin-top: 1%;
}
.hero__video-thumb {
    display: block;
    width: 100%;
    border-radius: 14%;
}
.hero__video-play {
    position: absolute;
    right: -46%;
    top: 4%;
    width: 88%;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s;
}
.hero__video:hover .hero__video-play { transform: scale(1.06); }
.hero__video:hover .hero__video-label { color: var(--orange); transition: color 0.25s; }
.hero__photo {
    position: absolute;
    right: -21.5%;
    bottom: -14%;
    width: 62%;
    height: auto;
    z-index: 0;
}
/* На экранах уже 1039px фото поднимаем выше */
@media screen and (max-width: 1039px) {
    .hero__photo { bottom: -2%; }
}

/* ============================================================
   Цифры и факты
   ============================================================ */
.stats { padding: 4.2% 4.4%; }
.stats__title {
    font-size: var(--fs-stats-title);
    font-weight: 400;
    line-height: 1.22;
    max-width: 100%;
}
.stats__flags {
    display: inline-block;
    width: clamp(120px, 28vw, 285px);
    height: auto;
    vertical-align: middle;
    margin-left: 0.5%;
}
@media (max-width: 768px) {
    .br-d { display: none; }
}
.stats__row {
    display: flex;
    gap: 4%;
    margin-top: 3.2%;
}
.stats__item {
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, 2.3vw, 24px);
    width: 42%;
}
.stats__item + .stats__item { width: 54%; }
.stats__icon {
    width: clamp(30px, 6.6vw, 68px);
    height: auto;
    flex-shrink: 0;
}
.stats__icon--yt {
    width: clamp(37px, 8vw, 82px);
    margin-top: 0.4%;
}
.stats__item p {
    font-size: var(--fs-stats-item);
    line-height: 1.17;
}

/* ============================================================
   Услуги — оранжевые пилюли
   ============================================================ */
.services__list { margin-top: 3%; }
.service-pill {
    display: table;
    background: var(--orange-bright);
    color: #fff;
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-service-pill);
    line-height: 1.15;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.45em 0.55em 0.5em;
    margin-top: 0.36em;
    transition: background 0.2s, transform 0.2s;
}
.service-pill:hover { background: #242021; }

/* ============================================================
   С какими проблемами работаю
   ============================================================ */
.problems__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4.4vw, 45px) clamp(18px, 4.8vw, 49px);
    margin-top: 4%;
}
.problem-card { text-align: center; }
.problem-card__photo {
    position: relative;
    margin: 0 0 clamp(14px, 2.6vw, 27px);
}
.problem-card__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 20px;
}
/* галочка из Figma — ровно по центру нижней кромки фото */
.problem-card__photo::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: clamp(24px, 4.9vw, 50px);
    height: clamp(24px, 4.9vw, 50px);
    transform: translate(-50%, 50%);
    background: url("../img/icons/check.svg") no-repeat center / contain;
}
.problem-card h3 {
    margin-top: 0;
    font-size: var(--fs-problem-title);
    font-weight: 700;
    line-height: 1.2;
}
.problem-card p {
    margin-top: 2%;
    font-size: var(--fs-problem-text);
    line-height: 1.3;
}
/* ============================================================
   Видео-отчёт — коллаж (единая картинка + оверлей «Смотреть видео»)
   ============================================================ */
.collage {
    position: relative;
    margin-top: 3.5%;
    aspect-ratio: 1424 / 1104;
    background: #909096;
    border-radius: var(--radius);
    overflow: hidden;
}
.collage__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.collage__dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.collage__watch {
    position: absolute;
    inset: 0;
    text-decoration: none;
    color: #fff;
}
.collage__label {
    position: absolute;
    left: 60%;
    top: 28%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: 700;
    font-style: italic;
    font-size: var(--fs-collage-label);
    line-height: 1.15;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}
.collage__arrow {
    position: absolute !important;
    left: 55%;
    top: 38%;
    transform: translateX(-50%);
    width: 6% !important;
    border-radius: 0 !important;
}
.collage__play {
    position: absolute !important;
    left: 51%;
    top: 46%;
    transform: translateX(-50%);
    width: 10% !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s;
}
.collage__watch:hover .collage__play { transform: translateX(-50%) scale(1.07); }

/* ============================================================
   Настои
   ============================================================ */
.nastoi__list { margin-top: 3%; }
.nastoi-card { margin-top: 5%; }
.nastoi-card[hidden],
.nastoi-card.hidden { display: none; }
.nastoi-card__photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.nastoi-card__photo img { display: block; width: 100%; }
/* Название вшито в фото (как в оригинале); текст остаётся в разметке
   скрыто — для SEO и скринридеров */
.nastoi-card__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.nastoi-card__props {
    margin-top: 2.5%;
    font-style: italic;
    font-size: var(--fs-nastoi-props);
    line-height: 1.25;
}
.nastoi-card__text {
    margin-top: 2%;
    font-size: var(--fs-nastoi-text);
    line-height: 1.25;
}
.nastoi-card__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2.5%;
}

/* ============================================================
   Четки/браслеты
   ============================================================ */
.beads__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
    row-gap: 12px;
    margin-top: 3.5%;
}
.beads__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.beads__gallery img:first-child { grid-column: 1 / -1; }
.footnote {
    margin-top: 3%;
    font-style: italic;
    font-size: var(--fs-footnote);
}

/* ============================================================
   Отзывы
   ============================================================ */
/* Отзыв в стиле ВК-виджета (по ТЗ: элементы-отсылки к ВК) */
.review {
    margin-top: 2.5%;
    border-top: 1px solid #e2e1e6;
    padding-top: 1.5%;
}
.review__pages {
    display: flex;
    justify-content: flex-end;
    gap: clamp(12px, 2vw, 22px);
    margin-bottom: 2.5%;
}
.review__pages a {
    color: #93939b;
    font-size: var(--fs-review-pages);
    text-decoration: none;
    padding-bottom: 4px;
    transition: color 0.2s;
}
.review__pages a:hover { color: #2a5885; }
.review__pages a.active {
    color: #2a5885;
    font-weight: 700;
    border-bottom: 3px solid #2a5885;
}
.review__head {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 20px);
}
.review__avatar-link { display: block; line-height: 0; flex-shrink: 0; }
.review__avatar {
    width: clamp(48px, 10.5vw, 112px);
    height: clamp(48px, 10.5vw, 112px);
    border-radius: 50%;
    object-fit: cover;
}
.review__name {
    color: #2a5885;
    font-weight: 700;
    font-size: var(--fs-review-name);
    text-decoration: none;
}
.review__name:hover { text-decoration: underline; }
.review__body {
    position: relative;
    margin-top: 2.5%;
    max-height: 16em;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.review__body p {
    margin-top: 0.7em;
    font-size: var(--fs-review-body);
    line-height: 1.25;
}
.review__body::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5em;
    background: linear-gradient(transparent, #fff);
}
.review__body.open { max-height: none; }
.review__body.open::after { display: none; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.6% 0 0 5.5%;
    text-decoration: none;
}
.cta__content { padding-bottom: 4.2%; }
.cta__title {
    display: block;
    font-size: var(--fs-cta-title);
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}
.cta__note {
    display: block;
    margin-top: 2%;
    font-size: var(--fs-cta-note);
    font-weight: 500;
}
.cta__title + .cta__note { margin-top: 4.5%; }
.cta__phone {
    display: flex;
    align-items: center;
    gap: var(--icon-gap);
    margin-top: 1.4%;
    font-size: var(--fs-cta-phone);
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    white-space: nowrap;
}
.cta__phone img {
    width: clamp(30px, 6.4vw, 65px);
    height: auto;
    flex-shrink: 0;
}
.cta:hover .cta__phone { color: var(--orange); transition: color 0.25s; }
.cta__photo {
    width: 47%;
    align-self: stretch;
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================================
   Футер
   ============================================================ */
.footer { padding: 3.5% 4.4%; }
.footer__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
}
.footer__note {
    font-size: var(--fs-footer-note);
    font-weight: 500;
    line-height: 1.3;
    max-width: 55%;
}
.footer__note a {
    color: inherit;
    text-decoration: none;
}
.footer__note a:hover {
    color: var(--orange-bright);
}
.footer__bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4%;
    margin-top: 2.6%;
}
.footer__social-title {
    font-size: var(--fs-footer-social-title);
    margin-bottom: 1em;
}
.footer__top {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: var(--bg);
    border-radius: 999px;
    padding: 1em 2em;
    font-family: 'Gilroy', 'DIN Pro', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--fs-footer-top);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}
.footer__top:hover { background: #e4e2e7; }
/* Стрелка «Наверх страницы» — жирная галка вплотную к тексту (по скриншоту клиента) */
.footer__top .chevron {
    width: 0.73em;
    height: 0.44em;
    margin-right: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14' fill='none'%3E%3Cpath d='M2.5 11.5L12 2.5L21.5 11.5' stroke='%23363636' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============================================================
   Попап (как в оригинале)
   ============================================================ */
body.popOpened { overflow: hidden; }
#popap {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    box-sizing: border-box;
    padding: 20px;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
}
#popap.opened { opacity: 1; visibility: visible; }
#popap .popContent {
    background: #fff;
    min-height: 300px;
    max-height: 86vh;
    max-width: 600px;
    width: 100%;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
}
#popap .content {
    padding: 26px;
    box-sizing: border-box;
}
#popap .content h2 {
    font-size: var(--fs-popup-title);
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-right: 40px;
}
#popap .content .text { line-height: 1.35; font-size: var(--fs-popup-text); }
#popap .content .text p { margin-bottom: 10px; }
#popap .content .text ul { list-style: disc; padding-left: 22px; margin-bottom: 10px; }
#popap .content .text li { margin-top: 4px; }
#popap .content .btn { margin-top: 14px; font-size: var(--fs-popup-btn); }
#popap .close {
    background: url("../img/icons/close.svg") no-repeat center / contain;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    cursor: pointer;
}
#popap .close:hover { background-image: url("../img/icons/close-hover.svg"); }

/* ============================================================
   Мобильная перестройка
   ============================================================ */
@media screen and (max-width: 640px) {
    .block { border-radius: 15px; margin-bottom: 0.5rem; }

    /* Шапка — как на оригинале: имя в строку с лого, иконки рядом ниже */
    .header { flex-wrap: wrap; gap: 6px 0; padding: 14px 4.4% 16px; }
    .header__logo img { width: 48px; }
    .header__name { font-size: var(--fs-header-name-m); }
    .header__name br { display: none; }
    .socials {
        flex-basis: 100%;
        gap: 22px;
        margin-left: 0;
    }
    .social-ic img { height: 27px; }

    /* Контакт-строка — как на оригинале: подпись строкой, телефон крупно слева */
    .contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 4.4% 16px;
    }
    .contact-bar__label { font-size: var(--fs-contact-label-m); }
    .contact-bar__label br { display: none; }
    .contact-bar__phone { font-size: var(--fs-contact-phone-m); }
    .contact-bar__wa { width: 40px; }

    /* Первый экран — как на оригинале: «Смотреть видео» слева от фото */
    .hero { padding: 5.5% 4.4% 0; }
    .hero__title { max-width: 97%; font-size: var(--fs-hero-title-m); }
    .hero__subtitle { max-width: 97%; margin-top: 10px; font-size: var(--fs-hero-subtitle-m); }
    .hero__card {
        width: 100%;
        margin-top: 14px;
        padding: 14px 16px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }
    .hero__card-fact { font-size: var(--fs-hero-card-fact-m); }
    .hero__card-note { max-width: 100%; margin-top: 8px; font-size: var(--fs-hero-card-note-m); }
    .hero__video {
        position: absolute;
        left: 4.4%;
        bottom: 7%;
        width: 40%;
    }
    /* Текст и стрелка — единый блок, привязанный к значку play:
       вертикаль обоих считается от верха кнопки (bottom: 88% = верх play),
       горизонталь стрелки — от его левого края, поэтому связка
       «текст → стрелка → play» не расходится ни на одной ширине экрана */
    /* Текст и стрелка жёстко привязаны к кнопке play:
       47.6% = левый край кнопки, все смещения от него в px,
       поэтому связка не смещается ни на одной ширине экрана */
    .hero__video-label {
        position: absolute;
        left: calc(47.6% - 57px);
        bottom: calc(88% + 38px);
        margin: 0;
        max-width: min-content; /* всегда в две строки: «Смотреть» / «видео» */
        font-size: var(--fs-hero-video-label-m);
        text-transform: uppercase;
    }
    .hero__video-arrow {
        display: block;
        position: absolute;
        width: 34px;
        left: calc(47.6% - 2px);
        bottom: 93%;
        margin: 0;
        transform: scaleX(-1);
    }
    .hero__video-media { width: 68%; margin: 0; }
    .hero__video-play { width: 62%; right: -32%; top: 12%; }
    .hero__photo {
        position: static;
        display: block;
        width: 72%;
        margin: 8px 0 0 auto;
        transform: translateX(4.4%);
    }

    /* Цифры */
    .stats { padding: 5.5% 4.4%; }
    .stats__title { font-size: var(--fs-stats-title-m); }
    .stats__flags { width: 150px; display: block; margin-top: 6px; }
    .stats__row { flex-direction: column; gap: 12px; margin-top: 14px; }
    .stats__item,
    .stats__item + .stats__item { width: 100%; gap: 12px; align-items: center; }
    .stats__icon { width: 42px; }
    .stats__icon--yt { width: 44px; }
    .stats__item p { font-size: var(--fs-stats-item-m); }

    /* Секции */
    .section { padding: 6% 4.4%; }
    .sec-title { font-size: var(--fs-section-title-m); line-height: 1.2; }
    .problem-card h3 { font-size: var(--fs-problem-title-m); }
    .problem-card p { font-size: var(--fs-problem-text-m); }
    .sec-lead { font-size: var(--fs-section-lead-m); margin-top: 8px; }
    .sec-text { font-size: var(--fs-section-text-m); margin-top: 8px; }
    .sub-title { font-size: var(--fs-subtitle-m); margin-top: 22px; }
    .checklist li { font-size: var(--fs-checklist-m); }
    .numlist li { font-size: var(--fs-numlist-m); }
    /* Пунктиры на мобильном: точки и шаг пропорционально мельче,
       стрелка — фиксированного размера, заметная и прижата к тексту */
    .dashed-link {
        font-size: var(--fs-dashed-link-m);
        background-image: radial-gradient(circle, var(--orange-bright) 1px, rgba(255, 153, 0, 0) 1.4px);
        background-size: 7px 3px;
        padding-bottom: 5px;
    }
    .dashed-link--expand { background-image: none; padding-bottom: 0; }
    .dashed-link--expand .dashed-text {
        background-image: radial-gradient(circle, var(--orange-bright) 1px, rgba(255, 153, 0, 0) 1.4px);
        background-size: 7px 3px;
        padding-bottom: 5px;
    }
    .chevron { width: 14px; height: 9px; margin-right: 2px; }
    .btn { font-size: var(--fs-button-m); padding: 12px 20px; }
    .actions { gap: 10px; margin-top: 20px; }
    .actions .btn { flex: 1 1 auto; }
    .service-pill { font-size: var(--fs-service-pill-m); display: block; text-align: center; }

    /* Проблемы: одна колонка */
    .problems__grid { grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }

    /* Настои */
    .nastoi-card { margin-top: 26px; }
    .nastoi-card__name { font-size: var(--fs-nastoi-name-m); }
    .nastoi-card__props, .nastoi-card__text { font-size: var(--fs-nastoi-props-text-m); }
    .nastoi-card__links { flex-direction: row; justify-content: space-between; margin-top: 12px; }

    /* Браслеты */
    .beads__gallery { gap: 8px; row-gap: 8px; }

    /* Отзывы */
    .review__body { max-height: 19em; }
    .review__body p { font-size: var(--fs-review-body-m); }
    .review__name { font-size: var(--fs-review-name-m); }

    /* CTA */
    .cta { flex-direction: column; align-items: stretch; padding: 6% 4.4% 0; }
    .cta__content { padding-bottom: 0; }
    .cta__title { font-size: var(--fs-cta-title-m); }
    .cta__note { font-size: var(--fs-cta-note-m); margin-top: 12px; }
    .cta__title + .cta__note { margin-top: 18px; }
    .cta__phone { font-size: var(--fs-cta-phone-m); margin-top: 10px; }
    .cta__phone img { width: 40px; }
    .cta__photo { width: 78%; margin: 10px 0 0 auto; transform: translateX(4.4%); }

    /* Футер */
    .footer { padding: 6% 4.4%; }
    .footer__top-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer__note { max-width: 100%; font-size: var(--fs-footer-note-m); }
    .footer__bottom-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 18px; }
    .footer__social-title { font-size: var(--fs-footer-social-title-m); }
    .footer__top { font-size: var(--fs-footer-top-m); }
}

/* Совсем узкие экраны */
@media screen and (max-width: 359px) {
    .header__name { font-size: var(--fs-header-name-xs); }
    .socials { gap: 12px; }
    .contact-bar__phone { font-size: var(--fs-contact-phone-xs); }
    .cta__phone { font-size: var(--fs-contact-phone-xs); }
}
