.detail-hero-inner {
    align-items: center !important;
}

.detail-hero-visual {
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background: rgba(255,255,255,.10);
    box-shadow: 0 28px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.detail-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(5,10,22,.88) 100%);
}

.detail-hero-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 3rem;
    background: radial-gradient(circle, rgba(var(--primary-rgb),.54), rgba(5,10,22,.38));
}

.detail-hero-visual-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
}

.detail-hero-visual-copy small,
.detail-hero-visual-copy strong {
    display: block;
    max-width: 100%;
    color: #fff;
    letter-spacing: 0;
}

.detail-hero-visual-copy small {
    margin-bottom: 5px;
    color: rgba(255,255,255,.68);
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.detail-hero-visual-copy strong {
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1.15;
}

.service-context-strip {
    position: relative;
    z-index: 4;
    margin: -2px 0 0;
    padding: 16px 0;
    background: #fff;
    border-bottom: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 34px rgba(15,23,42,.05);
}

.service-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
}

.service-context-item {
    min-width: 0;
    min-height: 68px;
    padding: 10px 12px;
    border-right: 1px solid #e8edf4;
    display: flex;
    align-items: center;
    gap: 11px;
}

.service-context-item:last-child {
    border-right: 0;
}

.service-context-item > span {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(var(--primary-rgb),.10);
}

.service-context-item strong,
.service-context-item small {
    display: block;
    max-width: 100%;
    letter-spacing: 0;
}

.service-context-item strong {
    color: #101828;
    font-size: .78rem;
    font-weight: 950;
}

.service-context-item small {
    margin-top: 3px;
    color: #667085;
    font-size: .68rem;
    font-weight: 750;
}

.service-detail-layout {
    margin-top: 34px !important;
    margin-bottom: 18px;
}

.service-side-card {
    background: linear-gradient(180deg, #fff, #f8fbff) !important;
}

.service-side-link {
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) 18px !important;
    justify-content: initial !important;
    padding: 7px !important;
}

.service-side-thumb {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(var(--primary-rgb),.10);
    overflow: hidden;
}

.service-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-side-copy {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-side-link:hover .service-side-thumb,
.service-side-link.active .service-side-thumb {
    color: var(--primary);
    background: #fff;
}

.service-contact-cta {
    margin-top: 26px;
    padding: 16px;
    border: 1px solid rgba(var(--primary-rgb),.14);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 46px minmax(0,1fr) auto;
    align-items: center;
    gap: 13px;
    background:
        radial-gradient(circle at 94% 0, rgba(var(--primary-rgb),.14), transparent 38%),
        #f8fbff;
}

.service-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 24px rgba(var(--primary-rgb),.22);
}

.service-contact-cta strong,
.service-contact-cta small {
    display: block;
    letter-spacing: 0;
}

.service-contact-cta strong {
    color: #101828;
    font-size: .86rem;
    font-weight: 950;
}

.service-contact-cta small {
    margin-top: 4px;
    color: #667085;
    font-size: .72rem;
    font-weight: 750;
}

.service-contact-cta > a {
    min-height: 44px;
    padding: 0 15px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--primary);
    font-size: .75rem;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(var(--primary-rgb),.22);
}

.service-contact-cta > a:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(.92);
}

@media (max-width: 1199px) {
    .detail-hero-visual {
        width: min(560px, 100%);
        min-height: 310px;
    }

    .service-context-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 767px) {
    .detail-hero {
        padding-top: 34px !important;
    }

    .detail-hero-copy {
        text-align: center;
    }

    .detail-breadcrumb,
    .detail-actions {
        justify-content: center;
    }

    .detail-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .detail-hero-visual {
        width: 100%;
        min-height: 250px;
        border-radius: 22px;
    }

    .service-context-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-context-item {
        min-height: 60px;
        border-right: 0;
        border-bottom: 1px solid #e8edf4;
    }

    .service-context-item:last-child {
        border-bottom: 0;
    }

    .service-contact-cta {
        grid-template-columns: 42px minmax(0,1fr);
        border-radius: 18px;
    }

    .service-contact-icon {
        width: 42px;
        height: 42px;
    }

    .service-contact-cta > a {
        grid-column: 1 / -1;
        width: 100%;
    }
}
