@import url('./home.css');

.services-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(23, 26, 78, 0.04), rgba(23, 26, 78, 0)),
        linear-gradient(180deg, #fbf8ef 0%, #f7f1e5 42%, #fbf8ef 100%);
}

.services-page *,
.services-page *::before,
.services-page *::after {
    animation: none !important;
    transition: none !important;
}

.services-page [data-animate],
.services-page [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

.services-page .interactive-surface,
.services-page .interactive-surface::after {
    transform: none !important;
}

.services-page .service-card:hover,
.services-page .services-hero-tile:hover,
.services-page .primary-btn:hover,
.services-page .service-grid-services-page .service-body a:hover {
    transform: none !important;
    filter: none !important;
}

.services-page .page-hero {
    background: transparent !important;
    padding: 54px 0 22px;
}

.services-page .page-hero::after {
    display: none;
}

.services-page .page-hero .container {
    max-width: 1180px;
    padding: 42px 38px;
    border: 0 !important;
    border-radius: 12px !important;
    background: #000000 !important;
    box-shadow: none !important;
}

.services-page .services-hero-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.services-page .services-hero-copy {
    padding: 20px 0 0;
    text-align: center;
}

.services-page .services-hero-copy .section-title {
    max-width: none;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.2vw, 2.05rem);
    line-height: 1.12;
    white-space: normal;
    text-wrap: balance;
}

.services-page .services-hero-copy .section-title span {
    display: block;
    white-space: nowrap;
}

.services-page .services-hero-copy p {
    max-width: 62ch;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.86);
}

.services-page .services-catalog-section {
    background: transparent !important;
    padding: 72px 0 92px;
}

.services-page .services-catalog-section .container {
    display: block;
    max-width: 1160px;
}

.services-page .services-catalog-header {
    position: static;
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.services-page .services-catalog-header .section-subtitle {
    max-width: 22ch;
    margin: 0 auto;
    color: #162538;
    font-size: clamp(1.7rem, 2.45vw, 2.2rem);
    line-height: 1.14;
    text-wrap: balance;
}

.services-page .services-catalog-header p {
    max-width: 62ch;
    margin: 0 auto;
    color: #4b5c74;
}

.services-page .service-grid-services-page {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

.services-page .service-grid-services-page .service-card {
    grid-column: span 4;
    min-height: 100%;
    padding: 28px 26px 24px;
    border-radius: 24px;
    border: 1px solid rgba(189, 198, 218, 0.78);
    background:
        radial-gradient(circle at 86% 14%, rgba(43, 118, 190, 0.08), rgba(43, 118, 190, 0)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 250, 252, 0.98));
    box-shadow: 0 16px 30px rgba(15, 25, 40, 0.08);
    grid-template-columns: 1fr;
    gap: 18px;
}

.services-page .service-grid-services-page .service-card:nth-child(n + 6) {
    grid-column: span 4;
}

.services-page .service-grid-services-page .service-card::before,
.services-page .service-grid-services-page .service-card::after {
    display: none;
}

.services-page .service-grid-services-page .service-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    background: #171a4e;
    color: #ffffff;
    font-size: 1.6rem;
    border: 0;
    box-shadow: 0 12px 24px rgba(23, 26, 78, 0.14);
}

.services-page .service-grid-services-page .service-body {
    height: 100%;
}

.services-page .service-grid-services-page .service-body h3 {
    margin-bottom: 10px;
    color: #162538;
    font-size: clamp(1.28rem, 1.9vw, 1.75rem);
    line-height: 1.18;
}

.services-page .service-grid-services-page .service-body p {
    color: #506178;
    font-size: 0.98rem;
    line-height: 1.62;
}

.services-page .service-grid-services-page .service-body a {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #171a4e;
    color: #ffffff;
}

.services-page .service-grid-services-page .service-body a::after {
    content: "\2192";
    margin-left: 8px;
}

.services-page .features-section {
    background: transparent !important;
    padding-top: 0;
    padding-bottom: 92px;
}

.services-page .features-section .container {
    max-width: 1160px;
}

.services-page .features-section .section-header {
    position: relative;
    top: auto;
    max-width: 840px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.services-page .features-section .section-header h2,
.services-page .features-section .section-header p {
    color: #162538;
}

.services-page .features-section .section-header p {
    margin-bottom: 0;
    color: #4b5c74;
    max-width: 62ch;
    white-space: normal;
}

.services-page .features-section .primary-btn {
    margin-top: 22px;
    border-radius: 10px;
    background: #171a4e;
    color: #ffffff;
    box-shadow: none;
}

@media (max-width: 1180px) {
    .services-page .service-grid-services-page .service-card {
        grid-column: span 6;
    }

    .services-page .service-grid-services-page .service-card:nth-child(n + 6) {
        grid-column: span 6;
    }
}

@media (max-width: 820px) {
    .services-page .page-hero {
        padding-top: 34px;
        padding-bottom: 12px;
    }

    .services-page .page-hero .container {
        padding: 34px 24px;
        border-radius: 10px !important;
    }

    .services-page .services-hero-copy {
        padding-top: 8px;
    }

    .services-page .services-hero-copy .section-title {
        max-width: 15ch;
        white-space: normal;
        text-wrap: balance;
    }

    .services-page .services-hero-copy .section-title span {
        white-space: normal;
    }

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

    .services-page .service-grid-services-page .service-card,
    .services-page .service-grid-services-page .service-card:nth-child(n + 6) {
        grid-column: auto;
    }

    .services-page .features-section .section-header p {
        max-width: 100%;
        white-space: normal;
    }
}
