/*
 * AIT home decorative transition and services parity layer.
 * Exact source: Elementor page 82282, sections 4dfc13d and 6f16338,
 * plus RSElements rs-service-grid.css.
 */

.ait-home-brand-transition,
.ait-home-brand-transition *,
.ait-home-services,
.ait-home-services * {
    box-sizing: border-box;
}

.ait-home-brand-transition {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 0;
    padding: 0;
    pointer-events: none;
}

.ait-home-brand-transition__text {
    position: absolute;
    top: -40px;
    left: 11px;
    right: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background-color: transparent;
    background-image: linear-gradient(180deg, rgb(33 44 74 / 8%) 0%, rgb(255 255 255 / 0%) 60%);
    background-clip: text;
    font-family: "Space Grotesk", sans-serif;
    font-size: 200px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.ait-home-services {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    color: #606060;
    background: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.ait-home-services__heading {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 30px), 1320px);
    margin: 0 auto;
    text-align: center;
}

.ait-home-services__eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 13px;
    color: #212c4a;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
}

.ait-home-services__eyebrow img {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: -3px 3px 0 0;
}

.ait-home-services__title {
    margin: 0 0 15px;
    padding: 0;
    color: #212c4a;
    font-family: "Space Grotesk", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
}

.ait-home-services__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 0;
    width: min(100%, 1350px);
    margin: 12px auto 0;
}

.ait-home-services__card {
    position: relative;
    min-width: 0;
    height: 100%;
    margin: 0 15px;
    padding: 35px 30px;
    border-radius: 6px;
    background-color: #212c4a;
    background-position: right bottom;
    background-repeat: no-repeat;
    text-align: left;
    transition: background 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.ait-home-services__card--website {
    background-image: linear-gradient(rgb(33 44 74 / 90%), rgb(33 44 74 / 90%)), url("../images/home/services/razrabotka-sajta_fon1.webp");
}

.ait-home-services__card--support {
    background-image: url("../images/home/services/service_h_4_img_1.png");
}

.ait-home-services__card--seo,
.ait-home-services__card--ads {
    background-image: url("../images/home/services/service_placeholder_4_5.png");
}

.ait-home-services__card--design {
    background-image: linear-gradient(rgb(33 44 74 / 90%), rgb(33 44 74 / 90%)), url("../images/home/services/graficheskij-dizajn_fon.webp");
}

.ait-home-services__card--media {
    background-image: linear-gradient(rgb(33 44 74 / 90%), rgb(33 44 74 / 90%)), url("../images/home/services/prezentaczii-dlya-biznesa_fon.webp");
}

.ait-home-services__card-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    align-items: flex-start;
    flex-direction: column;
}

.ait-home-services__number {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 87%;
    width: 75px;
    height: 60px;
    margin: 0;
    border-radius: 30px 0 0 30px;
    color: #002559;
    background: #37415c;
    font-family: "Space Grotesk", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 56px;
    text-align: center;
    transition: 0.5s;
}

.ait-home-services__icon {
    display: block;
    width: 60px;
    max-width: 60px;
    height: auto;
    margin: 0;
    transition-duration: 0.3s;
}

.ait-home-services__card-title {
    margin: 30px 0 15px;
    padding: 0;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.ait-home-services__card-title a {
    color: #fff;
    text-decoration: none;
    transition-duration: 0.3s;
}

.ait-home-services__card-title a:hover,
.ait-home-services__card-title a:focus-visible {
    color: #f33536;
}

.ait-home-services__description {
    margin: 0;
    color: #abafba;
    font-size: 18px;
    line-height: 1.6;
    transition-duration: 0.3s;
}

.ait-home-services__action {
    margin: 20px 0 0 -10px;
    transition: 0.5s;
}

.ait-home-services__action a {
    display: flex;
    align-items: center;
    min-height: 30px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 0;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
}

.ait-home-services__action svg {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    fill: #fff;
    transition-duration: 0.3s;
}

.ait-home-services__action svg path {
    fill: #fff;
    transition-duration: 0.3s;
}

.ait-home-services__card:hover .ait-home-services__action,
.ait-home-services__card:focus-within .ait-home-services__action {
    margin-left: 0;
}

.ait-home-services__card:hover .ait-home-services__action a,
.ait-home-services__card:focus-within .ait-home-services__action a {
    font-size: 16px;
}

.ait-home-services__action a:hover,
.ait-home-services__action a:focus-visible {
    color: #f83738;
}

.ait-home-services__action a:hover svg,
.ait-home-services__action a:focus-visible svg,
.ait-home-services__action a:hover svg path,
.ait-home-services__action a:focus-visible svg path {
    fill: #f83738;
}

.ait-home-services a:focus-visible {
    outline: 2px solid #f83738;
    outline-offset: 4px;
}

@media (max-width: 1024px) {
    .ait-home-brand-transition__text {
        top: 2px;
        font-size: 80px;
    }

    .ait-home-services {
        padding: 60px 0 70px;
    }

    .ait-home-services__number {
        left: 76%;
    }
}

@media (max-width: 767px) {
    .ait-home-brand-transition__text {
        font-size: 65px;
    }

    .ait-home-services {
        padding: 60px 0 70px;
    }

    .ait-home-services__heading {
        width: min(calc(100% - 30px), 1320px);
    }

    .ait-home-services__title {
        font-size: 30px;
        line-height: 40px;
    }

    .ait-home-services__grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 12px;
        padding: 0;
    }

    .ait-home-services__card {
        margin: 0 15px;
    }

    .ait-home-services__number {
        left: 80%;
        margin-left: 5px;
    }

    .ait-home-services__icon {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }
}

/* AIT_REMOVE_HOME_SERVICES_WATERMARK */
.ait-home-brand-transition,
.ait-home-brand-transition__text {
 display: none !important;
 visibility: hidden !important;
 opacity: 0 !important;
 pointer-events: none !important;
}
