/*
 * «Как заказать» — Figma node 1-98 (1920×1629)
 * Только body.home-page — изолировано от .section4 / modern-v2
 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;600;700&display=swap');
body.home-page .sections.ap-how-to-order {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
}

body.home-page .ap-how-to-order {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
    overflow-y: visible;
    background: #282c35;
    font-family: 'Manrope', 'Noto Sans Display', sans-serif;
}

body.home-page .ap-how-to-order__canvas,
body.home-page .ap-how-to-order__canvas * {
    box-sizing: border-box;
}

body.home-page .ap-how-to-order__canvas {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 1920px;
    min-height: 1629px;
    margin: 0 auto;
    overflow: hidden;
}

body.home-page .ap-how-to-order__canvas > * {
    position: absolute;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Заголовок — 1-99 */
body.home-page .ap-how-to-order__title {
    top: 42px;
    left: 104px;
    width: 650px;
    height: 55px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    text-align: left;
}

/* Шаги — тексты 1-100 … 1-105 */
body.home-page .ap-how-to-order__step-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

body.home-page .ap-how-to-order__step-text--1 {
    top: 137px;
    left: 177px;
    width: 416px;
    height: 12px;
}

body.home-page .ap-how-to-order__step-text--2 {
    top: 188px;
    left: 179px;
    width: 604px;
    height: 15px;
}

body.home-page .ap-how-to-order__step-text--3 {
    top: 235px;
    left: 177px;
    width: 643px;
    height: 16px;
}

body.home-page .ap-how-to-order__step-text--4 {
    top: 134px;
    left: 900px;
    width: 699px;
    height: 16px;
}

body.home-page .ap-how-to-order__step-text--5 {
    top: 181px;
    left: 900px;
    width: 416px;
    height: 14px;
}

body.home-page .ap-how-to-order__step-text--6 {
    top: 230px;
    left: 900px;
    width: 416px;
    height: 14px;
    font-family: 'Noto Sans Display', 'Manrope', sans-serif;
}

/* Номера шагов — Rectangle 22 + цифра */
body.home-page .ap-how-to-order__step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #d9d9d9;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #282c35;
}

body.home-page .ap-how-to-order__step-badge--1 {
    top: 132px;
    left: 106px;
}

body.home-page .ap-how-to-order__step-badge--2 {
    top: 179px;
    left: 106px;
}

body.home-page .ap-how-to-order__step-badge--3 {
    top: 226px;
    left: 106px;
}

body.home-page .ap-how-to-order__step-badge--4 {
    top: 125px;
    left: 829px;
}

body.home-page .ap-how-to-order__step-badge--5 {
    top: 172px;
    left: 829px;
}

body.home-page .ap-how-to-order__step-badge--6 {
    top: 219px;
    left: 829px;
}

/* Разделитель — Line 5, 1-134 */
body.home-page .ap-how-to-order__divider {
    top: 325px;
    left: 104px;
    width: 1713px;
    height: 0;
    border: none;
    border-top: 1px solid #ffffff;
    opacity: 1;
}

/* Условия аренды — 1-124 … 1-127 */
body.home-page .ap-how-to-order__conditions-title {
    top: 394px;
    left: 104px;
    width: 650px;
    height: 55px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    text-align: left;
}

body.home-page .ap-how-to-order__conditions-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

body.home-page .ap-how-to-order__conditions-text--1 {
    top: 484px;
    left: 104px;
    width: 341px;
    height: 50px;
}

body.home-page .ap-how-to-order__conditions-text--2 {
    top: 555px;
    left: 104px;
    width: 548px;
    height: 162px;
}

body.home-page .ap-how-to-order__conditions-text--3 {
    top: 753px;
    left: 104px;
    width: 566px;
    height: 63px;
}

body.home-page .ap-how-to-order__conditions-text strong {
    font-weight: 700;
}

/* Доставка — 1-128, блок 1-129 */
body.home-page .ap-how-to-order__delivery-title {
    top: 883px;
    left: 104px;
    width: 650px;
    height: 55px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    text-align: left;
}

