/* =========================================================
   SERVICES HUB
   ========================================================= */

.services-hub {
    --sh-blue: #176fe8;
    --sh-cyan: #25a9f5;
    --sh-dark: #111b2b;
    --sh-text: #6b7a90;
    --sh-border: #dfe8f2;

    color: var(--sh-dark);
}


/* =========================================================
   COMMON
   ========================================================= */

.services-hub__breadcrumbs {
    padding-top: 18px;
}


.services-hub__label {
    display: inline-flex;

    margin-bottom: 14px;
    padding: 7px 12px;

    border-radius: 999px;

    background: #eaf4ff;
    color: #0870ea;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}


.services-hub__section-head {
    max-width: 790px;

    margin-bottom: 38px;
}


.services-hub__section-head--center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.services-hub__section-head h2 {
    margin: 0;

    font-size: clamp(34px,4vw,48px);
    line-height: 1.08;
    letter-spacing: -.025em;
}


.services-hub__section-head p {
    max-width: 700px;

    margin: 14px 0 0;

    color: var(--sh-text);

    font-size: 20px;
    line-height: 1.65;
}


.services-hub__section-head--center p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.services-hub__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 12px;

    font-family: inherit;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.services-hub__btn--primary {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #176fe8,
            #249bf2
        );

    color: #fff;

    box-shadow:
        0 12px 28px rgba(23,111,232,.22);
}


.services-hub__btn--secondary {
    border: 1px solid #d7e3ef;

    background: #fff;
    color: #172236;
}


.services-hub__btn--light {
    border: 0;

    background: #fff;
    color: #176fe8;

    box-shadow:
        0 12px 30px rgba(0,0,0,.1);
}


@media (hover:hover) {

    .services-hub__btn:hover {
        transform: translateY(-2px);
    }

}


/* =========================================================
   HERO
   ========================================================= */

.services-hub__hero {
    padding: 58px 0 82px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(38,171,248,.16),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fff,
            #f5faff
        );
}


.services-hub__hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0,.96fr)
        minmax(430px,1.04fr);

    gap: 75px;

    align-items: center;
}


.services-hub__hero-title {
    margin: 0;

    font-size: clamp(43px,5vw,66px);
    line-height: 1.04;
    font-weight: 760;
    letter-spacing: -.035em;
}


.services-hub__hero-text {
    max-width: 690px;

    margin: 22px 0 0;

    color: var(--sh-text);

    font-size: 17px;
    line-height: 1.65;
}


.services-hub__hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 31px;
}


.services-hub__hero-note {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 23px;

    color: #788699;

    font-size: 12px;
}


.services-hub__hero-note > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #e2f8ec;
    color: #18a55e;

    font-weight: 800;
}


/* =========================================================
   HERO MAP
   ========================================================= */

.services-hub__hero-visual {
    position: relative;

    min-height: 450px;
}


.services-hub__map {
    position: relative;

    width: 100%;
    height: 450px;

    border: 1px solid #dce6f0;
    border-radius: 28px;

    background:
        radial-gradient(
            circle at center,
            rgba(23,111,232,.10),
            transparent 35%
        ),
        #fff;

    box-shadow:
        0 30px 70px rgba(20,63,110,.11);
}


.services-hub__map-center {
    position: absolute;
    z-index: 3;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 130px;
    height: 130px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            #176fe8,
            #25aaf5
        );

    color: #fff;

    transform:
        translate(-50%,-50%);

    box-shadow:
        0 20px 45px rgba(23,111,232,.28);
}


.services-hub__map-center strong {
    font-size: 25px;
}


.services-hub__map-center span {
    margin-top: 4px;

    color: #dceeff;

    font-size: 9px;
}


.services-hub__map-item {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 14px;

    border: 1px solid #dfe8f2;
    border-radius: 13px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(20,60,105,.07);
}


.services-hub__map-item > span {
    color: #176fe8;

    font-size: 8px;
    font-weight: 800;
}


.services-hub__map-item strong {
    color: #354257;

    font-size: 10px;
}


.services-hub__map-item--1 {
    top: 55px;
    left: 38px;
}


.services-hub__map-item--2 {
    top: 44px;
    right: 35px;
}


.services-hub__map-item--3 {
    top: 200px;
    right: 17px;
}


.services-hub__map-item--4 {
    right: 52px;
    bottom: 45px;
}


.services-hub__map-item--5 {
    left: 43px;
    bottom: 52px;
}


.services-hub__map-item--6 {
    top: 205px;
    left: 18px;
}


/* decorative lines */

.services-hub__map-line {
    position: absolute;
    z-index: 1;

    width: 150px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #b8d5f5,
            transparent
        );
}


.services-hub__map-line--1 {
    top: 145px;
    left: 110px;

    transform:
        rotate(26deg);
}


.services-hub__map-line--2 {
    top: 140px;
    right: 100px;

    transform:
        rotate(-28deg);
}


.services-hub__map-line--3 {
    left: 110px;
    bottom: 135px;

    transform:
        rotate(-26deg);
}


