/* Токены темы Акикомпани: aspro_max_old / custom_a1 */
:root {
    --theme-base-color: #365edc;
    --theme-base-color-hover: #5073e1;
    --theme-page-width: 1500px;
    --theme-page-width-padding: 30px;
    --ld-text: #555555;
    --ld-title: #222222;
    --ld-muted: #777777;
    --ld-line: #dedede;
    --ld-bg: #f5f5f5;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font: 15px/25px Montserrat, Arial, sans-serif;
    color: var(--ld-text);
    background: #ffffff;
}

a {
    color: var(--theme-base-color);
    text-decoration: none;
}

a:hover {
    color: var(--theme-base-color-hover);
}

.ld-wrap {
    width: var(--theme-page-width);
    max-width: calc(100% - var(--theme-page-width-padding) * 2);
    margin: 0 auto;
}

.ld-top {
    background: #ffffff;
    border-bottom: 1px solid var(--ld-line);
}

.ld-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.ld-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ld-logo__img {
    display: block;
    height: 28px;
    width: auto;
}

.ld-top__right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ld-top__phone {
    color: var(--ld-title);
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
}

.ld-top__shop {
    color: var(--ld-muted);
}

.ld-hero {
    position: relative;
    overflow: hidden;
    min-height: 455px;
    padding: 50px 0;
    color: #ffffff;
    background: #172130 url("../img/installation-equipment-hero.jpg") center / cover no-repeat;
}

.ld-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 17, 38, 0.88) 0%, rgba(8, 17, 38, 0.7) 42%, rgba(8, 17, 38, 0.3) 69%, rgba(8, 17, 38, 0.5) 100%);
    pointer-events: none;
}

.ld-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 64px;
    align-items: center;
}

.ld-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.ld-hero h1 p {
    margin: 0 0 28px;
    font-size: 60px;
    line-height: 1.05;
    font-weight: 700;
}

.ld-hero__lead {
    max-width: 650px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.ld-checks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 11px;
    font-size: 13px;
}

.ld-checks li {
    position: relative;
    padding-left: 29px;
}

.ld-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4f73df;
    box-sizing: border-box;
}

.ld-checks li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 6px;
    height: 3px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.ld-form {
    background: #ffffff;
    border-radius: 7px;
    padding: 26px 24px 22px;
    color: var(--ld-text);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.3);
}

.ld-form_success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-align: center;
}

.ld-form__success-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.ld-form__success-icon svg {
    display: block;
    width: 56px;
    height: 56px;
}

.ld-form_success .ld-form__title {
    margin-bottom: 8px;
}

.ld-form_success .ld-form__text {
    margin: 0;
}

.ld-form__title {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ld-title);
}

.ld-form__text {
    margin: 0 0 17px;
    color: var(--ld-muted);
    font-size: 13px;
    line-height: 1.45;
}

.ld-form__error {
    margin: 0 0 12px;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.4;
}

.ld-field {
    display: block;
    margin-bottom: 12px;
}

.ld-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ld-muted);
}

.ld-field input,
.ld-field textarea {
    width: 100%;
    border: 1px solid var(--ld-line);
    border-radius: 3px;
    padding: 11px 12px;
    font: inherit;
    color: var(--ld-title);
    outline: none;
    background: #ffffff;
}

.ld-field input:focus,
.ld-field textarea:focus {
    border-color: var(--theme-base-color);
}

.ld-field textarea {
    min-height: 70px;
    resize: vertical;
}

.ld-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 3px;
    background: var(--theme-base-color);
    color: #ffffff;
    font: 400 11px/15px Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color ease 0.5s, border-color ease 0.5s;
}

.ld-btn:hover {
    background: var(--theme-base-color-hover);
    color: #ffffff;
}

.ld-btn_outline {
    width: auto;
    padding: 0 22px;
    background: #ffffff;
    border: 1px solid var(--theme-base-color);
    color: var(--theme-base-color);
}

.ld-btn_outline:hover {
    background: var(--theme-base-color);
    border-color: var(--theme-base-color);
    color: #ffffff;
}

.ld-ripple {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    transform: scale(0);
    animation: ld-ripple 0.6s linear;
}

@keyframes ld-ripple {
    to {
        opacity: 0;
        transform: scale(2);
    }
}

.ld-form__note {
    margin-top: 10px;
    text-align: center;
    color: var(--ld-muted);
    font-size: 9px;
    line-height: 1.35;
}

.ld-benefits-group {
    padding: 48px 0;
    background: var(--ld-bg);
}

