/* =====================================================================
   DIENSTPAGINA'S (heijnex.nl/diensten en /diensten/{slug})
   Alles valt onder .svc, zodat het de rest van de site niet raakt.
   ===================================================================== */
.svc {
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

    .svc .wide {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
    }

    .svc .narrow {
        position: relative;
        max-width: 760px;
        margin: 0 auto;
    }

    .svc .center {
        text-align: center;
    }

    .svc h2 {
        font-size: clamp(2rem, 4.5vw, 3.2rem);
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -0.03em;
        margin: 0 0 1.2rem;
    }

/* ---------- Kop ---------- */
.svc-hero {
    --mx: 50%;
    --my: 40%;
    position: relative;
    padding: 10rem 22px 6.5rem;
    background: #000;
    color: #f5f5f7;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

    .svc-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(600px circle at var(--mx) var(--my), rgba(79, 209, 197, 0.10), transparent 60%);
        pointer-events: none;
        z-index: 1;
    }

    .svc-hero .aurora {
        position: absolute;
        inset: -20%;
        z-index: 0;
        filter: blur(70px) saturate(140%);
        opacity: 0.55;
        pointer-events: none;
    }

    .svc-hero .blob {
        position: absolute;
        border-radius: 50%;
    }

    .svc-hero .b1 {
        width: 46vw;
        height: 46vw;
        left: 8%;
        top: 40%;
        background: radial-gradient(circle, rgba(41, 151, 255, 0.5), transparent 65%);
        animation: svcDrift1 18s ease-in-out infinite alternate;
    }

    .svc-hero .b2 {
        width: 40vw;
        height: 40vw;
        right: 6%;
        top: 30%;
        background: radial-gradient(circle, rgba(79, 209, 197, 0.4), transparent 65%);
        animation: svcDrift2 22s ease-in-out infinite alternate;
    }

@keyframes svcDrift1 {
    to { transform: translate(14vw, -10vh) scale(1.15); }
}

@keyframes svcDrift2 {
    to { transform: translate(-16vw, 8vh) scale(0.9); }
}

.svc-hero .grid-fade {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.svc-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.svc-hero h1 {
    margin: 0 0 1.4rem;
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.svc-hero .lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: clamp(1.08rem, 1.7vw, 1.28rem);
    line-height: 1.55;
    color: #a1a1a6;
}

.svc-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    font-weight: 600;
    color: #c7c7cc;
}

.svc-hero .actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
    font-size: 0.85rem;
    color: #6e6e73;
}

    .crumbs a {
        color: #a1a1a6;
        text-decoration: none;
    }

        .crumbs a:hover {
            color: #f5f5f7;
        }

    .crumbs [aria-current] {
        color: #4fd1c5;
    }

.hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.6rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2997ff, #4fd1c5);
    box-shadow: 0 20px 50px -15px rgba(41, 151, 255, 0.8);
}

    .hero-icon svg {
        width: 30px;
        height: 30px;
    }

.svc .load-in {
    animation: svcLoadIn 1.2s var(--ease) both;
    animation-delay: var(--d, 0s);
}

@keyframes svcLoadIn {
    from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ---------- Voor wie / herken je dit ---------- */
.fit {
    padding: 7rem 22px 5rem;
    background: #fff;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.fit-col {
    padding: 2.2rem 2.2rem 2.4rem;
    border-radius: 28px;
    background: #f5f5f7;
}

    .fit-col h2 {
        font-size: 1.6rem;
        letter-spacing: -0.02em;
        margin-bottom: 1.4rem;
    }

    .fit-col.problems {
        background: #fff5f3;
    }

.check-list,
.dot-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

    .check-list li,
    .dot-list li {
        position: relative;
        padding-left: 2.1rem;
        font-size: 1.04rem;
        line-height: 1.55;
        color: #424245;
    }

        .check-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.15em;
            width: 1.3rem;
            height: 1.3rem;
            border-radius: 50%;
            background: #28c840 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
        }

        .dot-list li::before {
            content: "";
            position: absolute;
            left: 0.35rem;
            top: 0.55em;
            width: 0.6rem;
            height: 0.6rem;
            border-radius: 50%;
            background: #ff6b52;
            box-shadow: 0 0 0 4px rgba(255, 107, 82, 0.18);
        }