.services-hub__map-line--4 {
    right: 100px;
    bottom: 130px;

    transform:
        rotate(28deg);
}


/* =========================================================
   CATALOG
   ========================================================= */

.services-hub__catalog {
    padding: 92px 0;

    background: #fff;
}


.services-hub__catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 16px;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */

.services-hub__catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;
}


.services-hub__card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #dfe8f2;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 14px 38px rgba(20,60,105,.045);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* image */

.services-hub__card-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 16 / 8;

    overflow: hidden;

    padding: 22px;

    background:
        radial-gradient(
            circle at 50% 40%,
            #fff,
            #f2f7fc
        );

    text-decoration: none;
}


.services-hub__card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .35s ease;
}


.services-hub__card-status {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(255,255,255,.92);
    color: #176fe8;

    font-size: 14px;
    line-height: 1;
    font-weight: 700;

    box-shadow:
        0 5px 16px rgba(20,60,105,.08);
}


/* body */

.services-hub__card-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 23px 24px 24px;

    border-top: 1px solid #edf2f7;
}


.services-hub__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}


.services-hub__card-num {
    color: #176fe8;

    font-size: 9px;
    font-weight: 800;
}


.services-hub__card-price {
    padding: 5px 9px;

    border-radius: 999px;

    background: #eaf4ff;
    color: #176fe8;

    font-size: 18px;
    font-weight: 700;
}


.services-hub__card-title {
    margin: 0 0 9px;

    font-size: 20px;
    line-height: 1.3;
}


.services-hub__card-title a {
    color: #172236;
    font-size: 1.3rem;
    text-decoration: none;
}


.services-hub__card-text {
    flex: 1;

    margin: 0;

    color: #718096;

    font-size: 1.1rem;
    line-height: 120%;
}


.services-hub__card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px solid #edf1f5;

    color: #176fe8;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
}


.services-hub__card-link svg {
    width: 30px;
    height: 30px;

    transition:
        transform .2s ease;
}


@media (hover:hover) {

    .services-hub__card:hover {
        transform: translateY(-5px);

        border-color: #bdd9f8;

        box-shadow:
            0 23px 52px rgba(20,67,120,.09);
    }


    .services-hub__card:hover
    .services-hub__card-image img {
        transform: scale(1.035);
    }


    .services-hub__card:hover
    .services-hub__card-link svg {
        transform: translateX(3px);
    }

}


@media (max-width: 1050px) {

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

}


@media (max-width: 680px) {

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

}


@media (hover:hover) {

    .services-hub__card:hover {
        transform: translateY(-5px);

        border-color: #bdd9f8;

        box-shadow:
            0 22px 50px rgba(20,67,120,.09);
    }


    .services-hub__card:hover
    .services-hub__card-link svg {
        transform: translateX(3px);
    }

}


/* =========================================================
   TWO WAYS
   ========================================================= */

.services-hub__ways {
    padding: 93px 0;

    background:
        linear-gradient(
            180deg,
            #f6faff,
            #f1f8ff
        );
}


.services-hub__ways-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 18px;
}


.services-hub__way {
    padding: 35px;

    border: 1px solid var(--sh-border);
    border-radius: 23px;

    background: #fff;
}


.services-hub__way--ready {
    border-color: #bad9fb;

    background:
        linear-gradient(
            145deg,
            #ecf7ff,
            #fbfdff
        );
}


.services-hub__way-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 31px;
}


.services-hub__way-top > span {
    color: #176fe8;

    font-size: 11px;
    font-weight: 800;
}


.services-hub__way-badge {
    padding: 6px 10px;

    border-radius: 999px;

    background: #e3f8ed;
    color: #18985a;

    font-size: 14px;
    font-weight: 700;
}


.services-hub__way-badge--dark {
    background: #edf1f6;
    color: #536276;
}


.services-hub__way h3 {
    margin: 0 0 10px;

    font-size: 27px;
}


.services-hub__way > p {
    max-width: 540px;

    margin: 0;

    color: #718096;

    font-size: 16px;
    line-height: 1.65;
}


.services-hub__way ul {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 10px 20px;

    margin: 26px 0 29px;
    padding: 0;

    list-style: none;
}


.services-hub__way li {
    position: relative;

    padding-left: 21px;

    color: #536277;

    font-size: 16px;
}


.services-hub__way li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: #18985a;

    font-weight: 800;
}


.services-hub__way-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: #176fe8;

    font-size: 18px;
    font-weight: 700;

    text-decoration: none;
}


.services-hub__way-link--button {
    padding: 0;

    border: 0;

    background: transparent;

    font-family: inherit;

    cursor: pointer;
}


/* =========================================================
   PROCESS
   ========================================================= */

.services-hub__process {
    padding: 92px 0;

    background: #fff;
}


.services-hub__process-grid {
    display: grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));
}


.services-hub__process-grid article {
    position: relative;

    padding: 27px 22px;

    border-top:
        1px solid #bad8fa;
}


.services-hub__process-grid article::before {
    content: "";

    position: absolute;

    top: -5px;
    left: 23px;

    width: 9px;
    height: 9px;

    border: 3px solid #dceeff;
    border-radius: 50%;

    background: #176fe8;
}


