/* Крупные секции страницы: первый экран, проблема, шаги, состав, кейсы */

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

.hero { padding: clamp(48px, 6vw, 76px) 0 clamp(48px, 6vw, 80px); }

.hero__top {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 7px 15px 7px 12px;
    background: var(--accent-soft);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-ink);
}
.hero__badge::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero__lead {
    margin-top: 24px;
    font-size: clamp(18px, 1.9vw, 20px);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 620px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}
.hero__note { font-size: 15px; color: var(--ink-muted); }

.hero__photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-alt);
}
.hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: clamp(44px, 5vw, 64px);
    padding-top: clamp(30px, 4vw, 40px);
    border-top: 1px solid var(--line);
}
.hero__stat-value {
    font-size: clamp(26px, 2.9vw, 36px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.03em;
}
.hero__stat-label {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.4;
}

/* --- Три задачи --- */

.task { display: flex; flex-direction: column; }
.task__num {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent);
}
.task__title { font-size: 19px; margin-bottom: 18px; }
.task__metric {
    font-size: clamp(30px, 3.4vw, 38px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--accent);
}
.task__metric-label {
    margin: 8px 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.task__text { font-size: 15px; margin: 0; }

.note {
    margin-top: 32px;
    padding: 22px 26px;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 16px;
    color: var(--ink-soft);
}

/* --- Шаги --- */

.step { position: relative; }
.step__n {
    display: block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent);
}
.step__title { margin-bottom: 12px; }
.step__text { font-size: 16px; margin: 0; }

/* --- Что входит --- */

.deliver-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

.deliver__photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg);
}
.deliver__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.deliver {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.deliver__item { padding: 28px; background: var(--bg); }
.deliver__item h3 { font-size: 18px; margin-bottom: 8px; }
.deliver__item p { font-size: 15px; color: var(--ink-muted); margin: 0; }

/* --- Кейсы --- */

.case { display: flex; flex-direction: column; }
.case__niche { font-size: 18px; margin-bottom: 4px; }
.case__period {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 22px;
}
.case__metric {
    font-size: clamp(34px, 4vw, 44px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--accent);
}
.case__metric-label {
    margin: 8px 0 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.case__text { font-size: 15px; margin: 0; }

.totals {
    margin-top: 56px;
    padding: 40px;
    background: var(--bg-deep);
    border-radius: var(--radius);
    color: #fff;
}
.totals__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 28px;
}
.totals__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 20px;
}
.totals__value {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}
.totals__label {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .55);
}
.totals__note {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    font-weight: 600;
    color: var(--accent-bright);
    max-width: 820px;
}

/* --- Адаптив --- */

@media (max-width: 980px) {
    .hero__top { grid-template-columns: 1fr; gap: 32px; }
    .hero__photo { max-width: 300px; }
    .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
}

@media (max-width: 900px) {
    .deliver-row { grid-template-columns: 1fr; }
    .deliver__photo { max-width: 300px; margin: 0 auto; }
    .deliver { grid-template-columns: repeat(2, 1fr); }
    .totals__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
    .deliver { grid-template-columns: 1fr; }
    .totals { padding: 28px 24px; }
    .totals__grid { grid-template-columns: repeat(2, 1fr); }
    .fit-table { font-size: 15px; }
    .fit-table th, .fit-table td { padding: 12px 10px; }
    .hero__actions .btn { width: 100%; }
}

/* --- Возраст канала: три этапа роста одного канала --- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 44px);
}

.steps__item {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
/* третий этап — итог, выделяем */
.steps__item:last-child { border-color: var(--accent); }

.steps__when {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.steps__nums { display: grid; gap: 16px; }
.steps__num { display: flex; align-items: baseline; gap: 10px; }

.steps__num-value {
    min-width: 52px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--ink);
}
.steps__num--hl .steps__num-value { color: var(--accent); }

.steps__num-label { font-size: 14px; line-height: 1.3; color: var(--ink-muted); }

.steps__note {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-muted);
}

.growth__body { font-size: 17px; max-width: 760px; }
.growth__body .note { margin-top: 22px; font-size: 15px; }

@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .steps__item { padding: 24px; }
}

/* --- Сравнение с копирайтерами --- */

.compare__scroll { overflow-x: auto; }

.compare {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 16px;
}
.compare th, .compare td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.compare thead th {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink-muted);
    border-bottom-color: var(--ink-muted);
}
.compare tbody th {
    font-weight: 600;
    color: var(--ink);
    width: 30%;
}
.compare td { color: var(--ink-soft); }
.compare__mine { color: var(--ink); font-weight: 650; }
.compare__col--pro { background: var(--accent-soft); }
.compare thead .compare__col--pro { color: var(--accent-ink); }

.compare__highlight { margin-top: 28px; font-weight: 600; color: var(--ink); }

.compare__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    margin-top: clamp(36px, 4vw, 52px);
}
.compare__bottom h3 { font-size: 19px; margin-bottom: 18px; }

.compare__shots-grid { display: grid; gap: 12px; }
.compare__shot {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: none;
    cursor: zoom-in;
    overflow: hidden;
    transition: border-color .15s ease;
}
.compare__shot:hover { border-color: var(--accent); }
.compare__shot img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 760px) {
    .compare__bottom { grid-template-columns: 1fr; }
    /* ⚠️Жёсткие 132px превращали скриншот в нечитаемую полоску */
    .compare__shot img { height: auto; object-fit: contain; }
}
