/* Services page: service catalog */
.services-page {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 96px 24px;
    color: #f7fbf1;
    background:
        radial-gradient(circle at 14% 16%, rgba(244, 228, 94, 0.16), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(135deg, #06100c 0%, #102f1c 48%, #07140d 100%);
}

.services-page::before,
.services-page::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.services-page::before {
    width: 760px;
    height: 330px;
    top: 78px;
    right: -250px;
    border: 1px solid rgba(244, 228, 94, 0.18);
    transform: rotate(-16deg);
}

.services-page::after {
    width: 620px;
    height: 260px;
    left: -230px;
    bottom: 70px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(18deg);
}

.services-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100%, 1180px);
    margin: 0 auto;
    gap: 26px;
}

.services-heading {
    display: grid;
    width: min(100%, 860px);
    gap: 14px;
}

.services-kicker {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 9px 14px;
    color: #142116;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    border: 1px solid rgba(244, 228, 94, 0.58);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff27a, #d9e85c);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.services-heading h2 {
    max-width: 840px;
    margin: 0;
    color: #ffffff;
    font-size: 54px;
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: 0;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.services-heading p {
    max-width: 790px;
    margin: 0;
    color: #dbe9d3;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0;
}

.services-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(8, 22, 16, 0.9);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services-feature__content {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.services-feature__text {
    display: grid;
    min-width: 0;
    max-width: 720px;
    gap: 6px;
}

.services-feature__icon,
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #142116;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff27a, #cde45f);
}

.services-feature__icon {
    width: 58px;
    height: 58px;
    font-size: 26px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.services-feature h3,
.services-feature p {
    margin: 0;
}

.services-feature h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: 0;
}

.services-feature p {
    color: #dbe9d3;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.55;
    letter-spacing: 0;
}

.services-feature__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.services-action {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.services-action--primary {
    color: #111b10;
    border: 1px solid rgba(244, 228, 94, 0.72);
    background: linear-gradient(180deg, #fff476, #dce95a);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.services-action--secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-action:hover,
.services-action:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.services-action--primary:hover,
.services-action--primary:focus-visible {
    color: #111b10;
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.32),
        0 0 24px rgba(244, 228, 94, 0.16);
}

.services-action--secondary:hover,
.services-action--secondary:focus-visible {
    color: #ffffff;
    border-color: rgba(244, 228, 94, 0.36);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

.service-card {
    position: relative;
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
        rgba(8, 22, 16, 0.9);
    box-shadow:
        0 18px 46px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, #f4e45e, rgba(244, 228, 94, 0));
    opacity: 0.78;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-5px);
    border-color: rgba(244, 228, 94, 0.42);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(244, 228, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-card__image {
    position: relative;
    height: 250px;
    margin: 0;
    overflow: hidden;
    background: #0b1810;
}

.service-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 42%, rgba(7, 18, 12, 0.72)),
        linear-gradient(90deg, rgba(7, 18, 12, 0.22), transparent 58%);
}

.service-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--service-image-position, center center);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: saturate(1.04) contrast(1.05) brightness(0.9);
    transform: scale(1.01);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.service-card:hover .service-card__image img,
.service-card:focus-within .service-card__image img {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.08) brightness(1);
}

.service-card__body {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.service-card__icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.service-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.16;
    letter-spacing: 0;
}

.service-card p {
    width: auto;
    margin: 0;
    padding: 0;
    color: #dbe9d3;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
    text-align: left;
    letter-spacing: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.service-card ul {
    display: grid;
    gap: 9px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f3f8ec;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: 0;
}

.service-card li i {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #142116;
    border-radius: 8px;
    background: #f4e45e;
}

@media (max-width: 1100px) {
    .services-page {
        padding: 78px 18px;
    }

    .services-heading h2 {
        font-size: 44px;
    }

    .services-feature {
        grid-template-columns: 1fr;
    }

    .services-feature__actions {
        justify-content: flex-start;
    }

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

@media (max-width: 700px) {
    .services-page {
        padding: 64px 14px;
    }

    .services-heading h2 {
        font-size: 34px;
    }

    .services-heading p {
        font-size: 16px;
    }

    .services-feature {
        padding: 20px;
    }

    .services-feature__content {
        grid-template-columns: 1fr;
    }

    .services-feature h3 {
        font-size: 24px;
    }

    .services-feature__actions,
    .services-action {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card__image {
        height: 220px;
    }

    .service-card__body {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 22px;
    }
}
