.service-single__top-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    margin: 0 0 var(--space-6);
    padding: var(--space-4) var(--space-5);
    border: 1px solid rgba(47, 111, 203, 0.2);
    border-radius: var(--radius-md);
    background: linear-gradient(120deg, var(--color-primary-soft) 0%, var(--color-surface) 58%);
    box-shadow: var(--shadow-blue);
}

.service-single__top-cta-main {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.service-single__top-cta-portrait {
    width: 112px;
    height: 112px;
    border: 4px solid var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 1px rgba(47, 111, 203, 0.22), 0 12px 32px rgba(47, 111, 203, 0.2);
    box-sizing: border-box;
    align-self: flex-start;
    flex: 0 0 112px;
    overflow: hidden;
}

.service-single__top-cta-portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transform: translateY(calc(var(--space-3) * -1)) scale(3);
    transform-origin: center top;
}

.service-single__top-cta-content {
    min-width: 0;
}

.service-single__top-cta-title { margin: 0 0 var(--space-1); color: var(--color-text); font-size: var(--text-lg); font-weight: 800; line-height: 1.3; }
.service-single__top-cta-text { margin: 0; color: var(--color-muted); font-size: var(--text-sm); line-height: 1.5; }
.service-single__top-cta-actions { display: flex; flex: 0 0 auto; align-items: center; gap: var(--space-2); }
.service-single__top-cta-link { display: inline-flex; width: 44px; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(220, 230, 243, 0.9); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 24px rgba(15, 31, 51, 0.08); box-sizing: border-box; color: var(--color-text); text-decoration: none; position: relative; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, translate 160ms ease; }
.service-single__top-cta-link img { width: 28px; height: 28px; object-fit: contain; transition: transform 160ms ease; }
.service-single__top-cta-link--phone { width: 44px; min-width: 44px; gap: 0; padding-inline: 0; border: 1px solid var(--color-primary); background: var(--color-primary); box-shadow: var(--shadow-blue); color: #ffffff; font-weight: 800; }
.service-single__top-cta-link--phone span { display: none; }
.service-single__top-cta-link--phone img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.service-single__top-cta-link:hover, .service-single__top-cta-link:focus-visible { border-color: rgba(47, 111, 203, 0.34); background: #ffffff; color: var(--color-text); translate: 0 -2px; box-shadow: var(--shadow-blue); }
.service-single__top-cta-link--phone:hover, .service-single__top-cta-link--phone:focus-visible { border-color: var(--color-primary-hover); background: var(--color-primary-hover); color: #ffffff; translate: 0 -1px; }
.service-single__top-cta-link:hover img, .service-single__top-cta-link:focus-visible img { transform: scale(1.08); }
.service-single__top-cta-link[data-tooltip]::after { position: absolute; left: 50%; bottom: calc(100% + var(--space-2)); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: rgba(7, 26, 47, 0.94); color: #ffffff; content: attr(data-tooltip); opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity 140ms ease, transform 140ms ease; white-space: nowrap; font-size: 12px; font-weight: 700; line-height: 1.35; z-index: 2; }
.service-single__top-cta-link[data-tooltip]:hover::after, .service-single__top-cta-link[data-tooltip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
    .service-single__top-cta { align-items: stretch; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-5); padding: var(--space-4); }

    .service-single__top-cta-main {
        display: grid;
        grid-template-areas:
            'portrait title'
            'portrait text';
        grid-template-columns: clamp(104px, 34vw, 144px) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        align-items: start;
        column-gap: var(--space-4);
        row-gap: var(--space-2);
    }

    .service-single__top-cta-portrait {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        grid-area: portrait;
        flex: none;
    }

    .service-single__top-cta-content {
        display: contents;
    }

    .service-single__top-cta-title {
        grid-area: title;
        font-size: clamp(var(--text-lg), 6vw, var(--text-xl));
        line-height: 1.2;
    }

    .service-single__top-cta-text {
        grid-area: text;
        margin-top: var(--space-2);
        font-size: var(--text-md);
        line-height: 1.6;
    }

    .service-single__top-cta-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 700px) {
    .service-single__top-cta-main {
        grid-template-areas:
            'portrait title'
            'text text';
        grid-template-rows: auto auto;
    }

    .service-single__top-cta-text {
        margin-top: var(--space-4);
    }
}

@media (max-width: 380px) {
    .service-single__top-cta-main {
        column-gap: var(--space-3);
    }

    .service-single__top-cta-portrait {
        border-width: 3px;
        border-radius: var(--radius-sm);
    }

    .service-single__top-cta-portrait img {
        transform: translateY(calc(var(--space-2) * -1)) scale(3);
    }

    .service-single__top-cta-actions {
        justify-content: center;
        row-gap: var(--space-2);
    }

    .service-single__top-cta-link--phone {
        width: 100%;
        flex-basis: 100%;
        gap: var(--space-2);
        padding-inline: var(--space-3);
    }

    .service-single__top-cta-link--phone span {
        display: inline;
    }
}