/* ---------- Wat het oplevert ---------- */
.benefits-sec {
    padding: 5rem 22px 8rem;
    background: #fff;
}

.benefit-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.benefit {
    --rx: 0deg;
    --ry: 0deg;
    padding: 1.8rem 1.6rem 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.3);
}

    .benefit.is-visible {
        transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
        transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), border-color 0.3s ease;
    }

        .benefit.is-visible.tilting {
            transition: transform 0.12s linear, border-color 0.3s ease;
        }

    .benefit:hover {
        border-color: rgba(41, 151, 255, 0.35);
    }

.benefit-num {
    display: block;
    margin-bottom: 1.4rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(90deg, #0071e3, #22b8aa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.benefit h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d1d1f;
}

.benefit p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #6e6e73;
}

/* ---------- Voorbeeldproject (tijdlijn) ---------- */
.example {
    padding: 8rem 22px;
    background: #000;
    color: #f5f5f7;
    overflow: hidden;
}

.example-label {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4fd1c5;
}

.timeline {
    list-style: none;
    margin: 4rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 22px;
        right: 22px;
        top: 21px;
        height: 2px;
        background: linear-gradient(90deg, #2997ff, #4fd1c5, rgba(79, 209, 197, 0.15));
    }

    .timeline li {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
    }

    .timeline strong {
        margin-top: 1.2rem;
        font-size: 1.1rem;
    }

    .timeline li > span:last-child {
        font-size: 0.95rem;
        line-height: 1.55;
        color: #a1a1a6;
    }

.tl-dot {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #4fd1c5;
    background: #0b0b0d;
    border: 2px solid rgba(79, 209, 197, 0.6);
    box-shadow: 0 0 24px -4px rgba(79, 209, 197, 0.6);
}

.example-note {
    margin: 3.5rem auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 0.9rem;
    color: #86868b;
}

/* ---------- Zo bouw ik het ---------- */
.tech {
    padding: 8rem 22px;
    background: #f5f5f7;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.tech-text p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #424245;
}

.chips {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .chips li {
        padding: 0.45rem 0.95rem;
        border-radius: 980px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 0.88rem;
        font-weight: 600;
        color: #1d1d1f;
    }

.code-window {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #0d1117;
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.cw-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0.7rem 1rem;
    background: #161b22;
}

    .cw-bar i {
        width: 11px;
        height: 11px;
        border-radius: 50%;
    }

        .cw-bar i:nth-child(1) { background: #ff5f57; }
        .cw-bar i:nth-child(2) { background: #febc2e; }
        .cw-bar i:nth-child(3) { background: #28c840; }

    .cw-bar span {
        margin-left: 0.6rem;
        font-size: 0.78rem;
        color: #8b949e;
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }

.code-window pre {
    margin: 0;
    padding: 1.4rem 1.5rem 1.6rem;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #e6edf3;
    font-variant-ligatures: none;
}

/* ---------- Veelgestelde vragen ---------- */
.faq {
    padding: 8rem 22px;
    background: #fff;
}

.faq-list {
    margin-top: 2.5rem;
    display: grid;
    gap: 12px;
}

    .faq-list details {
        border-radius: 18px;
        background: #f5f5f7;
        transition: background-color 0.3s ease;
    }

        .faq-list details[open] {
            background: #eef4ff;
        }

    .faq-list summary {
        list-style: none;
        cursor: pointer;
        position: relative;
        padding: 1.25rem 3.5rem 1.25rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: #1d1d1f;
    }

        .faq-list summary::-webkit-details-marker {
            display: none;
        }

        .faq-list summary::after {
            content: "+";
            position: absolute;
            right: 1.4rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            font-weight: 400;
            color: #0071e3;
            transition: transform 0.3s var(--ease);
        }

    .faq-list details[open] summary::after {
        transform: translateY(-50%) rotate(45deg);
    }

    .faq-list details p {
        margin: 0;
        padding: 0 1.5rem 1.4rem;
        font-size: 1rem;
        line-height: 1.6;
        color: #424245;
    }

/* ---------- Call-to-action ---------- */
.cta {
    position: relative;
    padding: 8rem 22px;
    background: #000;
    color: #f5f5f7;
    overflow: hidden;
}

    .cta p {
        margin: 0 auto 2.2rem;
        max-width: 620px;
        font-size: 1.15rem;
        line-height: 1.55;
        color: #a1a1a6;
    }

.cta-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 900px;
    height: 500px;
    margin: -250px 0 0 -450px;
    background: radial-gradient(ellipse, rgba(41, 151, 255, 0.2), transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

/* ---------- Andere diensten / overzicht ---------- */
.related {
    padding: 7rem 22px 8rem;
    background: #f5f5f7;
}

.related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

    .related-head h2 {
        margin: 0;
    }

.related-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-card,
.ov-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.8rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s var(--ease);
}

    .related-card:hover,
    .ov-card:hover {
        color: #1d1d1f;
        border-color: rgba(41, 151, 255, 0.35);
        box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.35);
    }

    .related-card strong {
        font-size: 1.15rem;
    }

    .related-card > span:not(.rc-icon):not(.rc-more) {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #6e6e73;
        flex: 1;
    }

.rc-icon,
.ov-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.7rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2997ff, #4fd1c5);
}

    .rc-icon svg,
    .ov-icon svg {
        width: 22px;
        height: 22px;
    }

.rc-more,
.ov-more {
    margin-top: 0.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0071e3;
}

    .rc-more span,
    .ov-more span {
        display: inline-block;
        transition: transform 0.3s var(--ease);
    }

.related-card:hover .rc-more span,
.ov-card:hover .ov-more span {
    transform: translateX(4px);
}

.overview {
    padding: 6rem 22px 8rem;
    background: #f5f5f7;
}

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

.ov-card {
    --rx: 0deg;
    --ry: 0deg;
    padding: 2rem 1.9rem;
}

    .ov-card.is-visible {
        transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
        transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), border-color 0.3s ease, box-shadow 0.4s ease;
    }

        .ov-card.is-visible.tilting {
            transition: transform 0.12s linear, border-color 0.3s ease, box-shadow 0.4s ease;
        }

.ov-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0071e3;
}

.ov-card strong {
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.ov-sum {
    font-size: 0.97rem;
    line-height: 1.55;
    color: #6e6e73;
    flex: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

        .timeline::before {
            left: 21px;
            right: auto;
            top: 22px;
            bottom: 22px;
            width: 2px;
            height: auto;
            background: linear-gradient(180deg, #2997ff, #4fd1c5, rgba(79, 209, 197, 0.15));
        }

        .timeline li {
            padding-left: 64px;
            min-height: 44px;
        }

    .tl-dot {
        position: absolute;
        left: 0;
        top: 0;
    }

    .timeline strong {
        margin-top: 0.55rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .related-grid,
    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .svc-hero {
        padding: 8.5rem 22px 5rem;
    }

    .fit-grid,
    .benefit-grid,
    .related-grid,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .fit-col {
        padding: 1.7rem 1.5rem 1.9rem;
    }

    .fit,
    .example,
    .tech,
    .faq,
    .cta,
    .related,
    .overview {
        padding-top: 5rem;
        padding-bottom: 5.5rem;
    }

    .code-window pre {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-hero .blob,
    .svc .load-in {
        animation: none !important;
    }
}

/* =====================================================================
   KENNISBANK (heijnex.nl/kennisbank en /kennisbank/{slug})
   ===================================================================== */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kb-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
    text-decoration: none;
    overflow: hidden;
    padding: 0 0 1.8rem;
    transition: border-color 0.3s ease, box-shadow 0.4s ease;
}

    .kb-card:hover {
        color: #1d1d1f;
        border-color: rgba(41, 151, 255, 0.35);
        box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.35);
    }

    .kb-card > *:not(.kb-cover) {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
    }

.kb-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    margin-bottom: 0.9rem;
    color: #fff;
    background: radial-gradient(120% 140% at 100% 0%, rgba(41, 151, 255, 0.55), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(79, 209, 197, 0.45), transparent 60%), #0b0b0d;
}

    .kb-cover svg {
        width: 46px;
        height: 46px;
        transition: transform 0.6s var(--ease);
    }

.kb-card:hover .kb-cover svg {
    transform: scale(1.12) rotate(-4deg);
}

.kb-meta {
    font-size: 0.82rem;
    color: #86868b;
}

.kb-cat {
    font-weight: 700;
    color: #0071e3;
}

.kb-card strong {
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.kb-sum {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #6e6e73;
    flex: 1;
}

.kb-card .ov-more span {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}

.kb-card:hover .ov-more span {
    transform: translateX(4px);
}

/* ---------- Artikel ---------- */
.kb-hero {
    padding-bottom: 5rem;
}

    .kb-hero h1 {
        font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    }

.kb-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.92rem;
    color: #a1a1a6;
}

    .kb-byline img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(255, 255, 255, 0.15);
    }

    .kb-byline strong {
        color: #f5f5f7;
    }

.kb-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 5rem 22px 6rem;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #333336;
}

    .kb-article h2 {
        margin: 3rem 0 1rem;
        font-size: clamp(1.5rem, 3vw, 1.9rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: #1d1d1f;
        scroll-margin-top: 90px;
    }

    .kb-article p {
        margin: 0 0 1.2rem;
    }

    .kb-article ul {
        margin: 0 0 1.4rem;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 0.65rem;
    }

        .kb-article ul li {
            position: relative;
            padding-left: 1.8rem;
        }

            .kb-article ul li::before {
                content: "";
                position: absolute;
                left: 0.2rem;
                top: 0.65em;
                width: 0.55rem;
                height: 0.55rem;
                border-radius: 50%;
                background: linear-gradient(135deg, #2997ff, #4fd1c5);
            }

.kb-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #1d1d1f;
}

.kb-toc {
    margin: 2.2rem 0 1rem;
    padding: 1.4rem 1.6rem;
    border-radius: 18px;
    background: #f5f5f7;
}

    .kb-toc p {
        margin: 0 0 0.6rem;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6e6e73;
    }

    .kb-toc ol {
        margin: 0;
        padding-left: 1.3rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .kb-toc a {
        color: #1d1d1f;
        text-decoration: none;
    }

        .kb-toc a:hover {
            color: #0071e3;
            text-decoration: underline;
        }

.kb-summary {
    margin: 3rem 0 2rem;
    padding: 1.6rem 1.8rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.08), rgba(79, 209, 197, 0.12));
    border: 1px solid rgba(41, 151, 255, 0.2);
}

    .kb-summary h2 {
        margin: 0 0 0.6rem;
        font-size: 1.2rem;
    }

    .kb-summary p {
        margin: 0;
    }

