/* ---------------------------------------------------------
   landing.css — общий каркас SEO-лендингов.

   Раньше каждый лендинг тащил собственный CSS на 300–500 строк,
   в котором 80% правил повторялись. Этот файл — единственный
   стилевой слой, который нужен новой посадочной странице:

     base.css → layout.css → components.css →
     landing.css → footer.css → seo-blocks.css

   Переменные и сброс берутся из base.css, шапка — из layout.css,
   кнопки и бейджи — из components.css, футер и «Смотрите также» —
   из footer.css и seo-blocks.css. Здесь только то, чего нет там.
   --------------------------------------------------------- */

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

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

.lp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.lp-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.lp-topbar__logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.lp-topbar__name {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.lp-topbar__name b {
    font-weight: 600;
    letter-spacing: -0.03em;
}

.lp-topbar__name small {
    font-size: 11px;
    color: var(--text-soft);
}

.lp-topbar__actions {
    display: flex;
    gap: 8px;
}

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

.lp-hero {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.lp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-title,
.lp-hero__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hero-highlight {
    background: linear-gradient(90deg, #2f6bff, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle,
.lp-hero__sub {
    margin: 0 0 22px;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lp-hero__note {
    font-size: 12px;
    color: var(--text-soft);
}

/* ---------- Секции ---------- */

.lp-section {
    margin-bottom: 48px;
}

.lp-section__title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.lp-section__sub {
    margin: 0 0 24px;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ---------- Сетка карточек ---------- */

.lp-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .lp-grid,
    .lp-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .lp-grid,
    .lp-grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lp-card {
    padding: 20px;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.lp-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: var(--primary-soft);
    font-size: 20px;
    line-height: 1;
}

.lp-card__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lp-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ---------- Пошаговый сценарий ---------- */

.lp-steps {
    counter-reset: lp-step;
    display: grid;
    gap: 12px;
}

.lp-step {
    position: relative;
    padding: 18px 20px 18px 60px;
    border-radius: var(--radius-lg);
    background: var(--bg-softer);
    border: 1px solid rgba(148, 163, 184, 0.26);
}

.lp-step::before {
    counter-increment: lp-step;
    content: counter(lp-step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.lp-step__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.lp-step__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---------- Сравнение «до / после» ---------- */

.lp-compare {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .lp-compare {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lp-compare__col {
    padding: 20px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: var(--card-bg);
}

.lp-compare__col--bad {
    background: var(--bg-soft);
}

.lp-compare__head {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
}

.lp-compare__list {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------- Финальный призыв ---------- */

.lp-cta {
    margin-bottom: 48px;
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.10), rgba(249, 115, 22, 0.10));
    border: 1px solid rgba(148, 163, 184, 0.3);
    text-align: center;
}

.lp-cta__title {
    margin: 0 0 10px;
    font-size: clamp(20px, 2.8vw, 26px);
    letter-spacing: -0.025em;
}

.lp-cta__text {
    margin: 0 auto 20px;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

.lp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
