.services-page {
    width: 100%;
}

.services-page .main-content {
    width: 100%;
}

.services-hero {
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: rgba(24, 24, 24, 0.65);
    box-sizing: border-box;
}

.services-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 24, 0.65);
}

.services-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-hero-content {
    width: 100%;
    max-width: var(--content-max-width);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    box-sizing: border-box;
    padding: clamp(72px, 14vw, 300px) clamp(20px, 3.2vw, 40px) clamp(48px, 8vw, 170px);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.services-hero-content-title {
    margin: 0 0 clamp(20px, 2.2vw, 42px);
    color: #fff;
    font-family: var(--font-family), sans-serif;
    font-size: clamp(32px, calc(2.2vw + 20px), 60px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: min(100%, 572px);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-hero-content-description {
    width: 100%;
    max-width: 464px;
    color: #f2f2f2;
    font-family: var(--font-family), sans-serif;
    font-size: clamp(18px, calc(0.5vw + 16px), 25px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.32;
}

.services-hero-content-button {
    width: min(100%, 250px);
    max-width: 100%;
    height: auto;
    min-height: clamp(48px, 3.4vw, 54px);
    margin-top: clamp(20px, 1.6vw, 34px);
    background: #7c0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: clamp(8px, 0.4vw, 10px) clamp(12px, 1vw, 20px);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.services-hero-content-button:hover {
    background: #9a0000;
    transform: translateY(-1px);
}

.services-hero-button {
    color: #fff;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(15px, calc(0.1vw + 16px), 18px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.services-advantages {
    width: 100%;
    max-width: var(--content-max-width);
    margin: clamp(56px, 6.5vw, 100px) auto 0;
    padding: 0 clamp(20px, 3.2vw, 40px);
    box-sizing: border-box;
}

.services-advantages--last {
    padding-bottom: clamp(48px, 6vw, 90px);
}

.services-advantages-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: clamp(28px, 5.5vw, 111px);
    min-width: 0;
}

.services-advantages-content-left {
    flex: 1 1 48%;
    min-width: 0;
    max-width: 527.093px;
    width: 100%;
    height: auto;
    aspect-ratio: 527.093 / 514.315;
    flex-shrink: 1;
    align-self: center;
}

.services-advantages-content-left img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.services-advantages-content-right {
    flex: 1 1 44%;
    min-width: 0;
    max-width: 541.443px;
    width: 100%;
    min-height: 0;
}

.services-advantages-content-right-title {
    margin: 0;
    color: #151515;
    font-family: var(--font-family), sans-serif;
    font-size: clamp(32px, calc(0.4vw + 32px), 44px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.22;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-advantages-content-right-description {
    width: 100%;
    max-width: 537.157px;
    margin-top: clamp(18px, 1.6vw, 28px);
    color: #555;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(18px, calc(0.2vw + 18px), 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}

.services-advantages-content-right-description p {
    margin: 0;
}

.services-advantages-content-right-description p + p {
    margin-top: clamp(8px, 0.8vw, 10px);
}

.services-advantages-content-right-content {
    margin-top: clamp(18px, 1.6vw, 26px);
}

.services-advantages-content-right-subtitle {
    position: relative;
    padding-bottom: clamp(12px, 1.2vw, 18px);
    margin: 0;
    color: #151515;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(20px, calc(0.15vw + 20px), 24px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.25;
}

.services-advantages-content-right-subtitle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid #dbdbdb;
}

.services-advantages-content-right-content-items {
    margin-top: clamp(16px, 1.4vw, 22px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.8vw, 12px);
}

.services-advantages-content-right-content-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, 0.8vw, 10px);
}

.services-advantages-content-right-content-item-icon {
    width: 4.529px;
    height: 4.529px;
    border-radius: 50%;
    background: #7c0000;
    flex: 0 0 auto;
    margin-top: 0.45em;
}

.services-advantages-content-right-content-item-icon img {
    display: none;
}

.services-advantages-content-right-content-item-value {
    color: #555;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(17px, calc(0.1vw + 16px), 20px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    min-width: 0;
}

.services-advantages-content-bottom {
    margin-top: clamp(48px, 5vw, 90px);
}

.services-advantages-items-title {
    margin: 0;
    color: #151515;
    font-family: var(--font-family), sans-serif;
    font-size: clamp(30px, calc(0.35vw + 30px), 44px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.services-advantages-items-items {
    margin-top: clamp(24px, 2.4vw, 36px);
    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 20px);
}

.services-advantages-items-item {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: clamp(140px, 12vw, 176.873px);
    margin: 0 auto;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    padding: clamp(22px, 2vw, 30px) clamp(18px, 1.6vw, 24px) clamp(28px, 2.6vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 2vw, 30px);
    min-width: 0;
}

.services-advantages-items-item-icon {
    width: clamp(36px, 1.2vw, 40.313px);
    height: auto;
    aspect-ratio: 40.313 / 36.971;
    border: 1px solid #7c0000;
    background: #7c0000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.services-advantages-items-item-icon img {
    max-width: 70%;
    max-height: 70%;
    display: block;
}

.services-advantages-items-item-text {
    width: 100%;
    max-width: 331px;
    color: #151515;
    font-family: "Ubuntu Sans", sans-serif;
    font-size: clamp(16px, calc(0.1vw + 16px), 19px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    min-width: 0;
}

@media (max-width: 1200px) {
    .services-advantages-content {
        gap: clamp(24px, 3.4vw, 80px);
    }

    .services-advantages-content-right-title {
        font-size: clamp(30px, calc(0.3vw + 28px), 40px);
    }

    .services-advantages-content-right-description,
    .services-advantages-content-right-content-item-value {
        font-size: clamp(17px, calc(0.2vw + 16px), 20px);
    }
}

@media (max-width: 1000px) {
    .services-advantages-content {
        gap: clamp(20px, 2.5vw, 60px);
    }

    .services-advantages-content-left {
        max-width: min(100%, 480px);
    }
}

@media (max-width: 900px) {
    .services-advantages-content {
        flex-direction: column;
        align-items: stretch;
        gap: clamp(28px, 3.5vw, 40px);
    }

    .services-advantages-content-left {
        flex: 0 0 auto;
        order: 1;
        max-width: 100%;
        width: 100%;
    }

    .services-advantages-content-right {
        order: 2;
        flex: 0 1 auto;
        max-width: 100%;
    }

    .services-advantages-items-title {
        font-size: clamp(28px, calc(0.2vw + 24px), 34px);
        line-height: 1.2;
        text-align: center;
    }

    .services-advantages-items-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        justify-items: stretch;
        column-gap: clamp(14px, 2vw, 20px);
        row-gap: clamp(20px, 2.2vw, 24px);
    }

    .services-advantages-items-item {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .services-advantages-items-item-text {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .services-advantages {
        padding-left: clamp(16px, 2.5vw, 24px);
        padding-right: clamp(16px, 2.5vw, 24px);
    }

    .services-advantages-items-items {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: clamp(18px, 2vw, 24px);
    }

    .services-advantages-items-item {
        max-width: min(100%, 380px);
    }
}

@media (max-width: 480px) {
    .services-advantages {
        padding-left: 14px;
        padding-right: 14px;
    }

    .services-advantages-items-title {
        font-size: clamp(22px, calc(0.15vw + 20px), 28px);
    }

    .services-advantages-items-item {
        padding: clamp(18px, 2vw, 22px) clamp(16px, 1.8vw, 20px) clamp(22px, 2.2vw, 28px);
    }

    .services-advantages-items-item-text {
        font-size: clamp(15px, calc(0.1vw + 14px), 17px);
    }
}
