.service-buttons-section {
    position: relative;
}

.service-buttons-intro {
    max-width: 920px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.8;
}

.approach-cards-viewport {
    padding: 58px 0 22px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

.approach-cards {
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 2vw, 30px);
    width: max-content;
    min-width: 100%;
}

.approach-card {
    position: relative;
    flex: 1 0 190px;
    min-width: 190px;
    min-height: 226px;
    padding: 112px 24px 28px;
    overflow: visible;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .025));
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
    color: var(--approach-card-text-color, #fff);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
    cursor: pointer;
    text-align: left;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.approach-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--approach-card-accent) 22%, transparent), transparent 44%),
        radial-gradient(circle at 100% 100%, rgba(244, 103, 52, .10), transparent 48%),
        radial-gradient(circle at 72% 0%, rgba(196, 0, 92, .10), transparent 46%);
    opacity: .72;
    pointer-events: none;
    transition: opacity .3s ease;
}

.approach-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 24px;
    left: 24px;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--approach-card-accent) 76%, #15cadc), rgba(196, 0, 92, .74), transparent);
    opacity: .72;
}

.approach-card-icon {
    display: grid;
    place-items: center;
    position: absolute;
    top: -46px;
    left: -18px;
    z-index: 2;
    width: 124px;
    height: 124px;
    pointer-events: none;
}

.approach-card-icon img {
    width: 124px;
    height: 124px;
    object-fit: contain;
    filter: drop-shadow(0 13px 20px rgba(0, 0, 0, .2));
    transform-origin: 50% 50%;
    will-change: transform, filter;
}

.approach-card-title {
    display: block;
    color: inherit;
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@keyframes approach-icon-hover-swing {
    0%, 100% { transform: scale(1.08) rotate(0); }
    25% { transform: scale(1.08) rotate(14deg); }
    75% { transform: scale(1.08) rotate(-10deg); }
}

@media (hover: hover) and (pointer: fine) {
    .approach-card:hover,
    .approach-card:focus-visible {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--approach-card-accent) 48%, rgba(255, 255, 255, .2));
        background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035));
        box-shadow: 0 24px 54px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .15);
        outline: none;
    }

    .approach-card:hover::before,
    .approach-card:focus-visible::before { opacity: 1; }

    .approach-card:hover .approach-card-icon img,
    .approach-card:focus-visible .approach-card-icon img {
        animation: approach-icon-hover-swing .5s ease;
        filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .25));
    }
}

.workflow-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2200;
    background: rgba(2, 4, 7, .48);
    -webkit-backdrop-filter: blur(8px) saturate(80%);
    backdrop-filter: blur(8px) saturate(80%);
    overscroll-behavior: none;
    animation: workflow-backdrop-enter .24s ease both;
}

.workflow-drawer-backdrop[hidden],
.workflow-drawer-item[hidden] { display: none; }

.workflow-drawer {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(780px, calc(100vw - 56px));
    height: 100vh;
    height: 100dvh;
    padding: clamp(32px, 5vw, 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-right: 1px solid rgba(255, 255, 255, .16);
    background:
        radial-gradient(circle at 14% 8%, rgba(183, 18, 91, .16), transparent 34%),
        radial-gradient(circle at 96% 30%, rgba(17, 187, 218, .13), transparent 38%),
        linear-gradient(145deg, #17191d, #0c1014 72%);
    box-shadow: 28px 0 90px rgba(0, 0, 0, .52), inset -1px 0 0 rgba(255, 255, 255, .05);
    color: #fff;
    animation: workflow-drawer-enter .42s cubic-bezier(.22, .72, .2, 1) both;
    outline: none;
}

@keyframes workflow-backdrop-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes workflow-drawer-enter {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.workflow-drawer-close {
    position: absolute;
    z-index: 10;
    top: 24px;
    right: 24px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .88);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.workflow-drawer-close:hover,
.workflow-drawer-close:focus-visible {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(183, 18, 91, .3);
    transform: rotate(5deg);
    outline: none;
}

.workflow-drawer-item {
    animation: workflow-content-enter .4s .08s ease both;
}

@keyframes workflow-content-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.workflow-drawer-step {
    display: block;
    margin: 8px 64px 28px 0;
    color: rgba(255, 255, 255, .52);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.workflow-drawer-heading {
    display: grid;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.workflow-drawer-heading.has-icon {
    grid-template-columns: minmax(0, 1fr) 170px;
}

.workflow-drawer-heading h3 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
}

.workflow-drawer-icon {
    display: grid;
    place-items: center;
    width: 170px;
    height: 170px;
    overflow: hidden;
}

.workflow-drawer-icon img {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .32));
}

.workflow-drawer-text {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    font-size: 20px;
    line-height: 1.75;
}

.workflow-drawer-text p,
.workflow-drawer-text ul,
.workflow-drawer-text ol,
.workflow-drawer-text blockquote { margin: 0 0 1rem; }

.workflow-drawer-text ul,
.workflow-drawer-text ol { padding-left: 1.45rem; }

.workflow-drawer-text blockquote {
    padding-left: 1.2rem;
    border-left: 3px solid #08baf4;
}

body.workflow-drawer-open {
    overflow: hidden;
    overscroll-behavior: none;
}

@media (max-width: 991.98px) {
    .approach-card { flex-basis: 210px; width: 210px; min-width: 210px; }
}

@media (max-width: 767.98px) {
    .approach-cards-viewport {
        margin-right: 0;
        padding: 54px 0 18px;
        overflow: visible;
    }
    .approach-cards {
        width: 100%;
        min-width: 0;
        flex-direction: column;
        gap: 18px;
    }
    .approach-card,
    .approach-card:nth-child(n) {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }
    .workflow-drawer { width: 100vw; padding: 32px 24px 40px; }
    .workflow-drawer-close { position: fixed; top: 14px; right: 14px; }
    .workflow-drawer-heading.has-icon { grid-template-columns: minmax(0, 1fr) 112px; }
    .workflow-drawer-icon { width: 112px; height: 112px; }
    .workflow-drawer-icon img { width: 108px; height: 108px; }
    .workflow-drawer-text { font-size: 18px; line-height: 1.65; }
}

@media (prefers-reduced-motion: reduce) {
    .approach-card,
    .workflow-drawer-close { transition: none; }

    .workflow-drawer-backdrop,
    .workflow-drawer,
    .workflow-drawer-item { animation: none; }

    .approach-card:hover .approach-card-icon img,
    .approach-card:focus-visible .approach-card-icon img { animation: none; }
}
