.content-block {
    background: var(--color-white);
    border: 1px solid var(--surface-border);
    margin: 75px 0;
    padding: clamp(20px, 2.6vw, 36px);
    max-width: 1600px;
    width: 100%;
}
.content-block:nth-of-type(even) .content-block__inner{
    flex-direction: row-reverse;
}

.content-block__inner {
    display: flex;
    gap: clamp(18px, 3vw, 52px);
    align-items: center;
}

.content-block__text {
    flex: 1 1 auto;
    min-width: 0;
}

.content-block__media {
    flex: 0 0 40%;
    max-width: 525px;
    width: 100%;
    &:has(img.big){
        max-width: 700px;
        img{
            max-width: 700px;            
        }
    }
    img{
        max-height: 700px;
        max-width: 525px;
        height: auto;
        display: block;
        border-radius: 2px;
        width: 100%;
    }
}

.content-block__title {
    margin: 0 0 25px;
    color: var(--brand-color);
    font-size: 2rem;
    line-height: 1.12;
    text-align: center;
    font-family: "Oswald", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    img{
        width: auto;
        height: 50px;
        margin-right: 10px;
    }
}

.content-block__body {
    margin: 0;
    color: var(--text-body);
    font-size: 1.125rem;
    margin-left: 50px;
    ul{ 
        &.check{
            li{
                list-style: none;
                display: flex;
                align-items: center;
                &::before{
                    content: "";
                    background-image: url("../img/check.svg");
                    width: 20px;
                    height: 20px;
                    background-size: contain;
                    background-repeat: no-repeat;
                    margin-bottom: 5px;
                    margin-right: 5px;
                    display: block;
                    color: var(--text-body);
                }
            }
        }
        margin-bottom: 5px;
        li{
            list-style: circle;
            margin-left: 20px;
            margin-bottom: 10px;
        }
    }
    p{
        margin-bottom: 10px;
        line-height: 1.25rem;
        text-align: justify;
        .important{
            font-weight: 600;
        }
    }
}

.content-block__body .list-intro {
    font-weight: 700;
}

.service-phone-callout {
    margin-top: 18px;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    background: var(--surface-soft);
    border: 1px solid var(--surface-border);
    border-left: 5px solid var(--brand-color);
    padding: 12px 14px;
    border-radius: 6px;
}

.service-phone-callout__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.service-phone-callout__number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1;
}

.service-phone-callout__number svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    background: var(--brand-color);
    border-radius: 999px;
    padding: 5px;
    flex: 0 0 auto;
}

.service-phone-callout__number:hover {
    opacity: 0.88;
}

.content-block__actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.content-block__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    font-size: clamp(16px, 1.05vw, 21px);
    padding: 14px 24px;
    border-radius: 4px;
    transition: transform 0.2s ease, filter 0.2s ease;
    background: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--button-border);
    width: 100%;
    max-width: 360px;
}

.content-block__btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.97);
}


@media (max-width: 980px) {
    .content-block {
        margin: 18px 0;
        padding: 18px;
    }
    .content-block:nth-of-type(even) .content-block__inner{
        flex-direction: column;
    }
    .content-block__inner {
        flex-direction: column;
        gap: 16px;
    }

    .content-block__text,
    .content-block__media {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .content-block__body{
        max-width: 700px;
        margin: 0;
        p{
            text-align: center;
        }
    }

    .service-phone-callout {
        width: 100%;
    }

    .service-phone-callout__number {
        font-size: clamp(21px, 6vw, 30px);
    }

    .content-sections .content-block:nth-child(odd) .content-block__inner {
        flex-direction: column;
    }

    .content-block__actions {
        margin-top: 18px;
        gap: 10px;
    }

    .content-block__btn {
        width: 100%;
        padding: 14px 16px;
    }
}


