@charset "UTF-8";
/* =============================================================================
   work-app.ru — стили промо-сайта.

   Вёрстка повторяет прежний сайт на WordPress (тема Zakra + Elementor): размеры,
   цвета и отступы сняты из его CSS по элементам. Вместо ~2 МБ стилей темы и
   плагинов — один файл.

   Контрольные точки — как у Elementor прежнего сайта: планшет ≤ 1262px,
   телефон ≤ 767px.

   ⚠ Поля колонок. Elementor задавал их режимом секции: «default» — 10px,
   «extended» — 15px, «wider» — 30px с каждой стороны колонки. Почти все строки
   с картинками были «wider», и именно эти поля дают воздух между скриншотом и
   текстом (60px) и между строками. Здесь это padding строки плюс gap: боковой
   padding 20px вместе с 10px у .wrap дают те же 30px от края контейнера.

   ⚠ Порядок в файле значим: каждый медиазапрос стоит ПОСЛЕ базового правила,
   которое он переопределяет. Медиазапрос специфичность не повышает.
   ========================================================================== */

/* --- Шрифт -------------------------------------------------------------------
   Montserrat — переменный шрифт: один файл на набор символов покрывает все
   начертания 100–900. Расширенные наборы браузер скачает, только встретив
   символ из них. Имена файлов обязаны совпадать с preload в inc/layout.php. */

@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-italic-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
    src: url('../fonts/montserrat-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Основа ------------------------------------------------------------------ */

:root {
    --accent: #FFB000;
    --navy: #1E266D;
    --text: #000;
    --link: #16181a;
    --muted: #7A7A7A;
    --dark: #1F1F1F;
    --gray: #F3F3F3;
    --shadow: 0 0 45px 0 rgba(30, 38, 109, .16);
    --btn-shadow: 0 19px 30px 0 rgba(30, 38, 109, .1);
    --btn-shadow-hover: 0 3px 10px 0 rgba(30, 38, 109, .31);
}

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

/* ⚠ 90% — не опечатка. Тема Zakra задавала html { font-size: 90% }, то есть
   1rem = 14.4px, и все размеры заголовков ниже сняты в rem именно от этого. */
html { font-size: 90%; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
}

/* Въезжающие сбоку картинки до появления выходят за край окна. Без обрезки
   это давало горизонтальную прокрутку на ширинах 900–1360px. clip, а не
   hidden: не делает main прокручиваемым контейнером (hidden — запасной
   вариант для старых браузеров). */
main { overflow-x: hidden; overflow-x: clip; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; }
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 3rem;   line-height: 1.2; }
h3 { font-size: 2.5rem; line-height: 1.2; }
h4 { font-size: 1.9rem; line-height: 1.4; }
h5 { font-size: 1.6rem; line-height: 1.4; }
h6 { font-size: 1.3rem; line-height: 1.4; }

/* Абзац с хвостом 1.6em (27.2px), как у темы: этот хвост и есть расстояние
   от текста до кнопки, до следующего блока, до ролика. Обнуляется только там,
   где в оригинале абзаца не было (подписи карточек Elementor). */
p { margin: 0 0 1.6em; }
ul, ol { margin: 0 0 1.6rem 1.6rem; padding: 0; }
ul { list-style: square; }
strong, b { font-weight: 600; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; transition: color .35s ease-in-out, background-color .35s, box-shadow .35s; }
a:hover, a:focus { color: var(--accent); }
button { font: inherit; }
blockquote, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.accent { color: var(--accent); }