.services-hub__process-grid > article > span {
    display: block;

    margin-bottom: 24px;

    color: #176fe8;

    font-size: 2rem;
    font-weight: 800;
}


.services-hub__process-grid h3 {
    margin: 0 0 8px;

    font-size: 21px;
}


.services-hub__process-grid p {
    margin: 0;

    color: #718096;
    font-size: 18px;
    line-height: 120%;
}


/* =========================================================
   MODX
   ========================================================= */

.services-hub__modx {
    padding: 93px 0;

    background: #f6faff;
}


.services-hub__modx-grid {
    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(430px,1.1fr);

    gap: 75px;

    align-items: center;
}


.services-hub__modx-content h2 {
    margin: 0;

    font-size: clamp(34px,4vw,48px);
    line-height: 120%;
}


.services-hub__modx-content p {
    max-width: 650px;

    margin: 15px 0 27px;

    color: var(--sh-text);
    line-height: 140%;
    font-size: 1.1rem;
}


.services-hub__modx-list {
    display: grid;

    gap: 11px;
}


.services-hub__modx-list > div {
    display: grid;

    grid-template-columns:
        30px 1fr;

    gap: 13px;

    padding: 18px;

    border: 1px solid var(--sh-border);
    border-radius: 15px;

    background: #fff;
}


.services-hub__modx-list > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 9px;

    background: #e3f8ed;
    color: #19985a;

    font-size: 21px;
    font-weight: 800;
}


.services-hub__modx-list strong {
    display: block;

    color: #263449;

    font-size: 21px;
}


.services-hub__modx-list p {
    margin: 4px 0 0;

    color: #7a8899;

    font-size: 1.1rem;
    line-height: 120%;
}


/* =========================================================
   CTA
   ========================================================= */

.services-hub__cta {
    padding: 80px 0;

    background: #fff;
}


.services-hub__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 47px 52px;

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(51,177,255,.28),
            transparent 35%
        ),
        #111d30;

    color: #fff;

    box-shadow:
        0 24px 60px rgba(12,38,72,.13);
}


.services-hub__cta-label {
    margin-bottom: 8px;

    color: #78c5ff;

    font-size: 11px;
    font-weight: 700;
}


.services-hub__cta h2 {
    margin: 0 0 9px;

    font-size: clamp(30px,4vw,43px);
    line-height: 1.1;
}


.services-hub__cta p {
    max-width: 660px;

    margin: 0;

    color: #becbd9;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CONTENT
   ========================================================= */

.services-hub__content {
    padding: 80px 0;

    background: #f6faff;
}


.services-hub__content-inner {
    max-width: 1080px;

    color: #68778c;

    font-size: 15px;
    line-height: 1.75;
}


.services-hub__content-inner h2 {
    margin: 42px 0 16px;

    color: #172236;

    font-size: 31px;
}


.services-hub__content-inner h2:first-child {
    margin-top: 0;
}


.services-hub__content-inner h3 {
    margin: 30px 0 12px;

    color: #172236;

    font-size: 21px;
}


.services-hub__content-inner p {
    margin: 0 0 17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

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


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


    .services-hub__process-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    .services-hub__hero {
        padding: 38px 0 55px;
    }


    .services-hub__hero-title {
        font-size: 40px;
    }


    .services-hub__hero-text {
        font-size: 15px;
    }


    .services-hub__hero-actions {
        align-items: stretch;
    }


    .services-hub__btn {
        width: 100%;
    }


    .services-hub__hero-visual {
        min-height: 380px;
    }


    .services-hub__map {
        height: 380px;
    }


    .services-hub__map-item {
        padding: 0 9px;
    }


    .services-hub__map-item strong {
        font-size: 8px;
    }


    .services-hub__map-item--1 {
        top: 35px;
        left: 15px;
    }


    .services-hub__map-item--2 {
        top: 35px;
        right: 15px;
    }


    .services-hub__map-item--3 {
        top: 170px;
        right: 5px;
    }


    .services-hub__map-item--4 {
        right: 15px;
        bottom: 35px;
    }


    .services-hub__map-item--5 {
        left: 15px;
        bottom: 35px;
    }


    .services-hub__map-item--6 {
        top: 170px;
        left: 5px;
    }


    .services-hub__catalog,
    .services-hub__ways,
    .services-hub__process,
    .services-hub__modx,
    .services-hub__content {
        padding: 62px 0;
    }


    .services-hub__catalog-grid,
    .services-hub__ways-grid,
    .services-hub__process-grid {
        grid-template-columns: 1fr;
    }


    .services-hub__way {
        padding: 27px 22px;
    }


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


    .services-hub__process-grid article {
        border-top: 0;
        border-left:
            1px solid #bad8fa;

        padding-left: 31px;
    }


    .services-hub__process-grid article::before {
        top: 29px;
        left: -5px;
    }


    .services-hub__cta {
        padding: 5px 0 60px;
    }


    .services-hub__cta-inner {
        display: grid;

        padding: 32px 24px;

        border-radius: 21px;
    }

}