.service-banner {
    --service-banner-padding-left: clamp(24px, 4vw, 56px);
    --service-banner-gap: clamp(8px, 3vw, 24px);
    --service-banner-title-size: clamp(36px, 3.2vw, 48px);
    --service-banner-right-bleed: max(0px, calc((100dvw - 1614px) / 2));
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: stretch;
    gap: var(--service-banner-gap);
    min-height: 802px;
    margin: 0;
    width: 100%;
}

.service-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding-right: 16px;
    padding: 32px 0 0;
}

.service-banner__region {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 8px 24px;
    border: 1px solid #B8D9F6;
    border-radius: 300px;
    background: rgba(255, 255, 255, 0.75);
    color: #4199E7;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.48;
}

.service-banner__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-banner__title {
    font-family: 'Cormorant Infant';
    font-size: var(--service-banner-title-size);
    font-weight: 600;
    line-height: 1.22;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1280E1 43.41%, #0A467B 78.26%);
    background-clip: text;
    color: transparent;
}

.service-banner__desc {
    max-width: 779px;
    color: #4D4D5B;
    font-size: 24px;
    line-height: 1.34;
}

.service-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
}

.service-banner__media {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    width: calc(100% + var(--service-banner-right-bleed));
    min-height: 100%;
    margin-right: calc(var(--service-banner-right-bleed) * -1);
    border-radius: 16px 0 16px 16px;
    overflow: hidden;
}

.service-banner .preim__list {
    position: absolute;
}

.service-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    --service-detail-spacing-top: clamp(40px, 4vw, 56px);
    --service-detail-spacing-y: var(--section-spacing-y);
    --service-detail-cards-gap: 24px;
    --service-detail-card-image-height: clamp(180px, 18vw, 240px);
    width: 100%;
    margin: var(--service-detail-spacing-y) auto;
}

.service-detail-content .service-detail-card__title {
    font-family: var(--font-family-base);
    font-size: 24px;
    font-weight: 500;
    color: #0A467B;
}

.service-detail-content__description {
    text-align: center;
    color: #4D4D5B;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.48;
}

.service-detail-content__description h2 {
    margin: 0 0 16px;
    color: #0A467B;
    font-family: 'Cormorant Infant';
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.15;
    text-transform: uppercase;
}

.service-detail-content__description p {
    margin: 0;
    font-size: var(--font-size-description);
}

.service-detail-content__description p+p {
    margin-top: 16px;
}

.service-detail-content__description>*:first-child {
    margin-top: 0;
}

.service-detail-content__description>*:last-child {
    margin-bottom: 0;
}

.service-detail-content__cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--service-detail-cards-gap);
    margin-top: 40px;
}

.service-detail-content .through-consultation-form {
    margin-top: 40px;
}

.service-detail-card {
    flex: 1 1 calc(25% - 18px);
    min-width: min(100%, 280px);
}

.service-detail-card__media {
    width: 100%;
    height: var(--service-detail-card-image-height);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.service-detail-card__media .service-detail-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-card__content {
    gap: 12px;
}

.service-stages {
    --service-stages-spacing-y: var(--section-spacing-y);
    --service-stages-title-size: clamp(40px, 4vw, 48px);
    --service-stages-desc-size: clamp(14px, 1.5vw, 18px);
    --service-stages-head-gap: 16px;
    --service-stages-head-margin-bottom: 40px;
    --service-stages-card-content-padding: 32px 24px;
    --service-stages-card-content-gap: 16px;
    --service-stages-card-height: 325px;
    --work-step-number-size: clamp(40px, 3vw, 56px);
    --work-step-number-padding: 16px;
    --work-step-number-radius: 300px;
    --work-step-number-gradient: linear-gradient(180deg, #59A6EA 0%, #A0CCF3 100%);
    --work-step-number-color: #FFFFFF;
    --work-step-number-font-family: 'Libertinus Sans';
    position: relative;
    z-index: 0;
    width: 100%;
}

.service-stages::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #F9FCFF;
}

.service-stages__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--service-stages-head-gap);
    max-width: 920px;
    margin: 0 auto var(--service-stages-head-margin-bottom);
    text-align: center;
}

.service-stages__title {
    margin: 0;
    font-family: 'Cormorant Infant';
    font-size: var(--service-stages-title-size);
    font-weight: 600;
    line-height: 1.22;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1280E1 43.41%, #0A467B 78.26%);
    background-clip: text;
    color: transparent;
}