.wrap { max-width: 1260px; margin: 0 auto; padding: 0 10px; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 1001; padding: 8px 14px; background: #fff; }
.skip:focus { left: 10px; }

.ico { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -.125em; }
.ico--left { margin-right: 17px; }
.ico--right { margin-left: 10px; }

/* Пиксели счётчиков для посетителей без JS: грузятся, но места не занимают. */
.ym-pixel { position: absolute; left: -9999px; }

/* --- Кнопки ------------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 60px; cursor: pointer;
    font-weight: 600; line-height: 1; text-align: center;
    box-shadow: var(--btn-shadow);
}
.btn:hover, .btn:focus { box-shadow: var(--btn-shadow-hover); }
.btn--md { min-height: 47px; padding: 15px 30px; font-size: 16px; }
.btn--lg { min-height: 59px; padding: 20px 40px; font-size: 18px; }
.btn--accent { background: var(--accent); color: rgba(255, 255, 255, .9); }
.btn--accent:hover, .btn--accent:focus { color: #fff; }
.btn--white { background: #fff; color: #000; }
.btn--white:hover, .btn--white:focus { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: rgba(255, 255, 255, .9); box-shadow: 0 19px 30px 0 rgba(30, 38, 109, .19); }
.btn--navy:hover, .btn--navy:focus { color: #fff; }

/* Текстовая ссылка со стрелкой: кнопка Elementor с белым фоном и нулевыми полями. */
.tlink { display: inline-flex; align-items: center; color: var(--accent); font-size: 15px; font-weight: 600; line-height: 1; }
.tlink:hover, .tlink:focus { color: var(--navy); }

/* Крупная кнопка с подписью («Попробовать / Начните бесплатно!»). */
.mbtn {
    display: inline-block; padding: 1.6em 4em; border-radius: 500px;
    background: var(--accent); color: rgba(255, 255, 255, .9);
    font-size: 18px; line-height: 1; text-align: center;
    box-shadow: 0 19px 30px 0 rgba(30, 38, 109, .16);
}
.mbtn:hover, .mbtn:focus { color: #fff; box-shadow: var(--btn-shadow-hover); }
.mbtn__title { display: flex; align-items: center; justify-content: center; margin-bottom: 7px; font-size: 23px; font-weight: 800; }
.mbtn__title .ico--left { margin-right: 10px; }
.mbtn__desc { display: block; font-size: .9em; }

/* --- Шапка ------------------------------------------------------------------- */

.hdr { padding: 10px 10px 10px 0; }
.hdr__in { display: flex; align-items: center; }
.hdr__brand { width: 19.4%; padding: 0 20px; }
.hdr__logo { display: block; }
.hdr__logo img { width: 100%; }
.hdr__tagline { margin: 0; font-size: 13px; font-weight: 300; line-height: 1; }
.hdr__menu { width: 60.6%; padding: 0 5px 0 30px; display: flex; justify-content: center; }
.hdr__cta { width: 20%; padding: 20px 0 0 5px; text-align: center; }

/* На десктопе — строка ссылок, как JetMenu прежнего сайта в режиме desktop.
   ⚠ На главной прежний сайт показывал бургер и на десктопе, но это был
   артефакт кэша WP-Optimize: он сохранял версию, собранную для мобильного
   посетителя, и отдавал её всем. Сохранения внутренних страниц показывают
   строку меню. */
.burger {
    display: none; align-items: center; justify-content: center;
    min-width: 35px; min-height: 35px; padding: 0; border: 0; background: none;
    color: #0F0808; font-size: 24px; cursor: pointer;
}
.nav__controls { display: none; }
.nav__list { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.nav__link { display: block; margin: 0 5px; padding: 10px; color: var(--link); font-size: 16px; line-height: 1.2; }
.nav__link:hover, .nav__link:focus, .nav__link.is-current { color: var(--accent); }
.nav-cover { position: fixed; inset: 0; z-index: 997; background: rgba(0, 0, 0, .5); }
.nav-cover[hidden] { display: none; }

/* --- Герой главной ------------------------------------------------------------ */

.hero { margin-bottom: 50px; background: url('../img/bg-first-screen-717-3.png') top center / cover no-repeat; }
.hero__row { display: flex; align-items: center; }
.hero__text { position: relative; z-index: 1; width: 60.8%; padding: 82px 10px 76px 0; }
.hero__h1 { margin: 0; font-size: inherit; line-height: inherit; }
/* Строки h1 с размерами прежних h2 / h1 / h4. */
.hero__pre, .hero__title, .hero__post { display: block; font-weight: 800; }
.hero__pre { font-size: 3rem; font-weight: 300; line-height: 1.2; }
.hero__title { font-size: 55px; line-height: 1.2; }
.hero__post { font-size: 1.9rem; line-height: 1.4; }
.hero__lead { margin-top: 39px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.hero__img { width: 39.2%; }
/* Картинка шире своей колонки на 20% и заходит влево под текст: у виджета в
   оригинале margin-left -20% при ширине 100%, то есть 120% колонки. */
.hero__img img { display: block; width: 120%; max-width: none; margin-left: -20%; }

/* --- Проблемы (главная) ------------------------------------------------------ */

.probs { margin: 100px 0 70px; background: url('../img/bg-2.png') 0 0 no-repeat; }
/* Доли колонок — как их фактически раскладывал Elementor: в строке ширины
   давали больше 100% и сжимались пропорционально. */
.probs__row { display: grid; align-items: start; }
.probs__row--1 { grid-template-columns: 36fr 64fr; }
.probs__row--2 { grid-template-columns: 38.2fr 61.8fr; }
.probs__row--3 { grid-template-columns: 65.7fr 34.3fr; }
.probs__head { padding: 25px 10px 0; }
.probs__pre { font-weight: 300; }
.probs__title { margin-top: 23px; font-size: 2.8em; }
.probs__card {
    display: flex; align-items: flex-start; margin: 25px;
    padding: 2.4em; border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.probs__card p { margin: 0; }
/* Иконка в натуральную ширину (55px) в ячейке ~70px, как в image-box оригинала. */
.probs__icon { flex: none; width: 55px; margin-right: 45px; }
.probs__stop { margin-top: 39px; text-align: center; }
.probs__arrow { margin: 15px 0 0; color: var(--accent); font-size: 50px; line-height: 1; text-align: center; }

/* --- «WorkApp –» и три карточки ------------------------------------------------- */

.cards { margin-bottom: 70px; }
.cards--post { margin-top: 80px; }
.cards__head { margin-bottom: 36px; text-align: center; }
.cards__sub { margin-top: 10px; font-weight: 300; }
.cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 30px 20px; }
.cards__item { margin: 18px; padding: 2.4em; border-radius: 30px; box-shadow: var(--shadow); text-align: center; }
.cards__item p { margin: 0; }
/* Натуральный размер картинки (248px), не растягивать. */
.cards__img { display: block; width: auto; margin: -85px auto 30px; }

/* --- «Простое, гибкое и рабочее решение» --------------------------------------- */

.lead-head { margin-bottom: 50px; }
.lead-head__sub { margin-top: 10px; font-weight: 300; }

/* --- Строка «картинка + текст» ------------------------------------------------- */

.feat { margin: 0 0 50px; }
.feat__row { display: flex; align-items: center; gap: 60px; padding: 30px 20px; }
.feat__media, .feat__text { flex: 1 1 0; min-width: 0; }
.feat--rev .feat__media { order: 2; }
.feat--top .feat__row { align-items: flex-start; }
/* В строках, выровненных по верху, над текстом стоял разделитель 36px. */
.feat--top .feat__text { padding-top: 36px; }
.feat__title { margin-bottom: 30px; }
.feat__h2 { margin-bottom: 36px; }
.feat--last { margin-bottom: 100px; }
.feat--last-80 { margin-bottom: 80px; }
.feat--remote1 { margin: 100px 0 50px; }
.feat--start1 { margin: 80px 0 0; }
.feat--start2 { margin: 40px 0 0; }
.feat--start3 { margin: 60px 0 0; }
.feat--start4 { margin: 60px 0 80px; }
.feat--dl1 { margin: 100px 0 0; }
.feat--dl { margin: 50px 0 0; }
.feat--dl-last { margin-bottom: 100px; }

.shot { display: block; cursor: zoom-in; }
.shot img { width: 100%; }

/* Круговая диаграмма (inc/helpers.php pie_chart) */
.pie { margin: 0; text-align: center; }
.pie__title { margin: 0 0 10px; font-size: 1.6rem; font-weight: 800; line-height: 1.4; }
.pie__svg { display: block; width: 330px; max-width: 100%; height: auto; margin: 0 auto; }
.pie__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 12px 0 0; padding: 0; list-style: none; color: #666; font-size: 12px; line-height: 1.5; }
.pie__sw { display: inline-block; width: 40px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.pie__sw--0 { background: #FA5676; }
.pie__sw--1 { background: #FFB04D; }
.pie__sw--2 { background: #3598F1; }
.pie__sw--3 { background: #81E272; }
.pie__sw--4 { background: #BDC7CF; }

/* --- Отзыв ------------------------------------------------------------------- */

/* ⚠ Поле, а не отступ: внешний отступ схлопывался с нижним отступом строки
   выше, и фото, выступающее вверх на 40% ширины колонки, почти касалось
   скриншота. 175 = 165 шаблона + 10 поля колонки. */
.quote { padding-top: 175px; }
.quote--home1, .quote--home2 { margin-bottom: 80px; }
.quote__row { display: flex; align-items: stretch; }
.quote__photo { position: relative; z-index: 1; width: 32%; text-align: center; }
.quote--1 .quote__photo img { margin-top: -40%; }
.quote--2 .quote__photo img { margin-top: -34%; }
/* Карточка тянется на высоту фото: фон в оригинале стоял на колонке. */
.quote__card {
    width: 68%; margin: 0 0 0 -6.8%; padding: 2.4em 2.4em 2.4em 5em;
    border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.quote__who { margin: 0; font-weight: 600; line-height: 1.2; }
.quote__size { margin: 10px 0 0; font-weight: 300; font-style: italic; line-height: 1.2; }

/* --- Жёлтая полоса ------------------------------------------------------------ */

.cta-y { padding: 60px 0; background: var(--accent) url('../img/bg-cta-1.png') center center; text-align: center; }
.cta-y__title { color: #fff; }
/* 47 = хвост абзаца 27 + разделитель 20. */
.cta-y__text { margin: 20px 0 47px; color: #fff; }
.cta-y__btn { margin: 0; }

/* --- Серая плашка ------------------------------------------------------------- */

.cta-g { padding: 60px 0; background: var(--gray); }
.cta-g--post { margin-top: 60px; }
.cta-g__row { display: flex; align-items: center; gap: 30px; padding: 15px 5px; }
.cta-g__text { width: 51.5%; }
.cta-g__title { margin-bottom: 20px; }
.cta-g__btn { width: 48.5%; padding-bottom: 20px; text-align: center; }

/* --- Преимущества ------------------------------------------------------------- */

.adv { margin-top: 100px; }
.adv--remote { margin-bottom: 50px; }
.adv__sub { margin: 15px 0 36px; font-weight: 300; }
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 30px 20px; }
.adv__item { text-align: center; }
.adv__item p { margin: 0; }
/* Ячейка 40% ширины, картинка в натуральную величину (140px), если влезает. */
.adv__icon { display: block; width: auto; max-width: 40%; margin: 0 auto 30px; }
.adv__name { margin-bottom: 15px; }

/* --- Шапка внутренней страницы ------------------------------------------------ */

.phead { padding: 50px 0; }
.crumbs { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 300; }
.crumbs a { color: var(--muted); }
.crumbs a:hover, .crumbs a:focus { color: var(--accent); }
.phead__title--xxl { font-size: 59px; }
.phead__sub { margin-top: 10px; font-weight: 300; }
.phead__title:not(.phead__title--xxl) + .phead__sub { margin-top: 30px; }

/* --- Три шага ----------------------------------------------------------------- */

.steps--remote { margin-top: 80px; }
.steps__row { display: flex; align-items: flex-start; gap: 60px; padding: 30px 20px; }
.steps__item { flex: 25 1 0; min-width: 0; }
.steps__item:last-child { flex-grow: 26; }
.steps__item > :last-child { margin-bottom: 0; }
.steps__sep { flex: 12 1 0; padding-top: 84px; }
.steps__sep::before { content: ''; display: block; border-top: 1px solid rgba(122, 122, 122, .45); }
.steps__num { margin-bottom: 10px; }

/* --- Обучающие видео ---------------------------------------------------------- */

.videos { margin: 50px 0 0; }
.videos--start { margin: 80px 0; }
.videos__title { margin-bottom: 30px; }
.videos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 15px 5px; }
.video__play { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video__thumb { width: 100%; height: 100%; object-fit: cover; }
.video__icon { position: absolute; top: 50%; left: 50%; width: 62px; height: 44px; transform: translate(-50%, -50%); }
.video__icon-bg { fill: #1f1f1e; fill-opacity: .81; transition: fill .2s, fill-opacity .2s; }
.video__play:hover .video__icon-bg, .video__play:focus .video__icon-bg { fill: #cc181e; fill-opacity: 1; }
.video__cap { margin-top: 15px; font-size: 1.3rem; font-weight: 500; line-height: 1.4; }

.more-btn { margin: 30px 0 60px; text-align: center; }

/* --- «Удалённая работа»: для кого -------------------------------------------- */

.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 30px 20px; }
.who__img { display: block; width: auto; margin-bottom: 30px; }
.who__title { margin-bottom: 15px; }
.who__item p { margin: 0; }
.howto { margin-top: 80px; text-align: center; }

/* --- «С чего начать»: установка ----------------------------------------------- */

.install { margin-top: 60px; text-align: center; }
.install .wrap { padding: 30px 40px; }
.install__title { margin-bottom: 36px; }
.install__text { margin: 0 9% 1.6em; }
.install__btn { margin: 0 0 15px; }

.safe { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0; font-weight: 600; }
.safe__icon { width: 64px; }

/* --- «Скачать» ----------------------------------------------------------------- */

.dl { margin-bottom: 80px; }
.dl__row { display: flex; align-items: center; gap: 30px; padding: 15px 5px; }
.dl__get, .dl__how { flex: 1 1 0; min-width: 0; }
.dl__get { text-align: center; }
.dl__title { margin-bottom: 30px; }
.dl__get .dl__title { text-align: center; }
.dl__how .dl__title { text-align: left; }
.dl__btn { margin: 0 0 15px; }
/* 57 = хвост абзаца 27 + разделитель 30 перед роликом. */
.dl__how .video { margin-top: 30px; }

/* --- Вкладки «Функционала» ---------------------------------------------------- */

.tabs-sec { margin-top: 42px; }
.tabs__list { display: none; }
.tabs__nojs { margin: 20px 0 15px; font-size: 1.3rem; line-height: 1.4; }
.tabs__panel { padding: 20px; border: 1px solid rgba(122, 122, 122, .16); }
.tabs__panel ul:last-child { margin-bottom: 0; }
.tabs__panel + .tabs__panel { margin-top: 20px; }

/* Со скриптом — настоящие вкладки: активный заголовок сливается с панелью. */
.js .tabs__list { display: flex; flex-wrap: wrap; }
.js .tabs__nojs { display: none; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.js .tabs__panel[hidden] { display: none; }
.tabs__tab {
    position: relative; margin-bottom: -1px; padding: 20px 25px;
    border: 1px solid transparent; border-bottom: 0; background: none;
    color: #000; font-weight: 600; line-height: 1; cursor: pointer;
}
.tabs__tab.is-active { border-color: rgba(122, 122, 122, .16); background: #fff; color: var(--accent); }
.tabs__tab:hover { color: var(--accent); }

/* --- Раздел «Информация» и статья ---------------------------------------------- */

.posts { margin-bottom: 80px; }
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.posts__title { margin-bottom: 9px; font-size: 22px; line-height: 1.5; }
.posts__date { margin: 0 0 6px; color: var(--muted); font-size: 12px; }
.posts__excerpt { margin: 0 0 6px; font-size: 14px; }
.posts__more { margin: 0; font-size: 14px; font-weight: 600; }
.posts__more a { color: var(--accent); }
.posts__more a:hover { color: var(--navy); }

.art { padding-top: 50px; }
.art__back { margin: 0 0 10px; font-size: 14px; }
.art__back a { display: inline-flex; align-items: center; color: var(--muted); }
.art__back a:hover, .art__back a:focus { color: var(--accent); }
.art__back .ico--left { margin-right: 10px; }
.art__title { font-size: 59px; }
.art__date { margin: 25px 0 50px; color: var(--muted); font-size: 14px; }
.art__date .ico--left { margin-right: 8px; }
.art__body { margin: 0 10%; }
.art__body > :last-child { margin-bottom: 0; }
.art__body h2, .art__body h3, .art__body h4 { margin-bottom: 20px; }
.art__body a { color: var(--link); }
.art__body a:hover, .art__body a:focus { color: var(--accent); }
.art__sep { margin: 26px 0; border: 0; border-top: 1px solid #C6C6C6; }
.art__nav { display: flex; justify-content: space-between; gap: 20px; }
.art__prev, .art__next { display: flex; align-items: center; gap: 10px; max-width: 48%; }
.art__next { margin-left: auto; text-align: right; }
.art__arrow { color: #d4d4d4; font-size: 22px; }
.art__label { display: block; color: var(--muted); font-size: .8em; line-height: 1.4; text-transform: uppercase; }
.art__name { display: block; overflow: hidden; font-size: 13px; font-weight: 300; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.art__prev > span, .art__next > span { min-width: 0; }

/* --- Служебные страницы (404, итог формы) --------------------------------------- */

.msg { padding: 80px 0; text-align: center; }
.msg__title { margin-bottom: 20px; }

/* --- Подвал ------------------------------------------------------------------ */

/* ⚠ Поле, а не отступ у карточки: иначе отступ схлопывался с нижним отступом
   последней секции страницы. 63 = 5% от контейнера 1260. */
.ftr { padding-top: 63px; }
.ftr__card {
    position: relative; z-index: 1;
    width: 86%; max-width: 1084px; margin: 0 auto; padding: 2.4em 8em;
    border-radius: 30px; background: #fff; box-shadow: var(--shadow); text-align: center;
}
.ftr__sub { margin: 20px 0; font-weight: 300; }
/* 37 = хвост абзаца 27 + поле колонки формы 10. */
.ftr__lead { margin: 0 0 37px; }
.ftr__band {
    position: relative; z-index: 0;
    margin-top: -250px; padding: 272px 10px 30px;
    background: var(--dark); color: #fff; text-align: center;
}
.ftr__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin: 0 0 16px; font-size: 14px; }
.ftr__nav a { color: rgba(255, 255, 255, .75); }
.ftr__nav a:hover, .ftr__nav a:focus { color: var(--accent); }
.ftr__dev { margin: 0; }
.ftr__dev .ftr__brand { color: var(--accent); }
.ftr__dev .ftr__brand:hover, .ftr__dev .ftr__brand:focus { color: #fff; }
.ftr__dev .ftr__privacy { border-bottom: 1px dashed; color: #fff; font-size: 12px; }
.ftr__dev .ftr__privacy:hover, .ftr__dev .ftr__privacy:focus { border-bottom-color: transparent; color: gray; }

/* Форма подписки */
.sub { max-width: 76%; margin: 0 auto; text-align: left; }
.sub__row { margin: 0 0 10px; }
.sub__email {
    width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #ccc; border-radius: 0;
    background: transparent; color: #000;
    font-family: inherit; font-size: 18px; font-weight: 300; line-height: 1.4;
}
.sub__email:focus { border-bottom-color: #000; outline: none; }
.sub__consent { font-size: 10px; line-height: 1.5; }
.sub__consent input { margin: 0 6px 0 0; vertical-align: middle; }
.sub__consent a { color: inherit; text-decoration: underline; }
/* Ловушка для роботов: display:none, а не увод за край экрана. Скрытое так
   поле не заполняют менеджеры паролей и автозаполнение браузера, а робот,
   разбирающий HTML, заполняет. Иначе живой посетитель получал бы «Спасибо»
   без письма. */
.sub__hp { display: none; }
.sub__btn {
    display: block; width: 100%; margin: 16px 0 0; padding: 15px; border: 0; border-radius: 100px;
    background: var(--accent); color: #fff; font-size: 20px; font-weight: 600; line-height: 1.2;
    box-shadow: var(--btn-shadow); cursor: pointer;
}
.sub__btn:hover { box-shadow: var(--btn-shadow-hover); }
.sub__btn:focus { box-shadow: none; }
.sub__btn[disabled] { opacity: .6; cursor: default; }
.sub__msg { margin: 12px 0 0; font-size: 14px; line-height: 1.5; text-align: center; }
.sub__msg:empty { display: none; }
.sub__msg.is-ok { color: #2e7d32; }
.sub__msg.is-err { color: #c62828; }

/* --- Лайтбокс ---------------------------------------------------------------- */

.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 50px 20px; background: rgba(0, 0, 0, .85); }
.lb[hidden] { display: none; }
.lb__body img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
/* Ширина ограничена и высотой окна: в горизонтальном телефоне плеер иначе
   выходил за экран. */
.lb__body iframe { display: block; width: min(92vw, 1100px, calc(86vh * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.lb__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; }

/* --- Посадочные страницы: текст, тезисы, сравнение, вопросы ---------------------
   Тот же набор, что у остального сайта: тени var(--shadow), скругление 10px у
   карточек, акцент, заголовки темы. */

.prose { margin: 0 0 50px; }
.prose--gap { margin-top: 30px; }
.prose__in { max-width: 900px; }
.prose__in > :last-child { margin-bottom: 0; }
.prose__in h2 { margin: 0 0 20px; }
.prose__in h3 { margin: 30px 0 15px; font-size: 1.9rem; line-height: 1.4; }
.prose__in a, .faq__a a, .points__item a { color: var(--accent); }
.prose__in a:hover, .faq__a a:hover, .points__item a:hover { color: var(--navy); }

.points { margin: 0 0 50px; }
.points__sub { margin: 15px 0 0; font-weight: 300; }
.points__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 30px 10px; }
.points__item { padding: 2.4em; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.points__item > :last-child { margin-bottom: 0; }
.points__name { margin-bottom: 15px; }

.cmp { margin: 0 0 60px; }
.cmp__title { margin-bottom: 30px; }
/* Узкий экран: таблица прокручивается сама, страница вбок не едет. */
.cmp__scroll { overflow-x: auto; border-radius: 10px; box-shadow: var(--shadow); }
.cmp__table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-size: 16px; line-height: 1.5; }
.cmp__table th, .cmp__table td { padding: 16px 20px; border-bottom: 1px solid #ececec; text-align: left; vertical-align: top; }
.cmp__table thead th { background: var(--gray); font-weight: 800; }
.cmp__table thead th:last-child { color: var(--accent); }
.cmp__table tbody th { font-weight: 600; }
.cmp__table tbody tr:last-child th, .cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.faq { margin: 0 0 60px; }
.faq__title { margin-bottom: 30px; font-size: 2.5rem; }
.faq__list { max-width: 900px; border-top: 1px solid rgba(122, 122, 122, .16); }
.faq__item { border-bottom: 1px solid rgba(122, 122, 122, .16); }
.faq__q {
    position: relative; padding: 20px 50px 20px 0; cursor: pointer;
    font-weight: 600; line-height: 1.5; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: '+'; position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    color: var(--accent); font-size: 28px; font-weight: 300; line-height: 1;
}
.faq__item[open] > .faq__q::after { content: '\2212'; }
.faq__q:hover { color: var(--accent); }
.faq__a { padding: 0 0 20px; }
.faq__a > :last-child { margin-bottom: 0; }

.related { margin: 0 0 60px; }
.cta-y + .related { margin-top: 60px; }
.related__title { margin-bottom: 15px; }
.related__list { margin: 0 0 0 1.6rem; }
.related__list a { color: var(--accent); }
.related__list a:hover { color: var(--navy); }

/* --- Появление при прокрутке ------------------------------------------------------
   Только под классом `js` (inc/layout.php): без скрипта всё видно сразу. */

.js .reveal { opacity: 0; transition: opacity .8s ease, transform .8s ease; }
.js .reveal--up { transform: translateY(40px); }
.js .reveal--left { transform: translateX(-60px); }
.js .reveal--right { transform: translateX(60px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .1s !important; }
.reveal--d2 { transition-delay: .2s !important; }
.reveal--d3 { transition-delay: .3s !important; }
.reveal--d4 { transition-delay: .4s !important; }

/* =============================================================================
   Планшет: ≤ 1262px
   ========================================================================== */

@media (max-width: 1262px) {
    .wrap { max-width: 1025px; }

    /* Шапка: бренд 40% | пусто 10% + бургер 20% у правого края | «Войти» 30% */
    .hdr__brand { width: 40%; }
    .hdr__menu { width: 30%; padding: 0; justify-content: flex-end; }
    .hdr__cta { width: 30%; padding-top: 0; }
    .burger { display: inline-flex; }

    /* Выезжающая справа панель, как мобильное меню JetMenu (400px).
       ⚠ Только под классом `js`: без скрипта открыть её нечем, и меню
       остаётся строкой ссылок в шапке. */
    .js .nav {
        position: fixed; top: 0; right: 0; z-index: 998;
        width: 400px; max-width: 100%; height: 100%;
        padding: 20px; overflow-y: auto; background: #fff;
        transform: translateX(100%); visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
    }
    .js .nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
    .js .nav__controls { display: flex; justify-content: flex-end; min-height: 35px; }
    .nav__close { min-width: 30px; min-height: 30px; padding: 0; border: 0; background: none; color: #3a3a3a; font-size: 20px; cursor: pointer; }
    .js .nav__list { display: block; }
    .js .nav__list li { padding: 10px 0; }
    .js .nav__link { margin: 0; padding: 0; color: var(--link); font-size: 17px; line-height: 1.8; }
    .js .nav__link.is-current { color: var(--link); }
    .js .nav__link:hover, .js .nav__link:focus { color: var(--accent); }
    html:not(.js) .burger { display: none; }

    .hero__row { flex-direction: column; }
    .hero__text, .hero__img { width: 100%; }
    .hero__text { padding-right: 0; }
    .hero__img img { width: 100%; max-width: 100%; margin-left: 0; }

    .probs__row--1, .probs__row--2, .probs__row--3 { grid-template-columns: 1fr; }

    .cards__grid { grid-template-columns: 1fr; }

    /* Строки «картинка + текст» складываются картинкой вверх, кроме строк
       «С чего начать» и «Скачать»: там в оригинале две колонки держались до
       телефона. */
    .feat:not(.feat--keep) .feat__row { flex-direction: column; align-items: stretch; }
    .feat:not(.feat--keep).feat--rev .feat__media { order: 0; }
    .feat:not(.feat--keep) .feat__media, .feat:not(.feat--keep) .feat__text { flex: none; width: 100%; }

    .quote { padding-top: 60px; }
    .quote__row { flex-direction: column; }
    .quote__photo { width: 100%; }
    .quote--1 .quote__photo img, .quote--2 .quote__photo img { margin-top: 0; }
    .quote__card { width: 96%; margin: 0 2% 2%; padding: 1em 3em 3em; }

    .steps__item, .steps__item:last-child { flex: 30 1 0; }
    .steps__sep { flex: 5 1 0; }

    .who__grid { grid-template-columns: 1fr 1fr; }
    .who__item:last-child { grid-column: 1 / -1; }

    .posts__grid { grid-template-columns: 1fr 1fr; }

    .art__body { margin: 0 5%; }

    .ftr { padding-top: 51px; }
    .ftr__card { max-width: 881px; padding: 3em; }

    /* На планшете скриншоты въезжали снизу, а не сбоку. */
    .js .reveal--left, .js .reveal--right { transform: translateY(40px); }
    .js .reveal.is-in { transform: none; }
}

/* =============================================================================
   Телефон: ≤ 767px
   ========================================================================== */

@media (max-width: 767px) {
    .wrap { max-width: 768px; }

    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }

    /* Шапка: бренд 60% | пусто 20% + бургер 20% | «Войти» строкой ниже */
    .hdr__in { flex-wrap: wrap; }
    .hdr__brand { width: 60%; }
    .hdr__menu { width: 40%; }
    .hdr__cta { width: 100%; margin: 25px 0 20px; }
    .burger { font-size: 28px; }

    .hero__pre { font-size: 35px; }
    .hero__title { font-size: 40px; }
    .hero__post { font-size: 20px; }

    .probs__title { font-size: 38px; }
    .probs__card { flex-direction: column; align-items: center; margin: 15px 5px; text-align: center; }
    .probs__icon { margin: 0 0 30px; }
    .probs__stop { font-size: 28px; }

    .lead-head__title { font-size: 38px; }
    .feat__title { font-size: 20px; }
    .feat__h2 { font-size: 30px; }
    .pie__title { font-size: 18px; }

    .feat--keep .feat__row { flex-direction: column; align-items: stretch; }
    .feat--keep .feat__media, .feat--keep .feat__text { flex: none; width: 100%; }
    .feat--top .feat__text { padding-top: 0; }

    .quote__card { width: 90%; margin: 0 5% 5%; padding: 1em; }

    .cta-g__row { flex-direction: column; align-items: stretch; }
    .cta-g__text, .cta-g__btn { width: 100%; }
    .cta-g__title { font-size: 38px; }
    .mbtn { padding: 20px 50px; }
    .mbtn__title { font-size: 20px; }
    .mbtn__desc { font-size: 15px; }

    .adv__title { font-size: 35px; }
    .adv__grid { grid-template-columns: 1fr; }

    .phead__title, .phead__title--xxl, .art__title { font-size: 30px; }

    .steps__row { flex-direction: column; }
    .steps__item, .steps__item:last-child { flex: none; width: 100%; }
    .steps__sep { display: none; }

    .videos__title { font-size: 30px; }
    .videos__grid { grid-template-columns: 1fr; }
    .video__cap { font-size: 16px; }

    .who__grid { grid-template-columns: 1fr; }
    .howto__title { font-size: 38px; }
    .install .wrap { padding: 30px 40px; }
    .install__title { font-size: 30px; }
    .install__text { margin: 0 0 1.6em; }

    .dl__row { flex-direction: column; align-items: stretch; }

    /* Вкладки на телефоне — как аккордеон Elementor, но раскрыто всё: строка
       вкладок пропадает, заголовки встают над своими панелями. */
    .js .tabs__list { display: none; }
    .js .tabs__nojs { display: block; }
    .js .tabs__panel[hidden] { display: block; }
    .js .tabs__panel + .tabs__panel { margin-top: 20px; }

    .posts__grid { grid-template-columns: 1fr; }

    .points__grid { grid-template-columns: 1fr; padding: 20px 0; }
    .points__item { padding: 1.6em; }
    .prose__in h3 { font-size: 20px; }
    .cmp__table th, .cmp__table td { padding: 12px 14px; }
    .faq__title { font-size: 22px; }

    .art__body { margin: 0; }
    .art__nav { flex-direction: column; }
    .art__prev, .art__next { max-width: 100%; }

    .ftr { padding-top: 0; }
    .ftr__card { width: 100%; }
    .ftr__title { font-size: 26px; }
    .sub { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .nav, .js .nav.is-open { transition: none; }
    .js .reveal { opacity: 1; transform: none; }
}
