.home-cats-wrap.block-liders {
    background: transparent;
}

.home-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 10px 12px 16px;
    text-align: center;
}

.home-cat__media,
.home-cat__desc,
.home-cat .options__button {
    align-self: stretch;
}

.home-cat__media {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 14px;
}

.home-cat__media a {
    display: block;
}

.home-cat__media img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.home-cat__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e5493a;
    color: #fff;
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 8px;
}

.home-cat__title.product-catalog__title {
    display: inline;
    margin-bottom: 8px;
    font-size: 16px;
    border-bottom: 1px solid #e4b9a5;
}

.home-cat__desc {
    margin: 8px 0 12px;
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    text-align: center;
}

.home-cat__price {
    margin-top: auto;
    margin-bottom: 12px;
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
    color: #2f2f2f;
}

.home-cat .options__button {
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 12px 8px;
    font-size: 13px;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.home-cat__more {
    display: inline-block;
    margin-top: 12px;
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #666;
    border-bottom: 1px solid #cfcfcf;
}

.home-cat__more:hover,
.home-cat__more:focus {
    color: #d34900;
    border-bottom-color: #d34900;
}

.catalog.catalog--prices {
    justify-content: flex-start;
    gap: 22px 14px;
    margin-left: 0;
}

.catalog.catalog--prices li {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(20% - 12px);
    max-width: calc(20% - 12px);
    margin: 0;
}

.catalog.catalog--prices li > a {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.catalog.catalog--prices .catalog__img {
    width: 100%;
    max-width: none;
    height: 148px;
    object-fit: cover;
    margin: 0 0 12px;
}

.catalog.catalog--prices .catalog__title {
    align-self: center;
    width: auto;
}

.catalog.catalog--prices .catalog__price {
    margin-top: auto;
    margin-bottom: 10px;
}

.catalog.catalog--prices .options__button {
    position: static;
    transform: none;
    width: 100%;
    left: auto;
    margin: 0;
    padding: 11px 8px;
    cursor: pointer;
}

.home-about {
    background: #f3f3f3;
    padding: 36px 0 56px;
    margin-bottom: 20px;
}

.home-about .title {
    margin-bottom: 20px;
}

.home-about .front-home-video .home-video,
.home-about .home-video {
    max-width: 720px;
    height: 380px;
    margin-bottom: 28px;
}

.home-about__text {
    max-width: 980px;
    margin: 0 auto;
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #2f2f2f;
}

.home-about__text p {
    margin: 0 0 14px;
    text-align: left;
}

.home-about__text h2,
.home-about__text h3 {
    font-family: "helioscondbold", sans-serif;
    font-weight: normal;
    text-align: center;
    color: #2f2f2f;
}

.home-about__text h2 {
    font-size: 32px;
    margin: 36px 0 16px;
}

.home-about__text h3 {
    font-size: 26px;
    margin: 28px 0 14px;
}

.home-about__text ul {
    margin: 8px 0 18px 22px;
    padding: 0 0 0 18px;
    list-style: disc;
}

.home-about__text li {
    margin-bottom: 6px;
    line-height: 1.5;
    list-style: disc;
    text-align: left;
}

.home-about__text a,
.home-about__form-link {
    color: #d34900;
    border-bottom: 1px solid #e4b9a5;
}

.home-about__text a:hover,
.home-about__form-link:hover,
.home-about__form-link:focus {
    color: #fb5700;
    border-bottom-color: #f6967b;
}

.home-about__form-link {
    display: inline;
    padding: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.home-steps {
    padding: 28px 0 64px;
    color: #222;
}

.home-steps .title {
    margin-bottom: 36px;
}

.home-steps__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    position: relative;
    margin-bottom: 48px;
}

.home-steps__line {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 36px;
    height: 2px;
    background: #e3e3e3;
}

.home-steps__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.home-steps__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5493a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.home-steps__icon--fill {
    background: #e5493a;
}

.home-steps__label {
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #d34900;
}

.home-steps__name {
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 19px;
    line-height: 1.25;
    color: #222;
}

.home-steps__text {
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #666;
    max-width: 22ch;
}

.home-steps__deal {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 32px;
    align-items: center;
    background: #f4f4f4;
    padding: 32px 40px;
}

.home-steps__deal h3 {
    margin: 0 0 8px;
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
}

.home-steps__deal p {
    margin: 0;
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    max-width: 60ch;
}

.home-steps__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-steps__btn {
    width: 100%;
    max-width: 260px;
    height: 46px;
    border: 0;
    background: #e5493a;
    color: #fff;
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.home-steps__btn:hover,
.home-steps__btn:focus {
    background: #c93a2c;
}

.home-steps__doc {
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 15px;
    color: #d34900;
    border-bottom: 1px solid #e4b9a5;
}

.home-steps__doc:hover,
.home-steps__doc:focus {
    color: #a83a00;
    border-bottom-color: #a83a00;
}

.services__photo {
    display: block;
}

.services__photo img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.services__title {
    min-height: 48px;
}

.services__more {
    display: block;
    margin: 16px auto 0;
    max-width: 220px;
    background: #e5493a;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "RobotoBold", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 12px 16px;
    border: 0;
}

.services__more:hover,
.services__more:focus {
    background: #c93a2c;
    color: #fff;
}

.home-cat .options__button:focus,
.catalog.catalog--prices .options__button:focus,
.home-steps__btn:focus,
.services__more:focus,
.home-about__form-link:focus {
    outline: 2px solid #2f2f2f;
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .catalog.catalog--prices li {
        flex-basis: calc(33.333% - 12px);
        max-width: calc(33.333% - 12px);
    }
}

@media (max-width: 991px) {
    .home-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-steps__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }

    .home-steps__line {
        display: none;
    }

    .home-steps__deal {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog.catalog--prices li {
        flex-basis: calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin: 0;
    }

    .home-about .wrapper {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .home-about .front-home-video .home-video,
    .home-about .home-video {
        height: 240px;
    }

    .home-about__text h2 {
        font-size: 26px;
    }

    .services__item {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (max-width: 560px) {
    .home-cats,
    .home-steps__row {
        grid-template-columns: 1fr;
    }

    .catalog.catalog--prices li,
    .services__item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .home-steps__deal {
        padding: 24px 20px;
    }

    .services__title {
        min-height: 0;
    }
}
