/* Homepage hero redesign: 2026-09-19 */
@media screen and (min-width: 981px) {
    .home-hero {
        position: relative;
        display: flex;
        align-items: flex-end;
        width: 100%;
        min-height: 520px;
        margin: 0;
        padding: 0 24px 26px;
        box-sizing: border-box;
        border-radius: 0;
        overflow: hidden;
        background-image: url('../images/main-banner-redesign.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .home-hero .main-banner__content {
        position: relative;
        z-index: 1;
        width: min(100%, 1600px);
        max-width: 1600px !important;
        margin: 0 auto;
        padding-top: 150px;
    }

    .home-hero .main-banner__content h1 {
        max-width: 560px;
        margin: 0 0 12px !important;
        color: #ffffff;
        font-family: 'Circe', Arial, sans-serif;
        font-size: clamp(42px, 4vw, 64px);
        font-weight: 700;
        line-height: .95;
        letter-spacing: -.02em;
        text-transform: none;
    }

    .home-hero .main-banner__descr {
        max-width: 520px;
        margin: 0 0 22px;
        color: #ffffff;
        font-family: 'Circe', Arial, sans-serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.2;
        text-transform: none;
    }

    .home-hero .main-banner__btn {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 34px;
        width: auto;
        min-width: 260px;
        max-width: none;
        height: 48px;
        padding: 0 24px;
        border-radius: 4px;
        background-color: #00a9df;
        color: #031a36;
        font-family: 'Circe', Arial, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
        text-transform: none;
        box-sizing: border-box;
        transition: background-color .2s ease, color .2s ease;
    }

    .home-hero .main-banner__btn span {
        font-size: 24px;
        line-height: 1;
    }

    .home-hero .main-banner__btn svg {
        display: block;
        width: 16px;
        height: 10px;
    }

    .home-hero .main-banner__btn:hover {
        background-color: #18b9e8;
        color: #031a36;
    }

    .home-hero .main-banner__breadcrumbs {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 24px;
        color: #ffffff;
        font-family: 'Circe', Arial, sans-serif;
        font-size: 15px;
        line-height: 1.2;
    }

    .home-hero .main-banner__breadcrumbs a {
        color: #ffffff;
        text-decoration: none;
    }

    .home-hero .main-banner__breadcrumbs span {
        color: #00a9df;
    }

    .home-hero .main-banner__breadcrumbs span:last-child {
        color: #ffffff;
    }
}

.about-redesign {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    width: min(100% - 48px, 1600px);
    margin: 0 auto;
    padding: 30px 0 30px;
    box-sizing: border-box;
}

.about-redesign__content {
    flex: 1 1 48%;
    min-width: 0;
}

.about-redesign__line {
    display: block;
    width: 28px;
    height: 3px;
    margin-left: 5px;
    margin-bottom: 10px;
    background-color: #00a9df;
}

.about-redesign h2 {
    margin: 0 0 12px;
    color: #12213d;
    font-family: 'Circe', Arial, sans-serif;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 700;
    line-height: 1;
}

.about-redesign p {
    max-width: 620px;
    margin: 0;
    color: #303743;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.about-redesign__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.about-redesign__stats > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 3px;
    padding: 0 18px 0 0;
    border-right: 1px solid #cbd5e3;
}

.about-redesign__stats img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.about-redesign__stats > div:last-child {
    border-right: 0;
}

.about-redesign__stats strong {
    color: #1761ad;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.about-redesign__stats span {
    color: #303743;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.about-redesign__image {
    flex: 1 1 52%;
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

@media screen and (min-width: 981px) and (max-width: 1500px) {
    .about-redesign {
        gap: 36px;
    }

    .about-redesign__content {
        flex-basis: 58%;
    }

    .about-redesign__image {
        flex-basis: 42%;
        max-width: 540px;
        height: 230px;
    }

    .about-redesign__stats {
        width: 85%;
        grid-template-columns: repeat(4, 24%);
        justify-content: space-between;
        gap: 0;
    }

    .about-redesign__stats > div {
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 7px;
        padding-right: 8px;
    }

    .about-redesign__stats img {
        width: 32px;
        height: 32px;
    }

    .about-redesign__stats strong {
        font-size: 24px;
    }

    .about-redesign__stats span {
        font-size: 10px;
    }
}

@media screen and (max-width: 980px) {
    .about-redesign {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        width: 100%;
        padding: 48px 20px;
    }

    .about-redesign__image {
        order: 2;
        max-width: none;
        height: auto;
        aspect-ratio: 1.8;
    }

    .about-redesign__stats {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .about-redesign__stats > div {
        padding-right: 10px;
        padding-bottom: 10px;
        border-right: 0;
        border-bottom: 1px solid #cbd5e3;
    }

    .about-redesign__stats > div:last-child {
        border-bottom: 0;
    }
}

/* Technology solutions block */
.partners-legacy-header,
.partners-legacy {
    display: none !important;
}

.projects-redesign {
    width: 100%;
    background: #031a36;
    color: #ffffff;
}

.projects-redesign__inner {
    display: flex;
    gap: 34px;
    width: min(100% - 48px, 1600px);
    margin: 0 auto;
    padding: 20px 0 22px;
    box-sizing: border-box;
}

.projects-redesign__intro {
    flex: 0 0 300px;
    padding-top: 8px;
}

.projects-redesign__line {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 8px;
    background: #00a9df;
}

.projects-redesign h2,
.projects-redesign h3,
.projects-redesign p {
    margin: 0;
}

.projects-redesign h2 {
    font-family: 'Circe', Arial, sans-serif;
    font-size: 28px;
    line-height: 1.02;
}

.projects-redesign__intro p {
    max-width: 270px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .78);
    font-family: 'Circe', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

.projects-redesign__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    flex: 1 1 auto;
}

.projects-redesign__card {
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 12px 20px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    box-sizing: border-box;
}

.projects-redesign__card h3 {
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
}

.projects-redesign__flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 8px;
    color: #00a9df;
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
}

.projects-redesign__diagram {
    display: block;
    width: auto;
    max-width: 100%;
    height: 59px;
    margin: 10px 0 8px;
    object-fit: contain;
    object-position: left center;
    justify-self: start;
}

.projects-redesign__diagram + .projects-redesign__flow {
    display: none;
}

.projects-redesign__flow b {
    font-size: 18px;
    font-weight: 400;
}

.projects-redesign__card p {
    color: rgba(255, 255, 255, .78);
    font-family: 'Circe', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.projects-redesign__card a {
    margin-top: auto;
    color: #00a9df;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.projects-redesign__card a span {
    margin-left: 5px;
    font-size: 18px;
}

.partner-strip-redesign {
    width: 100%;
    background: #ffffff;
}

.partner-strip-redesign__inner {
    display: grid;
    grid-template-columns: 0.65fr repeat(3, 1fr);
    align-items: center;
    width: min(100% - 48px, 1600px);
    min-height: 66px;
    margin: 0 auto;
}

.partner-strip-redesign__inner > div,
.partner-strip-redesign__inner > h2 + div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-left: 1px solid #d8dee8;
    color: #0d9eba;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.partner-strip-redesign h2 {
    margin: 0;
    color: #12213d;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.05;
}

@media screen and (max-width: 980px) {
    .projects-redesign__inner {
        display: block;
        width: 100%;
        padding: 28px 20px;
    }

    .projects-redesign__intro {
        margin-bottom: 20px;
    }

    .projects-redesign__cards {
        grid-template-columns: 1fr;
    }

    .partner-strip-redesign__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 0;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .partner-strip-redesign h2 {
        grid-column: 1 / -1;
    }
}
.about-legacy-header,
.about-legacy {
    display: none !important;
}

.solutions-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid #d8dee8;
    width: 100%;
    max-width: none;
    padding: 15px max(24px, calc((100% - 1600px) / 2)) 12px;
}