.service-stages__description {
    max-width: 920px;
    margin: 0;
    color: #4D4D5B;
    font-size: var(--service-stages-desc-size);
    line-height: 1.48;
}

.service-stages__row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.service-stages__col {
    display: flex;
}

.service-stage-card {
    --main-card-content-padding: var(--service-stages-card-content-padding);
    --main-card-content-gap: var(--service-stages-card-content-gap);
    width: 100%;
    height: var(--service-stages-card-height);
    box-shadow: 0px 0px 32px 0px #B8D9F6;
}

.service-stage-card__content {
    align-items: center;
    text-align: center;
    background-color: #FFFFFFBF;
}

.service-stage-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--work-step-number-size) + var(--work-step-number-padding) * 2);
    height: calc(var(--work-step-number-size) + var(--work-step-number-padding) * 2);
    padding: var(--work-step-number-padding);
    border-radius: var(--work-step-number-radius);
    background: var(--work-step-number-gradient);
    color: var(--work-step-number-color);
    font-family: var(--work-step-number-font-family);
    font-size: var(--work-step-number-size);
    font-weight: 700;
    line-height: 1.22;
    flex-shrink: 0;
}

.service-stage-card__title,
.service-stage-card__desc {
    margin: 0;
}

.service-stage-card__title {
    color: #0A467B;
}

.service-climate {
    --service-climate-spacing-y: var(--section-spacing-y);
    --service-climate-title-size: clamp(40px, 4vw, 48px);
    --service-climate-head-margin-bottom: 40px;
    --service-climate-card-padding: 32px 60px;
    --service-climate-card-gap: 24px;
    --service-climate-icon-size: 40px;
    --service-climate-card-height: auto;
    width: 100%;
    margin: var(--service-climate-spacing-y) auto;
}

.service-climate__head {
    margin-bottom: var(--service-climate-head-margin-bottom);
    text-align: center;
}

.service-climate__title {
    margin: 0;
    font-family: 'Cormorant Infant';
    font-size: var(--service-climate-title-size);
    font-weight: 600;
    line-height: 1.22;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1280E1 43.41%, #0A467B 78.26%);
    background-clip: text;
    color: transparent;
}

.service-climate__row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.service-climate__col {
    display: flex;
}

.service-climate-card {
    --main-card-content-padding: var(--service-climate-card-padding);
    --main-card-content-gap: var(--service-climate-card-gap);
    width: 100%;
    height: var(--service-climate-card-height);
}

.service-climate-card__content {
    align-items: flex-start;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 32px 60px;
    gap: 8px;
    background-color: transparent;
}

.service-climate-card__media {
    width: var(--service-climate-icon-size);
    height: var(--service-climate-icon-size);
    flex: 0 0 var(--service-climate-icon-size);
}

.service-climate-card__media .service-climate-card__image {
    object-fit: contain;
    height: 100%;
}

.service-climate-card__desc {
    margin: 0;
    color: #4199E7;
}

.ventilation-prices {
    --ventilation-prices-spacing-y: var(--section-spacing-y);
    --ventilation-prices-border-color: #B8D9F6;
    --ventilation-prices-radius: 12px;
    --ventilation-prices-cell-padding: 16px;
    --ventilation-prices-title-size: clamp(40px, 4vw, 48px);
    --ventilation-prices-head-size: clamp(20px, 1.5vw, 24px);
    width: 100%;
    margin: var(--ventilation-prices-spacing-y) auto;
}

.ventilation-prices__head {
    justify-content: center;
}

.ventilation-prices__title {
    width: 100%;
    font-size: var(--ventilation-prices-title-size);
    text-align: center;
}

.ventilation-prices__content {
    width: 100%;
}

.ventilation-prices__panel[hidden] {
    display: none;
}

.ventilation-prices__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.ventilation-prices__col {
    width: 33.3333%;
}

.ventilation-prices__table tr:nth-child(odd) {
    background-color: #F9FCFF;
}

.ventilation-prices__table tr:nth-child(even) {
    background-color: #FFF;
}

.ventilation-prices__table th,
.ventilation-prices__table td {
    padding: var(--ventilation-prices-cell-padding);
    border-top: 1px solid var(--ventilation-prices-border-color);
    border-left: 1px solid var(--ventilation-prices-border-color);
    vertical-align: middle;
}

