.services-hero {
    position: relative;
    padding: 35px 0 85px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 20%,
        #d4af3712, transparent 65%),
        linear-gradient(#d4af3705 1px,transparent 1px),
        linear-gradient(90deg,#d4af3705 1px,transparent 1px);
    background-size: auto,60px 60px,60px 60px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.services-hero-content {
    max-width: 850px;
    margin: 65px auto 0;
    text-align: center;
    animation: service-enter .8s ease both;
}

.services-hero h1 {
    font-size: clamp(44px,6vw,82px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.055em;
}

.services-hero-content > p {
    max-width: 640px;
    margin: 25px auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.category-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.category-navigation a {
    padding: 11px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: #d4af3708;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.category-navigation a:hover {
    background: var(--gold);
    color: #080808;
}

.all-services-container {
    padding-top: 70px;
    padding-bottom: 80px;
}

.service-category {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.category-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.category-number {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #d4af370a;
    color: var(--gold);
    font-size: 25px;
    font-weight: 800;
}

.category-heading h2 {
    font-size: clamp(24px,3vw,35px);
    letter-spacing: -1px;
    line-height: 1.3;
}

.category-heading p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
}

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

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 265px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,#14171f,#0b0d13
    );
    transition: transform .35s ease,
                border-color .35s ease,
                box-shadow .35s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
    border-color: #d4af3770;
    box-shadow: 0 15px 50px #0005,
                0 0 30px #d4af3710;
}

.catalog-card:target {
    border-color: var(--gold);
    box-shadow: var(--glow);
}

.catalog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}

.catalog-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    color: var(--platform-color);
    background: #ffffff06;
    border: 1px solid #ffffff12;
    font-size: 34px;
    font-weight: 800;
}

.catalog-arrow {
    color: var(--gold);
    font-size: 23px;
    opacity: .65;
}

.catalog-card h3 {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.catalog-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 25px;
}

.catalog-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
}

.catalog-link:hover {
    color: #fff;
}

.custom-solution {
    position: relative;
    padding: 65px 25px;
    text-align: center;
    border: 1px solid #d4af3740;
    border-radius: 25px;
    background:
        radial-gradient(ellipse at 50% 100%,
        #d4af3715,transparent 65%),
        #10131b;
}

.custom-solution h2 {
    font-size: clamp(30px,4vw,50px);
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.custom-solution p {
    max-width: 600px;
    margin: 20px auto 28px;
    color: var(--muted);
    font-size: 15px;
}

.services-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.services-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.services-bottom a {
    color: var(--gold);
}

@keyframes service-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media(max-width:600px) {
    .all-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-hero {
        padding-bottom: 55px;
    }

    .services-hero-content {
        margin-top: 40px;
    }

    .services-hero-content > p {
        font-size: 14px;
    }

    .category-navigation a {
        font-size: 11px;
        padding: 9px 13px;
    }

    .category-heading {
        gap: 14px;
    }

    .category-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .service-category {
        margin-bottom: 50px;
    }

    .all-services-container {
        padding-top: 45px;
    }
}