.solutions-section-header::before {
    display: block;
    width: 28px;
    height: 3px;
    margin: 0 0 8px 0px;
    background: #00a9df;
    content: '';
}

.solutions-section-header .section-header__label {
    color: #12213d;
    font-family: 'Circe', Arial, sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.solutions-section-header .section-header__line,
.solutions-section-header .section-header__dot {
    display: none;
}

.solutions-redesign {
    width: min(100% - 48px, 1600px);
    max-width: 1600px;
    padding: 0 0 46px;
}

.solutions-redesign .cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.solutions-redesign .cat-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 18px;
    min-height: 185px;
    padding: 22px 20px 18px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: #ffffff;
}

.solutions-redesign .cat-card__image {
    position: static;
    grid-column: 1;
    grid-row: 1 / 4;
    width: 56px;
    max-width: 56px;
    max-height: 60px;
    margin-top: 1px;
}

.solutions-redesign .cat-card__title {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    color: #12213d;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.12;
}

.solutions-redesign .cat-card__descr {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 14px 0 0;
    color: #4c5360;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

.solutions-redesign .cat-card__btn {
    position: static;
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    gap: 8px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #1784d1;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.solutions-redesign .cat-card__btn:hover {
    border: 0;
    background: transparent;
    color: #00a9df;
}

.solutions-redesign .cat-card__btn svg path {
    stroke: #1784d1;
}

.solutions-redesign .cat-card__btn:hover svg path {
    stroke: #00a9df;
}

.solutions-redesign .cat-card--catalog {
    display: none;
}

@media screen and (max-width: 1200px) {
    .solutions-redesign .cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .solutions-section-header,
    .solutions-redesign {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .solutions-section-header .section-header__label {
        display: block;
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
        font-size: clamp(27px, 8vw, 36px);
        line-height: 1.05;
    }

    .solutions-redesign .cat-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 980px) {
    .home-hero {
        min-height: 470px;
        width: 100%;
        margin: 0;
        padding: 110px 20px 32px;
        border-radius: 0;
        background-image: url('../images/main-banner-redesign.png');
        background-position: 62% center;
        background-size: cover;
    }

    .home-hero .main-banner__content {
        width: 100%;
        margin: auto 0 0;
    }

    .home-hero .main-banner__content h1 {
        margin-bottom: 16px !important;
        color: #ffffff;
        font-family: 'Circe', Arial, sans-serif;
        font-size: clamp(34px, 10vw, 48px);
        line-height: .98;
        text-transform: none;
    }

    .home-hero .main-banner__descr {
        margin-bottom: 22px;
        color: #ffffff;
        font-size: 17px;
        line-height: 1.25;
        text-transform: none;
    }

    .home-hero .main-banner__btn {
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        display: inline-flex;
        width: auto;
        min-width: 230px;
        height: 48px;
        padding: 0 18px;
        border-radius: 4px;
        background-color: #00a9df;
        color: #031a36;
        font-size: 15px;
        text-transform: none;
    }

    .home-hero .main-banner__btn span {
        display: inline-block;
        margin-left: 8px;
        font-size: 28px !important;
        line-height: .8;
        transform: translateY(-5px);
    }

    .home-hero .main-banner__btn svg {
        width: 18px;
        height: 12px;
    }

    .home-hero .main-banner__breadcrumbs {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 20px;
        color: #ffffff;
        font-size: 13px;
    }

    .home-hero .main-banner__breadcrumbs a,
    .home-hero .main-banner__breadcrumbs span:last-child {
        color: #ffffff !important;
        text-decoration: none;
    }

    .home-hero .main-banner__breadcrumbs span:not(:last-child) {
        color: #00a9df !important;
    }
}