.ventilation-prices__table th:last-child,
.ventilation-prices__table td:last-child {
    border-right: 1px solid var(--ventilation-prices-border-color);
}

.ventilation-prices__table tbody tr:last-child td {
    border-bottom: 1px solid var(--ventilation-prices-border-color);
}

.ventilation-prices__table thead th {
    color: #0A467B;
    font-size: var(--ventilation-prices-head-size);
    font-weight: 500;
    line-height: 1.34;
}

.ventilation-prices__table thead th:first-child {
    border-top-left-radius: var(--ventilation-prices-radius);
}

.ventilation-prices__table thead th:last-child {
    border-top-right-radius: var(--ventilation-prices-radius);
}

.ventilation-prices__table tbody td {
    color: #4D4D5B;
    font-size: var(--font-size-description);
    line-height: 1.48;
}

.ventilation-prices__table tbody td:last-child {
    color: #0A467B;
    font-size: var(--ventilation-prices-head-size);
    font-weight: 500;
    line-height: 1.34;
    white-space: nowrap;
}

.ventilation-prices__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin-top: 40px;
}

.ventilation-prices__note {
    max-width: 755px;
    margin: 0;
    color: #4D4D5B;
    font-size: var(--font-size-description);
    line-height: 1.48;
}

.ventilation-prices__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    flex: 0 0 auto;
}

.ventilation-prices__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.76;
    letter-spacing: .04em;
    text-align: center;
}

@media (max-width: 1199px) {
    .service-banner {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding: 40px 24px 24px;
    }

    .service-banner__content {
        padding-right: 0;
    }

    .service-banner__media {
        width: 100%;
        min-height: 360px;
        margin-right: 0;
    }

    .service-banner .preim__list {
        position: static;
        padding-top: 0;
    }

    .service-detail-card {
        flex-basis: calc(50% - 12px);
    }

    .service-stages {
        --service-stages-head-margin-bottom: 32px;
    }

    .service-climate {
        --service-climate-head-margin-bottom: 32px;
    }

    .ventilation-prices__bottom {
        flex-direction: column;
    }

    .ventilation-prices__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .service-banner {
        --service-banner-title-size: clamp(32px, 9vw, 40px);
        gap: 20px;
        padding: 24px 20px 20px;
    }

    .service-banner__content {
        gap: 20px;
        padding-top: 0;
    }

    .service-banner__region {
        padding: 8px 18px;
        font-size: 14px;
        line-height: 1.4;
    }

    .service-banner__desc {
        font-size: 18px;
        line-height: 1.48;
    }

    .service-banner__actions {
        flex-direction: column;
        margin-top: 16px;
    }

    .service-banner__actions .primary,
    .service-banner__actions .secondary {
        width: 100%;
    }

    .service-banner__media {
        min-height: 260px;
        border-radius: 16px;
    }

    .service-banner .preim__list {
        gap: 12px;
    }

    .service-banner .preim__list .preim__item {
        max-width: 100%;
    }

    .service-detail-content {
        --service-detail-spacing-y: clamp(48px, 14vw, 72px);
    }

    .service-detail-content__cards {
        margin-top: 32px;
    }

    .service-detail-content .through-consultation-form {
        margin-top: 32px;
    }

    .service-detail-card {
        flex-basis: 100%;
        min-width: 0;
    }

    .service-detail-card__media {
        height: clamp(200px, 52vw, 260px);
    }

    .service-stages {
        --service-stages-spacing-y: clamp(48px, 14vw, 72px);
        --service-stages-head-margin-bottom: 24px;
        --service-stages-card-content-padding: 24px 20px;
    }

    .service-climate {
        --service-climate-spacing-y: clamp(48px, 14vw, 72px);
        --service-climate-head-margin-bottom: 24px;
        --service-climate-card-padding: 32px 20px;
    }

    .service-climate__row {
        --bs-gutter-y: 24px;
    }

    .ventilation-prices {
        --ventilation-prices-spacing-y: clamp(48px, 14vw, 72px);
    }

    .ventilation-prices__head {
        align-items: flex-start;
    }

    .ventilation-prices__title {
        font-size: 36px;
    }

    .ventilation-prices__content {
        overflow-x: auto;
    }

    .ventilation-prices__table {
        min-width: 680px;
    }

    .ventilation-prices__bottom {
        gap: 24px;
        margin-top: 32px;
    }

    .ventilation-prices__actions,
    .ventilation-prices__button {
        width: 100%;
    }
}
