/* ---------------------------------------------------------------------------
   Ads Force -- лендинг агентства.

   Сайт сознательно сделан статикой без сборщика: одна страница, одна таблица
   стилей, один скрипт. Причина не в лени, а в том, что этот сайт живёт на том
   же сервере, что и боевой лид-хаб, и любая лишняя движущаяся часть здесь --
   это риск для хаба, а не удобство для нас.
   --------------------------------------------------------------------------- */

:root {
    --bg: #0a0a0b;
    --bg-soft: #101012;
    --card: #141417;
    --card-hi: #1b1b20;
    --line: #26262c;
    --text: #f7f7f8;
    --muted: #9a9aa4;
    --dim: #6d6d78;
    --accent: #ff4d18;
    --accent-soft: rgba(255, 77, 24, 0.12);

    --radius: 18px;
    --radius-sm: 12px;
    --shell: 1180px;

    --display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
}

p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Каркас
   -------------------------------------------------------------------------- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section--soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section__head {
    max-width: 720px;
    margin-bottom: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}

.section__title {
    font-size: clamp(28px, 4.4vw, 44px);
}

.section__lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 17px;
    max-width: 620px;
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    transform: translateY(-2px);
    background: #ff6335;
}

.btn--ghost {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
}

.btn--ghost:hover {
    border-color: var(--dim);
    background: rgba(255, 255, 255, 0.04);
}

.btn--wide {
    width: 100%;
    padding: 16px 26px;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 10, 11, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.header.is-stuck {
    border-bottom-color: var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.logo img {
    height: 22px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.16s ease;
}

.nav a:hover {
    color: var(--text);
}

.header__cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    background: var(--text);
    transform: translateX(-50%);
    content: '';
}

.burger span {
    top: 50%;
    margin-top: -1px;
}

.burger span::before {
    top: -6px;
}

.burger span::after {
    top: 6px;
}

/* --------------------------------------------------------------------------
   Первый экран
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    padding: 96px 0 88px;
    overflow: hidden;
}

/* Свечение рисуем градиентом, а не картинкой: одна пустая ссылка меньше, и на
   слабом соединении экран не мигает белым. */
.hero::before {
    content: '';
    position: absolute;
    top: -280px;
    right: -180px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(255, 77, 24, 0.16) 0%, transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 28px;
}

.tag__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
    font-size: clamp(38px, 7.2vw, 76px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero__lead {
    margin-top: 26px;
    font-size: clamp(17px, 2vw, 20px);
    color: var(--muted);
    max-width: 660px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 72px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.fact {
    background: var(--bg);
    padding: 26px 28px;
}

.fact__key {
    font-family: var(--display);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.fact__val {
    margin-top: 8px;
    font-size: 14px;
    color: var(--dim);
}

/* --------------------------------------------------------------------------
   Каналы
   -------------------------------------------------------------------------- */

.grid {
    display: grid;
    gap: 20px;
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.channel:hover {
    transform: translateY(-4px);
    border-color: #3a3a44;
    background: var(--card-hi);
}

.channel__mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--display);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
}

.channel h3 {
    font-size: 19px;
}

.channel p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

.channel ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.channel li {
    font-size: 12px;
    color: var(--dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 10px;
}

/* --------------------------------------------------------------------------
   Услуги
   -------------------------------------------------------------------------- */

.service {
    display: flex;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color 0.2s ease;
}

.service:hover {
    border-color: #3a3a44;
}

.service__num {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    padding-top: 4px;
    letter-spacing: 0.06em;
}

.service h3 {
    font-size: 18px;
}

.service p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Процесс
   -------------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 28px;
    border-top: 2px solid var(--line);
}

.step::before {
    counter-increment: step;
    content: '0' counter(step);
    position: absolute;
    top: -14px;
    left: 0;
    padding-right: 12px;
    background: var(--bg-soft);
    font-family: var(--display);
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

.step h3 {
    font-size: 17px;
}

.step p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   О нас
   -------------------------------------------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
}

.about__text p + p {
    margin-top: 18px;
}

.about__text p {
    color: var(--muted);
    font-size: 16.5px;
}

.about__text strong {
    color: var(--text);
    font-weight: 600;
}

.checks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.checks li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
    font-size: 15px;
}

.checks svg {
    flex: none;
    margin-top: 3px;
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Заявка
   -------------------------------------------------------------------------- */

.contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.contact__aside p {
    color: var(--muted);
    margin-top: 18px;
}

.contact__list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 4px;
}

.contact__list a,
.contact__list span {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--muted);
    transition: color 0.16s ease;
}

.contact__list a:hover {
    color: var(--accent);
}

.form {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
}

.form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: block;
    margin-bottom: 16px;
}

.field__label {
    display: block;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 8px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    transition: border-color 0.16s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.field textarea {
    min-height: 108px;
    resize: vertical;
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 4px 0 22px;
    font-size: 13px;
    color: var(--dim);
    line-height: 1.5;
}

.consent input {
    flex: none;
    margin-top: 2px;
    width: 17px;
    height: 17px;
    accent-color: var(--accent);
}

.consent a {
    color: var(--muted);
    text-decoration: underline;
    text-decoration-color: var(--line);
}

.form__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--dim);
    text-align: center;
}

.form__done {
    display: none;
    padding: 16px 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 77, 24, 0.35);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    font-size: 14.5px;
}

.form.is-sent .form__done {
    display: block;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__brand {
    max-width: 320px;
}

.footer__tagline {
    color: var(--dim);
    font-size: 14px;
    max-width: 300px;
}

.footer__cols {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer__col h4 {
    margin: 0 0 14px;
    font-family: var(--display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
}

.footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 14.5px;
    color: var(--muted);
}

.footer__col a:hover {
    color: var(--accent);
}

.footer__bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--dim);
}

/* --------------------------------------------------------------------------
   Появление при прокрутке
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Внутренняя страница (политика)
   -------------------------------------------------------------------------- */

.doc {
    padding: 72px 0 96px;
    max-width: 780px;
}

.doc h1 {
    font-size: clamp(30px, 5vw, 44px);
}

.doc__meta {
    margin-top: 14px;
    color: var(--dim);
    font-size: 14px;
}

.doc h2 {
    margin-top: 44px;
    font-size: 20px;
    text-transform: none;
    letter-spacing: -0.01em;
}

.doc p,
.doc li {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
}

.doc ul {
    padding-left: 22px;
}

.doc a {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--dim);
}

.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--muted);
}

.back:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   Узкие экраны
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
    .grid--4,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 72px 0;
    }

    .nav {
        position: fixed;
        inset: 76px 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 24px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        transition: transform 0.28s ease;
    }

    .nav.is-open {
        transform: none;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .burger {
        display: block;
    }

    .header__cta .btn {
        display: none;
    }

    .hero {
        padding: 64px 0 72px;
    }

    .hero__facts {
        grid-template-columns: 1fr;
        margin-top: 52px;
    }

    .grid--4,
    .grid--2,
    .steps {
        grid-template-columns: 1fr;
    }

    .form,
    .service {
        padding: 24px;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer__cols {
        gap: 36px;
    }
}