.kb-service {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.4rem 1.6rem;
    border-radius: 20px;
    background: #000;
    color: #f5f5f7;
    text-decoration: none;
    transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

    .kb-service:hover {
        color: #f5f5f7;
        transform: translateY(-2px);
        box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
    }

    .kb-service .rc-icon {
        margin: 0;
        flex-shrink: 0;
    }

.kb-service-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a1a1a6;
}

    .kb-service-text strong {
        font-size: 1.1rem;
        color: #f5f5f7;
    }

.kb-service-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4fd1c5;
}

.kb-service-arrow {
    font-size: 1.4rem;
    color: #2997ff;
    transition: transform 0.3s var(--ease);
}

.kb-service:hover .kb-service-arrow {
    transform: translateX(5px);
}

.kb-author {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5ea;
}

    .kb-author img {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        object-fit: cover;
    }

    .kb-author div {
        display: flex;
        flex-direction: column;
        font-size: 0.95rem;
        line-height: 1.45;
        color: #6e6e73;
    }

    .kb-author strong {
        color: #1d1d1f;
        font-size: 1.05rem;
    }

    .kb-author a {
        color: #0071e3;
        text-decoration: none;
        font-weight: 600;
    }

@media (max-width: 980px) {
    .kb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .kb-grid {
        grid-template-columns: 1fr;
    }

    .kb-article {
        padding: 3.5rem 22px 4.5rem;
        font-size: 1.05rem;
    }

    .kb-intro {
        font-size: 1.15rem;
    }

    .kb-service {
        align-items: flex-start;
    }

    .kb-service-arrow {
        display: none;
    }
}

.read-also {
    padding: 0 22px 2rem;
    background: #f5f5f7;
}
