.services-page-container { width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }

.services-overview { padding: 36px 0 44px; background: #fff; }
.services-overview__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: 48px; align-items: start; }
.services-overview__content { display: flex; min-width: 0; flex-direction: column; }
.services-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.services-offer { display: flex; height: 195px; flex-direction: column; align-items: center; padding: 18px 14px; border: 1px solid #d9e2d8; border-radius: 15px; background: #fff; text-align: center; box-shadow: 0 8px 24px rgb(35 71 38 / 7%); }
.services-offer strong { color: #ff7000; font-size: 31px; line-height: 31px; text-transform: uppercase; }
.services-offer > span { margin-top: 7px; color: #ff7000; font-size: 18px; font-weight: 800; line-height: 18.9px; text-transform: uppercase; }
.services-offer > em { width: 100%; max-width: 230px; min-height: 40px; margin-top: 4px; color: #6d716e; font-size: 16px; font-style: normal; font-weight: 700; line-height: 20px; }
.services-offer__footer { display: flex; height: 48px; flex: 0 0 48px; align-items: center; justify-content: center; margin: 0 0 8px; }
.services-offer__badge { display: flex; width: 188px; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 6px; color: #367d32; background: #dff2dc; font-size: 16px; font-weight: 800; }
.services-offer__rating { gap: 9px; margin-top: 4px; }
.services-offer__rating > svg { width: 30px; height: 30px; flex: 0 0 30px; }
.services-offer__rating > span { display: grid; gap: 2px; justify-items: start; }
.services-offer__rating img { display: block; width: 122px; height: auto; }
.services-offer__rating b { color: #4b504c; font-size: 13px; line-height: 14.95px; white-space: nowrap; }
.services-offer__rating-mobile { display: none; }

.services-benefits { margin-top: 22px; }
.services-benefits h2 { margin: 0 0 14px; color: #585858; font-size: 36px; line-height: 41.4px; }
.services-benefits__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.services-benefits__list article { display: grid; min-height: 44px; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 11px; padding: 2px 4px; }
.services-benefits__list article:nth-child(2) { grid-row: 3; }
.services-benefits__list article:nth-child(3) { grid-row: 2; }
.services-benefits__icon { display: grid; width: 50px; height: 40px; place-items: center; color: #54a048; }
.services-benefits__icon svg { width: 28px; height: 28px; fill: currentColor; }
.services-benefits__list h3 { margin: 0; color: #627b78; font-size: 23.9px; font-weight: 400; line-height: 28.202px; }
.services-benefits__list strong { color: #627b78; }
.services-benefits__list .is-accented strong { color: #ff7800; }

.services-overview__actions { display: flex; gap: 14px; margin-top: 20px; }
.services-overview__actions a,
.services-overview__actions button { display: inline-flex; width: 190px; height: 50px; flex: 0 0 190px; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border: 0; border-radius: 7px; color: #fff; font: 800 14px/16.8px "Open Sans", Arial, sans-serif; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.services-overview__actions svg { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.services-overview__actions a { background: #e66807; }
.services-overview__actions button { background: #49a642; }

.services-overview__visual { position: relative; height: 604px; min-height: 0; margin: 0; }
.services-overview__visual::before { position: absolute; top: 24px; right: -18px; bottom: -18px; left: 24px; border-radius: 24px; background: #c9e4c3; content: ""; }
.services-overview__visual picture { position: relative; z-index: 1; display: block; width: 100%; height: 604px; }
.services-overview__visual img { position: relative; z-index: 1; display: block; width: 100%; height: 604px; border-radius: 14px; object-fit: cover; object-position: center; }
.services-overview__visual figcaption { position: absolute; z-index: 2; top: 22px; left: 22px; display: flex; max-width: calc(100% - 44px); align-items: center; gap: 9px; padding: 12px 15px; border-radius: 8px; color: #324239; background: rgb(255 255 255 / 94%); font-size: 13px; font-weight: 800; text-transform: uppercase; box-shadow: 0 6px 18px rgb(31 58 34 / 12%); }
.services-overview__visual figcaption span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #fff; background: #42ac45; }

@media (max-width: 61.9375rem) {
    .services-page-container { width: calc(100% - 36px); }
    .services-overview { padding: 24px 0 30px; }
    .services-overview__grid { grid-template-columns: 1fr; gap: 34px; }
    .services-overview__visual { height: 355px; }
    .services-overview__visual::before { top: 18px; right: -10px; bottom: -10px; left: 18px; border-radius: 18px; }
    .services-overview__visual picture { height: 355px; }
    .services-overview__visual img { height: 355px; }
    .services-offers { gap: 8px; }
    .services-offer { height: 174px; padding: 16px 7px 13px; }
    .services-offer strong { font-size: 25px; line-height: 25px; }
    .services-offer > span { margin-top: 7px; font-size: 15px; line-height: 15.75px; }
    .services-offer > em { min-height: 34px; margin-top: 4px; font-size: 13px; line-height: 16.25px; }
    .services-offer__footer { height: 48px; margin: 1.25px 0 8px; }
    .services-offer__badge { width: 146.109375px; min-height: 40px; padding: 8px; font-size: 13px; }
    .services-offer__rating { gap: 5px; }
    .services-offer__rating > svg { width: 24px; height: 24px; flex-basis: 24px; }
    .services-offer__rating img { width: 82px; }
    .services-offer__rating b { width: 82px; font-size: 11.25px; line-height: 12.9375px; }
    .services-offer__rating-desktop { display: none; }
    .services-offer__rating-mobile { display: inline; }
    .services-benefits { margin-top: 0; }
    .services-benefits h2 { margin: 28px 0 19px; color: #585858; font-size: 32px; line-height: 1.15; }
    .services-benefits__list { grid-template-columns: 1fr; gap: 8px; }
    .services-benefits__list article {
        min-height: 37px;
        grid-template-columns: 38px 1fr;
        gap: 8px;
        padding: 2px 4px;
    }
    .services-benefits__list article:nth-child(2) { grid-row: 3; }
    .services-benefits__list article:nth-child(3) { grid-row: 2; }
    .services-benefits__icon { width: 38px; height: 33px; }
    .services-benefits__icon svg { width: 21px; height: 21px; }
    .services-benefits__list h3 { color: #627b78; font-size: 18px; line-height: 21.24px; }
    .services-overview__actions { display: grid; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-overview__actions a,
    .services-overview__actions button { width: auto; min-width: 0; flex-basis: auto; padding-inline: 8px; }
}

@media (min-width: 46.25rem) and (max-width: 61.9375rem) {
    .services-overview__grid {
        grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
        gap: 28px 32px;
        align-items: start;
    }
    .services-overview__content { display: contents; }
    .services-offers { grid-column: 1 / -1; grid-row: 1; }
    .services-benefits { grid-column: 1; grid-row: 2; }
    .services-benefits h2 { margin-top: 0; }
    .services-overview__actions { grid-column: 1; grid-row: 3; margin-top: 0; }
    .services-overview__visual { height: auto; grid-column: 2; grid-row: 2 / span 2; }
    .services-overview__visual picture { height: auto; }
    .services-overview__visual img { height: auto; aspect-ratio: 1066 / 1208; object-fit: contain; object-position: center top; }
}

@media (max-width: 46.1875rem) {
    .services-overview__visual,
    .services-overview__visual picture { height: auto; }
    .services-overview__visual img { height: auto; object-fit: contain; object-position: center top; }
}

@media (min-width: 30rem) and (max-width: 46.1875rem) {
    .services-benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
    .services-benefits__list article,
    .services-benefits__list article:nth-child(2),
    .services-benefits__list article:nth-child(3) { height: auto; min-height: 48px; grid-row: auto; grid-template-columns: 31px minmax(0, 1fr); gap: 6px; }
    .services-benefits__icon { width: 31px; height: 31px; }
    .services-benefits__icon svg { width: 22px; height: 22px; }
    .services-benefits__list h3 { font-size: 17px; line-height: 1.1; }
}

@media (max-width: 29.9375rem) {
    .services-benefits__list { grid-template-columns: 1fr; gap: 4px; }
    .services-benefits__list article,
    .services-benefits__list article:nth-child(2),
    .services-benefits__list article:nth-child(3) { height: auto; min-height: 40px; grid-row: auto; grid-template-columns: 34px minmax(0, 1fr); gap: 7px; }
    .services-benefits__icon { width: 34px; height: 32px; }
    .services-benefits__icon svg { width: 22px; height: 22px; }
    .services-benefits__list h3 { font-size: 18px; line-height: 1.12; }
}