body.home-page .ap-how-to-order__delivery-body {
    top: 975px;
    left: 104px;
    width: 708px;
    height: 471px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

body.home-page .ap-how-to-order__delivery-p {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

body.home-page .ap-how-to-order__delivery-p:last-child {
    margin-bottom: 0;
}

body.home-page .ap-how-to-order__delivery-gap {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: transparent;
    user-select: none;
}

body.home-page .ap-how-to-order__delivery-em {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
}

body.home-page .ap-how-to-order__ws {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
}

body.home-page .ap-how-to-order__price {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #07ac69;
}

/* Фото — Rectangle 27, 1-135 */
body.home-page .ap-how-to-order__media {
    top: 415px;
    left: 828px;
    width: 989px;
    height: 854px;
    margin: 0;
    padding: 1px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
}

body.home-page .ap-how-to-order__media img {
    display: block;
    width: 987px;
    height: 852px;
    object-fit: cover;
    border-radius: 11px;
}

/* Футер — 1-130 */
body.home-page .ap-how-to-order__footer-text {
    top: 1372px;
    left: 455px;
    width: 1010px;
    height: 202px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #ffffff;
    text-align: center;
}

body.home-page .ap-how-to-order__footer-lead {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
}

body.home-page .ap-how-to-order__footer-text a {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #07ac69;
    text-decoration: none;
}

body.home-page .ap-how-to-order__footer-line-2 {
    display: inline-block;
    white-space: nowrap;
}

body.home-page .ap-how-to-order__footer-muted {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: #017344;
}

/* Кнопка — 1-131 … 1-133 (как hero) */
body.home-page .ap-how-to-order__cta.button {
    top: 1499px;
    left: 752px;
    width: 415.38104248046875px;
    height: 74.97853088378906px;
    min-height: 74.97853088378906px;
    margin: 0;
    padding: 0.75px;
    border: none;
    border-radius: 11.25px;
    overflow: visible;
    box-shadow: 0px 4px 4px 0px #00000040;
    background: linear-gradient(97.62deg, #76f8cc 16.37%, #11322b 76.29%);
    cursor: pointer;
}

body.home-page .ap-how-to-order__cta.button:hover:not(:active) {
    background: linear-gradient(97.62deg, #ffffff 16.37%, #75819b 76.29%);
}

body.home-page .ap-how-to-order__cta.button a {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: none;
    border-radius: 10.5px;
    background-color: transparent;
    background-image: linear-gradient(358.41deg, #12332d 0.9%, #017344 98.2%);
    box-shadow:
        0 3px 3px 0 #000000cc,
        inset -6.75px 3.75px 1px 3px #a9f89d42,
        inset -3px -3px 1px 0 #00000040;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 26.99px;
    line-height: 100%;
    letter-spacing: 0;
    text-shadow: 0 4px 4px #00000040;
    text-decoration: none;
    transition: background-image 0.2s ease, box-shadow 0.2s ease;
}

body.home-page .ap-how-to-order__cta.button:hover:not(:active) a,
body.home-page .ap-how-to-order__cta.button a:hover:not(:active) {
    background-color: transparent;
    background-image: linear-gradient(358.41deg, #282c35 0.9%, #596476 98.2%);
    box-shadow:
        0 3px 3px 0 #000000cc,
        inset -6.75px 3.75px 1px 3px #848899,
        inset -3px -3px 1px 0 #282c35;
}

body.home-page .ap-how-to-order__cta.button:active {
    background: linear-gradient(97.62deg, #76f8cc 16.37%, #11322b 76.29%);
}

body.home-page .ap-how-to-order__cta.button a:active {
    background-image: linear-gradient(358.41deg, #017344 0.9%, #309b4d 98.2%);
    box-shadow:
        0 3px 3px 0 #000000cc,
        inset -6.75px 3.75px 1px 3px #a9f89d42,
        inset -3px -3px 1px 0 #00000040;
}

/* ≤1780px — колонка без absolute (как каталог) */
@media (max-width: 1780px) {
    body.home-page .ap-how-to-order {
        max-width: 100%;
        overflow-x: clip;
    }

    body.home-page .ap-how-to-order__canvas {
        position: relative;
        min-height: 0;
        padding: 48px 20px 64px;
        overflow: visible;
    }

    body.home-page .ap-how-to-order__canvas > * {
        position: static;
        width: auto;
        max-width: 100%;
        height: auto;
    }

    body.home-page .ap-how-to-order__title,
    body.home-page .ap-how-to-order__conditions-title,
    body.home-page .ap-how-to-order__delivery-title {
        margin-bottom: 24px;
    }

    body.home-page .ap-how-to-order__step-badge {
        display: inline-flex;
        margin-right: 12px;
        vertical-align: top;
    }

    body.home-page .ap-how-to-order__step-text {
        display: inline-block;
        width: calc(100% - 48px);
        margin-bottom: 16px;
        vertical-align: top;
    }

    body.home-page .ap-how-to-order__divider {
        margin: 32px 0 40px;
        width: 100%;
    }

    body.home-page .ap-how-to-order__conditions-text,
    body.home-page .ap-how-to-order__delivery-body {
        margin-bottom: 20px;
    }

    body.home-page .ap-how-to-order__media {
        display: block;
        margin: 0 auto 32px;
        max-width: 100%;
        padding: 1px;
        border-radius: 12px;
        background: #ffffff;
        box-sizing: border-box;
        overflow: hidden;
    }

    body.home-page .ap-how-to-order__media img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 987px;
        aspect-ratio: 987 / 852;
        border-radius: 11px;
    }

    body.home-page .ap-how-to-order__footer-text {
        text-align: center;
        margin-bottom: 24px;
    }

    body.home-page .ap-how-to-order__cta.button {
        position: relative;
        margin: 0 auto;
    }
}