.ld-benefits-group_alt {
    background: #ffffff;
}

.ld-benefits-group h2 {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ld-title);
}

.ld-benefits-group__grid {
    display: grid;
    gap: 20px;
}

.ld-benefits-group__grid_4 {
    grid-template-columns: repeat(4, 1fr);
}

.ld-benefits-group__grid_3 {
    grid-template-columns: repeat(3, 1fr);
}

.ld-point {
    padding: 20px 18px;
    background: #ffffff;
    border-radius: 3px;
}

.ld-benefits-group_alt .ld-point {
    background: var(--ld-bg);
}

.ld-point__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: var(--theme-base-color);
}

.ld-point__icon svg {
    display: block;
    width: 40px;
    height: 40px;
}

.ld-point p {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: var(--ld-muted);
}

.ld-benefit__note {
    margin: 16px 0 0;
    color: var(--ld-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ld-inline-link {
    color: #00b0f0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ld-inline-link:hover {
    color: #0090c8;
}

.ld-steps {
    padding: 54px 0 60px;
}

.ld-steps h2,
.ld-contacts h2 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ld-title);
}

.ld-steps h2 {
    margin-bottom: 9px;
    font-size: 29px;
}

.ld-lead {
    margin: 0 0 28px;
    max-width: 820px;
    color: var(--ld-muted);
}

.ld-steps .ld-lead {
    margin-bottom: 34px;
    font-size: 13px;
}

.ld-steps__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px 48px;
}

.ld-step {
    position: relative;
    padding: 66px 0 0;
}

.ld-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 46px;
    width: calc(100% + 48px - 38px);
    height: 2px;
    background: #dce4fa;
}

.ld-step__num {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0;
    border: 5px solid #edf2ff;
    border-radius: 50%;
    background: #365edc;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.ld-step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ld-title);
}

.ld-step p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--ld-muted);
}

.ld-contacts {
    padding: 48px 0 64px;
    background: var(--ld-bg);
}

.ld-contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.ld-contacts__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
}

.ld-contacts__label {
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--ld-muted);
}

.ld-contacts__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--ld-title);
}

.ld-contacts__value a {
    color: var(--theme-base-color);
}

.ld-contacts__rules {
    display: block;
    margin: 0 0 14px;
    color: #00b0f0;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ld-contacts__rules:hover {
    color: #0090c8;
}

.ld-callback[hidden] {
    display: none !important;
}

.ld-callback {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ld-callback.is-open {
    display: flex;
}

.ld-callback__overlay {
    position: absolute;
    inset: 0;
    background: #3a3f44;
    opacity: 0.7;
}

.ld-callback__window {
    position: relative;
    z-index: 1;
    width: 580px;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
    background: #fff;
    border-radius: 5px;
}

.ld-callback .close {
    position: absolute;
    top: 5px;
    right: 4px;
    z-index: 2;
    padding: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.ld-callback .close svg {
    width: 14px;
    height: 14px;
    display: block;
    fill: none;
    stroke: #b8b8b8;
    stroke-width: 1.5;
}

.ld-callback .close:hover svg {
    stroke: #333;
}

.ld-callback .form_result.success .svg {
    margin-right: 15px;
    vertical-align: middle;
}

.ld-callback .form {
    position: relative;
}

.ld-callback .form_head {
    padding: 55px 75px 10px 60px;
}

.ld-contacts .ld-callback .form_head h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--ld-title);
    text-align: left;
}

.ld-callback .form_desc {
    margin: 15px 0 0;
    color: var(--ld-muted);
    font-size: 13px;
}

.ld-callback .form_body {
    margin: 0;
    padding: 29px 60px 8px;
}

.ld-callback .form_body.error {
    color: #e62222;
    padding-bottom: 10px;
}

.ld-callback .form_footer {
    margin-bottom: 35px;
    padding: 0 60px 25px;
}

.ld-callback .form_result.success {
    padding: 36px 60px 60px;
    color: #333;
}

.ld-callback .form_result.success .success_text {
    font-size: 13px;
}

.ld-callback .form_result.success .btn {
    margin-top: 49px;
}

.ld-callback .form-control {
    position: relative;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    height: auto;
}

.ld-callback .form-control label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: normal;
    color: #888;
}

.ld-callback .star {
    color: #ff0000;
    font-size: 12px;
}

.ld-callback .form-control input[type="text"],
.ld-callback .form-control input[type="email"],
.ld-callback .form-control input[type="tel"],
.ld-callback .form-control textarea {
    width: 100%;
    height: 48px;
    padding: 8px 13px 7px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 3px;
    box-shadow: none;
    color: #383838;
    font-size: 14px;
    outline: none;
}

