.hero {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/hero/hero-bg-1-gIB_KdM.png") center center / cover no-repeat;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 52%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 620px) 1fr;
    align-items: stretch;
    min-height: 455px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 32px 56px 0;
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(52px, 7vw, 78px);
    line-height: 0.97;
    letter-spacing: -0.04em;
    font-weight: 300;
}

.hero-title strong {
    font-weight: 800;
}

.hero-title .accent {
    color: var(--accent);
    font-weight: 700;
}

.hero-copy p {
    max-width: 540px;
    margin: 0 0 28px;
    color: #434b4e;
    font-size: 18px;
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 26px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.btn-primary {
    background: var(--accent-dark);
    color: #fff;
}

.btn-secondary {
    display: inline-flex;
    gap: 10px;
    border: 1px solid #778366;
    background: transparent;
    color: #222b30;
}

.hero-visual {
    min-height: 455px;
}

.process {
    background: #ffffff;
    border-top: 1px solid #e4dfd4;
    border-bottom: 1px solid #e4dfd4;
}

.process-inner {
    padding: 18px 0 20px;
}

.steps-block {
    display: grid;
    gap: 16px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    align-items: start;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 14px;
    padding-right: 26px;
}

.step:hover h3 {
    color: var(--accent-dark);
}

.step.active .step-icon {
    background: var(--accent-dark);
    color: #fff;
}

.step.active h3 {
    color: var(--accent-dark);
}

.step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 28px;
    right: -2px;
    transform: translateY(-50%);
    color: #c3beb3;
    font-size: 36px;
    line-height: 1;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #efede7;
    color: #263036;
}

.step h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.2;
}

.step p {
    max-width: 13ch;
    margin: 0;
    color: #555b5c;
    font-size: 13px;
    line-height: 1.35;
}

.topics {
    padding: 0;
    background: var(--surface-muted);
}

.topics-card {
    padding: 16px 0;
}

.topics-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.topics-kicker,
.steps-kicker {
    margin: 0;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.topics-all-link {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.topics-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    align-items: stretch;
    gap: 22px;
}

.topics-main {
    display: grid;
    gap: 16px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 112px;
    align-items: stretch;
    gap: 22px;
}

.topic-card {
    display: grid;
    grid-template-columns: minmax(108px, 34%) 1fr;
    align-items: stretch;
    height: 112px;
    min-height: 112px;
    overflow: hidden;
    border: 1px solid #e4e0d7;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
}

.topic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eae5db;
}

.topic-image--offset-1 {
    object-position: 5% 66%;
}

.topic-image--offset-2 {
    object-position: 34% 66%;
}

.topic-image--offset-0 {
    object-position: 58% 66%;
}

.topic-card .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 9px 12px;
}

.topic-card h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-card p {
    margin: 0 0 6px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.topic-link {
    color: var(--accent-dark);
    font-size: 12px;
}

.question-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 28px 34px;
    border-radius: 8px;
    background: var(--accent-dark);
    color: #fff;
}

.question-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.question-card h3 {
    margin: 0;
    font-size: 20px;
}

.question-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.45;
}

.question-card .btn-secondary {
    width: fit-content;
    border-color: transparent;
    background: #fff;
    color: #303739;
}

.benefits {
    padding: 28px 0 0;
}

.benefits-row {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, 1fr);
    align-items: start;
    gap: 28px;
    padding: 0 0 22px;
}

.benefits-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

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

.benefit {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: start;
    gap: 14px;
}

.benefit h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.benefit p {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1250px) {
    .topics-layout {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 112px;
    }

    .question-card {
        grid-column: auto;
    }

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

@media (max-width: 980px) {
    .hero-inner,
    .steps,
    .benefits-row {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 34px 0 22px;
    }

    .hero-inner {
        min-height: 520px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .topics-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .topic-card {
        grid-template-columns: minmax(130px, 34%) 1fr;
        height: auto;
        min-height: 92px;
    }

    .question-card {
        grid-column: auto;
    }

    .topics-layout {
        grid-template-columns: 1fr;
    }
}
