/* ============================================================
   DEALER STEPS — Этапы подключения дилера
   BEM block: dsteps
   ============================================================ */

/* ---- LAYOUT ---- */

.dsteps {
    padding: 100px 120px 0 120px;
    background: #fff;
    overflow-x: clip;
}

.dsteps__inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- SIDEBAR ---- */

.dsteps__sidebar {
    width: 460px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form box — wrapper only; form elements use path-form-* classes from path.css */

.dsteps__form-box {
    background: var(--color-bg-light);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Contacts block */

.dsteps__contacts {
    display: flex;
    flex-direction: column;
}

.dsteps__contacts-img {
    height: 160px;
    overflow: hidden;
    max-width: 460px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.dsteps__contacts-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dsteps__contacts-box {
    background: var(--color-bg-light);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dsteps__contacts-title {
    font-family: var(--font-neo);
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
}

.dsteps__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dsteps__contact-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dsteps__contact-label {
    font-family: var(--font-inter);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.dsteps__contact-value {
    font-family: var(--font-neo);
    font-size: 24px;
    line-height: 28px;
    color: #000;
    text-decoration: none;
}

.dsteps__contact-value:hover {
    opacity: 0.75;
}

.dsteps__sidebar-help {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dsteps__help-label {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ---- MAIN ---- */

.dsteps__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.dsteps__title {
    font-family: var(--font-neo);
    font-size: 44px;
    line-height: 50px;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
}

/* Steps list */

.dsteps__steps {
    display: flex;
    flex-direction: column;
}

.dsteps__step {
    display: flex;
    gap: 42px;
}

.dsteps__step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.dsteps__step-num {
    width: 64px;
    height: 64px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-neo);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -1.8px;
    color: #000;
    text-align: center;
}

.dsteps__step-line {
    flex: 1;
    width: 1px;
    background: rgba(0, 0, 0, 0.12);
    min-height: 8px;
}

.dsteps__step-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 32px;
}

.dsteps__step--last .dsteps__step-body {
    padding-bottom: 0;
}

.dsteps__step-title {
    font-family: var(--font-neo);
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 64px;
}

.dsteps__step-desc {
    font-family: var(--font-inter);
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 1170px) {
    .dsteps {
        padding: 0;
    }

    .dsteps__inner {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .dsteps__sidebar {
        width: 100%;
        gap: 0;
    }

    .dsteps__form-box {
        padding: 32px 24px;
    }

    .dsteps__contacts-img {
        height: 180px;
    }

    .dsteps__contacts-box {
        padding: 32px 24px;
    }

    .dsteps__contacts-title {
        font-size: 32px;
        line-height: 37px;
        letter-spacing: 0;
    }

    .dsteps__contact-item {
        gap: 12px;
    }

    .dsteps__contact-label {
        font-size: 12px;
    }

    .dsteps__contact-value {
        font-size: 18px;
        line-height: normal;
    }

    .dsteps__main {
        padding: 32px 24px;
        gap: 32px;
    }

    .dsteps__title {
        font-size: 32px;
        line-height: 37px;
        letter-spacing: 0;
    }

    .dsteps__step {
        gap: 16px;
    }

    .dsteps__step-num {
        width: 44px;
        height: 44px;
        font-size: 19px;
        letter-spacing: -1.8px;
    }

    .dsteps__step-body {
        padding-bottom: 32px;
        gap: 8px;
    }

    .dsteps__step--last .dsteps__step-body {
        padding-bottom: 0;
    }

    .dsteps__step-title {
        font-size: 24px;
        line-height: 28px;
        letter-spacing: 0;
        min-height: 44px;
    }

    .dsteps__step-desc {
        font-size: 14px;
        line-height: 22px;
    }
}