.ld-callback .form-control textarea {
    height: auto;
    min-height: 90px;
    resize: none;
}

.ld-callback textarea[hidden],
.ld-callback textarea[name="nspm"] {
    display: none !important;
}

.ld-callback .form-control input:focus,
.ld-callback .form-control textarea:focus {
    background: #fff;
    border-color: #ccc;
}

.ld-callback .captcha-row.is-recaptcha .captcha_image {
    display: none;
}

.ld-callback .g-recaptcha {
    display: block;
    min-height: 78px;
}

.ld-callback .g-recaptcha iframe {
    display: block;
}

.ld-callback .captcha-row input.recaptcha {
    display: none !important;
}

.ld-callback .licence_block.filter {
    position: relative;
    padding: 0 0 26px;
    margin: 0;
}

.ld-callback .licence_block.filter input[type="checkbox"] {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
}

.ld-callback .onoff input[type="checkbox"] + label {
    display: block;
    position: relative;
    padding: 0 0 0 50px;
    font-size: 13px;
    line-height: 20px;
    color: #999;
    cursor: pointer;
}

.ld-callback .onoff input[type="checkbox"] + label:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 1px;
    width: 33px;
    height: 18px;
    border-radius: 10px;
    background: #e0e0e0;
}

.ld-callback .onoff input[type="checkbox"]:checked + label:before {
    background: var(--theme-base-color);
}

.ld-callback .onoff input[type="checkbox"] + label:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    transition: left 0.1s ease-in;
}

.ld-callback .onoff input[type="checkbox"]:checked + label:after {
    left: 17px;
}

.ld-callback .licence_block a {
    color: var(--theme-base-color);
}

.ld-callback .form_footer__bottom {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ld-callback .btn {
    display: inline-block;
    margin: 0;
    padding: 13px 22px 14px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.ld-callback .btn.btn-default {
    background: var(--theme-base-color);
    border-color: var(--theme-base-color);
    color: #fff;
}

.ld-callback .btn.btn-default:hover {
    background: var(--theme-base-color-hover);
    border-color: var(--theme-base-color-hover);
    color: #fff;
}

.ld-callback .required-fields-note {
    color: #888;
    font-size: 12px;
}

.ld-callback .muted888 {
    color: #888;
}

@media (max-width: 600px) {
    .ld-callback .form_head {
        padding: 40px 50px 10px 30px;
    }

    .ld-callback .form_body,
    .ld-callback .form_footer,
    .ld-callback .form_result.success {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 1200px) {
    .ld-steps__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 24px;
    }

    .ld-step:not(:last-child)::after {
        width: calc(100% + 24px - 38px);
    }

    .ld-step:nth-child(3)::after,
    .ld-step:last-child::after {
        display: none;
    }
}

@media (max-width: 1100px) {
    .ld-hero__grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 34px;
    }

    .ld-hero h1 {
        font-size: 24px;
    }

    .ld-hero h1 p {
        font-size: 42px;
    }

    .ld-benefits-group__grid_4,
    .ld-benefits-group__grid_3,
    .ld-contacts__grid,
    .ld-contacts__list {
        grid-template-columns: 1fr 1fr;
    }

    .ld-benefits-group h2 {
        font-size: 24px;
    }
}

@media (max-width: 720px) {
    .ld-top__inner,
    .ld-hero__grid,
    .ld-benefits-group__grid_4,
    .ld-benefits-group__grid_3,
    .ld-steps__grid,
    .ld-contacts__grid,
    .ld-contacts__list {
        grid-template-columns: 1fr;
    }

    .ld-top__inner {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .ld-logo__img {
        height: 24px;
    }

    .ld-hero {
        min-height: 0;
        padding: 32px 0;
        background-position: 62% center;
    }

    .ld-hero h1 {
        font-size: 22px;
    }

    .ld-hero h1 p {
        font-size: 32px;
    }

    .ld-steps h2,
    .ld-contacts h2 {
        font-size: 24px;
    }

    .ld-point {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
    }

    .ld-point__icon {
        flex: 0 0 40px;
        margin-bottom: 0;
    }

    .ld-point p {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ld-step {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 18px;
        background: var(--ld-bg);
        border-radius: 3px;
    }

    .ld-step::after {
        display: none;
    }

    .ld-step__num {
        position: static;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border-width: 4px;
        font-size: 13px;
    }

    .ld-step__body {
        flex: 1 1 auto;
        min-width: 0;
    }
}
